Class GenericTimeStampType

java.lang.Object
org.etsi.uri._01903.v1_3.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 Details

    • referenceInfos

      protected List<ReferenceInfo> referenceInfos
    • includes

      protected List<Include> includes
    • canonicalizationMethod

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

      protected List<Object> encapsulatedTimeStampsAndXMLTimeStamps
    • id

      protected String id
  • Constructor Details

    • 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 Details

    • 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 Any EncapsulatedPKIData

    • 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
    • setReferenceInfos

      public void setReferenceInfos(List<ReferenceInfo> value)
    • setIncludes

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

      public void setEncapsulatedTimeStampsAndXMLTimeStamps(List<Object> value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • 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
    • withReferenceInfos

      public GenericTimeStampType withReferenceInfos(ReferenceInfo... values)
    • withReferenceInfos

      public GenericTimeStampType withReferenceInfos(Collection<ReferenceInfo> values)
    • withIncludes

      public GenericTimeStampType withIncludes(Include... values)
    • withIncludes

      public GenericTimeStampType withIncludes(Collection<Include> values)
    • withCanonicalizationMethod

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

      public GenericTimeStampType withEncapsulatedTimeStampsAndXMLTimeStamps(Object... values)
    • withEncapsulatedTimeStampsAndXMLTimeStamps

      public GenericTimeStampType withEncapsulatedTimeStampsAndXMLTimeStamps(Collection<Object> values)
    • withId

      public GenericTimeStampType withId(String value)
    • withReferenceInfos

      public GenericTimeStampType withReferenceInfos(List<ReferenceInfo> value)
    • withIncludes

      public GenericTimeStampType withIncludes(List<Include> value)
    • withEncapsulatedTimeStampsAndXMLTimeStamps

      public GenericTimeStampType withEncapsulatedTimeStampsAndXMLTimeStamps(List<Object> value)