net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc
Class Message

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.ModelObject
      extended by net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.Message
All Implemented Interfaces:
Serializable, Cloneable

public class Message
extends ModelObject
implements Serializable, Cloneable

Message meta-data.

A message consists of the properties name, template and arguments. Property name holds a name uniquely identifying the message in a list of messages. Property template holds the template of the message. Property arguments holds meta-data describing arguments to format the message with.

See Also:
Serialized Form

Field Summary
protected  Arguments arguments
           
protected  String name
           
protected  Texts template
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.ModelObject
authors, createDate, documentation, modelVersion
 
Constructor Summary
Message()
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.Message instance.
Message(Message o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.Message instance by copying a given instance.
 
Method Summary
 Message clone()
          Creates and returns a copy of this object.
 Arguments getArguments()
          The arguments of this message.
 String getName()
          The name of this message.
 Texts getTemplate()
          The template of this message.
 void setArguments(Arguments value)
          Sets the value of the arguments property.
 void setName(String value)
          Sets the value of the name property.
 void setTemplate(Texts value)
          Sets the value of the template property.
 
Methods inherited from class net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.ModelObject
getAuthors, getCreateDate, getDocumentation, getModelVersion, setAuthors, setCreateDate, setDocumentation, setModelVersion
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

template

protected Texts template

arguments

protected Arguments arguments

name

protected String name
Constructor Detail

Message

public Message()
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.Message instance.


Message

public Message(Message o)
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.Message instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getTemplate

public Texts getTemplate()
The template of this message.

Returns:
possible object is Texts

setTemplate

public void setTemplate(Texts value)
Sets the value of the template property.

Parameters:
value - allowed object is Texts

getArguments

public Arguments getArguments()
The arguments of this message.

Returns:
possible object is Arguments

setArguments

public void setArguments(Arguments value)
Sets the value of the arguments property.

Parameters:
value - allowed object is Arguments

getName

public String getName()
The name of this message.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

clone

public Message clone()
Creates and returns a copy of this object.

Overrides:
clone in class ModelObject
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.