|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.rm.protocol.AbstractSequence
com.sun.xml.ws.rm.protocol.wsrm200702.SequenceElement
public class SequenceElement
Java class for SequenceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SequenceType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://docs.oasis-open.org/ws-rx/wsrm/200702}Identifier"/> <element name="MessageNumber" type="{http://docs.oasis-open.org/ws-rx/wsrm/200702}MessageNumberType"/> <any/> </sequence> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected java.util.List<java.lang.Object> |
any
|
protected Identifier |
identifier
|
protected java.lang.Long |
messageNumber
|
Constructor Summary | |
---|---|
SequenceElement()
|
Method Summary | |
---|---|
java.util.List<java.lang.Object> |
getAny()
Gets the value of the any property. |
java.lang.String |
getId()
Accessor for the Id property. |
Identifier |
getIdentifier()
Gets the value of the identifier property. |
java.lang.Long |
getMessageNumber()
Gets the value of the messageNumber property. |
long |
getNumber()
Accessor for the Number property which maps to the MessageNumber property in the underlying JAXB class. |
java.util.Map<javax.xml.namespace.QName,java.lang.String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class. |
void |
setId(java.lang.String idString)
Mutator for the Id property. |
void |
setIdentifier(Identifier value)
Sets the value of the identifier property. |
void |
setMessageNumber(java.lang.Long value)
Sets the value of the messageNumber property. |
java.lang.String |
toString()
|
Methods inherited from class com.sun.xml.ws.rm.protocol.AbstractSequence |
---|
getLocalPart, setNumber |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Identifier identifier
protected java.lang.Long messageNumber
protected java.util.List<java.lang.Object> any
Constructor Detail |
---|
public SequenceElement()
Method Detail |
---|
public Identifier getIdentifier()
Identifier
public void setIdentifier(Identifier value)
value
- allowed object is
Identifier
public java.lang.Long getMessageNumber()
getMessageNumber
in class AbstractSequence
public void setMessageNumber(java.lang.Long value)
setMessageNumber
in class AbstractSequence
value
- The new value.public long getNumber()
getNumber
in class AbstractSequence
public java.util.List<java.lang.Object> getAny()
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
Object
Element
getAny
in class AbstractSequence
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
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.
getOtherAttributes
in class AbstractSequence
public void setId(java.lang.String idString)
setId
in class AbstractSequence
id
- The new value.public java.lang.String getId()
getId
in class AbstractSequence
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |