Class NotificationType
- java.lang.Object
-
- com.helger.regrep.rim.ExtensibleObjectType
-
- com.helger.regrep.rim.IdentifiableType
-
- com.helger.regrep.rim.RegistryObjectType
-
- com.helger.regrep.rim.NotificationType
-
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Serializable,Cloneable
@CodingStyleguideUnaware public class NotificationType extends RegistryObjectType
Represents a Notification of registry events.Java class for NotificationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NotificationType"> <complexContent> <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}RegistryObjectType"> <sequence> <element name="Event" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}AuditableEventType" maxOccurs="unbounded"/> </sequence> <attribute name="subscription" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}objectReferenceType" /> </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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotificationType()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 voidaddEvent(AuditableEventType elem)Created by ph-jaxb-plugin -Xph-list-extensionNotificationTypeclone()Created by ph-jaxb-plugin -Xph-cloneable2voidcloneTo(NotificationType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb-plugin -Xph-equalshashcodeList<AuditableEventType>getEvent()Gets the value of the event property.AuditableEventTypegetEventAtIndex(int index)Created by ph-jaxb-plugin -Xph-list-extensionintgetEventCount()Created by ph-jaxb-plugin -Xph-list-extensionStringgetSubscription()Gets the value of the subscription property.booleanhasEventEntries()Created by ph-jaxb-plugin -Xph-list-extensioninthashCode()Created by ph-jaxb-plugin -Xph-equalshashcodebooleanhasNoEventEntries()Created by ph-jaxb-plugin -Xph-list-extensionvoidsetEvent(List<AuditableEventType> aList)Created by ph-jaxb-plugin -Xph-list-extensionvoidsetSubscription(String value)Sets the value of the subscription property.StringtoString()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
-
getEvent
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<AuditableEventType> getEvent()
Gets the value of the event 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 event property.For example, to add a new item, do as follows:
getEvent().add(newItem);Objects of the following type(s) are allowed in the list
AuditableEventType- Returns:
- The value of the event property.
-
getSubscription
@Nullable public String getSubscription()
Gets the value of the subscription property.- Returns:
- possible object is
String
-
setSubscription
public void setSubscription(@Nullable String value)
Sets the value of the subscription property.- Parameters:
value- allowed object isString
-
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
-
setEvent
public void setEvent(@Nullable List<AuditableEventType> aList)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
hasEventEntries
public boolean hasEventEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoEventEntries
public boolean hasNoEventEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getEventCount
@Nonnegative public int getEventCount()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getEventAtIndex
@Nullable public AuditableEventType getEventAtIndex(@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!
-
addEvent
public void addEvent(@Nonnull AuditableEventType elem)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
cloneTo
public void cloneTo(@Nonnull NotificationType 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 NotificationType 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.
-
-