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

AcceptType

public class AcceptType extends Object

Fields Summary
protected W3CEndpointReference
acksTo
protected List
any
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 }


                               
       
       /*   for (int i = 0 ; i < any.size(); i++) {

            if (any.get(i) instanceof WSEndpointReference) {
                return (WSEndpointReference)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 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 voidsetAcksTo(javax.xml.ws.wsaddressing.W3CEndpointReference value)
Sets the value of the acksTo property.

param
value allowed object is {@link WSEndpointReference }

        //this.any.add(value);
        this.acksTo = value;