public class MaxMessage extends CachedObjectPointer implements java.io.Serializable
Constructor and Description |
---|
MaxMessage(java.lang.String language)
Construct the object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone the object.
|
java.lang.String |
getButtonText()
Get the button text.
|
java.lang.String |
getCacheName() |
java.lang.String |
getDisplaymethod()
Get the display method.
|
java.lang.String |
getGroup()
Get the message group.
|
java.lang.String |
getId()
Get tms message id
|
java.lang.String |
getKey()
Get the message key
|
java.lang.String |
getLanguage()
Get the language of this maxmessage.
|
java.lang.String |
getMessage()
Get the message based on the value of this MaxMessage
|
java.lang.String |
getMessage(java.lang.Object param)
Get the message based on the value of this MaxMessage
|
java.lang.String |
getMessage(java.lang.Object[] params)
Get the message based on the value of this MaxMessage
|
psdi.mbo.MaxMessageBase.MLInsensitivePart |
getMLInsensitivePart()
Get the object which holds the language insensitive information of this
maxmessage.
|
int |
getOptions()
Get the option of the message.
|
MaxMessageBase |
getReference() |
java.lang.String |
getTaggedMessage() |
java.lang.String |
getTaggedMessage(java.lang.Object param) |
java.lang.String |
getTaggedMessage(java.lang.Object[] params) |
java.lang.String |
getValue()
Get the message text.
|
boolean |
isPrefix() |
void |
setButtonText(java.lang.String btInput)
Set the button text.
|
void |
setDisplayMethod(java.lang.String method)
Set the display method.
|
void |
setGroup(java.lang.String groupInput)
Get the message group.
|
void |
setId(java.lang.String id)
Set the tms message id
|
void |
setKey(java.lang.String keyInput)
Sets the message key.
|
void |
setLanguage(java.lang.String language)
Set the language code.
|
void |
setMLInsensitivePart(psdi.mbo.MaxMessageBase.MLInsensitivePart obj)
Set the object which holds the language insensitive information of this
maxmessage.
|
void |
setOptions(int op)
Set the option
|
void |
setPrefix(boolean prefix) |
void |
setValue(java.lang.String msg)
Set the text of the message.
|
getClonedInfo, getID, getParent, getReference, getReferenceForSet, isSameTenantAsReference, setID, setParent, setReference, setTenantReference
public MaxMessage(java.lang.String language)
language
- public void setKey(java.lang.String keyInput)
keyInput
- the string of message keypublic java.lang.String getKey()
public void setGroup(java.lang.String groupInput)
groupInput
- The string of message group.public java.lang.String getGroup()
public void setId(java.lang.String id)
id
- public java.lang.String getId()
public void setValue(java.lang.String msg)
msg
- The message text.public java.lang.String getValue()
public void setOptions(int op)
op
- The integer to represent option.public int getOptions()
public void setButtonText(java.lang.String btInput)
btInput
- the button text.public java.lang.String getButtonText()
public void setDisplayMethod(java.lang.String method)
method
- display method code.public java.lang.String getDisplaymethod()
public java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language
- The language code of iso 639-2 code.public psdi.mbo.MaxMessageBase.MLInsensitivePart getMLInsensitivePart()
public void setMLInsensitivePart(psdi.mbo.MaxMessageBase.MLInsensitivePart obj)
obj
- MLInsensitivePart object.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.String getMessage()
public java.lang.String getTaggedMessage()
public java.lang.String getMessage(java.lang.Object param)
public java.lang.String getTaggedMessage(java.lang.Object param)
public java.lang.String getMessage(java.lang.Object[] params)
public java.lang.String getTaggedMessage(java.lang.Object[] params)
public boolean isPrefix()
public void setPrefix(boolean prefix)
public MaxMessageBase getReference()
public java.lang.String getCacheName()
getCacheName
in class CachedObjectPointer