@Generated(value="com.sun.tools.xjc.Driver", date="2016-11-01T03:16:37+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public class Messages extends ModelObject implements Cloneable
Java class for Messages complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Messages"> <complexContent> <extension base="{http://jomc.org/model}ModelObject"> <sequence> <element ref="{http://jomc.org/model}message" maxOccurs="unbounded" minOccurs="0"/> <element name="reference" type="{http://jomc.org/model}MessageReference" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Message> |
message |
protected List<MessageReference> |
reference |
authors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion
Constructor and Description |
---|
Messages()
Creates a new
Messages instance. |
Messages(Messages o)
Creates a new
Messages instance by deeply copying a given Messages instance. |
Modifier and Type | Method and Description |
---|---|
Messages |
clone()
Creates and returns a deep copy of this object.
|
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.
|
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersion
@Generated(value="com.sun.tools.xjc.Driver", date="2016-11-01T03:16:37+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") protected List<Message> message
@Generated(value="com.sun.tools.xjc.Driver", date="2016-11-01T03:16:37+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") protected List<MessageReference> reference
public Messages()
Messages
instance.public Messages(Messages o)
Messages
instance by deeply copying a given Messages
instance.o
- The instance to copy.NullPointerException
- if o
is null
.@Generated(value="com.sun.tools.xjc.Driver", date="2016-11-01T03:16:37+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") 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="2016-11-01T03:16:37+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") 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="2016-11-01T03:16:37+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public Messages clone()
clone
in class ModelObject
public Message getMessage(String name)
name
- The name of the message to return.null
, if no such message is found.NullPointerException
- if name
is null
.getMessage()
,
Message.getName()
public MessageReference getReference(String name)
name
- The name of the message reference to return.null
, if no such reference is found.NullPointerException
- if name
is null
.getReference()
,
MessageReference.getName()
Copyright © 2005–2016 The JOMC Project. All rights reserved.