|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jdtaus.core.container.ModelObject
org.jdtaus.core.container.Message
public class Message
Message meta-data.
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 Summary | |
|---|---|
Message()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.jdtaus.core.container.ModelObject |
|---|
getDocumentation, getModelVersion, setDocumentation, setModelVersion |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Message()
| Method Detail |
|---|
public Object clone()
clone in class Objectpublic final boolean equals(Object o)
name and moduleName.
equals in class Objecto - the reference object with which to compare.
true if this object is the same as o;
false otherwise.public Arguments getArguments()
public String getModuleName()
public String getName()
public Text getTemplate()
public final int hashCode()
hashCode in class Objectpublic 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.public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||