public class Subscribe extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ConsumerReference" type="{http://www.w3.org/2005/08/addressing}EndpointReferenceType"/>
<element name="Filter" type="{http://docs.oasis-open.org/wsn/b-2}FilterType" minOccurs="0"/>
<element name="InitialTerminationTime" type="{http://docs.oasis-open.org/wsn/b-2}AbsoluteOrRelativeTimeType" minOccurs="0"/>
<element name="SubscriptionPolicy" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Subscribe.SubscriptionPolicy
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
any |
protected W3CEndpointReference |
consumerReference |
protected FilterType |
filter |
protected JAXBElement<String> |
initialTerminationTime |
protected Subscribe.SubscriptionPolicy |
subscriptionPolicy |
| Constructor and Description |
|---|
Subscribe() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
W3CEndpointReference |
getConsumerReference()
Gets the value of the consumerReference property.
|
FilterType |
getFilter()
Gets the value of the filter property.
|
JAXBElement<String> |
getInitialTerminationTime()
Gets the value of the initialTerminationTime property.
|
Subscribe.SubscriptionPolicy |
getSubscriptionPolicy()
Gets the value of the subscriptionPolicy property.
|
void |
setConsumerReference(W3CEndpointReference value)
Sets the value of the consumerReference property.
|
void |
setFilter(FilterType value)
Sets the value of the filter property.
|
void |
setInitialTerminationTime(JAXBElement<String> value)
Sets the value of the initialTerminationTime property.
|
void |
setSubscriptionPolicy(Subscribe.SubscriptionPolicy value)
Sets the value of the subscriptionPolicy property.
|
protected W3CEndpointReference consumerReference
protected FilterType filter
protected JAXBElement<String> initialTerminationTime
protected Subscribe.SubscriptionPolicy subscriptionPolicy
public W3CEndpointReference getConsumerReference()
W3CEndpointReferencepublic void setConsumerReference(W3CEndpointReference value)
value - allowed object is
W3CEndpointReferencepublic FilterType getFilter()
FilterTypepublic void setFilter(FilterType value)
value - allowed object is
FilterTypepublic JAXBElement<String> getInitialTerminationTime()
JAXBElement<String>public void setInitialTerminationTime(JAXBElement<String> value)
value - allowed object is
JAXBElement<String>public Subscribe.SubscriptionPolicy getSubscriptionPolicy()
Subscribe.SubscriptionPolicypublic void setSubscriptionPolicy(Subscribe.SubscriptionPolicy value)
value - allowed object is
Subscribe.SubscriptionPolicypublic List<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
Apache CXF