Class Subscribe

java.lang.Object
org.oasis_open.docs.wsn.b_2.Subscribe

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:28:20-04:00") 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>
 
  • Field Details

    • consumerReference

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:28:20-04:00") protected jakarta.xml.ws.wsaddressing.W3CEndpointReference consumerReference
    • filter

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:28:20-04:00") protected FilterType filter
    • initialTerminationTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:28:20-04:00") protected jakarta.xml.bind.JAXBElement<String> initialTerminationTime
    • subscriptionPolicy

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:28:20-04:00") protected Subscribe.SubscriptionPolicy subscriptionPolicy
    • any

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:28:20-04:00") protected List<Object> any
  • Constructor Details

    • Subscribe

      public Subscribe()
  • Method Details

    • getConsumerReference

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:28:20-04:00") public jakarta.xml.ws.wsaddressing.W3CEndpointReference getConsumerReference()
      Gets the value of the consumerReference property.
      Returns:
      possible object is W3CEndpointReference
    • setConsumerReference

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:28:20-04:00") public void setConsumerReference(jakarta.xml.ws.wsaddressing.W3CEndpointReference value)
      Sets the value of the consumerReference property.
      Parameters:
      value - allowed object is W3CEndpointReference
    • getFilter

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:28:20-04:00") public FilterType getFilter()
      Gets the value of the filter property.
      Returns:
      possible object is FilterType
    • setFilter

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:28:20-04:00") public void setFilter(FilterType value)
      Sets the value of the filter property.
      Parameters:
      value - allowed object is FilterType
    • getInitialTerminationTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:28:20-04:00") public jakarta.xml.bind.JAXBElement<String> getInitialTerminationTime()
      Gets the value of the initialTerminationTime property.
      Returns:
      possible object is JAXBElement<String>
    • setInitialTerminationTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:28:20-04:00") public void setInitialTerminationTime(jakarta.xml.bind.JAXBElement<String> value)
      Sets the value of the initialTerminationTime property.
      Parameters:
      value - allowed object is JAXBElement<String>
    • getSubscriptionPolicy

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:28:20-04:00") public Subscribe.SubscriptionPolicy getSubscriptionPolicy()
      Gets the value of the subscriptionPolicy property.
      Returns:
      possible object is Subscribe.SubscriptionPolicy
    • setSubscriptionPolicy

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:28:20-04:00") public void setSubscriptionPolicy(Subscribe.SubscriptionPolicy value)
      Sets the value of the subscriptionPolicy property.
      Parameters:
      value - allowed object is Subscribe.SubscriptionPolicy
    • getAny

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2023-09-13T13:28:20-04:00") 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 Jakarta XML Binding 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