From 32d17447a258188b2d534bcb0bf65a659ba7b7d0 Mon Sep 17 00:00:00 2001 From: mcentner Date: Fri, 29 Aug 2008 12:11:34 +0000 Subject: Initial import. git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../generated/CreateXMLSignatureRequestType.java | 466 +++++++++++++++++++++ 1 file changed, 466 insertions(+) create mode 100644 bkucommon/src/test/java/moaspss/generated/CreateXMLSignatureRequestType.java (limited to 'bkucommon/src/test/java/moaspss/generated/CreateXMLSignatureRequestType.java') diff --git a/bkucommon/src/test/java/moaspss/generated/CreateXMLSignatureRequestType.java b/bkucommon/src/test/java/moaspss/generated/CreateXMLSignatureRequestType.java new file mode 100644 index 00000000..aad14567 --- /dev/null +++ b/bkucommon/src/test/java/moaspss/generated/CreateXMLSignatureRequestType.java @@ -0,0 +1,466 @@ +/* +* Copyright 2008 Federal Chancellery Austria and +* Graz University of Technology +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +package moaspss.generated; + +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.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Java class for CreateXMLSignatureRequestType complex type. + * + *

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

+ * <complexType name="CreateXMLSignatureRequestType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="KeyIdentifier" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}KeyIdentifierType"/>
+ *         <element name="SingleSignatureInfo" maxOccurs="unbounded">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="DataObjectInfo" maxOccurs="unbounded">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <extension base="{http://reference.e-government.gv.at/namespace/moa/20020822#}DataObjectInfoType">
+ *                           <attribute name="ChildOfManifest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ *                         </extension>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="CreateSignatureInfo" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="CreateSignatureEnvironment" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}ContentOptionalRefType"/>
+ *                             <choice>
+ *                               <element ref="{http://reference.e-government.gv.at/namespace/moa/20020822#}CreateSignatureEnvironmentProfile"/>
+ *                               <element name="CreateSignatureEnvironmentProfileID" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}ProfileIdentifierType"/>
+ *                             </choice>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                 </sequence>
+ *                 <attribute name="SecurityLayerConformity" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CreateXMLSignatureRequestType", propOrder = { + "keyIdentifier", + "singleSignatureInfo" +}) +@XmlSeeAlso({ + CreateXMLSignatureRequest.class +}) +public class CreateXMLSignatureRequestType { + + @XmlElement(name = "KeyIdentifier", required = true) + protected String keyIdentifier; + @XmlElement(name = "SingleSignatureInfo", required = true) + protected List singleSignatureInfo; + + /** + * Gets the value of the keyIdentifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKeyIdentifier() { + return keyIdentifier; + } + + /** + * Sets the value of the keyIdentifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKeyIdentifier(String value) { + this.keyIdentifier = value; + } + + /** + * Gets the value of the singleSignatureInfo 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 singleSignatureInfo property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link CreateXMLSignatureRequestType.SingleSignatureInfo } + * + * + */ + public List getSingleSignatureInfo() { + if (singleSignatureInfo == null) { + singleSignatureInfo = new ArrayList(); + } + return this.singleSignatureInfo; + } + + + /** + *

Java class for anonymous complex type. + * + *

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

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="DataObjectInfo" maxOccurs="unbounded">
+     *           <complexType>
+     *             <complexContent>
+     *               <extension base="{http://reference.e-government.gv.at/namespace/moa/20020822#}DataObjectInfoType">
+     *                 <attribute name="ChildOfManifest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+     *               </extension>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="CreateSignatureInfo" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="CreateSignatureEnvironment" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}ContentOptionalRefType"/>
+     *                   <choice>
+     *                     <element ref="{http://reference.e-government.gv.at/namespace/moa/20020822#}CreateSignatureEnvironmentProfile"/>
+     *                     <element name="CreateSignatureEnvironmentProfileID" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}ProfileIdentifierType"/>
+     *                   </choice>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *       </sequence>
+     *       <attribute name="SecurityLayerConformity" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "dataObjectInfo", + "createSignatureInfo" + }) + public static class SingleSignatureInfo { + + @XmlElement(name = "DataObjectInfo", required = true) + protected List dataObjectInfo; + @XmlElement(name = "CreateSignatureInfo") + protected CreateXMLSignatureRequestType.SingleSignatureInfo.CreateSignatureInfo createSignatureInfo; + @XmlAttribute(name = "SecurityLayerConformity") + protected Boolean securityLayerConformity; + + /** + * Gets the value of the dataObjectInfo 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 dataObjectInfo property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link CreateXMLSignatureRequestType.SingleSignatureInfo.DataObjectInfo } + * + * + */ + public List getDataObjectInfo() { + if (dataObjectInfo == null) { + dataObjectInfo = new ArrayList(); + } + return this.dataObjectInfo; + } + + /** + * Gets the value of the createSignatureInfo property. + * + * @return + * possible object is + * {@link CreateXMLSignatureRequestType.SingleSignatureInfo.CreateSignatureInfo } + * + */ + public CreateXMLSignatureRequestType.SingleSignatureInfo.CreateSignatureInfo getCreateSignatureInfo() { + return createSignatureInfo; + } + + /** + * Sets the value of the createSignatureInfo property. + * + * @param value + * allowed object is + * {@link CreateXMLSignatureRequestType.SingleSignatureInfo.CreateSignatureInfo } + * + */ + public void setCreateSignatureInfo(CreateXMLSignatureRequestType.SingleSignatureInfo.CreateSignatureInfo value) { + this.createSignatureInfo = value; + } + + /** + * Gets the value of the securityLayerConformity property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean isSecurityLayerConformity() { + if (securityLayerConformity == null) { + return true; + } else { + return securityLayerConformity; + } + } + + /** + * Sets the value of the securityLayerConformity property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setSecurityLayerConformity(Boolean value) { + this.securityLayerConformity = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

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

+         * <complexType>
+         *   <complexContent>
+         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *       <sequence>
+         *         <element name="CreateSignatureEnvironment" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}ContentOptionalRefType"/>
+         *         <choice>
+         *           <element ref="{http://reference.e-government.gv.at/namespace/moa/20020822#}CreateSignatureEnvironmentProfile"/>
+         *           <element name="CreateSignatureEnvironmentProfileID" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}ProfileIdentifierType"/>
+         *         </choice>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "createSignatureEnvironment", + "createSignatureEnvironmentProfile", + "createSignatureEnvironmentProfileID" + }) + public static class CreateSignatureInfo { + + @XmlElement(name = "CreateSignatureEnvironment", required = true) + protected ContentOptionalRefType createSignatureEnvironment; + @XmlElement(name = "CreateSignatureEnvironmentProfile") + protected CreateSignatureEnvironmentProfile createSignatureEnvironmentProfile; + @XmlElement(name = "CreateSignatureEnvironmentProfileID") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String createSignatureEnvironmentProfileID; + + /** + * Gets the value of the createSignatureEnvironment property. + * + * @return + * possible object is + * {@link ContentOptionalRefType } + * + */ + public ContentOptionalRefType getCreateSignatureEnvironment() { + return createSignatureEnvironment; + } + + /** + * Sets the value of the createSignatureEnvironment property. + * + * @param value + * allowed object is + * {@link ContentOptionalRefType } + * + */ + public void setCreateSignatureEnvironment(ContentOptionalRefType value) { + this.createSignatureEnvironment = value; + } + + /** + * Gets the value of the createSignatureEnvironmentProfile property. + * + * @return + * possible object is + * {@link CreateSignatureEnvironmentProfile } + * + */ + public CreateSignatureEnvironmentProfile getCreateSignatureEnvironmentProfile() { + return createSignatureEnvironmentProfile; + } + + /** + * Sets the value of the createSignatureEnvironmentProfile property. + * + * @param value + * allowed object is + * {@link CreateSignatureEnvironmentProfile } + * + */ + public void setCreateSignatureEnvironmentProfile(CreateSignatureEnvironmentProfile value) { + this.createSignatureEnvironmentProfile = value; + } + + /** + * Gets the value of the createSignatureEnvironmentProfileID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCreateSignatureEnvironmentProfileID() { + return createSignatureEnvironmentProfileID; + } + + /** + * Sets the value of the createSignatureEnvironmentProfileID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCreateSignatureEnvironmentProfileID(String value) { + this.createSignatureEnvironmentProfileID = value; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

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

+         * <complexType>
+         *   <complexContent>
+         *     <extension base="{http://reference.e-government.gv.at/namespace/moa/20020822#}DataObjectInfoType">
+         *       <attribute name="ChildOfManifest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+         *     </extension>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class DataObjectInfo + extends DataObjectInfoType + { + + @XmlAttribute(name = "ChildOfManifest") + protected Boolean childOfManifest; + + /** + * Gets the value of the childOfManifest property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean isChildOfManifest() { + if (childOfManifest == null) { + return false; + } else { + return childOfManifest; + } + } + + /** + * Sets the value of the childOfManifest property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setChildOfManifest(Boolean value) { + this.childOfManifest = value; + } + + } + + } + +} -- cgit v1.2.3