net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.wsrm.impl
Class SequenceTypeImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.wsrm.impl.SequenceTypeImpl
All Implemented Interfaces:
Serializable, Cloneable, SequenceType

public class SequenceTypeImpl
extends Object
implements Serializable, Cloneable, SequenceType

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
protected  IdentifierImpl identifier
           
protected  long messageNumber
           
 
Constructor Summary
SequenceTypeImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.wsrm.impl.SequenceTypeImpl instance.
SequenceTypeImpl(SequenceTypeImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.wsrm.impl.SequenceTypeImpl instance by copying a given instance.
 
Method Summary
 SequenceTypeImpl clone()
          Creates and returns a copy of this object.
static void copyAny(List<Object> source, List<Object> target)
          Copies all values of property Any.
 List<Object> getAny()
          Gets the value of the any property.
 Identifier getIdentifier()
          Gets the value of the identifier property.
 long getMessageNumber()
          Gets the value of the messageNumber property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 void setIdentifier(Identifier value)
          Sets the value of the identifier property.
 void setMessageNumber(long value)
          Sets the value of the messageNumber property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identifier

protected IdentifierImpl identifier

messageNumber

protected long messageNumber

any

protected List<Object> any
Constructor Detail

SequenceTypeImpl

public SequenceTypeImpl()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.wsrm.impl.SequenceTypeImpl instance.


SequenceTypeImpl

public SequenceTypeImpl(SequenceTypeImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.wsrm.impl.SequenceTypeImpl instance by copying a given instance.

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

getIdentifier

public Identifier getIdentifier()
Description copied from interface: SequenceType
Gets the value of the identifier property.

Specified by:
getIdentifier in interface SequenceType
Returns:
possible object is Identifier

setIdentifier

public void setIdentifier(Identifier value)
Description copied from interface: SequenceType
Sets the value of the identifier property.

Specified by:
setIdentifier in interface SequenceType
Parameters:
value - allowed object is Identifier

getMessageNumber

public long getMessageNumber()
Description copied from interface: SequenceType
Gets the value of the messageNumber property.

Specified by:
getMessageNumber in interface SequenceType

setMessageNumber

public void setMessageNumber(long value)
Description copied from interface: SequenceType
Sets the value of the messageNumber property.

Specified by:
setMessageNumber in interface SequenceType

getAny

public List<Object> getAny()
Description copied from interface: SequenceType
Gets the value of the any 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 any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Element Object

Specified by:
getAny in interface SequenceType

getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Specified by:
getOtherAttributes in interface SequenceType
Returns:
always non-null

copyAny

public static void copyAny(List<Object> source,
                           List<Object> target)
Copies all values of property Any.

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

clone

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

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


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