org.apache.cxf.ws.addressing.v200403

## Class EndpointReferenceType

- java.lang.Object
- - org.apache.cxf.ws.addressing.v200403.EndpointReferenceType

-     public class EndpointReferenceType
      extends Object

  Java class for EndpointReferenceType complex type.

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

       <complexType name="EndpointReferenceType">
         <complexContent>
           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
             <sequence>
               <element name="Address" type="{http://schemas.xmlsoap.org/ws/2004/03/addressing}AttributedURI"/>
               <element name="ReferenceProperties" type="{http://schemas.xmlsoap.org/ws/2004/03/addressing}ReferencePropertiesType" minOccurs="0"/>
               <element name="PortType" type="{http://schemas.xmlsoap.org/ws/2004/03/addressing}AttributedQName" minOccurs="0"/>
               <element name="ServiceName" type="{http://schemas.xmlsoap.org/ws/2004/03/addressing}ServiceNameType" minOccurs="0"/>
               <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
             </sequence>
             <anyAttribute processContents='lax' namespace='##other'/>
           </restriction>
         </complexContent>
       </complexType>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected AttributedURI` | `address`
    `protected List<Object>` | `any` If "Policy" elements from namespace "http://schemas.xmlsoap.org/ws/2002/12/policy#policy" are used, they must appear first (before any extensibility elements).
    `protected AttributedQName` | `portType`
    `protected ReferencePropertiesType` | `referenceProperties`
    `protected ServiceNameType` | `serviceName`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EndpointReferenceType()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `AttributedURI` | `getAddress()` Gets the value of the address property.
    `List<Object>` | `getAny()` Gets the value of the any property.
    `Map<QName,String>` | `getOtherAttributes()` Gets a map that contains attributes that aren't bound to any typed property on this class.
    `AttributedQName` | `getPortType()` Gets the value of the portType property.
    `ReferencePropertiesType` | `getReferenceProperties()` Gets the value of the referenceProperties property.
    `ServiceNameType` | `getServiceName()` Gets the value of the serviceName property.
    `void` | `setAddress(AttributedURI value)` Sets the value of the address property.
    `void` | `setPortType(AttributedQName value)` Sets the value of the portType property.
    `void` | `setReferenceProperties(ReferencePropertiesType value)` Sets the value of the referenceProperties property.
    `void` | `setServiceName(ServiceNameType value)` Sets the value of the serviceName property.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### address

          protected AttributedURI address

    - #### referenceProperties

          protected ReferencePropertiesType referenceProperties

    - #### portType

          protected AttributedQName portType

    - #### serviceName

          protected ServiceNameType serviceName

    - #### any

          protected List<Object> any

      If "Policy" elements from namespace "http://schemas.xmlsoap.org/ws/2002/12/policy#policy" are used, they must appear first (before any extensibility elements).

  - ### Constructor Detail

    - #### EndpointReferenceType

          public EndpointReferenceType()

  - ### Method Detail

    - #### getAddress

          public AttributedURI getAddress()

      Gets the value of the address property.
      Returns:
        possible object is `AttributedURI`

    - #### setAddress

          public void setAddress(AttributedURI value)

      Sets the value of the address property.
      Parameters:
        `value` - allowed object is `AttributedURI`

    - #### getReferenceProperties

          public ReferencePropertiesType getReferenceProperties()

      Gets the value of the referenceProperties property.
      Returns:
        possible object is `ReferencePropertiesType`

    - #### setReferenceProperties

          public void setReferenceProperties(ReferencePropertiesType value)

      Sets the value of the referenceProperties property.
      Parameters:
        `value` - allowed object is `ReferencePropertiesType`

    - #### getPortType

          public AttributedQName getPortType()

      Gets the value of the portType property.
      Returns:
        possible object is `AttributedQName`

    - #### setPortType

          public void setPortType(AttributedQName value)

      Sets the value of the portType property.
      Parameters:
        `value` - allowed object is `AttributedQName`

    - #### getServiceName

          public ServiceNameType getServiceName()

      Gets the value of the serviceName property.
      Returns:
        possible object is `ServiceNameType`

    - #### setServiceName

          public void setServiceName(ServiceNameType value)

      Sets the value of the serviceName property.
      Parameters:
        `value` - allowed object is `ServiceNameType`

    - #### getAny

          public List<Object> getAny()

      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 `Object` `Element`

      If "Policy" elements from namespace "http://schemas.xmlsoap.org/ws/2002/12/policy#policy" are used, they must appear first (before any extensibility elements).

    - #### 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.

      Returns:
        always non-null

Apache CXF