FileDocCategorySizeDatePackage
CreateSequenceElement.javaAPI DocExample7915Tue May 29 16:56:44 BST 2007com.sun.xml.ws.rm.protocol

CreateSequenceElement

public class CreateSequenceElement extends Object

Java class for CreateSequenceType complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="CreateSequenceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://schemas.xmlsoap.org/ws/2005/02/rm}AcksTo"/>
<element ref="{http://schemas.xmlsoap.org/ws/2005/02/rm}Expires" minOccurs="0"/>
<element name="Offer" type="{http://schemas.xmlsoap.org/ws/2005/02/rm}OfferType" minOccurs="0"/>
<any/>
</sequence>
</restriction>
</complexContent>
</complexType>

Fields Summary
protected W3CEndpointReference
acksTo
protected List
any
protected Expires
expires
protected OfferType
offer
private com.sun.xml.ws.security.secext10.SecurityTokenReferenceType
securityTokenReference
private Map
otherAttributes
Constructors Summary
Methods Summary
public javax.xml.ws.wsaddressing.W3CEndpointReferencegetAcksTo()
Gets the value of the acksTo property.

return
possible object is {@link com.sun.xml.ws.api.addressing.WSEndpointReference }


                               
    //Temporary hack till https://jaxb.dev.java.net/issues/show_bug.cgi?id=257
    //is fixed
       
        /*for (int i = 0 ; i < any.size(); i++) {
            if (any.get(i) instanceof WSEndpointReference) {
                return (W3CEndpointReference)any.get(i);
            }
        }
        return null;*/
        return acksTo;
    
public java.util.ListgetAny()
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 {@link Object } {@link Element }

        if (any == null) {
            any = new ArrayList<Object>();
        }
        return this.any;
    
public ExpiresgetExpires()
Gets the value of the expires property.

return
possible object is {@link Expires }

        return expires;
    
public OfferTypegetOffer()
Gets the value of the offer property.

return
possible object is {@link OfferType }

        return offer;
    
public java.util.MapgetOtherAttributes()
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.

return
always non-null

        return otherAttributes;
    
public com.sun.xml.ws.security.secext10.SecurityTokenReferenceTypegetSecurityTokenReference()

        return securityTokenReference;
    
public voidsetAcksTo(javax.xml.ws.wsaddressing.W3CEndpointReference value)
Sets the value of the acksTo property.

param
value allowed object is {@link javax.xml.ws.EndpointReference }

        //this.any.add(value);
        this.acksTo = value;
    
public voidsetExpires(Expires value)
Sets the value of the expires property.

param
value allowed object is {@link Expires }

        this.expires = value;
    
public voidsetOffer(OfferType value)
Sets the value of the offer property.

param
value allowed object is {@link OfferType }

        this.offer = value;
    
public voidsetSecurityTokenReference(com.sun.xml.ws.security.secext10.SecurityTokenReferenceType securityTokenReference)

        this.securityTokenReference = securityTokenReference;