oasis.names.tc.ebxml_regrep.xsd.rim._3
Class SubscriptionType

java.lang.Object
  extended by oasis.names.tc.ebxml_regrep.xsd.rim._3.IdentifiableType
      extended by oasis.names.tc.ebxml_regrep.xsd.rim._3.RegistryObjectType
          extended by oasis.names.tc.ebxml_regrep.xsd.rim._3.SubscriptionType

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 Summary
protected  List<JAXBElement<? extends ActionType>> action
           
protected  XMLGregorianCalendar endTime
           
protected  Duration notificationInterval
           
protected  String selector
           
protected  XMLGregorianCalendar startTime
           
 
Fields inherited from class oasis.names.tc.ebxml_regrep.xsd.rim._3.RegistryObjectType
classification, description, externalIdentifier, lid, name, objectType, status, versionInfo
 
Fields inherited from class oasis.names.tc.ebxml_regrep.xsd.rim._3.IdentifiableType
home, id, slot
 
Constructor Summary
SubscriptionType()
           
 
Method Summary
 List<JAXBElement<? extends ActionType>> getAction()
          Gets the value of the action property.
 XMLGregorianCalendar getEndTime()
          Gets the value of the endTime property.
 Duration getNotificationInterval()
          Gets the value of the notificationInterval property.
 String getSelector()
          Gets the value of the selector property.
 XMLGregorianCalendar getStartTime()
          Gets the value of the startTime property.
 void setEndTime(XMLGregorianCalendar value)
          Sets the value of the endTime property.
 void setNotificationInterval(Duration value)
          Sets the value of the notificationInterval property.
 void setSelector(String value)
          Sets the value of the selector property.
 void setStartTime(XMLGregorianCalendar value)
          Sets the value of the startTime property.
 
Methods inherited from class oasis.names.tc.ebxml_regrep.xsd.rim._3.RegistryObjectType
getClassification, getDescription, getExternalIdentifier, getLid, getName, getObjectType, getStatus, getVersionInfo, setDescription, setLid, setName, setObjectType, setStatus, setVersionInfo
 
Methods inherited from class oasis.names.tc.ebxml_regrep.xsd.rim._3.IdentifiableType
getHome, getId, getSlot, setHome, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

action

protected List<JAXBElement<? extends ActionType>> action

selector

protected String selector

startTime

protected XMLGregorianCalendar startTime

endTime

protected XMLGregorianCalendar endTime

notificationInterval

protected Duration notificationInterval
Constructor Detail

SubscriptionType

public SubscriptionType()
Method Detail

getAction

public List<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<NotifyActionType> JAXBElement<ActionType>


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


Copyright © 2010-2011. All Rights Reserved.