/* * Copyright 2011 by Graz University of Technology, Austria * MOCCA has been developed by the E-Government Innovation Center EGIZ, a joint * initiative of the Federal Chancellery Austria and Graz University of Technology. * * Licensed under the EUPL, Version 1.1 or - as soon they will be approved by * the European Commission - subsequent versions of the EUPL (the "Licence"); * You may not use this work except in compliance with the Licence. * You may obtain a copy of the Licence at: * http://www.osor.eu/eupl/ * * Unless required by applicable law or agreed to in writing, software * distributed under the Licence is distributed on an "AS IS" basis, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the Licence for the specific language governing permissions and * limitations under the Licence. * * This product combines work with different licenses. See the "NOTICE" text * file for details on the various modules and licenses. * The "NOTICE" text file is part of the distribution. Any derivative works * that you distribute must include a readable copy of the "NOTICE" text file. */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.01.10 at 12:03:52 PM CET // package org.etsi.uri._01903.v1_3; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlID; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import org.w3._2000._09.xmldsig_.CanonicalizationMethodType; /** *

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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "GenericTimeStampType", propOrder = { "include", "referenceInfo", "canonicalizationMethod", "encapsulatedTimeStampOrXMLTimeStamp" }) @XmlSeeAlso({ XAdESTimeStampType.class, OtherTimeStampType.class }) public abstract class GenericTimeStampType { @XmlElement(name = "Include") protected List include; @XmlElement(name = "ReferenceInfo") protected List referenceInfo; @XmlElement(name = "CanonicalizationMethod", namespace = "http://www.w3.org/2000/09/xmldsig#") protected CanonicalizationMethodType canonicalizationMethod; @XmlElements({ @XmlElement(name = "EncapsulatedTimeStamp", type = EncapsulatedPKIDataType.class), @XmlElement(name = "XMLTimeStamp", type = AnyType.class) }) protected List encapsulatedTimeStampOrXMLTimeStamp; @XmlAttribute(name = "Id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; /** * 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 JAXB 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 * {@link IncludeType } * * */ public List getInclude() { if (include == null) { include = new ArrayList(); } return this.include; } /** * 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 JAXB 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 * {@link ReferenceInfoType } * * */ public List getReferenceInfo() { if (referenceInfo == null) { referenceInfo = new ArrayList(); } return this.referenceInfo; } /** * Gets the value of the canonicalizationMethod property. * * @return * possible object is * {@link CanonicalizationMethodType } * */ public CanonicalizationMethodType getCanonicalizationMethod() { return canonicalizationMethod; } /** * Sets the value of the canonicalizationMethod property. * * @param value * allowed object is * {@link CanonicalizationMethodType } * */ public void setCanonicalizationMethod(CanonicalizationMethodType value) { this.canonicalizationMethod = value; } /** * 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 JAXB 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 * {@link EncapsulatedPKIDataType } * {@link AnyType } * * */ public List getEncapsulatedTimeStampOrXMLTimeStamp() { if (encapsulatedTimeStampOrXMLTimeStamp == null) { encapsulatedTimeStampOrXMLTimeStamp = new ArrayList(); } return this.encapsulatedTimeStampOrXMLTimeStamp; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } }