net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.wsrm.impl
Class SequenceTypeImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.indexed.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  Object[] any
           
protected  IdentifierImpl identifier
           
protected  long messageNumber
           
 
Constructor Summary
SequenceTypeImpl()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.wsrm.impl.SequenceTypeImpl instance.
SequenceTypeImpl(SequenceTypeImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.wsrm.impl.SequenceTypeImpl instance by copying a given instance.
 
Method Summary
 SequenceTypeImpl clone()
          Creates and returns a copy of this object.
protected  void copyAny(Object[] source)
          Copies all values of property Any.
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 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.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 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 Object[] any
Constructor Detail

SequenceTypeImpl

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


SequenceTypeImpl

public SequenceTypeImpl(SequenceTypeImpl o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.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 Object[] getAny()
Specified by:
getAny in interface SequenceType
Returns:
array of Element Object

getAny

public Object getAny(int idx)
Specified by:
getAny in interface SequenceType
Returns:
one of Element Object

getAnyLength

public int getAnyLength()
Specified by:
getAnyLength in interface SequenceType

setAny

public void setAny(Object[] values)
Specified by:
setAny in interface SequenceType
Parameters:
values - allowed objects are Element Object

setAny

public Object setAny(int idx,
                     Object value)
Specified by:
setAny in interface SequenceType
value - allowed object is Element Object

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

protected void copyAny(Object[] source)
Copies all values of property Any.

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