
public class Message extends ModelObject implements Cloneable, Serializable
A message consists of the properties name, template and
arguments. Property name holds a name uniquely identifying
the message in a set of messages. Property template holds the
template of the message. Property arguments holds meta-data
describing arguments to format the message with.
| Constructor and Description |
|---|
Message()
Creates a new
Message instance. |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates and returns a copy of this object.
|
boolean |
equals(Object o)
Indicates whether some other object is equal to this one by comparing
properties
name and moduleName. |
Arguments |
getArguments()
Gets the arguments of the message.
|
String |
getModuleName()
Gets the name of the module holding the message.
|
String |
getName()
Gets the name of the message.
|
Text |
getTemplate()
Gets the template of the message.
|
int |
hashCode()
Returns a hash code value for this object.
|
void |
setArguments(Arguments value)
Setter for property
arguments. |
void |
setModuleName(String value)
Setter for property
moduleName. |
void |
setName(String value)
Setter for property
name. |
void |
setTemplate(Text value)
Setter for property
template. |
String |
toString()
Returns a string representation of the object.
|
getDocumentation, getModelVersion, setDocumentation, setModelVersionpublic Message()
Message instance.public Object clone()
public final boolean equals(Object o)
name and moduleName.public Arguments getArguments()
public String getModuleName()
public Text getTemplate()
public final int hashCode()
public void setArguments(Arguments value)
arguments.value - the new arguments of the message.public void setModuleName(String value)
moduleName.value - the new name of the module holding the message.public void setName(String value)
name.value - the new name of the message.public void setTemplate(Text value)
template.value - the new template of the message.Copyright © 2005-2012 jDTAUS. All Rights Reserved.