Class SubscriptionType
- java.lang.Object
-
- com.helger.regrep.rim.ExtensibleObjectType
-
- com.helger.regrep.rim.IdentifiableType
-
- com.helger.regrep.rim.RegistryObjectType
-
- com.helger.regrep.rim.SubscriptionType
-
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Serializable,Cloneable
@CodingStyleguideUnaware public class SubscriptionType extends RegistryObjectType
Represents a Subscription for specified server Events.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:4.0}RegistryObjectType"> <sequence> <element name="DeliveryInfo" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}DeliveryInfoType" maxOccurs="unbounded" minOccurs="0"/> <element name="Selector" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}QueryType"/> </sequence> <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" /> </extension> </complexContent> </complexType>This class was annotated by ph-jaxb-plugin -Xph-annotate
This class contains methods created by ph-jaxb-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb-plugin -Xph-tostring
This class contains methods created by ph-jaxb-plugin -Xph-list-extension
This class contains methods created by ph-jaxb-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb-plugin -Xph-value-extender
This class contains methods created by ph-jaxb-plugin -Xph-offset-dt-extension
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SubscriptionType()Default constructor
Note: automatically created by ph-jaxb-plugin -Xph-value-extender
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDeliveryInfo(DeliveryInfoType elem)Created by ph-jaxb-plugin -Xph-list-extensionSubscriptionTypeclone()Created by ph-jaxb-plugin -Xph-cloneable2voidcloneTo(SubscriptionType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb-plugin -Xph-equalshashcodeList<DeliveryInfoType>getDeliveryInfo()Gets the value of the deliveryInfo property.DeliveryInfoTypegetDeliveryInfoAtIndex(int index)Created by ph-jaxb-plugin -Xph-list-extensionintgetDeliveryInfoCount()Created by ph-jaxb-plugin -Xph-list-extensioncom.helger.commons.datetime.XMLOffsetDateTimegetEndTime()Gets the value of the endTime property.LocalDateTimegetEndTimeLocal()Created by ph-jaxb-plugin -Xph-offset-dt-extensionDurationgetNotificationInterval()Gets the value of the notificationInterval property.QueryTypegetSelector()Gets the value of the selector property.com.helger.commons.datetime.XMLOffsetDateTimegetStartTime()Gets the value of the startTime property.LocalDateTimegetStartTimeLocal()Created by ph-jaxb-plugin -Xph-offset-dt-extensionbooleanhasDeliveryInfoEntries()Created by ph-jaxb-plugin -Xph-list-extensioninthashCode()Created by ph-jaxb-plugin -Xph-equalshashcodebooleanhasNoDeliveryInfoEntries()Created by ph-jaxb-plugin -Xph-list-extensionvoidsetDeliveryInfo(List<DeliveryInfoType> aList)Created by ph-jaxb-plugin -Xph-list-extensionvoidsetEndTime(com.helger.commons.datetime.XMLOffsetDateTime value)Sets the value of the endTime property.voidsetEndTime(LocalDateTime aValue)Created by ph-jaxb-plugin -Xph-offset-dt-extensionvoidsetNotificationInterval(Duration value)Sets the value of the notificationInterval property.voidsetSelector(QueryType value)Sets the value of the selector property.voidsetStartTime(com.helger.commons.datetime.XMLOffsetDateTime value)Sets the value of the startTime property.voidsetStartTime(LocalDateTime aValue)Created by ph-jaxb-plugin -Xph-offset-dt-extensionStringtoString()Created by ph-jaxb-plugin -Xph-tostring-
Methods inherited from class com.helger.regrep.rim.RegistryObjectType
addClassification, addExternalIdentifier, addExternalLink, cloneTo, getClassification, getClassificationAtIndex, getClassificationCount, getDescription, getExternalIdentifier, getExternalIdentifierAtIndex, getExternalIdentifierCount, getExternalLink, getExternalLinkAtIndex, getExternalLinkCount, getLid, getName, getObjectType, getOwner, getStatus, getVersionInfo, hasClassificationEntries, hasExternalIdentifierEntries, hasExternalLinkEntries, hasNoClassificationEntries, hasNoExternalIdentifierEntries, hasNoExternalLinkEntries, setClassification, setDescription, setExternalIdentifier, setExternalLink, setLid, setName, setObjectType, setOwner, setStatus, setVersionInfo
-
Methods inherited from class com.helger.regrep.rim.IdentifiableType
cloneTo, getId, setId
-
Methods inherited from class com.helger.regrep.rim.ExtensibleObjectType
addSlot, cloneTo, getSlot, getSlotAtIndex, getSlotCount, hasNoSlotEntries, hasSlotEntries, setSlot
-
-
-
-
Method Detail
-
getDeliveryInfo
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<DeliveryInfoType> getDeliveryInfo()
Gets the value of the deliveryInfo 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
setmethod for the deliveryInfo property.For example, to add a new item, do as follows:
getDeliveryInfo().add(newItem);Objects of the following type(s) are allowed in the list
DeliveryInfoType- Returns:
- The value of the deliveryInfo property.
-
getSelector
@Nullable public QueryType getSelector()
Gets the value of the selector property.- Returns:
- possible object is
QueryType
-
setSelector
public void setSelector(@Nullable QueryType value)
Sets the value of the selector property.- Parameters:
value- allowed object isQueryType
-
getStartTime
@Nullable public com.helger.commons.datetime.XMLOffsetDateTime getStartTime()
Gets the value of the startTime property.- Returns:
- possible object is
String
-
setStartTime
public void setStartTime(@Nullable com.helger.commons.datetime.XMLOffsetDateTime value)
Sets the value of the startTime property.- Parameters:
value- allowed object isString
-
getEndTime
@Nullable public com.helger.commons.datetime.XMLOffsetDateTime getEndTime()
Gets the value of the endTime property.- Returns:
- possible object is
String
-
setEndTime
public void setEndTime(@Nullable com.helger.commons.datetime.XMLOffsetDateTime value)
Sets the value of the endTime property.- Parameters:
value- allowed object isString
-
getNotificationInterval
@Nullable public Duration getNotificationInterval()
Gets the value of the notificationInterval property.- Returns:
- possible object is
Duration
-
setNotificationInterval
public void setNotificationInterval(@Nullable Duration value)
Sets the value of the notificationInterval property.- Parameters:
value- allowed object isDuration
-
equals
public boolean equals(Object o)
Created by ph-jaxb-plugin -Xph-equalshashcode- Overrides:
equalsin classRegistryObjectType
-
hashCode
public int hashCode()
Created by ph-jaxb-plugin -Xph-equalshashcode- Overrides:
hashCodein classRegistryObjectType
-
toString
public String toString()
Created by ph-jaxb-plugin -Xph-tostring- Overrides:
toStringin classRegistryObjectType
-
setDeliveryInfo
public void setDeliveryInfo(@Nullable List<DeliveryInfoType> aList)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
hasDeliveryInfoEntries
public boolean hasDeliveryInfoEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoDeliveryInfoEntries
public boolean hasNoDeliveryInfoEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getDeliveryInfoCount
@Nonnegative public int getDeliveryInfoCount()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getDeliveryInfoAtIndex
@Nullable public DeliveryInfoType getDeliveryInfoAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
index- The index to retrieve- Returns:
- The element at the specified index. May be
null - Throws:
IndexOutOfBoundsException- if the index is invalid!
-
addDeliveryInfo
public void addDeliveryInfo(@Nonnull DeliveryInfoType elem)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
cloneTo
public void cloneTo(@Nonnull SubscriptionType ret)
This method clones all values fromthisto the passed object. All data in the parameter object is overwritten!Created by ph-jaxb-plugin -Xph-cloneable2- Parameters:
ret- The target object to clone to. May not benull.
-
clone
@Nonnull @ReturnsMutableCopy public SubscriptionType clone()
Created by ph-jaxb-plugin -Xph-cloneable2- Specified by:
clonein interfacecom.helger.commons.lang.IExplicitlyCloneable- Overrides:
clonein classRegistryObjectType- Returns:
- The cloned object. Never
null.
-
getStartTimeLocal
@Nullable public LocalDateTime getStartTimeLocal()
Created by ph-jaxb-plugin -Xph-offset-dt-extension- Returns:
- The LocalDateTime representation of startTime. May be
null.
-
setStartTime
public void setStartTime(@Nullable LocalDateTime aValue)
Created by ph-jaxb-plugin -Xph-offset-dt-extension- Parameters:
aValue- The LocalDateTime to set. May benull.
-
getEndTimeLocal
@Nullable public LocalDateTime getEndTimeLocal()
Created by ph-jaxb-plugin -Xph-offset-dt-extension- Returns:
- The LocalDateTime representation of endTime. May be
null.
-
setEndTime
public void setEndTime(@Nullable LocalDateTime aValue)
Created by ph-jaxb-plugin -Xph-offset-dt-extension- Parameters:
aValue- The LocalDateTime to set. May benull.
-
-