|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.jomc.model.ModelObject
org.jomc.model.Messages
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-09-21T10:35:38+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class MessagesList of messages.
Message| Field Summary | |
|---|---|
protected List<Message> |
message
|
protected List<MessageReference> |
reference
|
| Fields inherited from class org.jomc.model.ModelObject |
|---|
authors, createDate, documentation, modelVersion |
| Constructor Summary | |
|---|---|
Messages()
Creates a new Messages instance. |
|
Messages(Messages o)
Creates a new Messages instance by deeply copying a given instance. |
|
| Method Summary | |
|---|---|
Messages |
clone()
Creates and returns a deep copy of this object. |
private static void |
copyMessage(List<Message> source,
List<Message> target)
Copies all values of property Message deeply. |
private static void |
copyReference(List<MessageReference> source,
List<MessageReference> target)
Copies all values of property Reference deeply. |
List<Message> |
getMessage()
Gets the value of the message property. |
Message |
getMessage(String name)
Gets a message for a given name from the list of messages. |
List<MessageReference> |
getReference()
Gets the value of the reference property. |
MessageReference |
getReference(String name)
Gets a message reference for a given name from the list of references. |
| Methods inherited from class org.jomc.model.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 |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-09-21T10:35:38+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<Message> message
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-09-21T10:35:38+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<MessageReference> reference
| Constructor Detail |
|---|
public Messages()
Messages instance.
public Messages(Messages o)
Messages instance by deeply copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-09-21T10:35:38+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public List<Message> getMessage()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the message property.
For example, to add a new item, do as follows:
getMessage().add(newItem);
Objects of the following type(s) are allowed in the list
Message
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-09-21T10:35:38+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public List<MessageReference> getReference()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the reference property.
For example, to add a new item, do as follows:
getReference().add(newItem);
Objects of the following type(s) are allowed in the list
MessageReference
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-09-21T10:35:38+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static void copyMessage(List<Message> source,
List<Message> target)
Message deeply.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-09-21T10:35:38+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static void copyReference(List<MessageReference> source,
List<MessageReference> target)
Reference deeply.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-09-21T10:35:38+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Messages clone()
clone in class ModelObjectpublic Message getMessage(String name)
name - The name of the message to return.
name from the list or null,
if no message matching name is found.
NullPointerException - if name is null.getMessage()public MessageReference getReference(String name)
name - The name of the message reference to return.
name from the list or
null, if no message reference matching name is found.
NullPointerException - if name is null.getReference()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||