Class GenericTimeStampType

  • All Implemented Interfaces:
    com.helger.commons.lang.IExplicitlyCloneable, Serializable, Cloneable
    Direct Known Subclasses:
    OtherTimeStampType, XAdESTimeStampType

    @CodingStyleguideUnaware
    public abstract class GenericTimeStampType
    extends Object
    implements Serializable, com.helger.commons.lang.IExplicitlyCloneable

    Java class for GenericTimeStampType complex type.

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="GenericTimeStampType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <choice minOccurs="0">
               <element ref="{http://uri.etsi.org/01903/v1.3.2#}Include" maxOccurs="unbounded" minOccurs="0"/>
               <element ref="{http://uri.etsi.org/01903/v1.3.2#}ReferenceInfo" maxOccurs="unbounded"/>
             </choice>
             <element ref="{http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethod" minOccurs="0"/>
             <choice maxOccurs="unbounded">
               <element name="EncapsulatedTimeStamp" type="{http://uri.etsi.org/01903/v1.3.2#}EncapsulatedPKIDataType"/>
               <element name="XMLTimeStamp" type="{http://uri.etsi.org/01903/v1.3.2#}AnyType"/>
             </choice>
           </sequence>
           <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
         </restriction>
       </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 Detail

      • GenericTimeStampType

        public GenericTimeStampType()
        Default constructor
        Note: automatically created by ph-jaxb-plugin -Xph-value-extender
    • Method Detail

      • getInclude

        @Nonnull
        @ReturnsMutableObject("JAXB implementation style")
        public List<IncludeType> getInclude()
        Gets the value of the include 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 include property.

        For example, to add a new item, do as follows:

            getInclude().add(newItem);
         

        Objects of the following type(s) are allowed in the list IncludeType

        Returns:
        The value of the include property.
      • getReferenceInfo

        @Nonnull
        @ReturnsMutableObject("JAXB implementation style")
        public List<ReferenceInfoType> getReferenceInfo()
        Gets the value of the referenceInfo 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 referenceInfo property.

        For example, to add a new item, do as follows:

            getReferenceInfo().add(newItem);
         

        Objects of the following type(s) are allowed in the list ReferenceInfoType

        Returns:
        The value of the referenceInfo property.
      • getCanonicalizationMethod

        @Nullable
        public com.helger.xsds.xmldsig.CanonicalizationMethodType getCanonicalizationMethod()
        Gets the value of the canonicalizationMethod property.
        Returns:
        possible object is CanonicalizationMethodType
      • setCanonicalizationMethod

        public void setCanonicalizationMethod​(@Nullable
                                              com.helger.xsds.xmldsig.CanonicalizationMethodType value)
        Sets the value of the canonicalizationMethod property.
        Parameters:
        value - allowed object is CanonicalizationMethodType
      • getEncapsulatedTimeStampOrXMLTimeStamp

        @Nonnull
        @ReturnsMutableObject("JAXB implementation style")
        public List<Object> getEncapsulatedTimeStampOrXMLTimeStamp()
        Gets the value of the encapsulatedTimeStampOrXMLTimeStamp 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 encapsulatedTimeStampOrXMLTimeStamp property.

        For example, to add a new item, do as follows:

            getEncapsulatedTimeStampOrXMLTimeStamp().add(newItem);
         

        Objects of the following type(s) are allowed in the list AnyType EncapsulatedPKIDataType

        Returns:
        The value of the encapsulatedTimeStampOrXMLTimeStamp property.
      • getId

        @Nullable
        public String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(@Nullable
                          String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String
      • equals

        public boolean equals​(Object o)
        Created by ph-jaxb-plugin -Xph-equalshashcode
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Created by ph-jaxb-plugin -Xph-equalshashcode
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Created by ph-jaxb-plugin -Xph-tostring
        Overrides:
        toString in class Object
      • setInclude

        public void setInclude​(@Nullable
                               List<IncludeType> aList)
        Created by ph-jaxb-plugin -Xph-list-extension
        Parameters:
        aList - The new list member to set. May be null.
      • setReferenceInfo

        public void setReferenceInfo​(@Nullable
                                     List<ReferenceInfoType> aList)
        Created by ph-jaxb-plugin -Xph-list-extension
        Parameters:
        aList - The new list member to set. May be null.
      • setEncapsulatedTimeStampOrXMLTimeStamp

        public void setEncapsulatedTimeStampOrXMLTimeStamp​(@Nullable
                                                           List<Object> aList)
        Created by ph-jaxb-plugin -Xph-list-extension
        Parameters:
        aList - The new list member to set. May be null.
      • hasIncludeEntries

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

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

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

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

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

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

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

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

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

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

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

        @Nullable
        public Object getEncapsulatedTimeStampOrXMLTimeStampAtIndex​(@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!
      • addEncapsulatedTimeStampOrXMLTimeStamp

        public void addEncapsulatedTimeStampOrXMLTimeStamp​(@Nonnull
                                                           Object 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
                            GenericTimeStampType 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 abstract GenericTimeStampType clone()
        Created by ph-jaxb-plugin -Xph-cloneable2
        Specified by:
        clone in interface com.helger.commons.lang.IExplicitlyCloneable
        Overrides:
        clone in class Object
        Returns:
        The cloned object. Never null.