public class SubscriptionType extends RegistryObjectType
A Subscription for specified Events in an ebXML V3+ registry.

Java class for SubscriptionType complex type.

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

 <complexType name="SubscriptionType">
   <complexContent>
     <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}RegistryObjectType">
       <sequence>
         <element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Action" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="selector" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}referenceURI" />
       <attribute name="startTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="endTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="notificationInterval" type="{http://www.w3.org/2001/XMLSchema}duration" default="P1D" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • SubscriptionType

      public SubscriptionType()
  • Method Details

    • getAction

      public List<javax.xml.bind.JAXBElement<? extends ActionType>> getAction()
      Gets the value of the action 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 action property.

      For example, to add a new item, do as follows:

          getAction().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<ActionType> JAXBElement<NotifyActionType>

    • getSelector

      public String getSelector()
      Gets the value of the selector property.
      Returns:
      possible object is String
    • setSelector

      public void setSelector(String value)
      Sets the value of the selector property.
      Parameters:
      value - allowed object is String
    • getStartTime

      public XMLGregorianCalendar getStartTime()
      Gets the value of the startTime property.
      Returns:
      possible object is XMLGregorianCalendar
    • setStartTime

      public void setStartTime(XMLGregorianCalendar value)
      Sets the value of the startTime property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • getEndTime

      public XMLGregorianCalendar getEndTime()
      Gets the value of the endTime property.
      Returns:
      possible object is XMLGregorianCalendar
    • setEndTime

      public void setEndTime(XMLGregorianCalendar value)
      Sets the value of the endTime property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • getNotificationInterval

      public Duration getNotificationInterval()
      Gets the value of the notificationInterval property.
      Returns:
      possible object is Duration
    • setNotificationInterval

      public void setNotificationInterval(Duration value)
      Sets the value of the notificationInterval property.
      Parameters:
      value - allowed object is Duration