Class AuditableEventType
- java.lang.Object
-
- com.helger.regrep.rim.ExtensibleObjectType
-
- com.helger.regrep.rim.IdentifiableType
-
- com.helger.regrep.rim.RegistryObjectType
-
- com.helger.regrep.rim.AuditableEventType
-
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Serializable,Cloneable
@CodingStyleguideUnaware public class AuditableEventType extends RegistryObjectType
An Event that forms an audit trail in ebXML Registry.Java class for AuditableEventType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AuditableEventType"> <complexContent> <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}RegistryObjectType"> <sequence> <element name="Action" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ActionType" maxOccurs="unbounded"/> </sequence> <attribute name="timestamp" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="user" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="requestId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </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 AuditableEventType()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 voidaddAction(ActionType elem)Created by ph-jaxb-plugin -Xph-list-extensionAuditableEventTypeclone()Created by ph-jaxb-plugin -Xph-cloneable2voidcloneTo(AuditableEventType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb-plugin -Xph-equalshashcodeList<ActionType>getAction()Gets the value of the action property.ActionTypegetActionAtIndex(int index)Created by ph-jaxb-plugin -Xph-list-extensionintgetActionCount()Created by ph-jaxb-plugin -Xph-list-extensionStringgetRequestId()Gets the value of the requestId property.com.helger.commons.datetime.XMLOffsetDateTimegetTimestamp()Gets the value of the timestamp property.LocalDateTimegetTimestampLocal()Created by ph-jaxb-plugin -Xph-offset-dt-extensionStringgetUser()Gets the value of the user property.booleanhasActionEntries()Created by ph-jaxb-plugin -Xph-list-extensioninthashCode()Created by ph-jaxb-plugin -Xph-equalshashcodebooleanhasNoActionEntries()Created by ph-jaxb-plugin -Xph-list-extensionvoidsetAction(List<ActionType> aList)Created by ph-jaxb-plugin -Xph-list-extensionvoidsetRequestId(String value)Sets the value of the requestId property.voidsetTimestamp(com.helger.commons.datetime.XMLOffsetDateTime value)Sets the value of the timestamp property.voidsetTimestamp(LocalDateTime aValue)Created by ph-jaxb-plugin -Xph-offset-dt-extensionvoidsetUser(String value)Sets the value of the user 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
-
getAction
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<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 Jakarta XML Binding object. This is why there is not a
setmethod 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
ActionType- Returns:
- The value of the action property.
-
getTimestamp
@Nullable public com.helger.commons.datetime.XMLOffsetDateTime getTimestamp()
Gets the value of the timestamp property.- Returns:
- possible object is
String
-
setTimestamp
public void setTimestamp(@Nullable com.helger.commons.datetime.XMLOffsetDateTime value)
Sets the value of the timestamp property.- Parameters:
value- allowed object isString
-
getUser
@Nullable public String getUser()
Gets the value of the user property.- Returns:
- possible object is
String
-
setUser
public void setUser(@Nullable String value)
Sets the value of the user property.- Parameters:
value- allowed object isString
-
getRequestId
@Nullable public String getRequestId()
Gets the value of the requestId property.- Returns:
- possible object is
String
-
setRequestId
public void setRequestId(@Nullable String value)
Sets the value of the requestId 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
-
setAction
public void setAction(@Nullable List<ActionType> aList)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
hasActionEntries
public boolean hasActionEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoActionEntries
public boolean hasNoActionEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getActionCount
@Nonnegative public int getActionCount()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getActionAtIndex
@Nullable public ActionType getActionAtIndex(@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!
-
addAction
public void addAction(@Nonnull ActionType elem)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
cloneTo
public void cloneTo(@Nonnull AuditableEventType 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 AuditableEventType 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.
-
getTimestampLocal
@Nullable public LocalDateTime getTimestampLocal()
Created by ph-jaxb-plugin -Xph-offset-dt-extension- Returns:
- The LocalDateTime representation of timestamp. May be
null.
-
setTimestamp
public void setTimestamp(@Nullable LocalDateTime aValue)
Created by ph-jaxb-plugin -Xph-offset-dt-extension- Parameters:
aValue- The LocalDateTime to set. May benull.
-
-