Class GenericTimeStampType
- java.lang.Object
-
- com.helger.xsds.xades132.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 Summary
Constructors Constructor Description GenericTimeStampType()Default constructor
Note: automatically created by ph-jaxb-plugin -Xph-value-extender
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddEncapsulatedTimeStampOrXMLTimeStamp(Object elem)Created by ph-jaxb-plugin -Xph-list-extensionvoidaddInclude(IncludeType elem)Created by ph-jaxb-plugin -Xph-list-extensionvoidaddReferenceInfo(ReferenceInfoType elem)Created by ph-jaxb-plugin -Xph-list-extensionabstract GenericTimeStampTypeclone()Created by ph-jaxb-plugin -Xph-cloneable2voidcloneTo(GenericTimeStampType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb-plugin -Xph-equalshashcodecom.helger.xsds.xmldsig.CanonicalizationMethodTypegetCanonicalizationMethod()Gets the value of the canonicalizationMethod property.List<Object>getEncapsulatedTimeStampOrXMLTimeStamp()Gets the value of the encapsulatedTimeStampOrXMLTimeStamp property.ObjectgetEncapsulatedTimeStampOrXMLTimeStampAtIndex(int index)Created by ph-jaxb-plugin -Xph-list-extensionintgetEncapsulatedTimeStampOrXMLTimeStampCount()Created by ph-jaxb-plugin -Xph-list-extensionStringgetId()Gets the value of the id property.List<IncludeType>getInclude()Gets the value of the include property.IncludeTypegetIncludeAtIndex(int index)Created by ph-jaxb-plugin -Xph-list-extensionintgetIncludeCount()Created by ph-jaxb-plugin -Xph-list-extensionList<ReferenceInfoType>getReferenceInfo()Gets the value of the referenceInfo property.ReferenceInfoTypegetReferenceInfoAtIndex(int index)Created by ph-jaxb-plugin -Xph-list-extensionintgetReferenceInfoCount()Created by ph-jaxb-plugin -Xph-list-extensionbooleanhasEncapsulatedTimeStampOrXMLTimeStampEntries()Created by ph-jaxb-plugin -Xph-list-extensioninthashCode()Created by ph-jaxb-plugin -Xph-equalshashcodebooleanhasIncludeEntries()Created by ph-jaxb-plugin -Xph-list-extensionbooleanhasNoEncapsulatedTimeStampOrXMLTimeStampEntries()Created by ph-jaxb-plugin -Xph-list-extensionbooleanhasNoIncludeEntries()Created by ph-jaxb-plugin -Xph-list-extensionbooleanhasNoReferenceInfoEntries()Created by ph-jaxb-plugin -Xph-list-extensionbooleanhasReferenceInfoEntries()Created by ph-jaxb-plugin -Xph-list-extensionvoidsetCanonicalizationMethod(com.helger.xsds.xmldsig.CanonicalizationMethodType value)Sets the value of the canonicalizationMethod property.voidsetEncapsulatedTimeStampOrXMLTimeStamp(List<Object> aList)Created by ph-jaxb-plugin -Xph-list-extensionvoidsetId(String value)Sets the value of the id property.voidsetInclude(List<IncludeType> aList)Created by ph-jaxb-plugin -Xph-list-extensionvoidsetReferenceInfo(List<ReferenceInfoType> aList)Created by ph-jaxb-plugin -Xph-list-extensionStringtoString()Created by ph-jaxb-plugin -Xph-tostring
-
-
-
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
setmethod 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
setmethod 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 isCanonicalizationMethodType
-
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
setmethod 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
AnyTypeEncapsulatedPKIDataType- 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 isString
-
equals
public boolean equals(Object o)
Created by ph-jaxb-plugin -Xph-equalshashcode
-
hashCode
public int hashCode()
Created by ph-jaxb-plugin -Xph-equalshashcode
-
toString
public String toString()
Created by ph-jaxb-plugin -Xph-tostring
-
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 benull.
-
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 benull.
-
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 benull.
-
hasIncludeEntries
public boolean hasIncludeEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoIncludeEntries
public boolean hasNoIncludeEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getIncludeCount
@Nonnegative public int getIncludeCount()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getIncludeAtIndex
@Nullable public IncludeType getIncludeAtIndex(@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!
-
addInclude
public void addInclude(@Nonnull IncludeType elem)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasReferenceInfoEntries
public boolean hasReferenceInfoEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoReferenceInfoEntries
public boolean hasNoReferenceInfoEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getReferenceInfoCount
@Nonnegative public int getReferenceInfoCount()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getReferenceInfoAtIndex
@Nullable public ReferenceInfoType getReferenceInfoAtIndex(@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!
-
addReferenceInfo
public void addReferenceInfo(@Nonnull ReferenceInfoType elem)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasEncapsulatedTimeStampOrXMLTimeStampEntries
public boolean hasEncapsulatedTimeStampOrXMLTimeStampEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoEncapsulatedTimeStampOrXMLTimeStampEntries
public boolean hasNoEncapsulatedTimeStampOrXMLTimeStampEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
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 benull.
-
cloneTo
public void cloneTo(@Nonnull GenericTimeStampType 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 abstract GenericTimeStampType clone()
Created by ph-jaxb-plugin -Xph-cloneable2
-
-