Class 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 Detail

      • AuditableEventType

        public AuditableEventType()
        Default constructor
        Note: automatically created by ph-jaxb-plugin -Xph-value-extender
    • 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 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 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 is String
      • 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 is String
      • 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 is String
      • hashCode

        public int hashCode()
        Created by ph-jaxb-plugin -Xph-equalshashcode
        Overrides:
        hashCode in class RegistryObjectType
      • 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 be null.
      • hasActionEntries

        public boolean hasActionEntries()
        Created by ph-jaxb-plugin -Xph-list-extension
        Returns:
        true if at least one item is contained, false otherwise.
      • hasNoActionEntries

        public boolean hasNoActionEntries()
        Created by ph-jaxb-plugin -Xph-list-extension
        Returns:
        true if no item is contained, false otherwise.
      • getActionCount

        @Nonnegative
        public int getActionCount()
        Created by ph-jaxb-plugin -Xph-list-extension
        Returns:
        The number of contained elements. Always ≥ 0.
      • addAction

        public void addAction​(@Nonnull
                              ActionType elem)
        Created by ph-jaxb-plugin -Xph-list-extension
        Parameters:
        elem - The element to be added. May not be null.
      • cloneTo

        public void cloneTo​(@Nonnull
                            AuditableEventType ret)
        This method clones all values from this to 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 be null.
      • clone

        @Nonnull
        @ReturnsMutableCopy
        public AuditableEventType clone()
        Created by ph-jaxb-plugin -Xph-cloneable2
        Specified by:
        clone in interface com.helger.commons.lang.IExplicitlyCloneable
        Overrides:
        clone in class RegistryObjectType
        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 be null.