net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jdtaus.container
Class Messages

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jdtaus.container.ModelObject
      extended by net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jdtaus.container.Messages
All Implemented Interfaces:
Serializable, Cloneable

public class Messages
extends ModelObject
implements Serializable, Cloneable

Messages.

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://jdtaus.org/core/model/container}ModelObject">
       <choice>
         <element ref="{http://jdtaus.org/core/model/container}message" maxOccurs="unbounded" minOccurs="0"/>
         <element name="reference" type="{http://jdtaus.org/core/model/container}MessageReference" maxOccurs="unbounded" minOccurs="0"/>
       </choice>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Message> message
           
protected  List<MessageReference> reference
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jdtaus.container.ModelObject
documentation, modelVersion
 
Constructor Summary
Messages()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jdtaus.container.Messages instance.
Messages(Messages o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jdtaus.container.Messages instance by copying a given instance.
 
Method Summary
 Messages clone()
          Creates and returns a copy of this object.
static void copyMessage(List<Message> source, List<Message> target)
          Copies all values of property Message.
static void copyReference(List<MessageReference> source, List<MessageReference> target)
          Copies all values of property Reference.
 List<Message> getMessage()
          Gets the value of the message property.
 List<MessageReference> getReference()
          Gets the value of the reference property.
 
Methods inherited from class net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jdtaus.container.ModelObject
getDocumentation, getModelVersion, setDocumentation, setModelVersion
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

message

protected List<Message> message

reference

protected List<MessageReference> reference
Constructor Detail

Messages

public Messages()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jdtaus.container.Messages instance.


Messages

public Messages(Messages o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jdtaus.container.Messages instance by copying a given instance.

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

getMessage

public List<Message> getMessage()
Gets the value of the message property.

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


getReference

public List<MessageReference> getReference()
Gets the value of the reference property.

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


copyMessage

public static void copyMessage(List<Message> source,
                               List<Message> target)
Copies all values of property Message.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyReference

public static void copyReference(List<MessageReference> source,
                                 List<MessageReference> target)
Copies all values of property Reference.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

clone

public Messages 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.