From 4d3c33af0ba3474bc67b4f06708305c8c0129540 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 25 Jan 2012 14:36:53 +0000 Subject: Generated JAXB bindings for XAdES 1.4 git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1008 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../uri/_01903/v1_3/CertificateValuesType.java | 117 +++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 utils/src/main/java/org/etsi/uri/_01903/v1_3/CertificateValuesType.java (limited to 'utils/src/main/java/org/etsi/uri/_01903/v1_3/CertificateValuesType.java') diff --git a/utils/src/main/java/org/etsi/uri/_01903/v1_3/CertificateValuesType.java b/utils/src/main/java/org/etsi/uri/_01903/v1_3/CertificateValuesType.java new file mode 100644 index 00000000..475ebfe8 --- /dev/null +++ b/utils/src/main/java/org/etsi/uri/_01903/v1_3/CertificateValuesType.java @@ -0,0 +1,117 @@ +// +// 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.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Java class for CertificateValuesType complex type. + * + *

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

+ * <complexType name="CertificateValuesType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <choice maxOccurs="unbounded" minOccurs="0">
+ *         <element name="EncapsulatedX509Certificate" type="{http://uri.etsi.org/01903/v1.3.2#}EncapsulatedPKIDataType"/>
+ *         <element name="OtherCertificate" type="{http://uri.etsi.org/01903/v1.3.2#}AnyType"/>
+ *       </choice>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CertificateValuesType", propOrder = { + "encapsulatedX509CertificateOrOtherCertificate" +}) +public class CertificateValuesType { + + @XmlElements({ + @XmlElement(name = "EncapsulatedX509Certificate", type = EncapsulatedPKIDataType.class), + @XmlElement(name = "OtherCertificate", type = AnyType.class) + }) + protected List encapsulatedX509CertificateOrOtherCertificate; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the encapsulatedX509CertificateOrOtherCertificate 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 encapsulatedX509CertificateOrOtherCertificate property. + * + *

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

+     *    getEncapsulatedX509CertificateOrOtherCertificate().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link EncapsulatedPKIDataType } + * {@link AnyType } + * + * + */ + public List getEncapsulatedX509CertificateOrOtherCertificate() { + if (encapsulatedX509CertificateOrOtherCertificate == null) { + encapsulatedX509CertificateOrOtherCertificate = new ArrayList(); + } + return this.encapsulatedX509CertificateOrOtherCertificate; + } + + /** + * 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; + } + +} -- cgit v1.2.3