Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2010 The Kuali Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.osedu.org/licenses/ECL-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
 
 
 package org.kuali.student.r2.common.messages.dto;
 
 import java.util.Date;
 import java.util.List;
 
 
 //import org.w3c.dom.Element;
 
Refer to interface javadoc

Version:
2.0
Author:
Sri komandur@uw.edu
 
 
 @XmlType(name = "MessageInfo", propOrder = { 
                 "messageKey""locale""groupName""value" , "_futureElements" }) 
 public class MessageInfo 
     implements MessageSerializable {
 
     private static final long serialVersionUID = 1L;
 
     @XmlElement
     private String messageKey;
 
     @XmlElement
     private LocaleInfo locale;
 
     @XmlElement
     private String groupName;
 
     @XmlElement
     private String value;
 
     @XmlAnyElement
     private List<Object_futureElements;  


    
Constructs a new MessageInfo.
 
     public MessageInfo() {
     }

    
Constructs a new MessageInfo from a Message.

Parameters:
message the Message to copy
 
     public MessageInfo(Message message) {
         if(message != null) {
             if (message.getLocale() != null) {
                 this. = new LocaleInfo(message.getLocale());
             }
             this. = message.getMessageKey();
             this. = message.getGroupName();
             this. = message.getValue();
         }
     }
 
     @Override
     public String getMessageKey() {
         return this.;
     }
 
     public void setMessageKey(String messageKey) {
         this. = messageKey;
     }
 
     @Override
     public LocaleInfo getLocale() {
         return this.;
     }
    public void setLocale(LocaleInfo locale) {
        this. = locale;
    }
    @Override
    public String getGroupName() {
        return this.;
    }
    public void setGroupName(String groupName) {
        this. = groupName;
    }
    @Override
    public String getValue() {
        return this.;
    }
    public void setValue(String value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X