com.ebmwebsourcing.wsstar.notification.definition.base
Class Subscribe

java.lang.Object
  extended by com.ebmwebsourcing.wsstar.notification.definition.base.Subscribe
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class Subscribe
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

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>
 


Nested Class Summary
static class Subscribe.SubscriptionPolicy
          Java class for anonymous complex type.
 
Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  EndpointReferenceType consumerReference
           
protected  FilterType filter
           
protected  javax.xml.bind.JAXBElement<java.lang.String> initialTerminationTime
           
protected  Subscribe.SubscriptionPolicy subscriptionPolicy
           
 
Constructor Summary
Subscribe()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 EndpointReferenceType getConsumerReference()
          Gets the value of the consumerReference property.
 FilterType getFilter()
          Gets the value of the filter property.
 javax.xml.bind.JAXBElement<java.lang.String> getInitialTerminationTime()
          Gets the value of the initialTerminationTime property.
 Subscribe.SubscriptionPolicy getSubscriptionPolicy()
          Gets the value of the subscriptionPolicy property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setConsumerReference(EndpointReferenceType value)
          Sets the value of the consumerReference property.
 void setFilter(FilterType value)
          Sets the value of the filter property.
 void setInitialTerminationTime(javax.xml.bind.JAXBElement<java.lang.String> value)
          Sets the value of the initialTerminationTime property.
 void setSubscriptionPolicy(Subscribe.SubscriptionPolicy value)
          Sets the value of the subscriptionPolicy property.
 java.lang.String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

consumerReference

protected EndpointReferenceType consumerReference

filter

protected FilterType filter

initialTerminationTime

protected javax.xml.bind.JAXBElement<java.lang.String> initialTerminationTime

subscriptionPolicy

protected Subscribe.SubscriptionPolicy subscriptionPolicy

any

protected java.util.List<java.lang.Object> any
Constructor Detail

Subscribe

public Subscribe()
Method Detail

getConsumerReference

public EndpointReferenceType getConsumerReference()
Gets the value of the consumerReference property.

Returns:
possible object is EndpointReferenceType

setConsumerReference

public void setConsumerReference(EndpointReferenceType value)
Sets the value of the consumerReference property.

Parameters:
value - allowed object is EndpointReferenceType

getFilter

public FilterType getFilter()
Gets the value of the filter property.

Returns:
possible object is FilterType

setFilter

public void setFilter(FilterType value)
Sets the value of the filter property.

Parameters:
value - allowed object is FilterType

getInitialTerminationTime

public javax.xml.bind.JAXBElement<java.lang.String> getInitialTerminationTime()
Gets the value of the initialTerminationTime property.

Returns:
possible object is JAXBElement<String>

setInitialTerminationTime

public void setInitialTerminationTime(javax.xml.bind.JAXBElement<java.lang.String> value)
Sets the value of the initialTerminationTime property.

Parameters:
value - allowed object is JAXBElement<String>

getSubscriptionPolicy

public Subscribe.SubscriptionPolicy getSubscriptionPolicy()
Gets the value of the subscriptionPolicy property.

Returns:
possible object is Subscribe.SubscriptionPolicy

setSubscriptionPolicy

public void setSubscriptionPolicy(Subscribe.SubscriptionPolicy value)
Sets the value of the subscriptionPolicy property.

Parameters:
value - allowed object is Subscribe.SubscriptionPolicy

getAny

public java.util.List<java.lang.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 Element Object


toString

public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public void equals(java.lang.Object object,
                   org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2009 eBM Websourcing. All Rights Reserved.