Class GenericTimeStampType

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    Direct Known Subclasses:
    OtherTimeStamp, XAdESTimeStampType

    public abstract class GenericTimeStampType
    extends Object
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

    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>
     
    • Field Detail

      • canonicalizationMethod

        protected no.digipost.org.w3.xmldsig.CanonicalizationMethod canonicalizationMethod
      • encapsulatedTimeStampsAndXMLTimeStamps

        protected List<Object> encapsulatedTimeStampsAndXMLTimeStamps
    • Constructor Detail

      • GenericTimeStampType

        public GenericTimeStampType()
        Default no-arg constructor
      • GenericTimeStampType

        public GenericTimeStampType​(List<ReferenceInfo> referenceInfos,
                                    List<Include> includes,
                                    no.digipost.org.w3.xmldsig.CanonicalizationMethod canonicalizationMethod,
                                    List<Object> encapsulatedTimeStampsAndXMLTimeStamps,
                                    String id)
        Fully-initialising value constructor
    • Method Detail

      • getReferenceInfos

        public List<ReferenceInfo> getReferenceInfos()
        Gets the value of the referenceInfos 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 JAXB object. This is why there is not a set method for the referenceInfos property.

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

            getReferenceInfos().add(newItem);
         

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

      • getIncludes

        public List<Include> getIncludes()
        Gets the value of the includes 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 JAXB object. This is why there is not a set method for the includes property.

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

            getIncludes().add(newItem);
         

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

      • getCanonicalizationMethod

        public no.digipost.org.w3.xmldsig.CanonicalizationMethod getCanonicalizationMethod()
        Gets the value of the canonicalizationMethod property.
        Returns:
        possible object is CanonicalizationMethod
      • setCanonicalizationMethod

        public void setCanonicalizationMethod​(no.digipost.org.w3.xmldsig.CanonicalizationMethod value)
        Sets the value of the canonicalizationMethod property.
        Parameters:
        value - allowed object is CanonicalizationMethod
      • getEncapsulatedTimeStampsAndXMLTimeStamps

        public List<Object> getEncapsulatedTimeStampsAndXMLTimeStamps()
        Gets the value of the encapsulatedTimeStampsAndXMLTimeStamps 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 JAXB object. This is why there is not a set method for the encapsulatedTimeStampsAndXMLTimeStamps property.

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

            getEncapsulatedTimeStampsAndXMLTimeStamps().add(newItem);
         

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

      • getId

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

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

        public void setIncludes​(List<Include> value)
      • setEncapsulatedTimeStampsAndXMLTimeStamps

        public void setEncapsulatedTimeStampsAndXMLTimeStamps​(List<Object> value)
      • append

        public StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                    StringBuilder buffer,
                                    org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
      • appendFields

        public StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                          StringBuilder buffer,
                                          org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • withCanonicalizationMethod

        public GenericTimeStampType withCanonicalizationMethod​(no.digipost.org.w3.xmldsig.CanonicalizationMethod value)
      • withEncapsulatedTimeStampsAndXMLTimeStamps

        public GenericTimeStampType withEncapsulatedTimeStampsAndXMLTimeStamps​(Object... values)