net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.jomc
Class Messages

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

public class Messages
extends ModelObject
implements Serializable, Cloneable

List of messages.

See Also:
Serialized Form

Field Summary
protected  Message[] message
           
protected  MessageReference[] reference
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.jomc.ModelObject
authors, createDate, documentation, modelVersion
 
Constructor Summary
Messages()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.jomc.Messages instance.
Messages(Messages o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.jomc.Messages instance by copying a given instance.
 
Method Summary
 Messages clone()
          Creates and returns a copy of this object.
protected  void copyMessage(Message[] source)
          Copies all values of property Message.
protected  void copyReference(MessageReference[] source)
          Copies all values of property Reference.
 Message[] getMessage()
           
 Message getMessage(int idx)
           
 int getMessageLength()
           
 MessageReference[] getReference()
           
 MessageReference getReference(int idx)
           
 int getReferenceLength()
           
 Message setMessage(int idx, Message value)
           
 void setMessage(Message[] values)
           
 MessageReference setReference(int idx, MessageReference value)
           
 void setReference(MessageReference[] values)
           
 
Methods inherited from class net.sourceforge.ccxjc.it.model.prot.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

message

protected Message[] message

reference

protected MessageReference[] reference
Constructor Detail

Messages

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


Messages

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

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

getMessage

public Message[] getMessage()
Returns:
array of Message

getMessage

public Message getMessage(int idx)
Returns:
one of Message

getMessageLength

public int getMessageLength()

setMessage

public void setMessage(Message[] values)
Parameters:
values - allowed objects are Message

setMessage

public Message setMessage(int idx,
                          Message value)
Parameters:
value - allowed object is Message

getReference

public MessageReference[] getReference()
Returns:
array of MessageReference

getReference

public MessageReference getReference(int idx)
Returns:
one of MessageReference

getReferenceLength

public int getReferenceLength()

setReference

public void setReference(MessageReference[] values)
Parameters:
values - allowed objects are MessageReference

setReference

public MessageReference setReference(int idx,
                                     MessageReference value)
Parameters:
value - allowed object is MessageReference

copyMessage

protected void copyMessage(Message[] source)
Copies all values of property Message.

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

copyReference

protected void copyReference(MessageReference[] source)
Copies all values of property Reference.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source 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.