org.kuali.student.r2.common.messages.dto
Class MessageInfo

java.lang.Object
  extended by org.kuali.student.r2.common.messages.dto.MessageInfo
All Implemented Interfaces:
Serializable, Message

public class MessageInfo
extends Object
implements Message, Serializable

Refer to interface javadoc

See Also:
Serialized Form

Constructor Summary
MessageInfo()
          Constructs a new MessageInfo.
MessageInfo(Message message)
          Constructs a new MessageInfo from a Message.
 
Method Summary
 String getGroupName()
          Unique identifier for a message group
 LocaleInfo getLocale()
          The Locale.
 String getMessageKey()
          Key identifying the message within the message group.
 String getValue()
          The string representation of the message.
 void setGroupName(String groupName)
           
 void setLocale(LocaleInfo locale)
           
 void setMessageKey(String messageKey)
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageInfo

public MessageInfo()
Constructs a new MessageInfo.


MessageInfo

public MessageInfo(Message message)
Constructs a new MessageInfo from a Message.

Parameters:
message - the Message to copy
Method Detail

getMessageKey

public String getMessageKey()
Description copied from interface: Message
Key identifying the message within the message group.

Specified by:
getMessageKey in interface Message

setMessageKey

public void setMessageKey(String messageKey)

getLocale

public LocaleInfo getLocale()
Description copied from interface: Message
The Locale.

Specified by:
getLocale in interface Message

setLocale

public void setLocale(LocaleInfo locale)

getGroupName

public String getGroupName()
Description copied from interface: Message
Unique identifier for a message group

Specified by:
getGroupName in interface Message

setGroupName

public void setGroupName(String groupName)

getValue

public String getValue()
Description copied from interface: Message
The string representation of the message. Symbols may be included within the message, but the expectation is that the caller is aware of the format of these symbols.

Specified by:
getValue in interface Message

setValue

public void setValue(String value)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.