diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 |
commit | defceef8afef538555c13d33e344a89a828a3d97 (patch) | |
tree | 24b44f970f161d5b139dde501ca0f5d883f9fdea /src/main/java | |
download | egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.gz egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.bz2 egovutils-defceef8afef538555c13d33e344a89a828a3d97.zip |
inital
Diffstat (limited to 'src/main/java')
841 files changed, 119616 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/BpkUtil.java b/src/main/java/at/gv/util/BpkUtil.java new file mode 100644 index 0000000..5c256c4 --- /dev/null +++ b/src/main/java/at/gv/util/BpkUtil.java @@ -0,0 +1,364 @@ +/* + * Copyright 2011 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 at.gv.util; + +import java.io.UnsupportedEncodingException; +import java.security.InvalidKeyException; +import java.security.KeyFactory; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.security.NoSuchProviderException; +import java.security.PrivateKey; +import java.security.PublicKey; +import java.security.interfaces.RSAPublicKey; +import java.security.spec.InvalidKeySpecException; +import java.security.spec.X509EncodedKeySpec; +import java.util.Date; + +import javax.crypto.BadPaddingException; +import javax.crypto.Cipher; +import javax.crypto.IllegalBlockSizeException; +import javax.crypto.NoSuchPaddingException; + +import org.apache.commons.codec.binary.Base64; +import org.apache.commons.lang.StringUtils; + +import at.gv.util.data.BPK; +import at.gv.util.data.WBPK; +import at.gv.util.ex.InternalErrorException; + +/** + * Utility class for sector specific PINs (Bereichsspezifische + * Personenkennzeichen). + * + * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a> + * + */ +public final class BpkUtil { + + public static final String SECTOR_DELIVERY = "ZU"; + public static final String PUBLIC_KEY_ZUSEKOPF_SN01_BASE64 = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDfGFFEzWl1kSbzmk4pWVeftyD2aWTVQ8xSIwb6ECLdFTy4zE9LI6a87zlPbOOzvvdO+Nv1VCvT+WqD9HOCtPwealwwRKS2cHI9aqYyozqDOIGBRIz7MDBKuqaTwCvonFe0MUBxVWDDTmqhDIjkN0uDQidQtqqjzupEzuQ59lVpBQIDAQAB"; + + public static final String prefix = "urn:publicid:gv.at:cdid+"; + + + private static String calcDigest(String data) + throws NoSuchAlgorithmException, UnsupportedEncodingException { + MessageDigest sha1 = MessageDigest.getInstance("SHA-1"); + byte[] digest = sha1.digest(data.getBytes("ISO-8859-1")); + return new String(Base64.encodeBase64(digest)); + } + + + + public static String calcBPK(String baseID, String sector) { + MiscUtil.assertNotEmpty(baseID, "BaseID"); + MiscUtil.assertNotEmpty(sector, "Sector"); + // prefix according to specification + String prefix = "urn:publicid:gv.at:cdid+"; + + // concatenation according to algorithm + String data; + if (sector.startsWith(prefix)) + data = baseID + "+" + sector; + else + data = baseID + "+" + prefix + sector; + + String hash = null; + try { + hash = calcDigest(data); + } catch (NoSuchAlgorithmException noSuchAlgorithmException) { + throw new InternalErrorException(noSuchAlgorithmException); + } catch (UnsupportedEncodingException unsupportedEncodingException) { + throw new InternalErrorException(unsupportedEncodingException); + } + return hash; + } + + public static BPK createBPK(String baseID, String sector) { + + if (sector.startsWith(prefix)) + sector = sector.substring(prefix.length()); + + return new BPK(sector, calcBPK(baseID, sector)); + } + + public static String calcZBPK(String baseID) { + return calcBPK(baseID, SECTOR_DELIVERY); + } + + public static BPK createZBPK(String baseID) { + return new BPK(SECTOR_DELIVERY, calcZBPK(baseID)); + } + + public static String calcWBPK(String baseID, String nameQualifier) { + MiscUtil.assertNotEmpty(baseID, "BaseID"); + MiscUtil.assertNotEmpty(nameQualifier, "Name qualifier"); + // concatenation according to algorithm + String data = baseID + "+" + nameQualifier; + + String wBPK = null; + try { + wBPK = calcDigest(data); + } catch (NoSuchAlgorithmException e) { + throw new InternalErrorException(e); + } catch (UnsupportedEncodingException e) { + throw new InternalErrorException(e); + } + return wBPK; + } + + public static WBPK createWBPK(String baseID, String nameQualifier) { + return new WBPK(calcWBPK(baseID, nameQualifier), nameQualifier); + } + + public static byte[] encrypt(byte[] inputBytes, PublicKey publicKey) { + byte[] result; + try { + Cipher cipher = null; + try { + cipher = Cipher.getInstance("RSA/ECB/OAEPPadding"); // try with bouncycastle + } catch(NoSuchAlgorithmException e) { + cipher = Cipher.getInstance("RSA/ECB/OAEP"); // try with iaik provider + } + cipher.init(Cipher.ENCRYPT_MODE, publicKey); + result = cipher.doFinal(inputBytes); + } catch (InvalidKeyException e) { + throw new InternalErrorException(e); + } catch (IllegalBlockSizeException e) { + throw new InternalErrorException(e); + } catch (BadPaddingException e) { + throw new InternalErrorException(e); + } catch (NoSuchAlgorithmException e) { + throw new InternalErrorException(e); + } catch (NoSuchPaddingException e) { + throw new InternalErrorException(e); + } + return result; + } + + public static byte[] decrypt(byte[] encryptedBytes, PrivateKey privateKey) { + byte[] result; + try { + Cipher cipher = null; + try { + cipher = Cipher.getInstance("RSA/ECB/OAEPPadding"); // try with bouncycastle + } catch(NoSuchAlgorithmException e) { + cipher = Cipher.getInstance("RSA/ECB/OAEP"); // try with iaik provider + } + cipher.init(Cipher.DECRYPT_MODE, privateKey); + result = cipher.doFinal(encryptedBytes); + } catch (InvalidKeyException e) { + throw new InternalErrorException(e); + } catch (IllegalBlockSizeException e) { + throw new InternalErrorException(e); + } catch (BadPaddingException e) { + throw new InternalErrorException(e); + } catch (NoSuchAlgorithmException e) { + throw new InternalErrorException(e); + } catch (NoSuchPaddingException e) { + throw new InternalErrorException(e); + } + return result; + } + + public static String encryptBPK(BPK bpk, PublicKey publicKey) { + MiscUtil.assertNotNull(bpk, "BPK"); + MiscUtil.assertNotNull(publicKey, "publicKey"); + String input = "V1::urn:publicid:gv.at:cdid+" + bpk.getSector() + "::" + + bpk.getBpk() + "::" + + DateTimeUtil.formatDate(new Date(), "yyyy-MM-dd'T'HH:mm:ss"); + System.out.println(input); + byte[] result; + try { + byte[] inputBytes = input.getBytes("ISO-8859-1"); + result = encrypt(inputBytes, publicKey); + } catch (UnsupportedEncodingException e) { + throw new InternalErrorException(e); + } + return new String(Base64.encodeBase64(result)).replaceAll("\r\n", ""); + } + + public static BPK decryptBPK(String encryptedBpk, PrivateKey privateKey) { + MiscUtil.assertNotEmpty(encryptedBpk, "Encrypted BPK"); + MiscUtil.assertNotNull(privateKey, "Private key"); + String decryptedString; + try { + byte[] encryptedBytes = Base64.decodeBase64(encryptedBpk + .getBytes("ISO-8859-1")); + byte[] decryptedBytes = decrypt(encryptedBytes, privateKey); + decryptedString = new String(decryptedBytes, "ISO-8859-1"); + } catch (UnsupportedEncodingException e) { + throw new InternalErrorException(e); + } + String tmp = decryptedString.substring(decryptedString.indexOf('+') + 1); + String sector = tmp.substring(0, tmp.indexOf("::")); + tmp = tmp.substring(tmp.indexOf("::") + 2); + String bPK = tmp.substring(0, tmp.indexOf("::")); + + return new BPK(sector, bPK); + } + + public static String calcVZBPK(String baseID, PublicKey publicKey) { + MiscUtil.assertNotEmpty(baseID, "BaseID"); + MiscUtil.assertNotNull(publicKey, "Public key"); + String bpk = calcZBPK(baseID); + String input = "Ver:1::urn:publicid:gv.at:cdid+" + SECTOR_DELIVERY + "::" + + bpk + "::" + + DateTimeUtil.formatDate(new Date(), "yyyy-MM-dd'T'HH:mm:ss"); + byte[] result; + try { + byte[] inputBytes = input.getBytes("ISO-8859-1"); + result = encrypt(inputBytes, publicKey); + } catch (UnsupportedEncodingException e) { + throw new InternalErrorException(e); + } + return new String(Base64.encodeBase64(result)).replaceAll("\r\n", ""); + } + + public static String calcVZBPK(String baseID) { + MiscUtil.assertNotEmpty(baseID, "BaseID"); + PublicKey publicKey; + try { + byte[] publicKeyBytes = Base64 + .decodeBase64(PUBLIC_KEY_ZUSEKOPF_SN01_BASE64.getBytes("ISO-8859-1")); + KeyFactory rsaKeyFac = KeyFactory.getInstance("RSA"); + X509EncodedKeySpec keySpec = new X509EncodedKeySpec(publicKeyBytes); + publicKey = (RSAPublicKey) rsaKeyFac.generatePublic(keySpec); + } catch (UnsupportedEncodingException e) { + throw new InternalErrorException(e); + } catch (NoSuchAlgorithmException e) { + throw new InternalErrorException(e); + } catch (InvalidKeySpecException e) { + throw new InternalErrorException(e); + } + return calcVZBPK(baseID, publicKey); + } + + /** + * @deprecated Use {@link BpkUtil#calcVZBPK(String, PublicKey)} instead. + */ + public static String calcVzbpk(String baseID, String sector, + byte[] rsaPublicKey) { + String zbpk = calcZBPK(baseID); + return encryptBPK(zbpk, sector, new Date(), rsaPublicKey); + } + + /** + * Calculates the check digit for commercial register digits.<br/> + * A commercial register number is build by concatinating the commercial + * register digits with the check digit (e.g. 123456 and i results in + * 123456i). + * + * @param commercialRegisterDigits + * The commercial register number consisting of 6 digits. + * @return The check digit. + */ + public static char calcCheckDigitFromCommercialRegisterNumber( + String commercialRegisterDigits) { + final int[] WEIGHT = { 6, 4, 14, 15, 10, 1 }; + final char[] CHECKDIGIT = { 'a', 'b', 'd', 'f', 'g', 'h', 'i', 'k', 'm', + 'p', 's', 't', 'v', 'w', 'x', 'y', 'z' }; + if (commercialRegisterDigits == null) { + throw new NullPointerException("Commercial register number missing."); + } + commercialRegisterDigits = StringUtils.leftPad(commercialRegisterDigits, 6, + '0'); + if (!commercialRegisterDigits.matches("\\d{6}")) { + throw new IllegalArgumentException( + "Invalid commercial register number provided."); + } + int sum = 0; + for (int i = 0; i < commercialRegisterDigits.length(); i++) { + int value = commercialRegisterDigits.charAt(i) - '0'; + sum += WEIGHT[i] * value; + } + return CHECKDIGIT[sum % 17]; + } + + /** + * Checks the validity of a commercial register number. + * + * @param commercialRegisterNumber + * The commercial register number. + * @return {@code true} if the given commercial register number is valid, + * {@code false} if not. + */ + public static boolean checkCommercialRegisterNumber( + String commercialRegisterNumber) { + if (commercialRegisterNumber == null) { + return false; + } + commercialRegisterNumber = StringUtils.leftPad(commercialRegisterNumber, 7, + '0'); + if (!commercialRegisterNumber.matches("\\d{6}[abdfghikmpstvwxzy]")) { + return false; + } + String digits = commercialRegisterNumber.substring(0, + commercialRegisterNumber.length() - 1); + char checkDigit = commercialRegisterNumber.charAt(commercialRegisterNumber + .length() - 1); + boolean result = calcCheckDigitFromCommercialRegisterNumber(digits) == checkDigit; + return result; + } + + /** + * @deprecated Use {@link BpkUtil#encryptBPK(BPK, PublicKey)} instead. + */ + public static String encryptBPK(String bpk, String context, Date date, + byte[] binaryPublicKey) { + String inputData = "Ver:1::urn:publicid:gv.at:cdid+" + context + "::" + bpk + + "::" + DateTimeUtil.formatDate(date, "yyyy-MM-dd'T'HH:mm:ss"); + byte[] plain = new String(inputData).getBytes(); + // log.debug("inputData = " + inputData); + byte[] encrypted = null; + + try { + KeyFactory rsaKeyFac = KeyFactory.getInstance("RSA"); + X509EncodedKeySpec keySpec = new X509EncodedKeySpec(binaryPublicKey); + PublicKey rsaPublicKey = (RSAPublicKey) rsaKeyFac.generatePublic(keySpec); + Cipher rsa = null; + try { + rsa = Cipher.getInstance("RSA/ECB/OAEPPadding"); // try with bouncycastle + } catch(NoSuchAlgorithmException e) { + rsa = Cipher.getInstance("RSA/ECB/OAEP"); // try with iaik provider + } + rsa.init(Cipher.ENCRYPT_MODE, rsaPublicKey); + encrypted = rsa.doFinal(plain); + } catch (InvalidKeyException e) { + throw new InternalErrorException(e); + } catch (NoSuchAlgorithmException e) { + throw new InternalErrorException(e); + } catch (NoSuchPaddingException e) { + throw new InternalErrorException(e); + } catch (IllegalArgumentException e) { + throw new InternalErrorException(e); + } catch (IllegalBlockSizeException e) { + throw new InternalErrorException(e); + } catch (BadPaddingException e) { + throw new InternalErrorException(e); + } catch (InvalidKeySpecException e) { + throw new InternalErrorException(e); + } + + return new String(Base64.encodeBase64(encrypted)).replaceAll("\r\n", ""); + } + + private BpkUtil() { + } + +} diff --git a/src/main/java/at/gv/util/Constants.java b/src/main/java/at/gv/util/Constants.java new file mode 100644 index 0000000..0f28a0c --- /dev/null +++ b/src/main/java/at/gv/util/Constants.java @@ -0,0 +1,370 @@ +/* + * Copyright 2011 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 at.gv.util; + +import java.util.HashMap; + +/** + * Contains various constants used throughout the system. + * + * @author Patrick Peck + */ +public interface Constants { + /** Root location of the schema files. */ + public static final String SCHEMA_ROOT = "/resources/schemas/"; + + /** URI of the Widerrufregister XML namespace. */ + public static final String WRR_NS_URI = + "http://reference.e-government.gv.at/namespace/moavv/20041223"; + + /** Prefix used for the Widerrufregister XML namespace */ + public static final String WRR_PREFIX = "wrr"; + + /** URI of the StandardTextBlock XML namespace. */ + public static final String STB_NS_URI = + "http://reference.e-government.gv.at/namespace/standardtextblock/20041105#"; + + /** Prefix used for the standard text block XML namespace */ + public static final String STB_PREFIX = "stb"; + + /** URI of the MOA XML namespace. */ + public static final String MOA_NS_URI = + "http://reference.e-government.gv.at/namespace/moa/20020822#"; + + /** Name of the mandates infobox */ + public static final String INFOBOXIDENTIFIER_MANDATES = "Mandates"; + + /** Prefix used for the Mandate XML namespace */ + public static final String MD_PREFIX = "md"; + + /** URI of the Mandate XML namespace. */ + public static final String MD_NS_URI = + "http://reference.e-government.gv.at/namespace/mandates/20040701#"; + + /** Prefix used for the Mandate XML namespace */ + public static final String MVV_PREFIX = "mvv"; + + /** URI of the Mandate XML namespace. */ + public static final String MVV_NS_URI = + "http://reference.e-government.gv.at/namespace/moavv/app2mvv/20041125"; + + /** Prefix used for the MandateCheckProfile XML namespace */ + public static final String MDP_PREFIX = "mdp"; + + /** URI of the Mandate XML namespace. */ + public static final String MDP_NS_URI = + "http://reference.e-government.gv.at/namespace/mandateprofile/20041105#"; + + /** Prefix used for the MOA XML namespace */ + public static final String MOA_PREFIX = "moa"; + + /** Local location of the MOA XML schema definition. */ + public static final String MOA_SCHEMA_LOCATION = + SCHEMA_ROOT + "MOA-SPSS-1.4.7.xsd"; + + /** URI of the MOA configuration XML namespace. */ + public static final String MOA_CONFIG_NS_URI = + "http://reference.e-government.gv.at/namespace/moaconfig/20021122#"; + + /** URI of the MOA ID configuration XML namespace. */ + public static final String MOA_ID_CONFIG_NS_URI = + "http://www.buergerkarte.at/namespaces/moaconfig#"; + + /** Prefix used for the MOA configuration XML namespace */ + public static final String MOA_CONFIG_PREFIX = "conf"; + + /** Prefix used for the MOA configuration XML namespace */ + public static final String MOA_ID_CONFIG_PREFIX = "confID"; + + /** Local location of the MOA configuration XML schema definition. */ + public static final String MOA_CONFIG_SCHEMA_LOCATION = + SCHEMA_ROOT + "MOA-SPSS-config-1.4.7.xsd"; + + /** Local location of the MOA ID configuration XML schema definition. */ + public static final String MOA_ID_CONFIG_SCHEMA_LOCATION = + SCHEMA_ROOT + "MOA-ID-Configuration-1.4.7.xsd"; + + /** URI of the Security Layer 1.0 namespace. */ + public static final String SL10_NS_URI = + "http://www.buergerkarte.at/namespaces/securitylayer/20020225#"; + + /** Prefix used for the Security Layer 1.0 XML namespace */ + public static final String SL10_PREFIX = "sl10"; + + /** Local location of the Security Layer 1.0 XML schema definition */ + public static final String SL10_SCHEMA_LOCATION = + SCHEMA_ROOT + "Core.20020225.xsd"; + + /** URI of the Security Layer 1.1 XML namespace */ + public static final String SL11_NS_URI = + "http://www.buergerkarte.at/namespaces/securitylayer/20020831#"; + + /** Prefix used for the Security Layer 1.1 XML namespace */ + public static final String SL11_PREFIX = "sl11"; + + /** Local location of the Security Layer 1.1 XML schema definition */ + public static final String SL11_SCHEMA_LOCATION = + SCHEMA_ROOT + "Core.20020831.xsd"; + + /** URI of the Security Layer 1.2 XML namespace */ + public static final String SL12_NS_URI = + "http://www.buergerkarte.at/namespaces/securitylayer/1.2#"; + + /** Prefix used for the Security Layer 1.2 XML namespace */ + public static final String SL12_PREFIX = "sl"; + + /** Local location of the Security Layer 1.2 XML schema definition */ + public static final String SL12_SCHEMA_LOCATION = + SCHEMA_ROOT + "Core-1.2.xsd"; + + /** URI of the ECDSA XML namespace */ + public static final String ECDSA_NS_URI = + "http://www.w3.org/2001/04/xmldsig-more#"; + + /** Prefix used for ECDSA namespace */ + public static final String ECDSA_PREFIX = "ecdsa"; + + /** Local location of ECDSA XML schema definition */ + public static final String ECDSA_SCHEMA_LOCATION = + SCHEMA_ROOT + "ECDSAKeyValue.xsd"; + + /** URI of the PersonData XML namespace. */ + public static final String PD_NS_URI = + "http://reference.e-government.gv.at/namespace/persondata/20020228#"; + + /** Prefix used for the PersonData XML namespace */ + public static final String PD_PREFIX = "pr"; + +// /** Local location of the PersonData XML schema definition */ +// public static final String PD_SCHEMA_LOCATION = +// SCHEMA_ROOT + "PersonData.xsd"; + + /** Local location of the PersonData XML schema definition */ + public static final String PD_SCHEMA_LOCATION = + SCHEMA_ROOT + "PersonData_20_en_moaWID.xsd"; + + /** URI of the SAML namespace. */ + public static final String SAML_NS_URI = + "urn:oasis:names:tc:SAML:1.0:assertion"; + + /** Prefix used for the SAML XML namespace */ + public static final String SAML_PREFIX = "saml"; + + /** Local location of the SAML XML schema definition. */ + public static final String SAML_SCHEMA_LOCATION = + SCHEMA_ROOT + "cs-sstc-schema-assertion-01.xsd"; + + /** URI of the SAML request-response protocol namespace. */ + public static final String SAMLP_NS_URI = + "urn:oasis:names:tc:SAML:1.0:protocol"; + + /** Prefix used for the SAML request-response protocol namespace */ + public static final String SAMLP_PREFIX = "samlp"; + + /** Local location of the SAML request-response protocol schema definition. */ + public static final String SAMLP_SCHEMA_LOCATION = + SCHEMA_ROOT + "cs-sstc-schema-protocol-01.xsd"; + + /** URI of the XML namespace. */ + public static final String XML_NS_URI = + "http://www.w3.org/XML/1998/namespace"; + + /** Prefix used for the XML namespace */ + public static final String XML_PREFIX = "xml"; + + /** Local location of the XML schema definition. */ + public static final String XML_SCHEMA_LOCATION = SCHEMA_ROOT + "xml.xsd"; + + /** URI of the XMLNS namespace */ + public static final String XMLNS_NS_URI = "http://www.w3.org/2000/xmlns/"; + + /** Prefix used for the XSI namespace */ + public static final String XSI_PREFIX = "xsi"; + + /** Local location of the XSI schema definition. */ + public static final String XSI_SCHEMA_LOCATION = + SCHEMA_ROOT + "XMLSchema-instance.xsd"; + + /** URI of the XSI XMLNS namespace */ + public static final String XSI_NS_URI = + "http://www.w3.org/2001/XMLSchema-instance"; + + /** URI of the XSLT XML namespace */ + public static final String XSLT_NS_URI = + "http://www.w3.org/1999/XSL/Transform"; + + /** Prefix used for the XSLT XML namespace */ + public static final String XSLT_PREFIX = "xsl"; + + /** URI of the XMLDSig XML namespace. */ + public static final String DSIG_NS_URI = "http://www.w3.org/2000/09/xmldsig#"; + + /** Prefix used for the XMLDSig XML namespace */ + public static final String DSIG_PREFIX = "dsig"; + + /** Local location of the XMLDSig XML schema. */ + public static final String DSIG_SCHEMA_LOCATION = + SCHEMA_ROOT + "xmldsig-core-schema.xsd"; + + /** URI of the XMLDSig XPath Filter XML namespace. */ + public static final String DSIG_FILTER2_NS_URI = + "http://www.w3.org/2002/06/xmldsig-filter2"; + + /** Prefix used for the XMLDSig XPath Filter XML namespace */ + public static final String DSIG_FILTER2_PREFIX = "dsig-filter2"; + + /** Local location of the XMLDSig XPath Filter XML schema definition. */ + public static final String DSIG_FILTER2_SCHEMA_LOCATION = + SCHEMA_ROOT + "xmldsig-filter2.xsd"; + + /** URI of the Exclusive Canonicalization XML namespace */ + public static final String DSIG_EC_NS_URI = + "http://www.w3.org/2001/10/xml-exc-c14n#"; + + /** Prefix used for the Exclusive Canonicalization XML namespace */ + public static final String DSIG_EC_PREFIX = "ec"; + + /** Local location of the Exclusive Canonicalizaion XML schema definition */ + public static final String DSIG_EC_SCHEMA_LOCATION = + SCHEMA_ROOT + "exclusive-canonicalization.xsd"; + + /** URI of the XMLLoginParameterResolver Configuration XML namespace */ + public static final String XMLLPR_NS_URI="http://reference.e-government.gv.at/namespace/moa/20020822#/xmllpr20030814"; + + /** Local location of the XMLLoginParameterResolver Configuration XML schema definition */ + public static final String XMLLPR_SCHEMA_LOCATION = + SCHEMA_ROOT + "MOAIdentities.xsd"; + + /** Local location of the XAdES v1.1.1 schema definition */ + public static final String XADES_1_1_1_SCHEMA_LOCATION = + SCHEMA_ROOT + "XAdES-1.1.1.xsd"; + + /** URI of the XAdES v1.1.1 namespace */ + public static final String XADES_1_1_1_NS_URI = "http://uri.etsi.org/01903/v1.1.1#"; + + /** Local location of the XAdES v1.2.2 schema definition */ + public static final String XADES_1_2_2_SCHEMA_LOCATION = + SCHEMA_ROOT + "XAdES-1.2.2.xsd"; + + /** URI of the XAdES v1.2.2 namespace */ + public static final String XADES_1_2_2_NS_URI = "http://uri.etsi.org/01903/v1.2.2#"; + + /** Local location of the XAdES v1.1.1 schema definition */ + public static final String XADES_1_3_2_SCHEMA_LOCATION = + SCHEMA_ROOT + "XAdES-1.3.2.xsd"; + + /** URI of the XAdES v1.3.2 namespace */ + public static final String XADES_1_3_2_NS_URI = "http://uri.etsi.org/01903/v1.3.2#"; + + /** Local location of the XAdES v1.4.1 schema definition */ + public static final String XADES_1_4_1_SCHEMA_LOCATION = + SCHEMA_ROOT + "XAdES-1.4.1.xsd"; + + /** URI of the XAdES v1.4.1 namespace */ + public static final String XADES_1_4_1_NS_URI = "http://uri.etsi.org/01903/v1.4.1#"; + + /** + * Contains all namespaces and local schema locations for XML schema + * definitions relevant for MOA. For use in validating XML parsers. + */ + public static final String ALL_SCHEMA_LOCATIONS = + (MOA_NS_URI + " " + MOA_SCHEMA_LOCATION + " ") + + (MOA_CONFIG_NS_URI + " " + MOA_CONFIG_SCHEMA_LOCATION + " ") + + (MOA_ID_CONFIG_NS_URI + " " + MOA_ID_CONFIG_SCHEMA_LOCATION + " ") + + (SL10_NS_URI + " " + SL10_SCHEMA_LOCATION + " ") + + (SL11_NS_URI + " " + SL11_SCHEMA_LOCATION + " ") + + (SL12_NS_URI + " " + SL12_SCHEMA_LOCATION + " ") + + (ECDSA_NS_URI + " " + ECDSA_SCHEMA_LOCATION + " ") + + (PD_NS_URI + " " + PD_SCHEMA_LOCATION + " ") + + (SAML_NS_URI + " " + SAML_SCHEMA_LOCATION + " ") + + (SAMLP_NS_URI + " " + SAMLP_SCHEMA_LOCATION + " ") + + (XML_NS_URI + " " + XML_SCHEMA_LOCATION + " ") + + (XSI_NS_URI + " " + XSI_SCHEMA_LOCATION + " ") + + (DSIG_NS_URI + " " + DSIG_SCHEMA_LOCATION + " ") + + (DSIG_FILTER2_NS_URI + " " + DSIG_FILTER2_SCHEMA_LOCATION + " ") + + (DSIG_EC_NS_URI + " " + DSIG_EC_SCHEMA_LOCATION + " ") + + (XMLLPR_NS_URI + " " + XMLLPR_SCHEMA_LOCATION + " ") + + (XADES_1_1_1_NS_URI + " " + XADES_1_1_1_SCHEMA_LOCATION + " ") + + (XADES_1_2_2_NS_URI + " " + XADES_1_2_2_SCHEMA_LOCATION + " ") + + (XADES_1_3_2_NS_URI + " " + XADES_1_3_2_SCHEMA_LOCATION + " ") + + (XADES_1_4_1_NS_URI + " " + XADES_1_4_1_SCHEMA_LOCATION); + + /** URN prefix for bPK and wbPK. */ + public static final String URN_PREFIX = "urn:publicid:gv.at"; + + /** URN prefix for context dependent id. */ + public static final String URN_PREFIX_CDID = URN_PREFIX + ":cdid"; + + /** URN prefix for context dependent id (bPK). */ + public static final String URN_PREFIX_BPK = URN_PREFIX_CDID + "+bpk"; + + /** URN prefix for context dependent id (HPI). */ + public static final String URN_PREFIX_HPI = URN_PREFIX_CDID + "+EHSP"; + + /** URN prefix for context dependent id (wbPK). */ + public static final String URN_PREFIX_WBPK = URN_PREFIX + ":wbpk"; + + /** URN prefix for context dependent id. */ + public static final String URN_PREFIX_BASEID = URN_PREFIX + ":baseid"; + + /** Security Layer manifest type URI. */ + public static final String SL_MANIFEST_TYPE_URI = + "http://www.buergerkarte.at/specifications/Security-Layer/20020225#SignatureManifest"; + + /** URI of the SHA1 digest algorithm */ + public static final String SHA1_URI = + "http://www.w3.org/2000/09/xmldsig#sha1"; + + /** URI of the Canonical XML algorithm */ + public static final String C14N_URI = + "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; + + /** URI of the Canoncial XML with comments algorithm */ + public static final String C14N_WITH_COMMENTS_URI = + "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"; + + /** URI of the Exclusive Canonical XML algorithm */ + public static final String EXC_C14N_URI = + "http://www.w3.org/2001/10/xml-exc-c14n#"; + + /** URI of the Exclusive Canonical XML with commments algorithm */ + public static final String EXC_C14N_WITH_COMMENTS_URI = + "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"; + + // + // Local names for elements of the MOA SPSS schema + // + + /** + * Local name of request for creating an XML signature. + */ + public static final String MOA_SPSS_CREATE_XML_REQUEST = "CreateXMLSignatureRequest"; + + /** + * Local name of request for verifying an XML signature. + */ + public static final String MOA_SPSS_VERIFY_XML_REQUEST = "VerifiyXMLSignatureRequest"; + + /** + * A map used to map namespace prefixes to namespace URIs + */ + public static HashMap nSMap = new HashMap(5); + + + public static final String MISSTORK_MANDATORTYPE_LEGAL = "jur"; + public static final String MISSTORK_MANDATORTYPE_NATURAL = "nat"; +} diff --git a/src/main/java/at/gv/util/DOMUtils.java b/src/main/java/at/gv/util/DOMUtils.java new file mode 100644 index 0000000..62eb0c0 --- /dev/null +++ b/src/main/java/at/gv/util/DOMUtils.java @@ -0,0 +1,1029 @@ +/* + * Copyright 2011 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 at.gv.util; + +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Vector; + +import javax.xml.parsers.DocumentBuilder; +import javax.xml.parsers.DocumentBuilderFactory; +import javax.xml.parsers.ParserConfigurationException; +import javax.xml.transform.OutputKeys; +import javax.xml.transform.Transformer; +import javax.xml.transform.TransformerException; +import javax.xml.transform.TransformerFactory; +import javax.xml.transform.dom.DOMSource; +import javax.xml.transform.stream.StreamResult; + +import org.apache.xerces.parsers.DOMParser; +import org.apache.xerces.parsers.SAXParser; +import org.apache.xerces.parsers.XMLGrammarPreparser; +import org.apache.xerces.util.SymbolTable; +import org.apache.xerces.util.XMLGrammarPoolImpl; +import org.apache.xerces.xni.grammars.XMLGrammarDescription; +import org.apache.xerces.xni.grammars.XMLGrammarPool; +import org.apache.xerces.xni.parser.XMLInputSource; +import org.w3c.dom.Attr; +import org.w3c.dom.Document; +import org.w3c.dom.DocumentFragment; +import org.w3c.dom.Element; +import org.w3c.dom.NamedNodeMap; +import org.w3c.dom.Node; +import org.w3c.dom.NodeList; +import org.xml.sax.EntityResolver; +import org.xml.sax.ErrorHandler; +import org.xml.sax.InputSource; +import org.xml.sax.SAXException; + +/** + * Various utility functions for handling XML DOM trees. + * + * The parsing methods in this class make use of some features internal to the + * Xerces DOM parser, mainly for performance reasons. As soon as JAXP (currently + * at version 1.2) is better at schema handling, it should be used as the parser + * interface. + * + * @author Patrick Peck + */ +public class DOMUtils { + + public static Document newDocument() { + DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); + factory.setNamespaceAware(true); + try { + return factory.newDocumentBuilder().newDocument(); + } catch (ParserConfigurationException e) { + e.printStackTrace(); + return null; + } + } + + /** Feature URI for namespace aware parsing. */ + private static final String NAMESPACES_FEATURE = "http://xml.org/sax/features/namespaces"; + /** Feature URI for validating parsing. */ + private static final String VALIDATION_FEATURE = "http://xml.org/sax/features/validation"; + /** Feature URI for schema validating parsing. */ + private static final String SCHEMA_VALIDATION_FEATURE = "http://apache.org/xml/features/validation/schema"; + /** Feature URI for normalization of element/attribute values. */ + private static final String NORMALIZED_VALUE_FEATURE = "http://apache.org/xml/features/validation/schema/normalized-value"; + /** Feature URI for parsing ignorable whitespace. */ + private static final String INCLUDE_IGNORABLE_WHITESPACE_FEATURE = "http://apache.org/xml/features/dom/include-ignorable-whitespace"; + /** Feature URI for creating EntityReference nodes in the DOM tree. */ + private static final String CREATE_ENTITY_REF_NODES_FEATURE = "http://apache.org/xml/features/dom/create-entity-ref-nodes"; + /** Property URI for providing external schema locations. */ + private static final String EXTERNAL_SCHEMA_LOCATION_PROPERTY = "http://apache.org/xml/properties/schema/external-schemaLocation"; + /** + * Property URI for providing the external schema location for elements + * without a namespace. + */ + private static final String EXTERNAL_NO_NAMESPACE_SCHEMA_LOCATION_PROPERTY = "http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation"; + /** Property URI for the Xerces grammar pool. */ + private static final String GRAMMAR_POOL = org.apache.xerces.impl.Constants.XERCES_PROPERTY_PREFIX + + org.apache.xerces.impl.Constants.XMLGRAMMAR_POOL_PROPERTY; + /** A prime number for initializing the symbol table. */ + private static final int BIG_PRIME = 2039; + /** Symbol table for the grammar pool. */ + private static SymbolTable symbolTable = new SymbolTable(BIG_PRIME); + /** Xerces schema grammar pool. */ + private static XMLGrammarPool grammarPool = new XMLGrammarPoolImpl(); + /** + * Set holding the NamespaceURIs of the grammarPool, to prevent multiple + * entries of same grammars to the pool + */ + private static Set grammarNamespaces; + + static { + grammarPool.lockPool(); + grammarNamespaces = new HashSet(); + } + + /** + * Preparse a schema and add it to the schema pool. The method only adds the + * schema to the pool if a schema having the same <code>systemId</code> + * (namespace URI) is not already present in the pool. + * + * @param inputStream + * An <code>InputStream</code> providing the contents of the schema. + * @param systemId + * The systemId (namespace URI) to use for the schema. + * @throws IOException + * An error occurred reading the schema. + */ + public static void addSchemaToPool(InputStream inputStream, String systemId) + throws IOException { + XMLGrammarPreparser preparser; + + if (!grammarNamespaces.contains(systemId)) { + + grammarNamespaces.add(systemId); + + // unlock the pool so that we can add another grammar + grammarPool.unlockPool(); + + // prepare the preparser + preparser = new XMLGrammarPreparser(symbolTable); + preparser.registerPreparser(XMLGrammarDescription.XML_SCHEMA, null); + preparser.setProperty(GRAMMAR_POOL, grammarPool); + preparser.setFeature(NAMESPACES_FEATURE, true); + preparser.setFeature(VALIDATION_FEATURE, true); + + // add the grammar to the pool + preparser.preparseGrammar(XMLGrammarDescription.XML_SCHEMA, + new XMLInputSource(null, systemId, null, inputStream, null)); + + // lock the pool again so that schemas are not added automatically + grammarPool.lockPool(); + } + } + + /** + * Parse an XML document from an <code>InputStream</code>. + * + * @param inputStream + * The <code>InputStream</code> containing the XML document. + * @param validating + * If <code>true</code>, parse validating. + * @param externalSchemaLocations + * A <code>String</code> containing namespace URI to schema location + * pairs, the same way it is accepted by the <code>xsi: + * schemaLocation</code> attribute. + * @param externalNoNamespaceSchemaLocation + * The schema location of the schema for elements without a + * namespace, the same way it is accepted by the + * <code>xsi:noNamespaceSchemaLocation</code> attribute. + * @param entityResolver + * An <code>EntityResolver</code> to resolve external entities + * (schemas and DTDs). If <code>null</code>, it will not be set. + * @param errorHandler + * An <code>ErrorHandler</code> to decide what to do with parsing + * errors. If <code>null</code>, it will not be set. + * @return The parsed XML document as a DOM tree. + * @throws SAXException + * An error occurred parsing the document. + * @throws IOException + * An error occurred reading the document. + * @throws ParserConfigurationException + * An error occurred configuring the XML parser. + */ + public static Document parseDocument(InputStream inputStream, + boolean validating, String externalSchemaLocations, + String externalNoNamespaceSchemaLocation, EntityResolver entityResolver, + ErrorHandler errorHandler) throws SAXException, IOException, + ParserConfigurationException { + + DOMParser parser; + + // if Debug is enabled make a copy of inputStream to enable debug output in + // case of SAXException + byte buffer[] = null; + /* + * ByteArrayInputStream baStream = null; int len = inputStream.available(); + * buffer = new byte[len]; inputStream.read(buffer); baStream = new + * ByteArrayInputStream(buffer); + */ + + // create the DOM parser + if (symbolTable != null) { + parser = new DOMParser(symbolTable, grammarPool); + } else { + parser = new DOMParser(); + } + + // set parser features and properties + try { + parser.setFeature(NAMESPACES_FEATURE, true); + parser.setFeature(VALIDATION_FEATURE, validating); + parser.setFeature(SCHEMA_VALIDATION_FEATURE, validating); + parser.setFeature(NORMALIZED_VALUE_FEATURE, false); + parser.setFeature(INCLUDE_IGNORABLE_WHITESPACE_FEATURE, true); + parser.setFeature(CREATE_ENTITY_REF_NODES_FEATURE, false); + + if (validating) { + if (externalSchemaLocations != null) { + parser.setProperty(EXTERNAL_SCHEMA_LOCATION_PROPERTY, + externalSchemaLocations); + } + if (externalNoNamespaceSchemaLocation != null) { + parser.setProperty(EXTERNAL_NO_NAMESPACE_SCHEMA_LOCATION_PROPERTY, + externalNoNamespaceSchemaLocation); + } + } + + // set entity resolver and error handler + if (entityResolver != null) { + parser.setEntityResolver(entityResolver); + } + if (errorHandler != null) { + parser.setErrorHandler(errorHandler); + } + + // parse the document and return it + // if debug is enabled: use copy of strem (baStream) else use orig stream + /* + * if(null != baStream) parser.parse(new InputSource(baStream)); else + */ + parser.parse(new InputSource(inputStream)); + } catch (SAXException e) { + throw (e); + } + + return parser.getDocument(); + } + + /** + * Parse an XML document from an <code>InputStream</code>. + * + * It uses a <code>MOAEntityResolver</code> as the <code>EntityResolver</code> + * and a <code>MOAErrorHandler</code> as the <code>ErrorHandler</code>. + * + * @param inputStream + * The <code>InputStream</code> containing the XML document. + * @param validating + * If <code>true</code>, parse validating. + * @param externalSchemaLocations + * A <code>String</code> containing namespace URI to schema location + * pairs, the same way it is accepted by the <code>xsi: + * schemaLocation</code> attribute. + * @param externalNoNamespaceSchemaLocation + * The schema location of the schema for elements without a + * namespace, the same way it is accepted by the + * <code>xsi:noNamespaceSchemaLocation</code> attribute. + * @return The parsed XML document as a DOM tree. + * @throws SAXException + * An error occurred parsing the document. + * @throws IOException + * An error occurred reading the document. + * @throws ParserConfigurationException + * An error occurred configuring the XML parser. + */ + public static Document parseDocument(InputStream inputStream, + boolean validating, String externalSchemaLocations, + String externalNoNamespaceSchemaLocation) throws SAXException, + IOException, ParserConfigurationException { + + return parseDocument(inputStream, validating, externalSchemaLocations, + externalNoNamespaceSchemaLocation, null, null); + } + + /** + * Parse an XML document from a <code>String</code>. + * + * It uses a <code>MOAEntityResolver</code> as the <code>EntityResolver</code> + * and a <code>MOAErrorHandler</code> as the <code>ErrorHandler</code>. + * + * @param xmlString + * The <code>String</code> containing the XML document. + * @param encoding + * The encoding of the XML document. + * @param validating + * If <code>true</code>, parse validating. + * @param externalSchemaLocations + * A <code>String</code> containing namespace URI to schema location + * pairs, the same way it is accepted by the <code>xsi: + * schemaLocation</code> attribute. + * @param externalNoNamespaceSchemaLocation + * The schema location of the schema for elements without a + * namespace, the same way it is accepted by the + * <code>xsi:noNamespaceSchemaLocation</code> attribute. + * @return The parsed XML document as a DOM tree. + * @throws SAXException + * An error occurred parsing the document. + * @throws IOException + * An error occurred reading the document. + * @throws ParserConfigurationException + * An error occurred configuring the XML parser. + */ + public static Document parseDocument(String xmlString, String encoding, + boolean validating, String externalSchemaLocations, + String externalNoNamespaceSchemaLocation) throws SAXException, + IOException, ParserConfigurationException { + + InputStream in = new ByteArrayInputStream(xmlString.getBytes(encoding)); + return parseDocument(in, validating, externalSchemaLocations, + externalNoNamespaceSchemaLocation); + } + + /** + * Parse an UTF-8 encoded XML document from a <code>String</code>. + * + * @param xmlString + * The <code>String</code> containing the XML document. + * @param validating + * If <code>true</code>, parse validating. + * @param externalSchemaLocations + * A <code>String</code> containing namespace URI to schema location + * pairs, the same way it is accepted by the <code>xsi: + * schemaLocation</code> attribute. + * @param externalNoNamespaceSchemaLocation + * The schema location of the schema for elements without a + * namespace, the same way it is accepted by the + * <code>xsi:noNamespaceSchemaLocation</code> attribute. + * @return The parsed XML document as a DOM tree. + * @throws SAXException + * An error occurred parsing the document. + * @throws IOException + * An error occurred reading the document. + * @throws ParserConfigurationException + * An error occurred configuring the XML parser. + */ + public static Document parseDocument(String xmlString, boolean validating, + String externalSchemaLocations, String externalNoNamespaceSchemaLocation) + throws SAXException, IOException, ParserConfigurationException { + + return parseDocument(xmlString, "UTF-8", validating, + externalSchemaLocations, externalNoNamespaceSchemaLocation); + } + + /** + * A convenience method to parse an XML document validating. + * + * @param inputStream + * The <code>InputStream</code> containing the XML document. + * @return The root element of the parsed XML document. + * @throws SAXException + * An error occurred parsing the document. + * @throws IOException + * An error occurred reading the document. + * @throws ParserConfigurationException + * An error occurred configuring the XML parser. + */ + public static Element parseXmlValidating(InputStream inputStream) + throws ParserConfigurationException, SAXException, IOException { + return DOMUtils.parseDocument(inputStream, true, + Constants.ALL_SCHEMA_LOCATIONS, null).getDocumentElement(); + } + + /** + * A convenience method to parse an XML document non validating. + * + * @param inputStream + * The <code>InputStream</code> containing the XML document. + * @return The root element of the parsed XML document. + * @throws SAXException + * An error occurred parsing the document. + * @throws IOException + * An error occurred reading the document. + * @throws ParserConfigurationException + * An error occurred configuring the XML parser. + */ + public static Element parseXmlNonValidating(InputStream inputStream) + throws ParserConfigurationException, SAXException, IOException { + return DOMUtils.parseDocument(inputStream, false, + Constants.ALL_SCHEMA_LOCATIONS, null).getDocumentElement(); + } + + /** + * Schema validate a given DOM element. + * + * @param element + * The element to validate. + * @param externalSchemaLocations + * A <code>String</code> containing namespace URI to schema location + * pairs, the same way it is accepted by the <code>xsi: + * schemaLocation</code> attribute. + * @param externalNoNamespaceSchemaLocation + * The schema location of the schema for elements without a + * namespace, the same way it is accepted by the + * <code>xsi:noNamespaceSchemaLocation</code> attribute. + * @return <code>true</code>, if the <code>element</code> validates against + * the schemas declared in it. + * @throws SAXException + * An error occurred parsing the document. + * @throws IOException + * An error occurred reading the document from its serialized + * representation. + * @throws ParserConfigurationException + * An error occurred configuring the XML + * @throws TransformerException + * An error occurred serializing the element. + */ + public static boolean validateElement(Element element, + String externalSchemaLocations, String externalNoNamespaceSchemaLocation) + throws ParserConfigurationException, IOException, SAXException, + TransformerException { + + byte[] docBytes; + SAXParser parser; + + // create the SAX parser + if (symbolTable != null) { + parser = new SAXParser(symbolTable, grammarPool); + } else { + parser = new SAXParser(); + } + + // serialize the document + docBytes = serializeNode(element, "UTF-8"); + + // set up parser features and attributes + parser.setFeature(NAMESPACES_FEATURE, true); + parser.setFeature(VALIDATION_FEATURE, true); + parser.setFeature(SCHEMA_VALIDATION_FEATURE, true); + if (externalSchemaLocations != null) { + parser.setProperty(EXTERNAL_SCHEMA_LOCATION_PROPERTY, + externalSchemaLocations); + } + if (externalNoNamespaceSchemaLocation != null) { + parser.setProperty(EXTERNAL_NO_NAMESPACE_SCHEMA_LOCATION_PROPERTY, + "externalNoNamespaceSchemaLocation"); + } + + // set up entity resolver and error handler + // parser.setEntityResolver(new MOAEntityResolver()); + // parser.setErrorHandler(new MOAErrorHandler()); + + // parse validating + parser.parse(new InputSource(new ByteArrayInputStream(docBytes))); + return true; + } + + /** + * Serialize the given DOM node. + * + * The node will be serialized using the UTF-8 encoding. + * + * @param node + * The node to serialize. + * @return String The <code>String</code> representation of the given DOM + * node. + * @throws TransformerException + * An error occurred transforming the node to a <code>String</code>. + * @throws IOException + * An IO error occurred writing the node to a byte array. + */ + public static String serializeNode(Node node) throws TransformerException, + IOException { + return new String(serializeNode(node, "UTF-8", false), "UTF-8"); + } + + /** + * Serialize the given DOM node. + * + * The node will be serialized using the UTF-8 encoding. + * + * @param node + * The node to serialize. + * @param omitXmlDeclaration + * The boolean value for omitting the XML Declaration. + * @return String The <code>String</code> representation of the given DOM + * node. + * @throws TransformerException + * An error occurred transforming the node to a <code>String</code>. + * @throws IOException + * An IO error occurred writing the node to a byte array. + */ + public static String serializeNode(Node node, boolean omitXmlDeclaration) + throws TransformerException, IOException { + return new String(serializeNode(node, "UTF-8", omitXmlDeclaration), "UTF-8"); + } + + /** + * Serialize the given DOM node. + * + * The node will be serialized using the UTF-8 encoding. + * + * @param node + * The node to serialize. + * @param omitXmlDeclaration + * The boolean value for omitting the XML Declaration. + * @param lineSeperator + * Sets the line seperator String of the parser + * @return String The <code>String</code> representation of the given DOM + * node. + * @throws TransformerException + * An error occurred transforming the node to a <code>String</code>. + * @throws IOException + * An IO error occurred writing the node to a byte array. + */ + public static String serializeNode(Node node, boolean omitXmlDeclaration, + String lineSeperator) throws TransformerException, IOException { + return new String(serializeNode(node, "UTF-8", omitXmlDeclaration, + lineSeperator), "UTF-8"); + } + + /** + * Serialize the given DOM node to a byte array. + * + * @param node + * The node to serialize. + * @param xmlEncoding + * The XML encoding to use. + * @return The serialized node, as a byte array. Using a compatible encoding + * this can easily be converted into a <code>String</code>. + * @throws TransformerException + * An error occurred transforming the node to a byte array. + * @throws IOException + * An IO error occurred writing the node to a byte array. + */ + public static byte[] serializeNode(Node node, String xmlEncoding) + throws TransformerException, IOException { + return serializeNode(node, xmlEncoding, false); + } + + /** + * Serialize the given DOM node to a byte array. + * + * @param node + * The node to serialize. + * @param xmlEncoding + * The XML encoding to use. + * @param omitDeclaration + * The boolean value for omitting the XML Declaration. + * @return The serialized node, as a byte array. Using a compatible encoding + * this can easily be converted into a <code>String</code>. + * @throws TransformerException + * An error occurred transforming the node to a byte array. + * @throws IOException + * An IO error occurred writing the node to a byte array. + */ + public static byte[] serializeNode(Node node, String xmlEncoding, + boolean omitDeclaration) throws TransformerException, IOException { + return serializeNode(node, xmlEncoding, omitDeclaration, null); + } + + /** + * Serialize the given DOM node to a byte array. + * + * @param node + * The node to serialize. + * @param xmlEncoding + * The XML encoding to use. + * @param omitDeclaration + * The boolean value for omitting the XML Declaration. + * @param lineSeperator + * Sets the line seperator String of the parser + * @return The serialized node, as a byte array. Using a compatible encoding + * this can easily be converted into a <code>String</code>. + * @throws TransformerException + * An error occurred transforming the node to a byte array. + * @throws IOException + * An IO error occurred writing the node to a byte array. + */ + public static byte[] serializeNode(Node node, String xmlEncoding, + boolean omitDeclaration, String lineSeperator) + throws TransformerException, IOException { + + TransformerFactory transformerFactory = TransformerFactory.newInstance(); + Transformer transformer = transformerFactory.newTransformer(); + ByteArrayOutputStream bos = new ByteArrayOutputStream(16384); + + transformer.setOutputProperty(OutputKeys.METHOD, "xml"); + transformer.setOutputProperty(OutputKeys.ENCODING, xmlEncoding); + String omit = omitDeclaration ? "yes" : "no"; + transformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, omit); + if (null != lineSeperator) { + transformer.setOutputProperty( + "{http://xml.apache.org/xalan}line-separator", lineSeperator);// does + // not + // work + // for + // xalan + // <= + // 2.5.1 + } + transformer.transform(new DOMSource(node), new StreamResult(bos)); + + bos.flush(); + bos.close(); + + return bos.toByteArray(); + } + + /** + * Return the text that a node contains. + * + * This routine: + * <ul> + * <li>Ignores comments and processing instructions.</li> + * <li>Concatenates TEXT nodes, CDATA nodes, and the results recursively + * processing EntityRef nodes.</li> + * <li>Ignores any element nodes in the sublist. (Other possible options are + * to recurse into element sublists or throw an exception.)</li> + * </ul> + * + * @param node + * A DOM node from which to extract text. + * @return A String representing its contents. + */ + public static String getText(Node node) { + if (!node.hasChildNodes()) { + return ""; + } + + StringBuffer result = new StringBuffer(); + NodeList list = node.getChildNodes(); + + for (int i = 0; i < list.getLength(); i++) { + Node subnode = list.item(i); + if (subnode.getNodeType() == Node.TEXT_NODE) { + result.append(subnode.getNodeValue()); + } else if (subnode.getNodeType() == Node.CDATA_SECTION_NODE) { + result.append(subnode.getNodeValue()); + } else if (subnode.getNodeType() == Node.ENTITY_REFERENCE_NODE) { + // Recurse into the subtree for text + // (and ignore comments) + result.append(getText(subnode)); + } + } + return result.toString(); + } + + /** + * Build the namespace prefix to namespace URL mapping in effect for a given + * node. + * + * @param node + * The context node for which build the map. + * @return The namespace prefix to namespace URL mapping ( a + * <code>String</code> value to <code>String</code> value mapping). + */ + public static Map getNamespaceDeclarations(Node node) { + Map nsDecls = new HashMap(); + int i; + + do { + if (node.hasAttributes()) { + NamedNodeMap attrs = node.getAttributes(); + + for (i = 0; i < attrs.getLength(); i++) { + Attr attr = (Attr) attrs.item(i); + + // add prefix mapping if none exists + if ("xmlns".equals(attr.getPrefix()) + || "xmlns".equals(attr.getName())) { + + String nsPrefix = attr.getPrefix() != null ? attr.getLocalName() + : ""; + + if (nsDecls.get(nsPrefix) == null) { + nsDecls.put(nsPrefix, attr.getValue()); + } + } + } + } + } while ((node = node.getParentNode()) != null); + + return nsDecls; + } + + /** + * Add all namespace declarations declared in the parent(s) of a given element + * and used in the subtree of the given element to the given element. + * + * @param context + * The element to which to add the namespaces. + */ + public static void localizeNamespaceDeclarations(Element context) { + Node parent = context.getParentNode(); + + if (parent != null) { + Map namespaces = getNamespaceDeclarations(context.getParentNode()); + Set nsUris = collectNamespaceURIs(context); + Iterator iter; + + for (iter = namespaces.entrySet().iterator(); iter.hasNext();) { + Map.Entry e = (Map.Entry) iter.next(); + + if (nsUris.contains(e.getValue())) { + String prefix = (String) e.getKey(); + String nsUri = (String) e.getValue(); + String nsAttrName = "".equals(prefix) ? "xmlns" : "xmlns:" + prefix; + + context.setAttributeNS(Constants.XMLNS_NS_URI, nsAttrName, nsUri); + } + } + } + } + + /** + * Collect all the namespace URIs used in the subtree of a given element. + * + * @param context + * The element that should be searched for namespace URIs. + * @return All namespace URIs used in the subtree of <code>context</code>, + * including the ones used in <code>context</code> itself. + */ + public static Set collectNamespaceURIs(Element context) { + Set result = new HashSet(); + + collectNamespaceURIsImpl(context, result); + return result; + } + + /** + * A recursive method to do the work of <code>collectNamespaceURIs</code>. + * + * @param context + * The context element to evaluate. + * @param result + * The result, passed as a parameter to avoid unnecessary + * instantiations of <code>Set</code>. + */ + private static void collectNamespaceURIsImpl(Element context, Set result) { + NamedNodeMap attrs = context.getAttributes(); + NodeList childNodes = context.getChildNodes(); + String nsUri; + int i; + + // add the namespace of the context element + nsUri = context.getNamespaceURI(); + if (nsUri != null && nsUri != Constants.XMLNS_NS_URI) { + result.add(nsUri); + } + + // add all namespace URIs from attributes + for (i = 0; i < attrs.getLength(); i++) { + nsUri = attrs.item(i).getNamespaceURI(); + if (nsUri != null && nsUri != Constants.XMLNS_NS_URI) { + result.add(nsUri); + } + } + + // add all namespaces from subelements + for (i = 0; i < childNodes.getLength(); i++) { + Node node = childNodes.item(i); + + if (node.getNodeType() == Node.ELEMENT_NODE) { + collectNamespaceURIsImpl((Element) node, result); + } + } + } + + /** + * Check, that each attribute node in the given <code>NodeList</code> has its + * parent in the <code>NodeList</code> as well. + * + * @param nodes + * The <code>NodeList</code> to check. + * @return <code>true</code>, if each attribute node in <code>nodes</code> has + * its parent in <code>nodes</code> as well. + */ + public static boolean checkAttributeParentsInNodeList(NodeList nodes) { + Set nodeSet = new HashSet(); + int i; + + // put the nodes into the nodeSet + for (i = 0; i < nodes.getLength(); i++) { + nodeSet.add(nodes.item(i)); + } + + // check that each attribute node's parent is in the node list + for (i = 0; i < nodes.getLength(); i++) { + Node n = nodes.item(i); + + if (n.getNodeType() == Node.ATTRIBUTE_NODE) { + Attr attr = (Attr) n; + Element owner = attr.getOwnerElement(); + + if (owner == null) { + if (!isNamespaceDeclaration(attr)) { + return false; + } + } + + if (!nodeSet.contains(owner) && !isNamespaceDeclaration(attr)) { + return false; + } + } + } + + return true; + } + + /** + * Convert an unstructured <code>NodeList</code> into a + * <code>DocumentFragment</code>. + * + * @param nodeList + * Contains the node list to be converted into a DOM + * DocumentFragment. + * @return the resulting DocumentFragment. The DocumentFragment will be backed + * by a new DOM Document, i.e. all noded of the node list will be + * cloned. + * @throws ParserConfigurationException + * An error occurred creating the DocumentFragment. + * @precondition The nodes in the node list appear in document order + * @precondition for each Attr node in the node list, the owning Element is in + * the node list as well. + * @precondition each Element or Attr node in the node list is namespace + * aware. + */ + public static DocumentFragment nodeList2DocumentFragment(NodeList nodeList) + throws ParserConfigurationException { + + DocumentBuilder builder = DocumentBuilderFactory.newInstance() + .newDocumentBuilder(); + Document doc = builder.newDocument(); + DocumentFragment result = doc.createDocumentFragment(); + + if (null == nodeList || nodeList.getLength() == 0) { + return result; + } + + int currPos = 0; + currPos = nodeList2DocumentFragment(nodeList, currPos, result, null, null) + 1; + + while (currPos < nodeList.getLength()) { + currPos = nodeList2DocumentFragment(nodeList, currPos, result, null, null) + 1; + } + return result; + } + + /** + * Helper method for the <code>nodeList2DocumentFragment</code>. + * + * @param nodeList + * The <code>NodeList</code> to convert. + * @param currPos + * The current position in the <code>nodeList</code>. + * @param result + * The resulting <code>DocumentFragment</code>. + * @param currOrgElem + * The current original element. + * @param currClonedElem + * The current cloned element. + * @return The current position. + */ + private static int nodeList2DocumentFragment(NodeList nodeList, int currPos, + DocumentFragment result, Element currOrgElem, Element currClonedElem) { + + while (currPos < nodeList.getLength()) { + Node currentNode = nodeList.item(currPos); + switch (currentNode.getNodeType()) { + case Node.COMMENT_NODE: + case Node.PROCESSING_INSTRUCTION_NODE: + case Node.TEXT_NODE: { + // Append current node either to resulting DocumentFragment or to + // current cloned Element + if (null == currClonedElem) { + result.appendChild(result.getOwnerDocument().importNode(currentNode, + false)); + } else { + // Stop processing if current Node is not a descendant of + // current Element + if (!isAncestor(currOrgElem, currentNode)) { + return --currPos; + } + + currClonedElem.appendChild(result.getOwnerDocument().importNode( + currentNode, false)); + } + break; + } + + case Node.ELEMENT_NODE: { + Element nextCurrOrgElem = (Element) currentNode; + Element nextCurrClonedElem = result.getOwnerDocument().createElementNS( + nextCurrOrgElem.getNamespaceURI(), nextCurrOrgElem.getNodeName()); + + // Append current Node either to resulting DocumentFragment or to + // current cloned Element + if (null == currClonedElem) { + result.appendChild(nextCurrClonedElem); + currOrgElem = nextCurrOrgElem; + currClonedElem = nextCurrClonedElem; + } else { + // Stop processing if current Node is not a descendant of + // current Element + if (!isAncestor(currOrgElem, currentNode)) { + return --currPos; + } + + currClonedElem.appendChild(nextCurrClonedElem); + } + + // Process current Node (of type Element) recursively + currPos = nodeList2DocumentFragment(nodeList, ++currPos, result, + nextCurrOrgElem, nextCurrClonedElem); + + break; + } + + case Node.ATTRIBUTE_NODE: { + Attr currAttr = (Attr) currentNode; + + // GK 20030411: Hack to overcome problems with IAIK IXSIL + if (currAttr.getOwnerElement() == null) + break; + if (currClonedElem == null) + break; + + // currClonedElem must be the owner Element of currAttr if + // preconditions are met + currClonedElem.setAttributeNS(currAttr.getNamespaceURI(), + currAttr.getNodeName(), currAttr.getValue()); + break; + } + + default: { + // All other nodes will be ignored + } + } + + currPos++; + } + + return currPos; + } + + /** + * Check, if the given attribute is a namespace declaration. + * + * @param attr + * The attribute to check. + * @return <code>true</code>, if the attribute is a namespace declaration, + * <code>false</code> otherwise. + */ + private static boolean isNamespaceDeclaration(Attr attr) { + return Constants.XMLNS_NS_URI.equals(attr.getNamespaceURI()); + } + + /** + * Check, if a given DOM element is an ancestor of a given node. + * + * @param candAnc + * The DOM element to check for being the ancestor. + * @param cand + * The node to check for being the child. + * @return <code>true</code>, if <code>candAnc</code> is an (indirect) + * ancestor of <code>cand</code>; <code>false</code> otherwise. + */ + public static boolean isAncestor(Element candAnc, Node cand) { + Node currPar = cand.getParentNode(); + + while (currPar != null) { + if (candAnc == currPar) + return true; + currPar = currPar.getParentNode(); + } + return false; + } + + /** + * Selects the (first) element from a node list and returns it. + * + * @param nl + * The NodeList to get the element from. + * @return The (first) element included in the node list or <code>null</code> + * if the node list is <code>null</code> or empty or no element is + * included in the list. + */ + public static Element getElementFromNodeList(NodeList nl) { + if ((nl == null) || (nl.getLength() == 0)) { + return null; + } + for (int i = 0; i < nl.getLength(); i++) { + Node node = nl.item(i); + if (node.getNodeType() == Node.ELEMENT_NODE) { + return (Element) node; + } + } + return null; + } + + /** + * Returns all child elements of the given element. + * + * @param parent + * The element to get the child elements from. + * + * @return A list including all child elements of the given element. Maybe + * empty if the parent element has no child elements. + */ + public static List getChildElements(Element parent) { + Vector v = new Vector(); + NodeList nl = parent.getChildNodes(); + int length = nl.getLength(); + for (int i = 0; i < length; i++) { + Node node = nl.item(i); + if (node.getNodeType() == Node.ELEMENT_NODE) { + v.add((Element) node); + } + } + return v; + } + +} diff --git a/src/main/java/at/gv/util/DateTimeUtil.java b/src/main/java/at/gv/util/DateTimeUtil.java new file mode 100644 index 0000000..c301685 --- /dev/null +++ b/src/main/java/at/gv/util/DateTimeUtil.java @@ -0,0 +1,358 @@ +/* + * Copyright 2011 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 at.gv.util; + +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.Calendar; +import java.util.Date; +import java.util.TimeZone; + +import org.apache.commons.lang.StringUtils; +import org.apache.commons.lang.time.DateFormatUtils; +import org.apache.commons.lang.time.DateUtils; +import org.apache.commons.validator.GenericTypeValidator; +import org.apache.commons.validator.GenericValidator; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * @author <a href="mailto:thomas.knall@iaik.tugraz.at">Thomas Knall</a> + */ +public final class DateTimeUtil { + + private static Logger log = LoggerFactory.getLogger(DateTimeUtil.class); + public static final String DEFAULT_DATE_PATTERN = "yyyy-MM-dd"; + public static final String DEFAULT_TIME_PATTERN = "HH:mm:ss"; + public static final String DEFAULT_TIMESTAMP_PATTERN = "yyyy-MM-dd'T'HH:mm:ss.SSS"; + + public static int calcAge(Calendar dateOfBirth, Calendar now) { + int age = now.get(Calendar.YEAR) - dateOfBirth.get(Calendar.YEAR); + + int nowM = now.get(Calendar.MONTH); + int dobM = dateOfBirth.get(Calendar.MONTH); + int nowDOM = now.get(Calendar.DAY_OF_MONTH); + int dobDOM = dateOfBirth.get(Calendar.DAY_OF_MONTH); + + if ((nowM < dobM) || ((nowM == dobM) && (nowDOM < dobDOM))) { + age--; + } + + if (age < 0) { + throw new IllegalArgumentException( + "Calculated age results in negative value."); + } + return age; + } + + public static int calcAge(Calendar dateOfBirth) { + return calcAge(dateOfBirth, Calendar.getInstance()); + } + + public static int calcAge(Date dateOfBirth, Date now) { + Calendar dob = Calendar.getInstance(); + dob.setTime(dateOfBirth); + Calendar nowCal = Calendar.getInstance(); + nowCal.setTime(now); + return calcAge(dob, nowCal); + } + + public static int calcAge(Date dateOfBirth) { + return calcAge(dateOfBirth, new Date()); + } + + public static Date parseDate(String dateString, String datePattern, + String checkRegExpPattern) { + Date returnDate = null; + if (!MiscUtil.isEmpty(checkRegExpPattern)) { + if (!GenericValidator.matchRegexp(dateString, checkRegExpPattern)) { + return null; + } + } + if (MiscUtil.isEmpty(datePattern)) { + datePattern = DEFAULT_DATE_PATTERN; + } + if (GenericValidator.isDate(dateString, datePattern, false)) { + returnDate = GenericTypeValidator.formatDate(dateString, datePattern, + false); + } + return returnDate; + } + + public static Date mergeDateTime(Date date, Date time) { + if (MiscUtil.areAllNull(date, time)) { + throw new NullPointerException( + "Date and time must not be null at the same time."); + } + if (date == null) { + return time; + } + if (time == null) { + return date; + } + Calendar dateCal = Calendar.getInstance(TimeZone.getTimeZone("GMT")); + dateCal.setTime(date); + Calendar timeCal = Calendar.getInstance(TimeZone.getTimeZone("GMT")); + timeCal.setTime(time); + dateCal.set(Calendar.HOUR_OF_DAY, timeCal.get(Calendar.HOUR_OF_DAY)); + dateCal.set(Calendar.MINUTE, timeCal.get(Calendar.MINUTE)); + dateCal.set(Calendar.SECOND, timeCal.get(Calendar.SECOND)); + dateCal.set(Calendar.MILLISECOND, timeCal.get(Calendar.MILLISECOND)); + return dateCal.getTime(); + } + + public static Date parseDate(String dateString, String datePattern) { + return parseDate(dateString, datePattern, null); + } + + public static boolean equalsIgnoreMilliseconds(Date date1, Date date2) { + if (date1 == date2) { + return true; + } + if (date1 == null || date2 == null) { + return false; + } + return DateUtils.truncate(date1, Calendar.SECOND).equals( + DateUtils.truncate(date2, Calendar.SECOND)); + } + + public static Date parseDate(String dateString) { + return parseDate(dateString, null, null); + } + + public static Date parseTime(String timeString) { + return parseDate(timeString, DEFAULT_TIME_PATTERN, null); + } + + public static String formatXMLDateTimeString(Date date) { + if (date == null) { + return "null"; + } + Calendar cal = Calendar.getInstance(); + cal.setTime(date); + cal.get(Calendar.MILLISECOND); + return DateFormatUtils.format(date, + cal.get(Calendar.MILLISECOND) == 0 ? "yyyy-MM-dd'T'HH:mm:ssZZ" + : "yyyy-MM-dd'T'HH:mm:ss.SSSZZ"); + } + + public static String formatUTCDateTimeString(Date date) { + if (date == null) { + return "null"; + } + return DateFormatUtils.formatUTC(date, "yyyy-MM-dd'T'HH:mm:ss'Z'"); + } + + /** + * <p> + * Parses a datetime according to ISO 8601. + * </p> + * + * <p> + * Complete date plus hours and minutes<br/> + * YYYY-MM-DDThh:mmTZD (eg 1997-07-16T19:20+01:00) + * </p> + * + * <p> + * Complete date plus hours, minutes and seconds<br/> + * YYYY-MM-DDThh:mm:ssTZD(eg 1997-07-16T19:20:30+01:00) + * </p> + * + * <p> + * Complete date plus hours, minutes, seconds and a decimal fraction of a + * second<br/> + * YYYY-MM-DDThh:mm:ss.sTZD (eg 1997-07-16T19:20:30.45+01:00) + * </p> + * + * <p> + * where: + * </p> + * + * YYYY = four-digit year<br/> + * MM = two-digit month (01=January, etc.)<br/> + * DD = two-digit day of month (01 through 31)<br/> + * hh = two digits of hour (00 through 23) (am/pm NOT allowed)<br/> + * mm = two digits of minute (00 through 59)<br/> + * ss = two digits of second (00 through 59)<br/> + * s = one or more digits representing a decimal fraction of a second<br/> + * TZD = time zone designator (Z or +hh:mm or -hh:mm)<br/> + * + * @see <a + * href="http://www.w3.org/TR/NOTE-datetime">http://www.w3.org/TR/NOTE-datetime</a> + * @param dtText + * The date. + * @param noTimeZoneMeansUTC + * @return The parsed date. + * @throws ParseException + */ + public static Date parseXMLDateTimeString(String dtText, + boolean noTimeZoneMeansUTC) throws ParseException { + if (dtText == null) { + throw new NullPointerException("Provided date text must not be null."); + } + String[] parsePatterns = { "yyyy-MM-dd'T'HH:mm:ss", + "yyyy-MM-dd'T'HH:mm:ssZZ", "yyyy-MM-dd'T'HH:mm:ss.SSSZZ", + "yyyy-MM-dd'T'HH:mm:ss.SSS" }; + + // TODO: fix hack + + if (dtText.length() > 19) { + int li = dtText.lastIndexOf(":"); + if (li >= 19) { + dtText = new StringBuffer(dtText).deleteCharAt(li).toString(); + } + if (dtText.endsWith("Z")) { + dtText = StringUtils.chop(dtText) + "UTC"; + } + } else if (noTimeZoneMeansUTC) { + log.debug("UTC can be applied because no other offset has been provided."); + dtText += "UTC"; + } + return DateUtils.parseDate(dtText, parsePatterns); + } + + public static Date parseXMLDateTimeString(String dtText) + throws ParseException { + return parseXMLDateTimeString(dtText, false); + } + + public static String getDatePattern(String languageCode) { + String datePattern = DEFAULT_DATE_PATTERN; + if (languageCode != null) { + + if ("de".equalsIgnoreCase(languageCode)) { + datePattern = "dd.MM.yyyy"; + } else if ("en".equalsIgnoreCase(languageCode)) { + datePattern = "yyyy-MM-dd"; + } else { + log.warn("language code \"" + languageCode + + "\" notsupported; using failsafe pattern \"" + datePattern + "\""); + } + } + return datePattern; + } + + public static String formatDate(Date date, String datePattern) { + if (date == null) { + throw new NullPointerException("date must not be null"); + } + SimpleDateFormat sdf = new SimpleDateFormat(datePattern); + return sdf.format(date); + } + + public static String formatDate(Date date) { + return formatDate(date, getDatePattern(null)); + } + + public static String formatTime(Date time) { + return formatDate(time, DEFAULT_TIME_PATTERN); + } + + /** + * Checks if the given reference date ({@code pReference}) is valid according + * to the given date constraints {@code from} and {@code to}. The validation + * uses an intuitive approach including {@code from} and {@code to} ignoring + * the time component of the date objects:<br/> + * e.g. {@code from=2008-09-09}, {@code to=2010-09-08}<br/> + * valid reference dates: {@code 2008-09-09T00:00:00.000}, + * {@code 2008-09-09T12:34:50.000}, {@code 2010-09-08T00:00:00.000}, + * {@code 2010-09-08T23:59:59.999} + * + * @param from + * The date the validity period starts from (inclusive ignoring time + * component). + * @param to + * The date the validity period starts from (inclusive ignoring time + * component). + * @param pReference + * The date to be validated. + * @return {@code true} if the reference date is valid, {@code false} if not. + * @throws CheckException + * Thrown if the given reference date could not be validated. + * @author <a href="mailto:thomas.knall@iaik.tugraz.at">Thomas Knall</a> + */ + public static boolean validateDateConstraint(Date from, Date to, + Date pReference) { + if (pReference == null) { + throw new NullPointerException( + "Reference date needed to verify time constraints."); + } + Calendar fromCal = null; + if (from != null) { + fromCal = Calendar.getInstance(); + fromCal.setTime(from); + fromCal = removeTimeComponent(fromCal); + } + Calendar toCal = null; + if (to != null) { + toCal = Calendar.getInstance(); + toCal.setTime(to); + toCal = removeTimeComponent(toCal); + } + Calendar refCal = Calendar.getInstance(); + refCal.setTime(pReference); + refCal = removeTimeComponent(refCal); + + if ((fromCal != null && refCal.before(fromCal)) + || (toCal != null && refCal.after(toCal))) { + return false; + } + + return true; + } + + /** + * Removes the time component from a date object returning a new date + * instance. + * + * @param cal + * The original date object. + * @return A new date object (without time component). + * @author <a href="mailto:thomas.knall@egiz.gv.at">Thomas Knall</a> + */ + public static Date removeTimeComponent(Date date) { + Calendar cal = Calendar.getInstance(); + cal.setTime(date); + return removeTimeComponent(cal).getTime(); + } + + /** + * Removes the time component from a calendar object returning a new calendar + * instance. + * + * @param cal + * The original calendar object. + * @return A new calendar object (without time component). + * @author <a href="mailto:thomas.knall@egiz.gv.at">Thomas Knall</a> + */ + public static Calendar removeTimeComponent(Calendar cal) { + Calendar newCal = (Calendar) cal.clone(); + newCal.set(Calendar.HOUR_OF_DAY, 0); + newCal.set(Calendar.MINUTE, 0); + newCal.set(Calendar.SECOND, 0); + newCal.set(Calendar.MILLISECOND, 0); + return newCal; + } + + public static String formatTimeStamp(Date timestamp) { + return formatDate(timestamp, DEFAULT_TIMESTAMP_PATTERN); + } + + private DateTimeUtil() { + } + +} diff --git a/src/main/java/at/gv/util/LaxHostNameVerifier.java b/src/main/java/at/gv/util/LaxHostNameVerifier.java new file mode 100644 index 0000000..1439e34 --- /dev/null +++ b/src/main/java/at/gv/util/LaxHostNameVerifier.java @@ -0,0 +1,37 @@ +/* + * Copyright 2011 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 at.gv.util; + +import javax.net.ssl.HostnameVerifier; +import javax.net.ssl.SSLSession; + +/** + * Accepts all hostnames during SSL authentication. + * + * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a> + */ +public class LaxHostNameVerifier implements HostnameVerifier { + + /* + * (non-Javadoc) + * @see javax.net.ssl.HostnameVerifier#verify(java.lang.String, javax.net.ssl.SSLSession) + */ + public boolean verify(String arg0, SSLSession arg1) { + return true; + } + +} diff --git a/src/main/java/at/gv/util/LoggingHandler.java b/src/main/java/at/gv/util/LoggingHandler.java new file mode 100644 index 0000000..f5c63c5 --- /dev/null +++ b/src/main/java/at/gv/util/LoggingHandler.java @@ -0,0 +1,81 @@ +/* + * Copyright 2011 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 at.gv.util; + +import java.io.ByteArrayOutputStream; +import java.io.OutputStreamWriter; +import java.util.Set; + +import javax.xml.namespace.QName; +import javax.xml.soap.SOAPMessage; +import javax.xml.ws.handler.MessageContext; +import javax.xml.ws.handler.soap.SOAPHandler; +import javax.xml.ws.handler.soap.SOAPMessageContext; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Handler to log JAX-WS messages to slf4j logging framework. Does currently not + * distinguish between incomig and outgoing messages. + * + * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a> + * + */ +public class LoggingHandler implements SOAPHandler<SOAPMessageContext> { + + Logger log = LoggerFactory.getLogger(LoggingHandler.class); + + public boolean handleMessage(SOAPMessageContext context) { + SOAPMessage msg = context.getMessage(); + boolean request = ((Boolean) context + .get(SOAPMessageContext.MESSAGE_OUTBOUND_PROPERTY)).booleanValue(); + ByteArrayOutputStream bos = new ByteArrayOutputStream(); + + try { + if (request) { + msg.writeTo(bos); + } else { // This is the response message + msg.writeTo(bos); + } + + OutputStreamWriter writer = new OutputStreamWriter(bos); + String encoding = writer.getEncoding(); + + + + log.trace(bos.toString()); + log.trace(new String(bos.toByteArray())); + + } catch (Exception e) { + log.trace(e.getMessage(), e); + } + return true; + } + + public boolean handleFault(SOAPMessageContext context) { + return handleMessage(context); + } + + public void close(MessageContext context) { + } + + public Set<QName> getHeaders() { + return null; + } + +} diff --git a/src/main/java/at/gv/util/MiscUtil.java b/src/main/java/at/gv/util/MiscUtil.java new file mode 100644 index 0000000..6ddca0d --- /dev/null +++ b/src/main/java/at/gv/util/MiscUtil.java @@ -0,0 +1,397 @@ +/* + * Copyright 2011 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 at.gv.util; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.lang.reflect.InvocationTargetException; +import java.nio.channels.Channels; +import java.nio.channels.ReadableByteChannel; +import java.security.cert.CertificateException; +import java.security.cert.CertificateFactory; +import java.security.cert.X509Certificate; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.Collection; +import java.util.Date; +import java.util.Formatter; +import java.util.GregorianCalendar; +import java.util.Iterator; +import java.util.Properties; + +import javax.servlet.http.HttpServletRequest; +import javax.xml.datatype.DatatypeConfigurationException; +import javax.xml.datatype.DatatypeFactory; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.parsers.DocumentBuilder; +import javax.xml.parsers.DocumentBuilderFactory; +import javax.xml.parsers.ParserConfigurationException; +import javax.xml.transform.OutputKeys; +import javax.xml.transform.Source; +import javax.xml.transform.Transformer; +import javax.xml.transform.TransformerException; +import javax.xml.transform.TransformerFactory; +import javax.xml.transform.stream.StreamResult; + +import org.apache.commons.beanutils.BeanUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.w3c.dom.Document; +import org.xml.sax.SAXException; + +import com.sun.corba.se.spi.ior.Writeable; + +import at.gv.util.data.Empty; +import at.gv.util.ex.EgovUtilException; + +/** + * Class providing several utility methods. + * + * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a> + * + */ +public class MiscUtil { + + public static final String DEFAULT_SLASH = "/"; + + public static Logger log = LoggerFactory.getLogger(MiscUtil.class); + + private static final int IO_BUFFER_SIZE = 4 * 1024; + + public static void copyStream(InputStream is, OutputStream os) throws IOException { + byte[] b = new byte[IO_BUFFER_SIZE]; + int read; + while ((read = is.read(b)) != -1) { + os.write(b, 0, read); + } + } + + public static void copyProperties(Object destination, Object source) { + try { + BeanUtils.copyProperties(destination, source); + } catch (IllegalAccessException e) { + log.warn("Error copying bean properties.", e); + } catch (InvocationTargetException e) { + log.warn("Error copying bean properties.", e); + } + } + + public static void assertNotNull(Object param, String name) { + if (param == null) { + throw new NullPointerException(name + " must not be null."); + } + } + + public static boolean areAllNull(Object... objects) { + for (Object o : objects) { + if (o != null) { + return false; + } + } + return true; + } + + public static String extractContentType(String contentTypeString) { + if (contentTypeString == null) { + return ""; + } + if (contentTypeString.indexOf(";") != -1) { + return contentTypeString.substring(0, contentTypeString.indexOf(";")); + } + return contentTypeString; + } + + public static XMLGregorianCalendar getXMLGregorianCalendar(Date date) + throws DatatypeConfigurationException { + GregorianCalendar cal = (GregorianCalendar) GregorianCalendar.getInstance(); + cal.setTime(date); + return DatatypeFactory.newInstance().newXMLGregorianCalendar(cal); + } + + public static XMLGregorianCalendar getXMLGregorianCalendar(String str) + throws DatatypeConfigurationException { + return DatatypeFactory.newInstance().newXMLGregorianCalendar(str); + } + + public static X509Certificate readCertificate(InputStream certStream) + throws CertificateException { + CertificateFactory cf = CertificateFactory.getInstance("X.509"); + return (X509Certificate) cf.generateCertificate(certStream); + } + + public static boolean isEmpty(String str) { + return str == null || "".equals(str); + } + + public static boolean isNotEmpty(String str) { + return str != null && !"".equals(str); + } + + public static byte[] sourceToByteArray(Source result) + throws TransformerException { + TransformerFactory factory = TransformerFactory.newInstance(); + Transformer transformer = factory.newTransformer(); + transformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes"); + transformer.setOutputProperty(OutputKeys.METHOD, "xml"); + ByteArrayOutputStream out = new ByteArrayOutputStream(); + StreamResult streamResult = new StreamResult(); + streamResult.setOutputStream(out); + transformer.transform(result, streamResult); + return out.toByteArray(); + } + + public static Document parseDocument(InputStream inputStream) + throws IOException { + try { + DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory + .newInstance(); + docBuilderFactory.setNamespaceAware(true); + DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder(); + return docBuilder.parse(inputStream); + } catch (ParserConfigurationException e) { + throw new IOException(e); + } catch (SAXException e) { + throw new IOException(e); + } + } + + public static String removePrecedingSlash(String path, String slash) { + assertNotEmpty(slash, "Shash"); + if (!isEmpty(path)) { + while (path.startsWith(slash)) { + path = path.substring(slash.length(), path.length()); + } + } + return path; + } + + public static String removePrecedingSlash(String path) { + return removePrecedingSlash(path, DEFAULT_SLASH); + } + + public static void assertNotEmpty(String param, String name) { + if (param == null) { + throw new NullPointerException(name + " must not be null."); + } + if (param.length() == 0) { + throw new IllegalArgumentException(name + " must not be empty."); + } + } + + @SuppressWarnings("rawtypes") + public static boolean isEmpty(Properties props) { + if (props == null || props.isEmpty()) { + return true; + } + Iterator it = props.values().iterator(); + while (it.hasNext()) { + if (MiscUtil.isNotEmpty((String) it.next())) { + return false; + } + } + return true; + } + + public static boolean isEmpty(Empty empty) { + return empty == null || empty.isEmpty(); + } + + public static boolean isNotEmpty(Empty empty) { + return !isEmpty(empty); + } + + public static boolean isEmpty(byte[] data) { + return data == null || data.length == 0; + } + + public static boolean isNotEmpty(byte[] data) { + return !isEmpty(data); + } + + public static <T> boolean isEmpty(Collection<T> c) { + return c == null || c.isEmpty(); + } + + public static <T> boolean isNotEmpty(Collection<T> c) { + return !isEmpty(c); + } + + public static boolean areAllEmpty(String... strings) { + for (String s : strings) { + if (s != null && s.trim().length() != 0) { + return false; + } + } + return true; + } + + public static boolean areAllEmpty(Empty... empties) { + if (empties != null) { + for (Empty e : empties) { + if (e != null && !e.isEmpty()) { + return false; + } + } + } + return true; + } + + public static <T> void assertNotEmpty(T[] param, String name) { + if (param == null) { + throw new NullPointerException(name + " must not be null."); + } + if (param.length == 0) { + throw new IllegalArgumentException(name + " must not be empty."); + } + } + + public static void assertNotEmpty(Empty empty, String name) { + if (empty == null) { + throw new NullPointerException(name + " must not be null."); + } + if (empty.isEmpty()) { + throw new IllegalArgumentException(name + " must not be empty."); + } + } + + public static void assertNotEmpty(byte[] param, String name) { + if (param == null) { + throw new NullPointerException(name + " must not be null."); + } + if (param.length == 0) { + throw new IllegalArgumentException(name + " must not be empty."); + } + } + + public static Date parseXMLDate(String xmlDate) throws EgovUtilException { + if (xmlDate == null) { + return null; + } + SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); + try { + return sdf.parse(xmlDate); + } catch (ParseException e) { + throw new EgovUtilException(e); + } + } + + public static <T> boolean isEmpty(T[] array) { + return array == null || array.length == 0; + } + + public static <T> boolean isNotEmpty(T[] array) { + return !isEmpty(array); + } + + + public static String getBaseURLUnSecure(HttpServletRequest request) { + String url = getBaseURL(request); + if (url.startsWith("https")) { + return "http" + url.substring(5); + } + return url; + } + + public static String getBaseURLSecure(HttpServletRequest request) { + String url = getBaseURL(request); + if (url.startsWith("http://")) { + return "https://" + url.substring(7); + } + return url; + } + + public static String getBaseURL(HttpServletRequest request) { + StringBuffer buffer = new StringBuffer(getServerURL(request)); + + // add context path if available + String contextPath = request.getContextPath(); + if (MiscUtil.isNotEmpty(contextPath)) { + buffer.append(contextPath).append("/"); + } + + return buffer.toString(); + } + + public static String getServerURL(HttpServletRequest request) { + StringBuffer buffer = new StringBuffer(); + + // get protocol + String protocol = request.getScheme(); + buffer.append(protocol).append("://"); + + // server name + buffer.append(request.getServerName()); + + // add port if necessary + int port = request.getServerPort(); + if ( + (protocol.equals("http") && port != 80) || + (protocol.equals("https") && port != 443) + ) { + buffer.append(':'); + buffer.append(port); + } + + return buffer.toString(); + } + + public static String convertDateFromStandardToXML(String dateString) { + MiscUtil.assertNotNull(dateString, "dateString"); + Date date = parseDate(dateString); + return formatDate(date, "yyyy-MM-dd"); + } + + public static Date parseDate(String dateString) { + return parseDate(dateString, "dd.MM.yyyy"); + } + + public static Date parseDate(String dateString, String pattern) { + MiscUtil.assertNotNull(dateString, "dateString"); + MiscUtil.assertNotNull(pattern, "pattern"); + SimpleDateFormat sdf = new SimpleDateFormat(pattern); + try { + return sdf.parse(dateString); + } catch (ParseException e) { + log.warn("Error parsing date.", e); + return null; + } + } + + public static String formatDate(Date date, String format) { + SimpleDateFormat sdf = new SimpleDateFormat(format); + return sdf.format(date); + } + + public static String hexEncode(byte buf[]) + { + return hexEncode(buf, new StringBuilder()).toString(); + } + + private static Appendable hexEncode(byte buf[], Appendable sb) + { + final Formatter formatter = new Formatter(sb); + for (int i = 0; i < buf.length; i++) + { + formatter.format("%02x", buf[i]); + } + return sb; + } + + +} diff --git a/src/main/java/at/gv/util/ToStringUtil.java b/src/main/java/at/gv/util/ToStringUtil.java new file mode 100644 index 0000000..2498eb6 --- /dev/null +++ b/src/main/java/at/gv/util/ToStringUtil.java @@ -0,0 +1,187 @@ +/* + * Copyright 2011 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 at.gv.util; + +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; +import java.util.Arrays; +import java.util.Enumeration; +import java.util.Iterator; + +import org.apache.commons.lang.builder.ToStringBuilder; +import org.w3c.dom.NamedNodeMap; +import org.w3c.dom.Node; + +/** + * @author <a href="mailto:thomas.knall@iaik.tugraz.at">Thomas Knall</a> + */ +public final class ToStringUtil { + + public static final String DEFAULT_NULL = "null"; + public static final String DEFAULT_AROUND = ""; + public static final String DEFAULT_DELIMITER = ", "; + + private ToStringUtil() { + } + + // implementing methods + + public static <E> String toString(Enum enumImpl) { + return enumImpl == null ? DEFAULT_NULL : enumImpl.name(); + } + + public static String toString(Throwable t) { + ByteArrayOutputStream baout = new ByteArrayOutputStream(); + t.printStackTrace(new PrintStream(baout, true)); + String result = new String(baout.toByteArray()); + return result; + } + + public static String toString(byte b) { + StringBuffer sb = new StringBuffer(2); + int h = (b & 0xf0) >> 4; + int l = (b & 0x0f); + sb.append(new Character((char) ((h > 9) ? 'a' + h - 10 : '0' + h))); + sb.append(new Character((char) ((l > 9) ? 'a' + l - 10 : '0' + l))); + return sb.toString(); + } + + public static String toString(byte[] data, String delimiter, + boolean removeLeadingZeros) { + StringBuffer result = new StringBuffer(); + int i = 0; + if (removeLeadingZeros) { + for (; i < data.length && data[i] == 0; i++) + ; + } + for (; i < data.length; i++) { + result.append(toString(data[i])); + if (delimiter != null && (i + 1) < data.length) { + result.append(delimiter); + } + } + if (result.length() == 0 && data.length > 0) { + result.append("00"); + } + return result.toString(); + } + + public static String toString(byte[] data, String delimiter) { + return toString(data, delimiter, false); + } + + public static String toString(byte[] data) { + return toString(data, null); + } + + public static String toString(Object a) { + if (a == null) { + return DEFAULT_NULL; + } + + if (a instanceof Enum) { + return toString((Enum) a); + + } else { + return a.toString(); + } + } + + // some convenient functions + + public static <T> String[] toStringArray(T[] a) { + if (a == null) { + return null; + } + String[] result = new String[a.length]; + for (int i = 0; i < a.length; i++) { + result[i] = toString(a[i]); + } + return result; + } + + public static <T> String toString(T[] a) { + return toString(a, DEFAULT_DELIMITER); + } + + public static <T> String toString(T[] a, String delimiter) { + return toString(a, delimiter, DEFAULT_AROUND); + } + + public static <T> String toString(T[] a, String delimiter, String around) { + return toString(Arrays.asList(a), delimiter, around); + } + + public static <T> String toString(Iterable<T> iterable) { + return toString(iterable, DEFAULT_DELIMITER); + } + + public static <T> String toString(Iterable<T> iterable, String delimiter) { + return toString(iterable, delimiter, DEFAULT_AROUND); + } + + public static <T> String toString(Iterable<T> iterable, String delimiter, + String around) { + if (iterable == null) { + return DEFAULT_NULL; + } + StringBuffer buffer = new StringBuffer(); + Iterator<T> it = iterable.iterator(); + while (it.hasNext()) { + T next = it.next(); + buffer.append(around).append(toString(next)).append(around); + if (it.hasNext()) { + buffer.append(delimiter); + } + } + return buffer.toString(); + } + + public static <T> String toString(Enumeration<T> enumeration) { + return toString(enumeration, DEFAULT_DELIMITER); + } + + public static <T> String toString(Enumeration<T> enumeration, String delimiter) { + return toString(enumeration, delimiter, DEFAULT_AROUND); + } + + public static <T> String toString(Enumeration<T> enumeration, + String delimiter, String around) { + if (enumeration == null) { + return DEFAULT_NULL; + } + StringBuffer buffer = new StringBuffer(); + while (enumeration.hasMoreElements()) { + T next = enumeration.nextElement(); + buffer.append(around).append(toString(next)).append(around); + if (enumeration.hasMoreElements()) { + buffer.append(delimiter); + } + } + return buffer.toString(); + } + + public static String toString(NamedNodeMap nnm) { + ToStringBuilder tsb = new ToStringBuilder(nnm); + for (int i = 0; i < nnm.getLength(); i++) { + Node node = nnm.item(i); + tsb.append(node.getNodeName(), node.getNodeValue()); + } + return tsb.toString(); + } + +} diff --git a/src/main/java/at/gv/util/TrustAllManager.java b/src/main/java/at/gv/util/TrustAllManager.java new file mode 100644 index 0000000..7b05a49 --- /dev/null +++ b/src/main/java/at/gv/util/TrustAllManager.java @@ -0,0 +1,66 @@ +/* + * Copyright 2011 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 at.gv.util; + +import java.security.cert.CertificateException; +import java.security.cert.X509Certificate; + +import javax.net.ssl.X509TrustManager; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Class implementing a trust manager that trusts all certificates. + * + * @author <a href="mailto:arne.tauber@iaik.tugraz.at">Arne Tauber</a> + */ +public class TrustAllManager implements X509TrustManager { + + private static Logger log = LoggerFactory.getLogger(TrustAllManager.class); + + /* + * (non-Javadoc) + * + * @see javax.net.ssl.X509TrustManager#getAcceptedIssuers() + */ + public X509Certificate[] getAcceptedIssuers() { + return new X509Certificate[0]; + } + + /* + * (non-Javadoc) + * + * @see javax.net.ssl.X509TrustManager#checkClientTrusted(java.security.cert. + * X509Certificate[], java.lang.String) + */ + public void checkClientTrusted(X509Certificate[] arg0, String arg1) + throws CertificateException { + log.debug("Automatically accepting client certificate as trusted."); + } + + /* + * (non-Javadoc) + * + * @see javax.net.ssl.X509TrustManager#checkServerTrusted(java.security.cert. + * X509Certificate[], java.lang.String) + */ + public void checkServerTrusted(X509Certificate[] arg0, String arg1) + throws CertificateException { + log.debug("Automatically accepting server certificate as trusted."); + } +} diff --git a/src/main/java/at/gv/util/ValidationUtils.java b/src/main/java/at/gv/util/ValidationUtils.java new file mode 100644 index 0000000..cbc7207 --- /dev/null +++ b/src/main/java/at/gv/util/ValidationUtils.java @@ -0,0 +1,61 @@ +package at.gv.util; + +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.regex.Pattern; + +public class ValidationUtils { + + private static final String DATEFORMAT = "dd.MM.yyyy"; + + public static boolean isDateFormat(String dateString) { + + if (dateString.length() > DATEFORMAT.length()) + return false; + + SimpleDateFormat sdf = new SimpleDateFormat(DATEFORMAT); + try { + + sdf.parse(dateString); + return true; + } catch (ParseException e) { + return false; + } + + } + + public static boolean isEmailAddressFormat(String address) { + if (address == null) { + return false; + } + return Pattern.compile("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,6}$").matcher(address).matches(); + } + + public static boolean containsPotentialCSSCharacter(String param) { + if (param == null) { + return false; + } + return param.indexOf(";") != -1 || + param.indexOf("%") != -1 || + param.indexOf("\"") != -1 || + param.indexOf("'") != -1 || + param.indexOf("´") != -1 || + param.indexOf("`") != -1 || + param.indexOf(",") != -1 || + param.indexOf("<") != -1 || + param.indexOf(">") != -1 || + param.indexOf("\\") != -1 || + param.indexOf("#") != -1 || + param.indexOf("/") != -1; + + + } + + public static boolean isValidPostCode(String postcode) { + if (postcode == null) + return false; + + return Pattern.compile("[0-9]{4}").matcher(postcode).matches(); + } + +} diff --git a/src/main/java/at/gv/util/WebAppUtil.java b/src/main/java/at/gv/util/WebAppUtil.java new file mode 100644 index 0000000..12e287f --- /dev/null +++ b/src/main/java/at/gv/util/WebAppUtil.java @@ -0,0 +1,150 @@ +/* + * Copyright 2011 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 at.gv.util; + +import java.io.UnsupportedEncodingException; +import java.net.MalformedURLException; +import java.net.URL; +import java.net.URLEncoder; +import java.util.Enumeration; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.ex.InternalErrorException; + +/** + * Class providing several utility methods for the Servlet API. + * + * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a> + * + */ +public class WebAppUtil { + + private static Logger log = LoggerFactory.getLogger(WebAppUtil.class); + + public static void sendHTTPRedirect(HttpServletResponse response, String redirectURL) { + response.setContentLength(0); + response.setContentType("text/html"); + response.setHeader("Location", redirectURL); + response.setStatus(HttpServletResponse.SC_FOUND); + } + + public static void disableBrowserCacheForResponse(HttpServletResponse response) { + log.debug("Disabling browser cache for HttpServletResponse."); + response.setHeader("Cache-Control", "no-cache,no-store,max-age=0"); + response.setHeader("Pragma", "no-cache"); + response.setDateHeader("Expires", 1); + } + + public static String getBaseURLUnSecure(HttpServletRequest request) { + String url = getBaseURL(request); + if (url.startsWith("https")) { + return "http" + url.substring(5); + } + return url; + } + + public static String getBaseURL(HttpServletRequest request) { + StringBuffer buffer = new StringBuffer(getServerURL(request)); + + // add context path if available + String contextPath = request.getContextPath(); + if (MiscUtil.isNotEmpty(contextPath)) { + buffer.append(contextPath).append("/"); + } + + return buffer.toString(); + } + + public static String getServerURL(HttpServletRequest request) { + StringBuffer buffer = new StringBuffer(); + + // get protocol + String protocol = request.getScheme(); + buffer.append(protocol).append("://"); + + // server name + buffer.append(request.getServerName()); + + // add port if necessary + int port = request.getServerPort(); + if ((protocol.equals("http") && port != 80) + || (protocol.equals("https") && port != 443)) { + buffer.append(':'); + buffer.append(port); + } + + return buffer.toString(); + } + + public static String getRequestURLWithParameters(HttpServletRequest request) { + return getRequestURLWithParameters(request, false); + } + + public static String getRequestURLWithParameters(HttpServletRequest request, + boolean includeRequestParameters) { + StringBuffer buffer = request.getRequestURL(); + if (includeRequestParameters) { + Enumeration paramEnum = request.getParameterNames(); + if (paramEnum.hasMoreElements()) { + buffer.append("?"); + while (paramEnum.hasMoreElements()) { + String param = (String) paramEnum.nextElement(); + try { + buffer.append(URLEncoder.encode(param, "UTF-8")); + if (!MiscUtil.isEmpty(request.getParameter(param))) { + buffer.append("=").append( + URLEncoder.encode(request.getParameter(param), "UTF-8")); + } + + } catch (UnsupportedEncodingException e) { + // should never happen as far as the java installation is ok + throw new InternalErrorException(e); + } + if (paramEnum.hasMoreElements()) { + buffer.append("&"); + } + } + } + } else { + String queryString = request.getQueryString(); + if (MiscUtil.isNotEmpty(queryString)) { + buffer.append("?").append(queryString); + } + } + String requestURL = buffer.toString(); + log.debug("Returning request url " + + (includeRequestParameters ? "including request parameters" : "") + + " \"" + requestURL + "\"."); + return requestURL; + } + + public static boolean isFullQualifiedURL(String url) { + MiscUtil.assertNotNull(url, "URL"); + try { + new URL(url); + return true; + } catch (MalformedURLException e) { + return false; + } + } + +} diff --git a/src/main/java/at/gv/util/client/ersb/ERsBClient.java b/src/main/java/at/gv/util/client/ersb/ERsBClient.java new file mode 100644 index 0000000..82198b3 --- /dev/null +++ b/src/main/java/at/gv/util/client/ersb/ERsBClient.java @@ -0,0 +1,103 @@ +package at.gv.util.client.ersb; + +import java.net.URL; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +import javax.annotation.Resource; +import javax.net.ssl.SSLContext; +import javax.xml.namespace.QName; +import javax.xml.ws.BindingProvider; +import javax.xml.ws.WebServiceContext; +import javax.xml.ws.handler.Handler; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.LaxHostNameVerifier; +import at.gv.util.LoggingHandler; +import at.gv.util.MiscUtil; +import at.gv.util.client.szr.SZRSOAPHandler; +import at.gv.util.config.EgovUtilConfiguration; +import at.gv.util.ex.EgovUtilException; +import at.gv.util.wsdl.ersb.ErsbService; +import at.gv.util.wsdl.ersb.ErsbServiceService; +import at.gv.util.xsd.ersb.ErsbRequest; +import at.gv.util.xsd.ersb.ErsbResponse; +import at.gv.util.xsd.szr.pvp.PvpTokenType; + +import com.sun.xml.ws.developer.JAXWSProperties; + +public class ERsBClient { + + @Resource + WebServiceContext wsContext; + + private EgovUtilConfiguration config = null; + Logger log = LoggerFactory.getLogger(ERsBClient.class); + + public ERsBClient() {} + + public ERsBClient(EgovUtilConfiguration config) { + if (config == null) { + throw new NullPointerException("Parameter config must not be null."); + } + this.config = config; + + + } + + @SuppressWarnings({ "unchecked", "rawtypes" }) + public ErsbResponse sendERsBRequest(ErsbRequest mir, String ersbServiceURL) throws EgovUtilException { + MiscUtil.assertNotNull(mir, "mir"); + MiscUtil.assertNotNull(ersbServiceURL, "ersbServiceURL"); + + URL url = ERsBClient.class.getResource("/schema/ERsB/1.1/ErsbService.wsdl"); + ErsbServiceService service = new ErsbServiceService(url, new QName("http://statistik.at/namespace/ersb/1#", "ErsbServiceService")); + ErsbService port = service.getErsbServiceSoap11(); + + log.debug("MISSTORK connection URL: " + ersbServiceURL); + BindingProvider bindingProvider = (BindingProvider) port; + Map<String, Object> requestContext = bindingProvider.getRequestContext(); + requestContext.put( + BindingProvider.ENDPOINT_ADDRESS_PROPERTY, ersbServiceURL); + + log.trace("Adding JAX-WS request/response trace handler."); + + List<Handler> handlerList = bindingProvider.getBinding().getHandlerChain(); + if (handlerList == null) { + handlerList = new ArrayList(); + } + LoggingHandler loggingHandler = new LoggingHandler(); + handlerList.add(loggingHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + + log.trace("Adding WS-Security Header handler."); + PvpTokenType pvpToken = config.getERsBPVPToken(); + SZRSOAPHandler szrSOAPHandler = new SZRSOAPHandler(); + szrSOAPHandler.configure(pvpToken); + handlerList.add(szrSOAPHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + + // check for ssl + if (ersbServiceURL.toLowerCase().startsWith("https")) { + log.trace("Using ssl for MISSTORK client request."); + SSLContext sslContext = config.getERsBsslConfiguration().getSSLContext(false); + if (sslContext == null) { + throw new EgovUtilException("SSL context from configuration is empty. Please configure an SSL context in the configuration first."); + } + + requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getERsBsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, new LaxHostNameVerifier()); + } + } + + return port.ersb(mir); + } + +} diff --git a/src/main/java/at/gv/util/client/ersb/ERsBClientException.java b/src/main/java/at/gv/util/client/ersb/ERsBClientException.java new file mode 100644 index 0000000..a51d1a6 --- /dev/null +++ b/src/main/java/at/gv/util/client/ersb/ERsBClientException.java @@ -0,0 +1,23 @@ +package at.gv.util.client.ersb; + +public class ERsBClientException extends Exception { + + private static final long serialVersionUID = 5173056345209288701L; + + public ERsBClientException() { + super(); + } + + public ERsBClientException(String message, Throwable cause) { + super(message, cause); + } + + public ERsBClientException(String message) { + super(message); + } + + public ERsBClientException(Throwable cause) { + super(cause); + } + +} diff --git a/src/main/java/at/gv/util/client/mis/MISClient.java b/src/main/java/at/gv/util/client/mis/MISClient.java new file mode 100644 index 0000000..88afc8b --- /dev/null +++ b/src/main/java/at/gv/util/client/mis/MISClient.java @@ -0,0 +1,93 @@ +package at.gv.util.client.mis; + +import java.net.URL; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +import javax.annotation.Resource; +import javax.net.ssl.SSLContext; +import javax.xml.namespace.QName; +import javax.xml.ws.BindingProvider; +import javax.xml.ws.WebServiceContext; +import javax.xml.ws.handler.Handler; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.LaxHostNameVerifier; +import at.gv.util.LoggingHandler; +import at.gv.util.MiscUtil; +import at.gv.util.client.moaid.MOAIDClient; +import at.gv.util.config.EgovUtilConfiguration; +import at.gv.util.ex.EgovUtilException; +import at.gv.util.wsdl.mis.MandateIssuePortType; +import at.gv.util.wsdl.mis.MandateIssueService; +import at.gv.util.wsdl.szr.SZRException; +import at.gv.util.xsd.mis.MandateIssueRequestType; +import at.gv.util.xsd.mis.MandateIssueResponseType; + +import com.sun.xml.ws.developer.JAXWSProperties; + +public class MISClient { + + @Resource + WebServiceContext wsContext; + + private EgovUtilConfiguration config = null; + Logger log = LoggerFactory.getLogger(MISClient.class); + + public MISClient() {} + + public MISClient(EgovUtilConfiguration config) { + if (config == null) { + throw new NullPointerException("Parameter config must not be null."); + } + this.config = config; + + + } + + @SuppressWarnings({ "unchecked", "rawtypes" }) + public MandateIssueResponseType sendMandateIssueRequest(MandateIssueRequestType mir, String misServiceURL) throws SZRException, EgovUtilException { + MiscUtil.assertNotNull(mir, "mir"); + MiscUtil.assertNotNull(misServiceURL, "misServiceURL"); + + URL url = MOAIDClient.class.getResource("/wsdl/mis/mis-1.0.3.wsdl"); + MandateIssueService service = new MandateIssueService(url, new QName("http://reference.e-government.gv.at/namespace/mandates/mis/1.0/wsdl", "MandateIssueService")); + MandateIssuePortType port = service.getMandateIssuePort(); + + log.debug("MIS connection URL: " + misServiceURL); + BindingProvider bindingProvider = (BindingProvider) port; + Map<String, Object> requestContext = bindingProvider.getRequestContext(); + requestContext.put( + BindingProvider.ENDPOINT_ADDRESS_PROPERTY, misServiceURL); + + log.trace("Adding JAX-WS request/response trace handler."); + List<Handler> handlerList = bindingProvider.getBinding().getHandlerChain(); + if (handlerList == null) { + handlerList = new ArrayList(); + } + LoggingHandler loggingHandler = new LoggingHandler(); + handlerList.add(loggingHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + + // check for ssl + if (misServiceURL.toLowerCase().startsWith("https")) { + log.trace("Using ssl for MIS client request."); + SSLContext sslContext = config.getMISsslConfiguration().getSSLContext(false); + if (sslContext == null) { + throw new EgovUtilException("SSL context from configuration is empty. Please configure an SSL context in the configuration first."); + } + requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getMISsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, new LaxHostNameVerifier()); + } + } + return port.mandateIssueOperation(mir); + } + +} diff --git a/src/main/java/at/gv/util/client/mis/MISClientException.java b/src/main/java/at/gv/util/client/mis/MISClientException.java new file mode 100644 index 0000000..74d3a4a --- /dev/null +++ b/src/main/java/at/gv/util/client/mis/MISClientException.java @@ -0,0 +1,23 @@ +package at.gv.util.client.mis; + +public class MISClientException extends Exception { + + private static final long serialVersionUID = 5173056345209288701L; + + public MISClientException() { + super(); + } + + public MISClientException(String message, Throwable cause) { + super(message, cause); + } + + public MISClientException(String message) { + super(message); + } + + public MISClientException(Throwable cause) { + super(cause); + } + +} diff --git a/src/main/java/at/gv/util/client/mis/simple/MISMandate.java b/src/main/java/at/gv/util/client/mis/simple/MISMandate.java new file mode 100644 index 0000000..fe4159a --- /dev/null +++ b/src/main/java/at/gv/util/client/mis/simple/MISMandate.java @@ -0,0 +1,23 @@ +package at.gv.util.client.mis.simple; + +public class MISMandate { + + private boolean isProfRep = false; + private byte[] mandate = null; + + public boolean isProfRep() { + return isProfRep; + } + public void setProfRep(boolean isProfRep) { + this.isProfRep = isProfRep; + } + public byte[] getMandate() { + return mandate; + } + public void setMandate(byte[] mandate) { + this.mandate = mandate; + } + + + +} diff --git a/src/main/java/at/gv/util/client/mis/simple/MISSessionId.java b/src/main/java/at/gv/util/client/mis/simple/MISSessionId.java new file mode 100644 index 0000000..c9adc66 --- /dev/null +++ b/src/main/java/at/gv/util/client/mis/simple/MISSessionId.java @@ -0,0 +1,23 @@ +package at.gv.util.client.mis.simple; + +public class MISSessionId { + + private String sessiondId = null; + private String redirectURL = null; + + public String getSessiondId() { + return sessiondId; + } + public void setSessiondId(String sessiondId) { + this.sessiondId = sessiondId; + } + public String getRedirectURL() { + return redirectURL; + } + public void setRedirectURL(String redirectURL) { + this.redirectURL = redirectURL; + } + + + +} diff --git a/src/main/java/at/gv/util/client/mis/simple/MISSimpleClient.java b/src/main/java/at/gv/util/client/mis/simple/MISSimpleClient.java new file mode 100644 index 0000000..34ba951 --- /dev/null +++ b/src/main/java/at/gv/util/client/mis/simple/MISSimpleClient.java @@ -0,0 +1,233 @@ +package at.gv.util.client.mis.simple; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +import javax.xml.parsers.DocumentBuilderFactory; +import javax.xml.parsers.ParserConfigurationException; +import javax.xml.transform.TransformerException; + +import org.apache.commons.codec.binary.Base64; +import org.apache.commons.httpclient.HttpClient; +import org.apache.commons.httpclient.methods.PostMethod; +import org.apache.commons.httpclient.methods.StringRequestEntity; +import org.apache.xpath.XPathAPI; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.w3c.dom.DOMException; +import org.w3c.dom.Document; +import org.w3c.dom.Element; +import org.w3c.dom.Node; +import org.w3c.dom.NodeList; +import org.xml.sax.SAXException; + +import at.gv.util.DOMUtils; + +public class MISSimpleClient { + + private final static String SOAP_NS = "http://schemas.xmlsoap.org/soap/envelope/"; + private final static String MIS_NS = "http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd"; + + private static Element NS_NODE = null; + + private static Logger log = LoggerFactory.getLogger(MISSimpleClient.class); + + static { + try { + NS_NODE = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument().createElement("test"); + NS_NODE.setAttribute("xmlns:soap", SOAP_NS); + NS_NODE.setAttribute("xmlns:mis", MIS_NS); + } catch (Exception e) { + log.warn("Error initializing namespace node.", e); + } + } + + public static List sendGetMandatesRequest(String webServiceURL, String sessionId) throws MISSimpleClientException { + if (webServiceURL == null) { + throw new NullPointerException("Argument webServiceURL must not be null."); + } + if (sessionId == null) { + throw new NullPointerException("Argument sessionId must not be null."); + } + try { + Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); + Element mirElement = doc.createElementNS(MIS_NS, "MandateIssueRequest"); + Element sessionIdElement = doc.createElementNS(MIS_NS, "SessionID"); + sessionIdElement.appendChild(doc.createTextNode(sessionId)); + mirElement.appendChild(sessionIdElement); + // send soap request + Element mandateIssueResponseElement = sendSOAPRequest(webServiceURL, mirElement); + + // check for error + checkForError(mandateIssueResponseElement); + + // check for session id + NodeList mandateElements = XPathAPI.selectNodeList(mandateIssueResponseElement, "//mis:MandateIssueResponse/mis:Mandates/mis:Mandate", NS_NODE); + + if (mandateElements == null || mandateElements.getLength() == 0) { + throw new MISSimpleClientException("No mandates found in response."); + } + + ArrayList foundMandates = new ArrayList(); + for (int i=0; i<mandateElements.getLength(); i++) { + Element mandate = (Element) mandateElements.item(i); + MISMandate misMandate = new MISMandate(); + if ("true".equalsIgnoreCase(mandate.getAttribute("ProfessionalRepresentative"))) { + misMandate.setProfRep(true); + } + misMandate.setMandate(Base64.decodeBase64(DOMUtils.getText(mandate))); + foundMandates.add(misMandate); + } + return foundMandates; + } catch (ParserConfigurationException e) { + throw new MISSimpleClientException(e); + } catch (DOMException e) { + throw new MISSimpleClientException(e); + } catch (TransformerException e) { + throw new MISSimpleClientException(e); + } + } + + public static MISSessionId sendSessionIdRequest(String webServiceURL, byte[] idl, byte[] cert, String redirectURL, String refValue, String mandateIdentifier[]) throws MISSimpleClientException { + if (webServiceURL == null) { + throw new NullPointerException("Argument webServiceURL must not be null."); + } + if (idl == null) { + throw new NullPointerException("Argument idl must not be null."); + } + if (redirectURL == null) { + throw new NullPointerException("Argument redirectURL must not be null."); + } + if (refValue == null) { + throw new NullPointerException("Argument refValue must not be null."); + } + try { + Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); + Element mirElement = doc.createElementNS(MIS_NS, "MandateIssueRequest"); + Element idlElement = doc.createElementNS(MIS_NS, "IdentityLink"); + idlElement.appendChild(doc.createTextNode(Base64.encodeBase64String(idl))); + mirElement.appendChild(idlElement); + if (cert != null && cert.length > 0) { + Element certElement = doc.createElementNS(MIS_NS, "X509SignatureCertificate"); + certElement.appendChild(doc.createTextNode(Base64.encodeBase64String(cert))); + mirElement.appendChild(certElement); + } + Element redirectElement = doc.createElementNS(MIS_NS, "RedirectURL"); + redirectElement.appendChild(doc.createTextNode(redirectURL)); + mirElement.appendChild(redirectElement); + Element refValElement = doc.createElementNS(MIS_NS, "ReferenceValue"); + refValElement.appendChild(doc.createTextNode(refValue)); + mirElement.appendChild(refValElement); + if (mandateIdentifier != null && mandateIdentifier.length > 0) { + Element filtersElement = doc.createElementNS(MIS_NS, "Filters"); + Element mandateIdentifiersElement = doc.createElementNS(MIS_NS, "MandateIdentifiers"); + for (int i=0; i<mandateIdentifier.length; i++) { + Element mandateIdentifierElement = doc.createElementNS(MIS_NS, "MandateIdentifier"); + mandateIdentifierElement.appendChild(doc.createTextNode(mandateIdentifier[i])); + mandateIdentifiersElement.appendChild(mandateIdentifierElement); + } + filtersElement.appendChild(mandateIdentifiersElement); + mirElement.appendChild(filtersElement); + } + // send soap request + Element mandateIssueResponseElement = sendSOAPRequest(webServiceURL, mirElement); + + // check for error + checkForError(mandateIssueResponseElement); + + // check for session id + Node sessionIdNode = ((Node) XPathAPI.selectSingleNode(mandateIssueResponseElement, "//mis:MandateIssueResponse/mis:SessionID/text()", NS_NODE)); + if (sessionIdNode == null) { + throw new MISSimpleClientException("SessionId not found in response."); + } + String sessionId = sessionIdNode.getNodeValue(); + + Node guiRedirectURLNode = ((Node) XPathAPI.selectSingleNode(mandateIssueResponseElement, "//mis:MandateIssueResponse/mis:GuiRedirectURL/text()", NS_NODE)); + if (guiRedirectURLNode == null) { + throw new MISSimpleClientException("GuiRedirectURL not found in response."); + } + String guiRedirectURL = guiRedirectURLNode.getNodeValue(); + + // create return object + MISSessionId msid = new MISSessionId(); + msid.setSessiondId(sessionId); + msid.setRedirectURL(guiRedirectURL); + + return msid; + } catch (ParserConfigurationException e) { + throw new MISSimpleClientException(e); + } catch (DOMException e) { + throw new MISSimpleClientException(e); + } catch (TransformerException e) { + throw new MISSimpleClientException(e); + } + } + + private static void checkForError(Element mandateIssueResponseElement) throws MISSimpleClientException { + if (mandateIssueResponseElement == null) { + throw new NullPointerException("Argument mandateIssueResponseElement must not be null."); + } + try { + Element errorElement = (Element) XPathAPI.selectSingleNode(mandateIssueResponseElement, "/mis:MandateIssueResponse/mis:Error", NS_NODE); + if (errorElement != null) { + String code = ((Node) XPathAPI.selectSingleNode(mandateIssueResponseElement, "/mis:MandateIssueResponse/mis:Error/mis:Code/text()", NS_NODE)).getNodeValue(); + String text = ((Node) XPathAPI.selectSingleNode(mandateIssueResponseElement, "/mis:MandateIssueResponse/mis:Error/mis:Text/text()", NS_NODE)).getNodeValue(); + throw new MISSimpleClientException("Fehler beim Abfragen des Online-Vollmachten Services: " + code + " / " + text); + } + } catch (TransformerException e) { + throw new MISSimpleClientException(e); + } + } + + private static Element sendSOAPRequest(String webServiceURL, Element request) throws MISSimpleClientException { + if (webServiceURL == null) { + throw new NullPointerException("Argument webServiceURL must not be null."); + } + if (request == null) { + throw new NullPointerException("Argument request must not be null."); + } + try { + HttpClient httpclient = new HttpClient(); + PostMethod post = new PostMethod(webServiceURL); + StringRequestEntity re = new StringRequestEntity(DOMUtils.serializeNode(packIntoSOAP(request)),"text/xml", "UTF-8"); + post.setRequestEntity(re); + int responseCode = httpclient.executeMethod(post); + if (responseCode != 200) { + throw new MISSimpleClientException("Invalid HTTP response code " + responseCode); + } + return unpackFromSOAP(DOMUtils.parseXmlNonValidating(post.getResponseBodyAsStream())); + } catch(IOException e) { + throw new MISSimpleClientException(e); + } catch (TransformerException e) { + throw new MISSimpleClientException(e); + } catch (ParserConfigurationException e) { + throw new MISSimpleClientException(e); + } catch (SAXException e) { + throw new MISSimpleClientException(e); + } + } + + private static Element packIntoSOAP(Element element) throws MISSimpleClientException { + try { + Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); + Element soapEnvelope = doc.createElement("Envelope"); + soapEnvelope.setAttribute("xmlns", SOAP_NS); + Element soapBody = doc.createElement("Body"); + soapEnvelope.appendChild(soapBody); + soapBody.appendChild(doc.importNode(element, true)); + return soapEnvelope; + } catch(ParserConfigurationException e) { + throw new MISSimpleClientException(e); + } + } + + private static Element unpackFromSOAP(Element element) throws MISSimpleClientException { + try { + return (Element) XPathAPI.selectSingleNode(element, "/soap:Envelope/soap:Body/child::*[position()=1]", NS_NODE); + } catch(TransformerException e) { + throw new MISSimpleClientException(e); + } + } + +}
\ No newline at end of file diff --git a/src/main/java/at/gv/util/client/mis/simple/MISSimpleClientException.java b/src/main/java/at/gv/util/client/mis/simple/MISSimpleClientException.java new file mode 100644 index 0000000..91250d2 --- /dev/null +++ b/src/main/java/at/gv/util/client/mis/simple/MISSimpleClientException.java @@ -0,0 +1,22 @@ +package at.gv.util.client.mis.simple; + +public class MISSimpleClientException extends Exception { + + private static final long serialVersionUID = 1L; + + public MISSimpleClientException() { + } + + public MISSimpleClientException(String message) { + super(message); + } + + public MISSimpleClientException(Throwable cause) { + super(cause); + } + + public MISSimpleClientException(String message, Throwable cause) { + super(message, cause); + } + +} diff --git a/src/main/java/at/gv/util/client/mis/usp/USPClient.java b/src/main/java/at/gv/util/client/mis/usp/USPClient.java new file mode 100644 index 0000000..ac8315a --- /dev/null +++ b/src/main/java/at/gv/util/client/mis/usp/USPClient.java @@ -0,0 +1,150 @@ +package at.gv.util.client.mis.usp; + +import java.net.URL; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; +import java.util.Map; + +import javax.annotation.Resource; +import javax.net.ssl.SSLContext; +import javax.xml.datatype.DatatypeConfigurationException; +import javax.xml.namespace.QName; +import javax.xml.ws.BindingProvider; +import javax.xml.ws.WebServiceContext; +import javax.xml.ws.handler.Handler; + +import org.apache.commons.lang.RandomStringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.LaxHostNameVerifier; +import at.gv.util.LoggingHandler; +import at.gv.util.MiscUtil; +import at.gv.util.client.szr.SZRSOAPHandler; +import at.gv.util.config.EgovUtilConfiguration; +import at.gv.util.ex.EgovUtilException; +import at.gv.util.wsdl.mis.usp.GetMandatesPortType; +import at.gv.util.wsdl.mis.usp.GetMandatesService; +import at.gv.util.xsd.mis.usp.GetMandatesRequest; +import at.gv.util.xsd.mis.usp.GetMandatesRequest.MandateFilters; +import at.gv.util.xsd.mis.usp.GetMandatesResponse; +import at.gv.util.xsd.mis.usp.IdentificationType; +import at.gv.util.xsd.szr.pvp.PvpTokenType; + +import com.sun.xml.ws.developer.JAXWSProperties; + +public class USPClient { + + @Resource + WebServiceContext wsContext; + + private EgovUtilConfiguration config = null; + private Logger log = LoggerFactory.getLogger(USPClient.class); + private boolean logEnabled = true; + private GetMandatesPortType uspSuche = null; + + public USPClient(EgovUtilConfiguration config, boolean logEnabled) throws EgovUtilException { + MiscUtil.assertNotNull(config, "config"); + this.config = config; + this.logEnabled = logEnabled; + initialize(); + } + + public GetMandatesResponse getMandates(String bpkType, String bpkValue, List<String> mandateFilters) { + + // assemble request + GetMandatesRequest request = new GetMandatesRequest(); + String requestId = createUSPRequestId(); + log.debug("USP request id: " + requestId); + request.setRequestId(requestId); + Date date = new Date(); + try { + request.setTimestamp(MiscUtil.getXMLGregorianCalendar(date)); + } catch (DatatypeConfigurationException e) { + log.warn("Error initializing USP client.", e); + return null; + } + log.debug("USP time stamp: " + date.toString()); + request.setApplicationId(config.getUSPApplicationId()); + log.debug("USP application id: " + config.getUSPApplicationId()); + + // set identification + IdentificationType idt = new IdentificationType(); + idt.setType(bpkType); + idt.setValue(bpkValue); + request.setIdentification(idt); + + // set filters + if (mandateFilters != null && mandateFilters.size() > 0) { + MandateFilters mf = new MandateFilters(); + mf.getMandateFilter().addAll(mandateFilters); + request.setMandateFilters(mf); + } + + return this.uspSuche.getMandatesOperation(request); + } + + @SuppressWarnings({ "rawtypes", "unchecked" }) + private void initialize() throws EgovUtilException { + URL url = USPClient.class.getResource("/wsdl/mis/usp/mis-usp-1.0.2.wsdl"); + GetMandatesService uspService = null; + String uspURL = null; + uspService = new GetMandatesService(url, new QName("http://reference.e-government.gv.at/namespace/mandates/mis/usp/1.0.2/wsdl", "GetMandatesService")); + uspSuche = uspService.getGetMandatesPort(); + if (config.isUSPTestEnvironment()) { + log.trace("Initializing USP test configuration."); + uspURL = config.getUSPTestEnvironmentURL(); + } else { + log.trace("Initializing USP productive configuration."); + uspURL = config.getUSPProductionEnvironmentURL(); + } + log.trace("USP connection URL: " + uspURL); + BindingProvider bindingProvider = (BindingProvider) uspSuche; + Map<String, Object> requestContext = bindingProvider.getRequestContext(); + requestContext.put( + BindingProvider.ENDPOINT_ADDRESS_PROPERTY, uspURL); + + log.trace("Adding JAX-WS request/response trace handler."); + List<Handler> handlerList = bindingProvider.getBinding().getHandlerChain(); + if (handlerList == null) { + handlerList = new ArrayList(); + } + LoggingHandler loggingHandler = new LoggingHandler(); + if (this.logEnabled) { + handlerList.add(loggingHandler); + } + // PV authentication + log.trace("Adding WS-Security Header handler."); + PvpTokenType pvpToken = config.getURPVPToken(); + SZRSOAPHandler szrSOAPHandler = new SZRSOAPHandler(); + szrSOAPHandler.configure(pvpToken); + handlerList.add(szrSOAPHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + + + //set HTTP Client Timeout (Default Timeout 60sec) + requestContext.put(JAXWSProperties.CONNECT_TIMEOUT, this.config.getHTTPRequestTimeout()); + + // check for ssl + if (uspURL.toLowerCase().startsWith("https")) { + log.trace("Using ssl for SZR client request."); + SSLContext sslContext = this.config.getUSPsslConfiguration().getSSLContext(false); + if (sslContext == null) { + throw new EgovUtilException("SSL context from configuration is empty. Please configure an SSL context in the configuration first."); + } + requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getURsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, new LaxHostNameVerifier()); + } + } + } + + private String createUSPRequestId() { + return RandomStringUtils.randomAlphanumeric(12); + } + +} diff --git a/src/main/java/at/gv/util/client/mis/usp/USPClientException.java b/src/main/java/at/gv/util/client/mis/usp/USPClientException.java new file mode 100644 index 0000000..3c36ccb --- /dev/null +++ b/src/main/java/at/gv/util/client/mis/usp/USPClientException.java @@ -0,0 +1,33 @@ +package at.gv.util.client.mis.usp; + +public class USPClientException extends Exception { + + private static final long serialVersionUID = 5173056345209288701L; + + private int code = -1; + + public USPClientException(int code) { + super(); + this.code = code; + } + + public USPClientException(String message, int code, Throwable cause) { + super(message, cause); + this.code = code; + } + + public USPClientException(String message, int code) { + super(message); + this.code = code; + } + + public USPClientException(int code, Throwable cause) { + super(cause); + this.code = code; + } + + public int getCode() { + return this.code; + } + +} diff --git a/src/main/java/at/gv/util/client/misstork/MISSTORKClient.java b/src/main/java/at/gv/util/client/misstork/MISSTORKClient.java new file mode 100644 index 0000000..ca4173d --- /dev/null +++ b/src/main/java/at/gv/util/client/misstork/MISSTORKClient.java @@ -0,0 +1,98 @@ +package at.gv.util.client.misstork; + +import java.net.URL; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +import javax.annotation.Resource; +import javax.net.ssl.SSLContext; +import javax.xml.namespace.QName; +import javax.xml.ws.BindingProvider; +import javax.xml.ws.WebServiceContext; +import javax.xml.ws.handler.Handler; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.LaxHostNameVerifier; +import at.gv.util.LoggingHandler; +import at.gv.util.MiscUtil; +import at.gv.util.client.moaid.MOAIDClient; +import at.gv.util.config.EgovUtilConfiguration; +import at.gv.util.ex.EgovUtilException; +import at.gv.util.wsdl.mis.MandateIssuePortType; +import at.gv.util.wsdl.mis.MandateIssueService; +import at.gv.util.wsdl.misstork.MISSTORKService; +import at.gv.util.wsdl.misstork.MISSTORKType; +import at.gv.util.wsdl.misstork.MisStorkError; +import at.gv.util.wsdl.szr.SZRException; +import at.gv.util.xsd.mis.MandateIssueRequestType; +import at.gv.util.xsd.mis.MandateIssueResponseType; +import at.gv.util.xsd.misstork.MisStorkRequest; +import at.gv.util.xsd.misstork.MisStorkResponse; + +import com.sun.xml.ws.developer.JAXWSProperties; + +public class MISSTORKClient { + + @Resource + WebServiceContext wsContext; + + private EgovUtilConfiguration config = null; + Logger log = LoggerFactory.getLogger(MISSTORKClient.class); + + public MISSTORKClient() {} + + public MISSTORKClient(EgovUtilConfiguration config) { + if (config == null) { + throw new NullPointerException("Parameter config must not be null."); + } + this.config = config; + + + } + + @SuppressWarnings({ "unchecked", "rawtypes" }) + public MisStorkResponse sendMISSTORKRequest(MisStorkRequest mir, String misSTORKServiceURL) throws MisStorkError, EgovUtilException { + MiscUtil.assertNotNull(mir, "mir"); + MiscUtil.assertNotNull(misSTORKServiceURL, "misServiceURL"); + + URL url = MOAIDClient.class.getResource("/wsdl/misstork/misstork.wsdl"); + MISSTORKService service = new MISSTORKService(url, new QName("http://reference.e-government.gv.at/namespace/misstork/20131126/wsdl", "MISSTORKService")); + MISSTORKType port = service.getMISSTORKPort(); + + log.debug("MISSTORK connection URL: " + misSTORKServiceURL); + BindingProvider bindingProvider = (BindingProvider) port; + Map<String, Object> requestContext = bindingProvider.getRequestContext(); + requestContext.put( + BindingProvider.ENDPOINT_ADDRESS_PROPERTY, misSTORKServiceURL); + + log.trace("Adding JAX-WS request/response trace handler."); + List<Handler> handlerList = bindingProvider.getBinding().getHandlerChain(); + if (handlerList == null) { + handlerList = new ArrayList(); + } + LoggingHandler loggingHandler = new LoggingHandler(); + handlerList.add(loggingHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + + // check for ssl + if (misSTORKServiceURL.toLowerCase().startsWith("https")) { + log.trace("Using ssl for MISSTORK client request."); + SSLContext sslContext = config.getMISSTORKsslConfiguration().getSSLContext(false); + if (sslContext == null) { + throw new EgovUtilException("SSL context from configuration is empty. Please configure an SSL context in the configuration first."); + } + requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getMISsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, new LaxHostNameVerifier()); + } + } + return port.misstorkOperation(mir); + } + +} diff --git a/src/main/java/at/gv/util/client/misstork/MISSTORKClientException.java b/src/main/java/at/gv/util/client/misstork/MISSTORKClientException.java new file mode 100644 index 0000000..19b4cb2 --- /dev/null +++ b/src/main/java/at/gv/util/client/misstork/MISSTORKClientException.java @@ -0,0 +1,23 @@ +package at.gv.util.client.misstork; + +public class MISSTORKClientException extends Exception { + + private static final long serialVersionUID = 5173056345209288701L; + + public MISSTORKClientException() { + super(); + } + + public MISSTORKClientException(String message, Throwable cause) { + super(message, cause); + } + + public MISSTORKClientException(String message) { + super(message); + } + + public MISSTORKClientException(Throwable cause) { + super(cause); + } + +} diff --git a/src/main/java/at/gv/util/client/mms/MMSClient.java b/src/main/java/at/gv/util/client/mms/MMSClient.java new file mode 100644 index 0000000..1195d3d --- /dev/null +++ b/src/main/java/at/gv/util/client/mms/MMSClient.java @@ -0,0 +1,93 @@ +package at.gv.util.client.mms; + +import java.net.URL; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +import javax.annotation.Resource; +import javax.net.ssl.SSLContext; +import javax.xml.namespace.QName; +import javax.xml.ws.BindingProvider; +import javax.xml.ws.WebServiceContext; +import javax.xml.ws.handler.Handler; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.LaxHostNameVerifier; +import at.gv.util.LoggingHandler; +import at.gv.util.MiscUtil; +import at.gv.util.client.moaid.MOAIDClient; +import at.gv.util.config.EgovUtilConfiguration; +import at.gv.util.ex.EgovUtilException; +import at.gv.util.wsdl.mms.GetMandatesPortType; +import at.gv.util.wsdl.mms.GetMandatesService; +import at.gv.util.wsdl.szr.SZRException; +import at.gv.util.xsd.mms.GetMandatesRequest; +import at.gv.util.xsd.mms.GetMandatesResponse; + +import com.sun.xml.ws.developer.JAXWSProperties; + +public class MMSClient { + + @Resource + WebServiceContext wsContext; + + private EgovUtilConfiguration config = null; + Logger log = LoggerFactory.getLogger(MMSClient.class); + + public MMSClient() {} + + public MMSClient(EgovUtilConfiguration config) { + if (config == null) { + throw new NullPointerException("Parameter config must not be null."); + } + this.config = config; + + + } + + @SuppressWarnings({ "unchecked", "rawtypes" }) + public GetMandatesResponse sendGetMandatesRequest(GetMandatesRequest request, String mmsServiceURL) throws SZRException, EgovUtilException { + MiscUtil.assertNotNull(request, "request"); + MiscUtil.assertNotNull(mmsServiceURL, "mmsServiceURL"); + + URL url = MOAIDClient.class.getResource("/wsdl/mms/mms.wsdl"); + GetMandatesService service = new GetMandatesService(url, new QName("http://reference.e-government.gv.at/namespace/mandates/mms/1.0/wsdl", "GetMandatesService")); + GetMandatesPortType port = service.getGetMandatesPort(); + + log.debug("MMS connection URL: " + mmsServiceURL); + BindingProvider bindingProvider = (BindingProvider) port; + Map<String, Object> requestContext = bindingProvider.getRequestContext(); + requestContext.put( + BindingProvider.ENDPOINT_ADDRESS_PROPERTY, mmsServiceURL); + + log.trace("Adding JAX-WS request/response trace handler."); + List<Handler> handlerList = bindingProvider.getBinding().getHandlerChain(); + if (handlerList == null) { + handlerList = new ArrayList(); + } + LoggingHandler loggingHandler = new LoggingHandler(); + handlerList.add(loggingHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + + // check for ssl + if (mmsServiceURL.toLowerCase().startsWith("https")) { + log.trace("Using ssl for MMS client request."); + SSLContext sslContext = config.getMMSsslConfiguration().getSSLContext(false); + if (sslContext == null) { + throw new EgovUtilException("SSL context from configuration is empty. Please configure an SSL context in the configuration first."); + } + requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getMMSsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, new LaxHostNameVerifier()); + } + } + return port.getMandatesOperation(request); + } + +} diff --git a/src/main/java/at/gv/util/client/mms/MMSClientException.java b/src/main/java/at/gv/util/client/mms/MMSClientException.java new file mode 100644 index 0000000..579b4a2 --- /dev/null +++ b/src/main/java/at/gv/util/client/mms/MMSClientException.java @@ -0,0 +1,23 @@ +package at.gv.util.client.mms; + +public class MMSClientException extends Exception { + + private static final long serialVersionUID = 5173056345209288701L; + + public MMSClientException() { + super(); + } + + public MMSClientException(String message, Throwable cause) { + super(message, cause); + } + + public MMSClientException(String message) { + super(message); + } + + public MMSClientException(Throwable cause) { + super(cause); + } + +} diff --git a/src/main/java/at/gv/util/client/moaid/MOAIDClient.java b/src/main/java/at/gv/util/client/moaid/MOAIDClient.java new file mode 100644 index 0000000..09f8a57 --- /dev/null +++ b/src/main/java/at/gv/util/client/moaid/MOAIDClient.java @@ -0,0 +1,126 @@ +package at.gv.util.client.moaid; + +import java.math.BigInteger; +import java.net.URL; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; +import java.util.Map; + +import javax.annotation.Resource; +import javax.net.ssl.SSLContext; +import javax.xml.datatype.DatatypeConfigurationException; +import javax.xml.namespace.QName; +import javax.xml.ws.BindingProvider; +import javax.xml.ws.WebServiceContext; +import javax.xml.ws.handler.Handler; + +import org.apache.commons.lang.RandomStringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.LaxHostNameVerifier; +import at.gv.util.LoggingHandler; +import at.gv.util.MiscUtil; +import at.gv.util.config.EgovUtilConfiguration; +import at.gv.util.ex.EgovUtilException; +import at.gv.util.wsdl.GetAuthenticationDataService; +import at.gv.util.wsdl.IdentificationPortType; +import at.gv.util.wsdl.MOAFault; +import at.gv.util.xsd.saml.protocol.RequestType; +import at.gv.util.xsd.saml.protocol.ResponseType; + +import com.sun.xml.ws.developer.JAXWSProperties; + +public class MOAIDClient { + + @Resource + WebServiceContext wsContext; + + private EgovUtilConfiguration config = null; + Logger log = LoggerFactory.getLogger(MOAIDClient.class); + + public MOAIDClient() {} + + public MOAIDClient(EgovUtilConfiguration config) { + this.config = config; + + + } + + @SuppressWarnings("unchecked") + public ResponseType sendGetAuthenticationDataRequest(String getAuthDataServiceURL, String artifact) throws MOAIDClientException { + + // verify that parameters are not null + if (getAuthDataServiceURL == null) { + throw new NullPointerException("Parameter 'getAuthDataServiceURL' must not be null."); + } + if (artifact == null) { + throw new NullPointerException("Parameter 'artifact' must not be null."); + } + + URL url = MOAIDClient.class.getResource("/wsdl/MOA-ID-1.x.wsdl"); + GetAuthenticationDataService service = new GetAuthenticationDataService(url, new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "GetAuthenticationDataService")); + IdentificationPortType port = service.getIdentificationPort(); + + log.trace("Authentication data service request URL: " + getAuthDataServiceURL); + try { + + // set endpoint address + BindingProvider bindingProvider = (BindingProvider) port; + Map<String, Object> requestContext = bindingProvider.getRequestContext(); + requestContext.put( + BindingProvider.ENDPOINT_ADDRESS_PROPERTY, getAuthDataServiceURL); + + // add trace log + log.trace("Adding JAX-WS request/response trace handler."); + List<Handler> handlerList = bindingProvider.getBinding().getHandlerChain(); + if (handlerList == null) { + handlerList = new ArrayList(); + } + LoggingHandler loggingHandler = new LoggingHandler(); + handlerList.add(loggingHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + + // initialize ssl + + + if (getAuthDataServiceURL.toLowerCase().startsWith("https")) { + if (this.config == null) { + throw new MOAIDClientException("SSL requires a valid configuration for MOA-ID client."); + } + log.trace("Using ssl for MOA-ID get authentication data request."); + SSLContext sslContext = config.getMOAIDsslConfiguration().getSSLContext(false); + if (sslContext == null) { + throw new MOAIDClientException("SSL context from configuration is empty. Please configure an SSL context in the configuration first."); + } + requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getMOAIDsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, new LaxHostNameVerifier()); + } + } + + // make simple moa-id request + RequestType request = new RequestType(); + request.setMajorVersion(BigInteger.ONE); + request.setMinorVersion(BigInteger.ZERO); + request.setIssueInstant(MiscUtil.getXMLGregorianCalendar(new Date())); + request.setRequestID(RandomStringUtils.randomAlphanumeric(10)); + + request.getAssertionArtifact().add(artifact); + + return port.getAuthenticationData(request); + + } catch (EgovUtilException e) { + throw new MOAIDClientException(e); + } catch (MOAFault e) { + throw new MOAIDClientException(e); + } catch (DatatypeConfigurationException e) { + throw new MOAIDClientException(e); + } + } + +} diff --git a/src/main/java/at/gv/util/client/moaid/MOAIDClientException.java b/src/main/java/at/gv/util/client/moaid/MOAIDClientException.java new file mode 100644 index 0000000..e9289e5 --- /dev/null +++ b/src/main/java/at/gv/util/client/moaid/MOAIDClientException.java @@ -0,0 +1,23 @@ +package at.gv.util.client.moaid; + +public class MOAIDClientException extends Exception { + + private static final long serialVersionUID = 5173056345209288701L; + + public MOAIDClientException() { + super(); + } + + public MOAIDClientException(String message, Throwable cause) { + super(message, cause); + } + + public MOAIDClientException(String message) { + super(message); + } + + public MOAIDClientException(Throwable cause) { + super(cause); + } + +} diff --git a/src/main/java/at/gv/util/client/moaspss/MOASPSSClient.java b/src/main/java/at/gv/util/client/moaspss/MOASPSSClient.java new file mode 100644 index 0000000..ab8acd8 --- /dev/null +++ b/src/main/java/at/gv/util/client/moaspss/MOASPSSClient.java @@ -0,0 +1,326 @@ +/* + * Copyright 2011 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 at.gv.util.client.moaspss; + +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.net.URL; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +import javax.net.ssl.SSLContext; +import javax.xml.bind.JAXBContext; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.JAXBException; +import javax.xml.namespace.QName; +import javax.xml.transform.Source; +import javax.xml.transform.TransformerException; +import javax.xml.transform.stream.StreamSource; +import javax.xml.ws.BindingProvider; +import javax.xml.ws.Dispatch; +import javax.xml.ws.Service; +import javax.xml.ws.handler.Handler; +import javax.xml.ws.soap.SOAPBinding; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.w3c.dom.Document; +import org.w3c.dom.Element; + +import at.gv.util.DOMUtils; +import at.gv.util.LaxHostNameVerifier; +import at.gv.util.LoggingHandler; +import at.gv.util.MiscUtil; +import at.gv.util.config.EgovUtilConfiguration; +import at.gv.util.ex.EgovUtilException; +import at.gv.util.wsdl.SignatureCreationService; +import at.gv.util.wsdl.SignatureVerificationService; +import at.gv.util.xsd.moaspss.CreateXMLSignatureRequest; +import at.gv.util.xsd.moaspss.CreateXMLSignatureResponseType; +import at.gv.util.xsd.moaspss.ErrorResponseType; +import at.gv.util.xsd.moaspss.VerifyXMLSignatureRequestType; +import at.gv.util.xsd.moaspss.VerifyXMLSignatureResponseType; + +import com.sun.org.apache.xpath.internal.XPathAPI; +import com.sun.xml.ws.developer.JAXWSProperties; + +/** + * MOA-SS client. + * + * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a> + * + */ +public class MOASPSSClient { + + private static Logger log = LoggerFactory.getLogger(MOASPSSClient.class); + + private EgovUtilConfiguration config = null; + + public MOASPSSClient(EgovUtilConfiguration config) { + if (config == null) { + throw new NullPointerException("Argument 'config' must not be null."); + } + this.config = config; + } + + public MOASPSSClient() { + } + + @SuppressWarnings("unchecked") + public Element sendSignatureCreationRequest(String serviceURL, + InputStream signatureCreationRequest) throws MOASPSSClientException { + + log.debug("Creating XML signature using raw CreateXMLSignatureRequest."); + // check for arguments + if (serviceURL == null) { + throw new NullPointerException("Argument 'serviceURL' must not be null."); + } + if (signatureCreationRequest == null) { + throw new NullPointerException( + "Argument 'signatureRequest' must not be null."); + } + + try { + + log.trace("MOA-SS signature service URL: " + serviceURL); + URL url = MOASPSSClient.class.getResource("/wsdl/MOA-SPSS-1.3.wsdl"); + SignatureCreationService service = new SignatureCreationService( + url, + new QName( + "http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", + "SignatureCreationService")); + QName qname = new QName( + "http://localhost:8080/moa-spss/services/SignatureCreation", + "CreateXMLSignatureRequest"); + service.addPort(qname, SOAPBinding.SOAP11HTTP_BINDING, serviceURL); + + ByteArrayOutputStream bos = new ByteArrayOutputStream(); + MiscUtil.copyStream(signatureCreationRequest, bos); + + Source source = new StreamSource(new ByteArrayInputStream( + bos.toByteArray())); + Dispatch<Source> dispatch = service.createDispatch(qname, Source.class, + Service.Mode.PAYLOAD); + + BindingProvider bindingProvider = (BindingProvider) dispatch; + log.trace("Adding JAX-WS request/response trace handler."); + List<Handler> handlerList = bindingProvider.getBinding() + .getHandlerChain(); + if (handlerList == null) { + handlerList = new ArrayList(); + } + LoggingHandler loggingHandler = new LoggingHandler(); + handlerList.add(loggingHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + + // initialize ssl + Map<String, Object> requestContext = bindingProvider.getRequestContext(); + + if (serviceURL.toLowerCase().startsWith("https")) { + log.trace("Using ssl for MOA-SP request."); + if (this.config == null) { + throw new MOASPSSClientException( + "SSL requires client to be configured."); + } + SSLContext sslContext = this.config.getMOASPSSsslConfiguration() + .getSSLContext(false); + if (sslContext == null) { + throw new MOASPSSClientException( + "SSL context from configuration is empty. Please configure an SSL context in the configuration first."); + } + requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, + sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getMOASPSSsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, + new LaxHostNameVerifier()); + } + } + + log.trace("Invoking MOA-SS signature creation service."); + Source response = dispatch.invoke(source); + + log.trace("Parsing MOA-SS response."); + byte[] moaResponse = MiscUtil.sourceToByteArray(response); + JAXBContext ctx = JAXBContext.newInstance(CreateXMLSignatureRequest.class + .getPackage().getName()); + JAXBElement<CreateXMLSignatureResponseType> jaxbElement = (JAXBElement<CreateXMLSignatureResponseType>) ctx + .createUnmarshaller() + .unmarshal(new ByteArrayInputStream(moaResponse)); + CreateXMLSignatureResponseType createXMLResponse = jaxbElement.getValue(); + for (Object obj : createXMLResponse + .getSignatureEnvironmentOrErrorResponse()) { + if (obj instanceof ErrorResponseType) { + ErrorResponseType errorResponse = (ErrorResponseType) obj; + log.trace("Could not create signature: " + + errorResponse.getErrorCode() + "/" + errorResponse.getInfo()); + throw new MOASPSSClientException("MOA-SS signature error: " + + errorResponse.getErrorCode() + "/" + errorResponse.getInfo()); + } + } + log.trace(new String(moaResponse)); + log.trace("Signature successfully created. Extracting from MOA-SS container."); + // ok, we have success + Document doc = MiscUtil.parseDocument(new ByteArrayInputStream( + moaResponse)); + String xpathExpression = "/moa:CreateXMLSignatureResponse/moa:SignatureEnvironment/child::*"; + Element nsNode = doc.createElement("NsNode"); + nsNode.setAttribute("xmlns:moa", doc.getDocumentElement() + .getNamespaceURI()); + log.trace("Selecting signed doc " + xpathExpression); + Element documentNode = (Element) XPathAPI.selectSingleNode(doc, + xpathExpression, nsNode); + log.trace("Signed document: " + DOMUtils.serializeNode(documentNode)); + + return documentNode; + } catch (TransformerException e) { + throw new MOASPSSClientException(e); + } catch (IOException e) { + throw new MOASPSSClientException(e); + } catch (JAXBException e) { + throw new MOASPSSClientException(e); + } catch (EgovUtilException e) { + throw new MOASPSSClientException(e); + } + } + + @SuppressWarnings("unchecked") + public VerifyXMLSignatureResponseType sendSignatureVerificationRequest( + String serviceURL, InputStream signatureVerificationRequest) + throws MOASPSSClientException { + log.debug("Verifying XML signature using raw VerifyXMLSignatureRequest."); + + // check for arguments + if (serviceURL == null) { + throw new NullPointerException("Argument 'serviceURL' must not be null."); + } + if (signatureVerificationRequest == null) { + throw new NullPointerException( + "Argument 'signatureRequest' must not be null."); + } + + try { + log.trace("MOA-SP verification service URL: " + serviceURL); + URL url = MOASPSSClient.class.getResource("/wsdl/MOA-SPSS-1.3.wsdl"); + SignatureVerificationService service = new SignatureVerificationService( + url, + new QName( + "http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", + "SignatureCreationService")); + QName qname = new QName( + "http://localhost:8080/moa-spss/services/SignatureVerification", + "VerifyXMLSignatureRequest"); + service.addPort(qname, SOAPBinding.SOAP11HTTP_BINDING, serviceURL); + + ByteArrayOutputStream bos = new ByteArrayOutputStream(); + MiscUtil.copyStream(signatureVerificationRequest, bos); + + Source source = new StreamSource(new ByteArrayInputStream( + bos.toByteArray())); + Dispatch<Source> dispatch = service.createDispatch(qname, Source.class, + Service.Mode.PAYLOAD); + + BindingProvider bindingProvider = (BindingProvider) dispatch; + log.trace("Adding JAX-WS request/response trace handler."); + List<Handler> handlerList = bindingProvider.getBinding() + .getHandlerChain(); + if (handlerList == null) { + handlerList = new ArrayList(); + } + LoggingHandler loggingHandler = new LoggingHandler(); + handlerList.add(loggingHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + + // initialize ssl + Map<String, Object> requestContext = bindingProvider.getRequestContext(); + + if (serviceURL.toLowerCase().startsWith("https")) { + log.trace("Using ssl for MOA-SP request."); + if (this.config == null) { + throw new MOASPSSClientException( + "SSL requires client to be configured."); + } + SSLContext sslContext = this.config.getMOASPSSsslConfiguration() + .getSSLContext(false); + if (sslContext == null) { + throw new MOASPSSClientException( + "SSL context from configuration is empty. Please configure an SSL context in the configuration first."); + } + requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, + sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getMOASPSSsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, + new LaxHostNameVerifier()); + } + } + + log.trace("Invoking MOA-SP signature verification service."); + Source response = dispatch.invoke(source); + + log.trace("Parsing MOA-SP response."); + byte[] moaResponse = MiscUtil.sourceToByteArray(response); + JAXBContext ctx = JAXBContext + .newInstance(VerifyXMLSignatureRequestType.class.getPackage() + .getName()); + JAXBElement<VerifyXMLSignatureResponseType> jaxbElement = (JAXBElement<VerifyXMLSignatureResponseType>) ctx + .createUnmarshaller() + .unmarshal(new ByteArrayInputStream(moaResponse)); + VerifyXMLSignatureResponseType verifyXMLResponse = jaxbElement.getValue(); + log.trace(new String(moaResponse)); + return verifyXMLResponse; + } catch (TransformerException e) { + throw new MOASPSSClientException(e); + } catch (IOException e) { + throw new MOASPSSClientException(e); + } catch (JAXBException e) { + throw new MOASPSSClientException(e); + } catch (EgovUtilException e) { + throw new MOASPSSClientException(e); + } + } + + public static boolean isSuccess(VerifyXMLSignatureResponseType verifyResult) { + if (verifyResult == null) { + throw new NullPointerException( + "Argument 'verifyResult' must not be null."); + } + log.trace("Checking for signature verification result."); + + int signatureCheckCode = verifyResult.getSignatureCheck().getCode() + .intValue(); + int signtaureManifestCheckCode = verifyResult.getSignatureManifestCheck() + .getCode().intValue(); + int certificateCheckCode = verifyResult.getCertificateCheck().getCode() + .intValue(); + + log.trace("Signature check code: " + signatureCheckCode); + log.trace("Signature manifest check code: " + signtaureManifestCheckCode); + log.trace("Certificate check code: " + certificateCheckCode); + + return signatureCheckCode == 0 && signtaureManifestCheckCode == 0 + && certificateCheckCode == 0; + } + +} diff --git a/src/main/java/at/gv/util/client/moaspss/MOASPSSClientException.java b/src/main/java/at/gv/util/client/moaspss/MOASPSSClientException.java new file mode 100644 index 0000000..73f3acc --- /dev/null +++ b/src/main/java/at/gv/util/client/moaspss/MOASPSSClientException.java @@ -0,0 +1,44 @@ +/* + * Copyright 2011 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 at.gv.util.client.moaspss; + +/** + * MOA-SS client exception class. + * + * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a> + * + */ +public class MOASPSSClientException extends Exception { + + private static final long serialVersionUID = 1L; + + public MOASPSSClientException() { + } + + public MOASPSSClientException(String message) { + super(message); + } + + public MOASPSSClientException(Throwable cause) { + super(cause); + } + + public MOASPSSClientException(String message, Throwable cause) { + super(message, cause); + } + +} diff --git a/src/main/java/at/gv/util/client/mzs/MOAZSClient.java b/src/main/java/at/gv/util/client/mzs/MOAZSClient.java new file mode 100644 index 0000000..dc66a2b --- /dev/null +++ b/src/main/java/at/gv/util/client/mzs/MOAZSClient.java @@ -0,0 +1,106 @@ +package at.gv.util.client.mzs; + +import java.net.URL; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +import javax.annotation.Resource; +import javax.net.ssl.SSLContext; +import javax.xml.namespace.QName; +import javax.xml.ws.BindingProvider; +import javax.xml.ws.WebServiceContext; +import javax.xml.ws.handler.Handler; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.LaxHostNameVerifier; +import at.gv.util.LoggingHandler; +import at.gv.util.config.EgovUtilConfiguration; +import at.gv.util.ex.EgovUtilException; +import at.gv.util.wsdl.mzs.App2Mzs; +import at.gv.util.wsdl.mzs.App2MzsPortType; +import at.gv.util.xsd.mzs.DeliveryRequestType; +import at.gv.util.xsd.mzs.DeliveryResponseType; + +import com.sun.xml.ws.developer.JAXWSProperties; + +public class MOAZSClient { + + @Resource + WebServiceContext wsContext; + + private EgovUtilConfiguration config = null; + Logger log = LoggerFactory.getLogger(MOAZSClient.class); + + public MOAZSClient() {} + + public MOAZSClient(EgovUtilConfiguration config) { + if (config == null) { + throw new NullPointerException("Parameter config must not be null."); + } + this.config = config; + } + + @SuppressWarnings({ "unchecked", "rawtypes" }) + public DeliveryResponseType sendMOAZSRequest(DeliveryRequestType request, String serviceURL) throws MOAZSClientException { + + // verify that parameters are not null + if (request == null) { + throw new NullPointerException("Parameter 'request' must not be null."); + } + + if (serviceURL == null) { + throw new NullPointerException("Parameter 'serviceURL' must not be null."); + } + + URL url = MOAZSClient.class.getResource("/wsdl/mzs/app2mzs.wsdl"); + App2Mzs service = new App2Mzs(url, new QName("http://reference.e-government.gv.at/namespace/app2mzs.wsdl", "app2mzs")); + App2MzsPortType port = service.getApp2MzsPort(); + + log.trace("MOA-ZS request URL: " + serviceURL); + try { + + // set endpoint address + BindingProvider bindingProvider = (BindingProvider) port; + Map<String, Object> requestContext = bindingProvider.getRequestContext(); + requestContext.put( + BindingProvider.ENDPOINT_ADDRESS_PROPERTY, serviceURL); + + // add trace log + log.trace("Adding JAX-WS request/response trace handler."); + List<Handler> handlerList = bindingProvider.getBinding().getHandlerChain(); + if (handlerList == null) { + handlerList = new ArrayList(); + } + LoggingHandler loggingHandler = new LoggingHandler(); + handlerList.add(loggingHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + + // initialize ssl + if (serviceURL.toLowerCase().startsWith("https")) { + log.trace("Using ssl for MOA-ZS get authentication data request."); + SSLContext sslContext = config.getMOAZSsslConfiguration().getSSLContext(false); + if (sslContext == null) { + throw new MOAZSClientException("SSL context from configuration is empty. Please configure an SSL context in the configuration first."); + } + requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getMOAIDsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, new LaxHostNameVerifier()); + } + } + + // make simple moa-id request + + return port.app2Mzs(request); + + } catch (EgovUtilException e) { + throw new MOAZSClientException(e); + } + } + +} diff --git a/src/main/java/at/gv/util/client/mzs/MOAZSClientException.java b/src/main/java/at/gv/util/client/mzs/MOAZSClientException.java new file mode 100644 index 0000000..cb98f06 --- /dev/null +++ b/src/main/java/at/gv/util/client/mzs/MOAZSClientException.java @@ -0,0 +1,23 @@ +package at.gv.util.client.mzs; + +public class MOAZSClientException extends Exception { + + private static final long serialVersionUID = 5173056345209288701L; + + public MOAZSClientException() { + super(); + } + + public MOAZSClientException(String message, Throwable cause) { + super(message, cause); + } + + public MOAZSClientException(String message) { + super(message); + } + + public MOAZSClientException(Throwable cause) { + super(cause); + } + +} diff --git a/src/main/java/at/gv/util/client/omsp/OMSPClient.java b/src/main/java/at/gv/util/client/omsp/OMSPClient.java new file mode 100644 index 0000000..42ef55a --- /dev/null +++ b/src/main/java/at/gv/util/client/omsp/OMSPClient.java @@ -0,0 +1,46 @@ +package at.gv.util.client.omsp; + +import java.io.IOException; +import java.text.SimpleDateFormat; +import java.util.Date; + +import javax.xml.bind.JAXBContext; +import javax.xml.bind.JAXBException; + +import org.apache.commons.httpclient.HttpClient; +import org.apache.commons.httpclient.HttpException; +import org.apache.commons.httpclient.methods.GetMethod; + +import at.gv.util.MiscUtil; +import at.gv.util.xsd.omsp.SignedStatusResponse; + +public class OMSPClient { + + public static SignedStatusResponse checkMandateStatus(String serviceURL, String mandateId, Date date) throws OMSPClientException { + MiscUtil.assertNotNull(serviceURL, "serviceURL"); + MiscUtil.assertNotNull(mandateId, "mandateId"); + HttpClient httpclient = new HttpClient(); + GetMethod method = new GetMethod(serviceURL); + String queryString = mandateId; + if (date != null) { + SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); + mandateId += "+" + sdf.format(date); + } + method.setQueryString(queryString); + try { + int code = httpclient.executeMethod(method); + if (code != 200) { + throw new OMSPClientException("Response code " + code + " returned. Must be 200."); + } + JAXBContext ctx = JAXBContext.newInstance(SignedStatusResponse.class.getPackage().getName()); + return (SignedStatusResponse) ctx.createUnmarshaller().unmarshal(method.getResponseBodyAsStream()); + } catch (HttpException e) { + throw new OMSPClientException(e); + } catch (IOException e) { + throw new OMSPClientException(e); + } catch (JAXBException e) { + throw new OMSPClientException(e); + } + } + +} diff --git a/src/main/java/at/gv/util/client/omsp/OMSPClientException.java b/src/main/java/at/gv/util/client/omsp/OMSPClientException.java new file mode 100644 index 0000000..f3a5713 --- /dev/null +++ b/src/main/java/at/gv/util/client/omsp/OMSPClientException.java @@ -0,0 +1,23 @@ +package at.gv.util.client.omsp; + +public class OMSPClientException extends Exception { + + private static final long serialVersionUID = 1L; + + public OMSPClientException() { + super(); + } + + public OMSPClientException(String message, Throwable cause) { + super(message, cause); + } + + public OMSPClientException(String message) { + super(message); + } + + public OMSPClientException(Throwable cause) { + super(cause); + } + +} diff --git a/src/main/java/at/gv/util/client/omsp/OMSPStatus.java b/src/main/java/at/gv/util/client/omsp/OMSPStatus.java new file mode 100644 index 0000000..31ffc73 --- /dev/null +++ b/src/main/java/at/gv/util/client/omsp/OMSPStatus.java @@ -0,0 +1,14 @@ +package at.gv.util.client.omsp; + +import java.util.Arrays; +import java.util.List; + +public class OMSPStatus { + + public final static String ACTIVE = "active"; + public final static String UNKNOWN = "unknown"; + public final static String REVOKED = "revoked"; + + public final static List<String> ALLOWED_CODES = Arrays.asList(ACTIVE, REVOKED, UNKNOWN); + +} diff --git a/src/main/java/at/gv/util/client/szr/SZRClient.java b/src/main/java/at/gv/util/client/szr/SZRClient.java new file mode 100644 index 0000000..cb98210 --- /dev/null +++ b/src/main/java/at/gv/util/client/szr/SZRClient.java @@ -0,0 +1,167 @@ +package at.gv.util.client.szr; + +import java.net.URL; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +import javax.annotation.Resource; +import javax.net.ssl.SSLContext; +import javax.xml.namespace.QName; +import javax.xml.ws.BindingProvider; +import javax.xml.ws.Holder; +import javax.xml.ws.WebServiceContext; +import javax.xml.ws.handler.Handler; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.LaxHostNameVerifier; +import at.gv.util.LoggingHandler; +import at.gv.util.MiscUtil; +import at.gv.util.config.EgovUtilConfiguration; +import at.gv.util.ex.EgovUtilException; +import at.gv.util.wsdl.szr.SZR; +import at.gv.util.wsdl.szr.SZRException; +import at.gv.util.wsdl.szr.SZRService; +import at.gv.util.xsd.szr.FremdBPKRequestType; +import at.gv.util.xsd.szr.FremdBPKType; +import at.gv.util.xsd.szr.IdentityLinkType; +import at.gv.util.xsd.szr.PersonInfoType; +import at.gv.util.xsd.szr.pvp.PvpTokenType; +import at.gv.util.xsd.szr.xmldsig.KeyValueType; + +import com.sun.xml.ws.developer.JAXWSProperties; + +public class SZRClient { + + @Resource + WebServiceContext wsContext; + + private EgovUtilConfiguration config = null; + Logger log = LoggerFactory.getLogger(SZRClient.class); + + private SZR szr = null; + + public SZRClient(EgovUtilConfiguration config) throws EgovUtilException { + MiscUtil.assertNotNull(config, "config"); + this.config = config; + initialize(); + } + + public IdentityLinkType getIdentityLink(PersonInfoType personInfo, List<KeyValueType> keyValue, Boolean insertERnP) throws SZRException { + MiscUtil.assertNotNull(personInfo, "personInfo"); + MiscUtil.assertNotNull(keyValue, "keyValue"); + return this.szr.getIdentityLink(personInfo, keyValue, insertERnP); + } + + public String getStammzahl(PersonInfoType personInfo) throws SZRException { + MiscUtil.assertNotNull(personInfo, "personInfo"); + return this.szr.getStammzahl(personInfo); + } + + public String getBPK(PersonInfoType personInfo, String target, String vkz) throws SZRException, EgovUtilException { + MiscUtil.assertNotNull(personInfo, "personInfo"); + MiscUtil.assertNotNull(target, "target"); + String targetPrefix = "urn:publicid:gv.at:cdid+"; + String targetString = null; + if (target.length() == 2) { + targetString = targetPrefix + target; + } else if (!target.startsWith(targetPrefix)) { + throw new EgovUtilException("Target must start with " + targetPrefix); + } else { + targetString = target; + } + Holder<String> returnBPK = new Holder<String>(); + + this.szr.getBPK(personInfo, targetString, vkz, null, false, returnBPK, null, null); + + return returnBPK.value; + } + + public String transformBPK(PersonInfoType personInfo, String inputBpk, String inputTarget, String target, String vkz) throws SZRException, EgovUtilException { + MiscUtil.assertNotNull(personInfo, "personInfo"); + MiscUtil.assertNotNull(target, "target"); + String targetPrefix = "urn:publicid:gv.at:cdid+"; + String targetString = null; + if (target.length() == 2) { + targetString = targetPrefix + target; + } else if (!target.startsWith(targetPrefix)) { + throw new EgovUtilException("Target must start with " + targetPrefix); + } else { + targetString = target; + } + Holder<String> returnBPK = new Holder<String>(); + FremdBPKRequestType rt = new FremdBPKRequestType(); + rt.setBereichsKennung(target); + rt.setVKZ(vkz); + List<FremdBPKRequestType> list = new ArrayList<FremdBPKRequestType>(); + list.add(rt); + List<FremdBPKType> response = this.szr.transformBPK(personInfo, inputBpk, inputTarget, "kt", list); + if (response == null) { + return null; + } + return response.get(0).getFremdBPK(); + } + + @SuppressWarnings({ "rawtypes", "unchecked" }) + private void initialize() throws EgovUtilException { + URL url = SZRClient.class.getResource("/wsdl/szr/SZR_v2.0.wsdl"); + SZRService szrService = null; + if (config.isSZRTestEnvironment()) { + log.trace("Initializing SZR test configuration."); + //szrService = new SZRService(url, new QName("urn:SZRServices", "SZRTestumgebung")); + szrService = new SZRService(url, new QName("urn:SZRServices", "SZRService")); + szr = szrService.getSZRTestumgebung(); + } else { + log.trace("Initializing SZR productive configuration."); + szrService = new SZRService(url, new QName("urn:SZRServices", "SZRService")); + szr = szrService.getSZRProduktionsumgebung(); + } + String szrURL = null; + if (config.isSZRTestEnvironment()) { + szrURL = config.getSZRTestEnvironmentURL(); + } else { + szrURL = config.getSZRProductionEnvironmentURL(); + } + + log.trace("SZR connection URL: " + szrURL); + BindingProvider bindingProvider = (BindingProvider) szr; + Map<String, Object> requestContext = bindingProvider.getRequestContext(); + requestContext.put( + BindingProvider.ENDPOINT_ADDRESS_PROPERTY, szrURL); + + + + log.trace("Adding JAX-WS request/response trace handler."); + List<Handler> handlerList = bindingProvider.getBinding().getHandlerChain(); + if (handlerList == null) { + handlerList = new ArrayList(); + } + LoggingHandler loggingHandler = new LoggingHandler(); + handlerList.add(loggingHandler); + log.trace("Adding WS-Security Header handler."); + PvpTokenType pvpToken = config.getPVPToken(); + SZRSOAPHandler szrSOAPHandler = new SZRSOAPHandler(); + szrSOAPHandler.configure(pvpToken); + handlerList.add(szrSOAPHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + + // check for ssl + if (szrURL.toLowerCase().startsWith("https")) { + log.trace("Using ssl for SZR client request."); + SSLContext sslContext = this.config.getSZRsslConfiguration().getSSLContext(false); + if (sslContext == null) { + throw new EgovUtilException("SSL context from configuration is empty. Please configure an SSL context in the configuration first."); + } + requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getSZRsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, new LaxHostNameVerifier()); + } + } + } + +} diff --git a/src/main/java/at/gv/util/client/szr/SZRClientException.java b/src/main/java/at/gv/util/client/szr/SZRClientException.java new file mode 100644 index 0000000..3b864da --- /dev/null +++ b/src/main/java/at/gv/util/client/szr/SZRClientException.java @@ -0,0 +1,23 @@ +package at.gv.util.client.szr; + +public class SZRClientException extends Exception { + + private static final long serialVersionUID = 5173056345209288701L; + + public SZRClientException() { + super(); + } + + public SZRClientException(String message, Throwable cause) { + super(message, cause); + } + + public SZRClientException(String message) { + super(message); + } + + public SZRClientException(Throwable cause) { + super(cause); + } + +} diff --git a/src/main/java/at/gv/util/client/szr/SZRSOAPHandler.java b/src/main/java/at/gv/util/client/szr/SZRSOAPHandler.java new file mode 100644 index 0000000..05e5004 --- /dev/null +++ b/src/main/java/at/gv/util/client/szr/SZRSOAPHandler.java @@ -0,0 +1,117 @@ +package at.gv.util.client.szr; + +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.util.Set; + +import javax.xml.bind.JAXBContext; +import javax.xml.bind.JAXBException; +import javax.xml.namespace.QName; +import javax.xml.parsers.ParserConfigurationException; +import javax.xml.soap.SOAPElement; +import javax.xml.soap.SOAPEnvelope; +import javax.xml.soap.SOAPException; +import javax.xml.soap.SOAPFactory; +import javax.xml.soap.SOAPHeader; +import javax.xml.soap.SOAPMessage; +import javax.xml.ws.handler.MessageContext; +import javax.xml.ws.handler.soap.SOAPHandler; +import javax.xml.ws.handler.soap.SOAPMessageContext; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.w3c.dom.Element; +import org.xml.sax.SAXException; + +import at.gv.util.DOMUtils; +import at.gv.util.MiscUtil; +import at.gv.util.xsd.szr.pvp.ObjectFactory; +import at.gv.util.xsd.szr.pvp.PvpTokenType; + +public class SZRSOAPHandler implements SOAPHandler<SOAPMessageContext> { + + private static final String AUTH_NS = "http://schemas.xmlsoap.org/ws/2002/04/secext"; + private static final String AUTH_PREFIX="wss"; + + private PvpTokenType pvpTokenType = null; + + private Logger log = LoggerFactory.getLogger(SZRSOAPHandler.class); + + + public void close(MessageContext arg0) { + } + + + public boolean handleFault(SOAPMessageContext arg0) { + return true; + } + + public void configure(PvpTokenType pvpToken) { + MiscUtil.assertNotNull(pvpToken, "pvpToken"); + this.pvpTokenType = pvpToken; + } + + + public boolean handleMessage(SOAPMessageContext smc) { + log.trace("Initializing SZR SOAP message handler."); + + boolean isOutMessage = ((Boolean) smc.get(SOAPMessageContext.MESSAGE_OUTBOUND_PROPERTY)).booleanValue(); + log.trace("Outbound message: " + isOutMessage); + if (pvpTokenType == null) { + throw new NullPointerException("Please configure first the PVP token."); + } + + if (!isOutMessage) { + return true; + } + try { + SOAPMessage message = smc.getMessage(); + SOAPEnvelope envelope = message.getSOAPPart().getEnvelope(); + SOAPFactory soapFactory = SOAPFactory.newInstance(); + + // Creating WS-Security header element + SOAPElement wsSecHeaderElm = soapFactory.createElement( + "Security", + AUTH_PREFIX, + AUTH_NS); + + // serialize pvp token + JAXBContext ctx = JAXBContext.newInstance(PvpTokenType.class); + ObjectFactory of = new ObjectFactory(); + ByteArrayOutputStream bos = new ByteArrayOutputStream(); + ctx.createMarshaller().marshal(of.createPvpToken(pvpTokenType), bos); + Element pvpTokenElement = DOMUtils.parseXmlNonValidating(new ByteArrayInputStream(bos.toByteArray())); + SOAPElement pvpToken = soapFactory.createElement(pvpTokenElement); + + // adding elements + wsSecHeaderElm.addChildElement(pvpToken); + SOAPHeader header = envelope.addHeader(); + header.addChildElement(wsSecHeaderElm); + + return true; + } catch(SOAPException e) { + log.warn("Cannot add WS-Security header.", e); + return false; + } catch (JAXBException e) { + log.warn("Cannot add WS-Security header.", e); + return false; + } catch (ParserConfigurationException e) { + log.warn("Cannot add WS-Security header.", e); + return false; + } catch (SAXException e) { + log.warn("Cannot add WS-Security header.", e); + return false; + } catch (IOException e) { + log.warn("Cannot add WS-Security header.", e); + return false; + } + + + } + + public Set<QName> getHeaders() { + return null; + } + +} diff --git a/src/main/java/at/gv/util/client/ur/URClient.java b/src/main/java/at/gv/util/client/ur/URClient.java new file mode 100644 index 0000000..4988a0f --- /dev/null +++ b/src/main/java/at/gv/util/client/ur/URClient.java @@ -0,0 +1,307 @@ +package at.gv.util.client.ur; + +import java.math.BigInteger; +import java.net.URL; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +import javax.annotation.Resource; +import javax.net.ssl.SSLContext; +import javax.xml.bind.JAXBElement; +import javax.xml.namespace.QName; +import javax.xml.ws.BindingProvider; +import javax.xml.ws.WebServiceContext; +import javax.xml.ws.handler.Handler; + +import org.apache.commons.lang.RandomStringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.w3c.dom.Element; +import org.w3c.dom.NodeList; + +import at.gv.util.xsd.ur.xmlsw.ResultCriteriaType; +import at.gv.util.xsd.ur.xmlsw.ResultRecord; +import at.gv.util.xsd.ur.xmlsw.SearchByExampleType; +import at.gv.util.xsd.ur.xmlsw.SearchCriteriaType; +import at.gv.util.xsd.ur.xmlsw.SearchResponseType; +import at.gv.util.DOMUtils; +import at.gv.util.LaxHostNameVerifier; +import at.gv.util.LoggingHandler; +import at.gv.util.MiscUtil; +import at.gv.util.client.szr.SZRSOAPHandler; +import at.gv.util.config.EgovUtilConfiguration; +import at.gv.util.ex.EgovUtilException; +import at.gv.util.wsdl.ur.URSuche; +import at.gv.util.wsdl.ur.URSucheService; +import at.gv.util.xsd.szr.pvp.PvpTokenType; +import at.gv.util.xsd.ur.pd.IdentificationType; +import at.gv.util.xsd.ur.pd.NichtNatuerlichePersonTyp; +import at.gv.util.xsd.ur.pd.PersonenDatenTyp; +import at.gv.util.xsd.ur.search.Funktion; +import at.gv.util.xsd.ur.search.ObjectFactory; +import at.gv.util.xsd.ur.search.SucheUnternehmenNachBpkRequest; +import at.gv.util.xsd.ur.search.SucheUnternehmenNachIdsRequest; +import at.gv.util.xsd.ur.search.SucheUnternehmenRequest; +import at.gv.util.xsd.ur.search.SucheUnternehmensdaten; + +import com.sun.xml.ws.developer.JAXWSProperties; + +public class URClient { + + @Resource + WebServiceContext wsContext; + + private EgovUtilConfiguration config = null; + private Logger log = LoggerFactory.getLogger(URClient.class); + private boolean logEnabled = true; + private boolean evbCheck = true; + + private URSuche urSuche = null; + + private final static String version = "V2.0"; + private List<String> allowedKeys = null; + + private final static String EVB = "einzelvertretungsbefugt"; + + public URClient(EgovUtilConfiguration config, List<String> allowedKeys, boolean evbCheck, boolean logEnabled) throws EgovUtilException { + MiscUtil.assertNotNull(config, "config"); + this.config = config; + this.allowedKeys = allowedKeys; + this.logEnabled = logEnabled; + this.evbCheck = evbCheck; + initialize(); + } + + public List<NichtNatuerlichePersonTyp> searchByBpk(String vzbpk) throws URClientException { + SucheUnternehmenNachBpkRequest request = new SucheUnternehmenNachBpkRequest(); + ObjectFactory of = new ObjectFactory(); + request.setVersion(version); + request.setBpkWTUREncoded(vzbpk); + List<ResultRecord> results = searchByExample(of.createSucheUnternehmenNachBpkRequest(request), -1); + return getNichtNatuerlichePersonen(results); + } + + public List<NichtNatuerlichePersonTyp> searchByRegisterNumber(String number, String type, int maxResults) throws URClientException { + SucheUnternehmenRequest request = new SucheUnternehmenRequest(); + ObjectFactory of = new ObjectFactory(); + request.setVersion(version); + SucheUnternehmensdaten sud = new SucheUnternehmensdaten(); + sud.setId(number); + sud.setIdArt(type); + request.setUnternehmensdaten(sud); + List<ResultRecord> results = searchByExample(of.createSucheUnternehmenRequest(request), maxResults); + return getNichtNatuerlichePersonen(results); + } + + public List<NichtNatuerlichePersonTyp> searchByName(String name, String plz, int maxResults) throws URClientException { + SucheUnternehmenRequest request = new SucheUnternehmenRequest(); + ObjectFactory of = new ObjectFactory(); + request.setVersion(version); + SucheUnternehmensdaten sud = new SucheUnternehmensdaten(); + sud.setUntName(name); + if (MiscUtil.isNotEmpty(plz)) { + sud.setPlz(plz); + } + request.setUnternehmensdaten(sud); + List<ResultRecord> results = searchByExample(of.createSucheUnternehmenRequest(request), maxResults); + return getNichtNatuerlichePersonen(results); + } + + @SuppressWarnings("unchecked") + private List<NichtNatuerlichePersonTyp> getNichtNatuerlichePersonen(List<ResultRecord> records) throws URClientException { + + if (records == null || records.size() == 0) { + return new ArrayList<NichtNatuerlichePersonTyp>(); + } + List<String> kurs = new ArrayList<String>(); + for (ResultRecord rr : records) { + PersonenDatenTyp pdt = ((JAXBElement<PersonenDatenTyp>) rr.getAny().get(0)).getValue(); + NichtNatuerlichePersonTyp nnpt = ((JAXBElement<NichtNatuerlichePersonTyp>) pdt.getPerson()).getValue(); + for (IdentificationType idt : nnpt.getIdentification()) { + if ("KUR".equals(idt.getType())) { + + // check evb + if (this.evbCheck) { + if (isEVB(pdt)) { + kurs.add(idt.getValue().getValue()); + log.debug("EVB found for " + nnpt.getVollerName()); + } else { + log.debug("Not EVB for " + nnpt.getVollerName()); + } + } else { + kurs.add(idt.getValue().getValue()); + } + } + } + } + return getNichtNatuerlichePerson(kurs); + } + + // check if person is einzelvertretungsbefugt + public static boolean isEVB(PersonenDatenTyp pdt) { + boolean isEVB = false; + for (Object content : pdt.getZusatzdaten().getContent()) { + if (content instanceof JAXBElement) { + JAXBElement jxb = (JAXBElement) content; + if (jxb.getDeclaredType().equals(PersonenDatenTyp.class)) { + PersonenDatenTyp pd = (PersonenDatenTyp) jxb.getValue(); + if (pd.getZusatzdaten() != null) { + for (Object c2 : pd.getZusatzdaten().getContent()) { + + if (c2 instanceof Element) { + Element fktElement = (Element) c2; + if ("Funktion".equals(fktElement.getLocalName())) { + NodeList nl = fktElement.getElementsByTagNameNS("http://statistik.at/namespace/ur/stammdaten/1#", "Vertretungsbefugnis"); + if (nl.getLength() > 0) { + String vbt = DOMUtils.getText(nl.item(0)); + if (EVB.equals(vbt)) { + return true; + } + } + } + } else if (c2 instanceof JAXBElement) { + JAXBElement jxb2= (JAXBElement) c2; + if (jxb2.getDeclaredType().equals(Funktion.class)) { + Funktion fkt = (Funktion) jxb2.getValue(); + if (EVB.equals(fkt.getVertretungsbefugnis())) { + return true; + } + } + } + } + } + } + } + } + return false; + } + + // get list of legal persons + @SuppressWarnings("unchecked") + public List<NichtNatuerlichePersonTyp> getNichtNatuerlichePerson(List<String> ids) throws URClientException { + SucheUnternehmenNachIdsRequest request = new SucheUnternehmenNachIdsRequest(); + ObjectFactory of = new ObjectFactory(); + request.getKur().addAll(ids); + List<ResultRecord> results = searchByExample(of.createSucheUnternehmenNachIdsRequest(request), -1); + if (results.size() == 0) { + return new ArrayList<NichtNatuerlichePersonTyp>(); + } + List<NichtNatuerlichePersonTyp> result = new ArrayList<NichtNatuerlichePersonTyp>(); + for (ResultRecord rr : results) { + PersonenDatenTyp pdt = ((JAXBElement<PersonenDatenTyp>)rr.getAny().get(0)).getValue(); + + NichtNatuerlichePersonTyp nnpt = ((JAXBElement<NichtNatuerlichePersonTyp>) pdt.getPerson()).getValue(); + + // check if we have to filter out + if (this.allowedKeys == null || this.allowedKeys.size() == 0) { + result.add(nnpt); + } else { + boolean hasKey = false; + for (IdentificationType idt : nnpt.getIdentification()) { + if (this.allowedKeys.contains(idt.getType())) { + hasKey = true; + } + } + if (hasKey) { + result.add(nnpt); + } + } + + } + return result; + } + + // search by example + public List<ResultRecord> searchByExample(Object request, int maxResults) throws URClientException { + SearchByExampleType body = new SearchByExampleType(); + body.setSearchRequestId(createURSearchId()); + ResultCriteriaType rc = new ResultCriteriaType(); + // set only value of max results if > 0 + if (maxResults > 0) { + rc.setMaxRecords(BigInteger.valueOf(maxResults)); + } + body.setResultCriteria(rc); + SearchCriteriaType sct = new SearchCriteriaType(); + sct.getAny().add(request); + body.setSearchCriteria(sct); + SearchResponseType srt = this.urSuche.searchByExample(body); + + // check number of records found +// int numFound = 0; +// if (srt.getResultInfo() != null) { +// numFound = srt.getResultInfo().getReturnedRecords().intValue(); +// } + // check whether we have an error message + if (srt.getMessage() != null) { + if (srt.getMessage().getCode().intValue() != 2040) { // 2040 = no records found + throw new URClientException(srt.getMessage().getReason().get(0), srt.getMessage().getCode().intValue()); + } + } + if (srt.getResultRecords() == null || srt.getResultRecords().getResultRecord() == null) { + return new ArrayList<ResultRecord>(); + } + return srt.getResultRecords().getResultRecord(); + } + + @SuppressWarnings({ "rawtypes", "unchecked" }) + private void initialize() throws EgovUtilException { + URL url = URClient.class.getResource("/wsdl/ur/URSucheService.wsdl"); + URSucheService urService = null; + String urURL = null; + urService = new URSucheService(url, new QName("urn:at:statistik:udb:ws", "URSucheService")); + urSuche = urService.getURSucheService(); + if (config.isURTestEnvironment()) { + log.trace("Initializing UR test configuration."); + urURL = config.getURTestEnvironmentURL(); + } else { + log.trace("Initializing UR productive configuration."); + urURL = config.getURProductionEnvironmentURL(); + } + + log.trace("UR connection URL: " + urURL); + BindingProvider bindingProvider = (BindingProvider) urSuche; + Map<String, Object> requestContext = bindingProvider.getRequestContext(); + requestContext.put( + BindingProvider.ENDPOINT_ADDRESS_PROPERTY, urURL); + + log.trace("Adding JAX-WS request/response trace handler."); + List<Handler> handlerList = bindingProvider.getBinding().getHandlerChain(); + if (handlerList == null) { + handlerList = new ArrayList(); + } + LoggingHandler loggingHandler = new LoggingHandler(); + if (this.logEnabled) { + handlerList.add(loggingHandler); + } + log.trace("Adding WS-Security Header handler."); + PvpTokenType pvpToken = config.getURPVPToken(); + SZRSOAPHandler szrSOAPHandler = new SZRSOAPHandler(); + szrSOAPHandler.configure(pvpToken); + handlerList.add(szrSOAPHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + + // check for ssl + if (urURL.toLowerCase().startsWith("https")) { + log.trace("Using ssl for SZR client request."); + SSLContext sslContext = this.config.getURsslConfiguration().getSSLContext(false); + if (sslContext == null) { + throw new EgovUtilException("SSL context from configuration is empty. Please configure an SSL context in the configuration first."); + } + requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getURsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, new LaxHostNameVerifier()); + } + } + } + + private String createURSearchId() { + return RandomStringUtils.randomAlphanumeric(8) + "-" + + RandomStringUtils.randomAlphanumeric(4) + "-" + RandomStringUtils.randomAlphanumeric(4) + "-" + + RandomStringUtils.randomAlphanumeric(12); + } + +} diff --git a/src/main/java/at/gv/util/client/ur/URClientException.java b/src/main/java/at/gv/util/client/ur/URClientException.java new file mode 100644 index 0000000..80b4cd6 --- /dev/null +++ b/src/main/java/at/gv/util/client/ur/URClientException.java @@ -0,0 +1,33 @@ +package at.gv.util.client.ur; + +public class URClientException extends Exception { + + private static final long serialVersionUID = 5173056345209288701L; + + private int code = -1; + + public URClientException(int code) { + super(); + this.code = code; + } + + public URClientException(String message, int code, Throwable cause) { + super(message, cause); + this.code = code; + } + + public URClientException(String message, int code) { + super(message); + this.code = code; + } + + public URClientException(int code, Throwable cause) { + super(cause); + this.code = code; + } + + public int getCode() { + return this.code; + } + +} diff --git a/src/main/java/at/gv/util/client/ur_V2/URClient.java b/src/main/java/at/gv/util/client/ur_V2/URClient.java new file mode 100644 index 0000000..e7766e0 --- /dev/null +++ b/src/main/java/at/gv/util/client/ur_V2/URClient.java @@ -0,0 +1,442 @@ +package at.gv.util.client.ur_V2; + +import java.math.BigInteger; +import java.net.URL; +import java.util.ArrayList; +import java.util.GregorianCalendar; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import javax.annotation.Resource; +import javax.net.ssl.SSLContext; +import javax.xml.datatype.DatatypeConfigurationException; +import javax.xml.datatype.DatatypeConstants; +import javax.xml.datatype.DatatypeFactory; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; +import javax.xml.ws.BindingProvider; +import javax.xml.ws.WebServiceContext; +import javax.xml.ws.handler.Handler; + +import org.apache.commons.lang.RandomStringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.xsd.ur_V2.xmlsw.ExtraResultCriteria; +import at.gv.util.xsd.ur_V2.xmlsw.ResultCriteriaType; +import at.gv.util.xsd.ur_V2.xmlsw.ResultRecord; +import at.gv.util.xsd.ur_V2.xmlsw.SearchByExampleType; +import at.gv.util.xsd.ur_V2.xmlsw.SearchCriteriaType; +import at.gv.util.xsd.ur_V2.xmlsw.SearchResponseType; +import at.gv.util.LaxHostNameVerifier; +import at.gv.util.LoggingHandler; +import at.gv.util.MiscUtil; +import at.gv.util.client.szr.SZRSOAPHandler; +import at.gv.util.config.EgovUtilConfiguration; +import at.gv.util.ex.EgovUtilException; +import at.gv.util.wsdl.ur_V2.URSuche; +import at.gv.util.wsdl.ur_V2.URSucheService; +import at.gv.util.xsd.szr.pvp.PvpTokenType; +import at.gv.util.xsd.ur_V2.pd.IdentificationType; +import at.gv.util.xsd.ur_V2.pd.NichtNatuerlichePersonTyp; +import at.gv.util.xsd.ur_V2.pd.PersonenDatenTyp; +import at.gv.util.xsd.ur_V2.pd.PersonenDatenTyp.Zusatzdaten; +import at.gv.util.xsd.ur_V2.pd.PersonenDatenZusatzdatenTyp; +import at.gv.util.xsd.ur_V2.pd.ZusatzdatenPersonenTyp; +import at.gv.util.xsd.ur_V2.search.BestandszeitraumVollzug; +import at.gv.util.xsd.ur_V2.search.FunktionVollzug; +import at.gv.util.xsd.ur_V2.search.SucheUnternehmenNachBpkRequest; +import at.gv.util.xsd.ur_V2.search.SucheUnternehmenRequest; +import at.gv.util.xsd.ur_V2.search.SucheUnternehmensdaten; +import at.gv.util.xsd.ur_V2.simpletypes.EvbStatusTyp; + +import com.sun.xml.ws.developer.JAXWSProperties; + +public class URClient { + + @Resource + WebServiceContext wsContext; + + private EgovUtilConfiguration config = null; + private Logger log = LoggerFactory.getLogger(URClient.class); + private boolean logEnabled = true; + private boolean evbCheck = true; + private URSuche urSuche = null; + + private final static String version = "V2.0"; + private List<String> allowedKeys = null; + private HashSet<String> allowedERsBKeys = null; + + public URClient(EgovUtilConfiguration config, List<String> allowedKeys, HashSet<String> ersbkeys, boolean evbCheck, boolean logEnabled) throws EgovUtilException { + MiscUtil.assertNotNull(config, "config"); + this.config = config; + this.allowedKeys = allowedKeys; + this.logEnabled = logEnabled; + this.evbCheck = evbCheck; + this.allowedERsBKeys = ersbkeys; + + initialize(); + } + + public List<URSearchResult> searchByBpk(String vzbpk) throws URClientException { + SucheUnternehmenNachBpkRequest request = new SucheUnternehmenNachBpkRequest(); + request.setVersion(version); + request.setBpkWTUREncoded(vzbpk); + + request.setNurAktive(true); + + SearchCriteriaType sct = new SearchCriteriaType(); + sct.setSucheUnternehmenNachBpkRequest(request); + + List<ResultRecord> results = searchByExample(sct, -1); + return getURSearchResult(results); + } + + public List<NichtNatuerlichePersonTyp> searchByRegisterNumber(String number, String type, int maxResults) throws URClientException { + SucheUnternehmenRequest request = new SucheUnternehmenRequest(); + request.setVersion(version); + SucheUnternehmensdaten sud = new SucheUnternehmensdaten(); + sud.setId(number); + sud.setIdArt(type); + request.setUnternehmensdaten(sud); + + SearchCriteriaType sct = new SearchCriteriaType(); + sct.setSucheUnternehmenRequest(request); + + List<ResultRecord> results = searchByExample(sct, maxResults); + return getNichtNatuerlichePersonen(results); + } + + public List<NichtNatuerlichePersonTyp> searchByName(String name, String plz, int maxResults) throws URClientException { + SucheUnternehmenRequest request = new SucheUnternehmenRequest(); + request.setVersion(version); + SucheUnternehmensdaten sud = new SucheUnternehmensdaten(); + sud.setUntName(name); + if (MiscUtil.isNotEmpty(plz)) { + sud.setPlz(plz); + } + request.setUnternehmensdaten(sud); + + SearchCriteriaType sct = new SearchCriteriaType(); + sct.setSucheUnternehmenRequest(request); + + List<ResultRecord> results = searchByExample(sct, maxResults); + return getNichtNatuerlichePersonen(results); + } + + private List<URSearchResult> getURSearchResult(List<ResultRecord> records) throws URClientException { + + if (records == null || records.size() == 0) { + return new ArrayList<URSearchResult>(); + } + + List<URSearchResult> result = new ArrayList<URSearchResult>(); + + log.debug("UR SOAP response with " + records.size() + "records"); + + for (ResultRecord rr : records) { + PersonenDatenTyp pdt = rr.getPersonenDaten(); + NichtNatuerlichePersonTyp nnpt = pdt.getNichtNatuerlichePerson(); + Zusatzdaten zsd = pdt.getZusatzdaten(); + + //check validity era + boolean check_valera = isInValidityEra(zsd); + + //check allowed keys + boolean check_allowedkeys = hasAllowedKeys(nnpt.getIdentification()); + + //ERsB function codes + List<String> ersbcode = hasAllowedEVBCode(zsd); + + //check EVB + boolean check_EVB = isEVB(zsd); + + if (check_valera && check_allowedkeys && (check_EVB || !ersbcode.isEmpty())) { + result.add(new URSearchResult(nnpt, ersbcode, check_EVB)); + } + else { + log.debug("No validity for " + nnpt.getRest().get(0).getValue() + + "(Validity era=" + String.valueOf(check_valera) + + " Allowed Keys="+ String.valueOf(check_allowedkeys) + + " EVB check=" + String.valueOf(check_EVB) +")"); + } + } + + return result; + } + + private List<NichtNatuerlichePersonTyp> getNichtNatuerlichePersonen(List<ResultRecord> records) throws URClientException { + + if (records == null || records.size() == 0) { + return new ArrayList<NichtNatuerlichePersonTyp>(); + } + + List<NichtNatuerlichePersonTyp> result = new ArrayList<NichtNatuerlichePersonTyp>(); + + log.debug("UR SOAP response with " + records.size() + "records"); + + for (ResultRecord rr : records) { + PersonenDatenTyp pdt = rr.getPersonenDaten(); + NichtNatuerlichePersonTyp nnpt = pdt.getNichtNatuerlichePerson(); + Zusatzdaten zsd = pdt.getZusatzdaten(); + + //check validity era + boolean check_valera = isInValidityEra(zsd); + + //check allowed keys + boolean check_allowedkeys = hasAllowedKeys(nnpt.getIdentification()); + + //check EVB + boolean check_EVB = isEVB(zsd); + + if (check_valera && check_allowedkeys && check_EVB) { + result.add(nnpt); + } + else { + log.debug("No validity for " + nnpt.getRest().get(0).getValue() + + "(Validity era=" + String.valueOf(check_valera) + + " Allowed Keys="+ String.valueOf(check_allowedkeys) + + " EVB check=" + String.valueOf(check_EVB) +")"); + } + } + + return result; + } + + private List<String> hasAllowedEVBCode(Zusatzdaten zsd) { + + Set<String> set = new HashSet<String>(); + + if ((this.allowedERsBKeys == null || this.allowedERsBKeys.size() == 0)) { + return new ArrayList<String>(); + + } else { + + if(zsd != null) { + List<PersonenDatenZusatzdatenTyp> pd = zsd.getPersonenDaten(); + for (PersonenDatenZusatzdatenTyp pdzd : pd) { + + ZusatzdatenPersonenTyp zusatzdaten = pdzd.getZusatzdaten(); + if (zusatzdaten != null) { + + List<FunktionVollzug> function = zusatzdaten.getFunktion(); + for (FunktionVollzug funct : function) { + + if (this.allowedERsBKeys.contains(String.valueOf(funct.getFktName()))) + + set.add(String.valueOf(funct.getFktName())); + } + } + } + } + + return new ArrayList<String>(set); + } + } + + //check if corporation is in validity era + //TODO: check correctness of TRUE if no validity era is defined!!! + private boolean isInValidityEra(Zusatzdaten zsd) throws URClientException { + if(zsd != null) { + List<BestandszeitraumVollzug> validityera = zsd.getBestandszeitraum(); + for ( BestandszeitraumVollzug valera_el : validityera) { + try { + GregorianCalendar now = new GregorianCalendar(); + XMLGregorianCalendar xmldate = DatatypeFactory.newInstance().newXMLGregorianCalendar(now); + + if ( !(valera_el.getBestandVon().compare(xmldate) == DatatypeConstants.LESSER + && valera_el.getBestandBis().compare(xmldate) == DatatypeConstants.GREATER) ) { + + log.debug("Corporation is not within the validity period"); + return false; + } + + } catch (DatatypeConfigurationException e) { + log.warn("Internal error during date conversion", e); + } + } + } + return true; + } + + // check if person is einzelvertretungsbefugt + private boolean isEVB(Zusatzdaten zsd) { + if (!this.evbCheck) { + return true; + } + else { + if(zsd != null) { + List<PersonenDatenZusatzdatenTyp> pd = zsd.getPersonenDaten(); + for (PersonenDatenZusatzdatenTyp pdzd : pd) { + + if (pdzd.getZusatzdaten() != null) { + EvbStatusTyp evbstatus = pdzd.getZusatzdaten().getEvbStatus(); + if (evbstatus!=null && evbstatus.equals(EvbStatusTyp.J)) { + return true; + } + } + } + } + } + return false; + } + + //check allowedKeys + private boolean hasAllowedKeys(List<IdentificationType> list) throws URClientException { + + if ((this.allowedKeys == null || this.allowedKeys.size() == 0)) { + return true; + + } else { + for (IdentificationType idt : list) { + if (this.allowedKeys.contains(idt.getType())) { + return true; + } + } + } + return false; + } + + + + // search by example + public List<ResultRecord> searchByExample(SearchCriteriaType sct, int maxResults) throws URClientException { + + + SearchByExampleType body = new SearchByExampleType(); + + body.setSearchRequestId(createURSearchId()); + ResultCriteriaType rc = new ResultCriteriaType(); + + log.debug("UR SOAP request with Id " + body.getSearchRequestId()); + + // set only value of max results if > 0 + if (maxResults > 0) { + rc.setMaxRecords(BigInteger.valueOf(maxResults)); + } + + // set ExtraResultCriterias + ExtraResultCriteria ec = new ExtraResultCriteria(); + ec.setErsbAttribute(true); + rc.setExtraResultCriteria(ec); + body.setResultCriteria(rc); + + body.setSearchCriteria(sct); + + SearchResponseType srt = this.urSuche.searchByExample(body); + + // check number of records found +// int numFound = 0; +// if (srt.getResultInfo() != null) { +// numFound = srt.getResultInfo().getReturnedRecords().intValue(); +// } + // check whether we have an error message + if (srt.getMessage() != null) { + if (srt.getMessage().getCode().intValue() != 2040) { // 2040 = no records found + throw new URClientException(srt.getMessage().getReason().get(0), srt.getMessage().getCode().intValue()); + } + } + + if (srt.getResultRecords() == null || srt.getResultRecords().getResultRecord() == null) { + return new ArrayList<ResultRecord>(); + } + return srt.getResultRecords().getResultRecord(); + } + + @SuppressWarnings({ "rawtypes", "unchecked" }) + private void initialize() throws EgovUtilException { + URL url = URClient.class.getResource("/wsdl/ur_V2/URSucheService.wsdl"); + URSucheService urService = null; + String urURL = null; + urService = new URSucheService(url, new QName("urn:at:statistik:ur:ws", "URSucheService")); + urSuche = urService.getURSucheService(); + + if (config.isURTestEnvironment()) { + log.trace("Initializing UR test configuration."); + urURL = config.getURTestEnvironmentURL(); + } else { + log.trace("Initializing UR productive configuration."); + urURL = config.getURProductionEnvironmentURL(); + } + + log.trace("UR connection URL: " + urURL); + BindingProvider bindingProvider = (BindingProvider) urSuche; + Map<String, Object> requestContext = bindingProvider.getRequestContext(); + requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, urURL); + + log.trace("Adding JAX-WS request/response trace handler."); + List<Handler> handlerList = bindingProvider.getBinding().getHandlerChain(); + if (handlerList == null) { + handlerList = new ArrayList(); + } + + LoggingHandler loggingHandler = new LoggingHandler(); + if (this.logEnabled) { + handlerList.add(loggingHandler); + } + + log.trace("Adding WS-Security Header handler."); + PvpTokenType pvpToken = config.getURPVPToken(); + SZRSOAPHandler szrSOAPHandler = new SZRSOAPHandler(); + szrSOAPHandler.configure(pvpToken); + handlerList.add(szrSOAPHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + + //check for ssl + if (urURL.toLowerCase().startsWith("https")) { + log.trace("Using ssl for SZR client request."); + SSLContext sslContext = this.config.getURsslConfiguration().getSSLContext(false); + if (sslContext == null) { + throw new EgovUtilException("SSL context from configuration is empty. Please configure an SSL context in the configuration first."); + } + requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getURsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, new LaxHostNameVerifier()); + } + } + } + + private String createURSearchId() { + return RandomStringUtils.randomAlphanumeric(8) + "-" + + RandomStringUtils.randomAlphanumeric(4) + "-" + RandomStringUtils.randomAlphanumeric(4) + "-" + + RandomStringUtils.randomAlphanumeric(12); + } + + public class URSearchResult { + private NichtNatuerlichePersonTyp result; + private List<String> ersbcode; + private boolean evb; + + public URSearchResult() { + this.result = null; + this.ersbcode = null; + this.evb = false; + } + + public URSearchResult(NichtNatuerlichePersonTyp result, List<String> ersb_code, boolean isevb) { + this.result = result; + this.ersbcode = ersb_code; + this.evb = isevb; + } + + public NichtNatuerlichePersonTyp getResult() { + return result; + } + + public List<String> getErsbcode() { + return ersbcode; + } + + public boolean isEVB() { + return evb; + } + } + + +} + diff --git a/src/main/java/at/gv/util/client/ur_V2/URClientException.java b/src/main/java/at/gv/util/client/ur_V2/URClientException.java new file mode 100644 index 0000000..a21f1a8 --- /dev/null +++ b/src/main/java/at/gv/util/client/ur_V2/URClientException.java @@ -0,0 +1,33 @@ +package at.gv.util.client.ur_V2; + +public class URClientException extends Exception { + + private static final long serialVersionUID = 5173056345209288701L; + + private int code = -1; + + public URClientException(int code) { + super(); + this.code = code; + } + + public URClientException(String message, int code, Throwable cause) { + super(message, cause); + this.code = code; + } + + public URClientException(String message, int code) { + super(message); + this.code = code; + } + + public URClientException(int code, Throwable cause) { + super(cause); + this.code = code; + } + + public int getCode() { + return this.code; + } + +} diff --git a/src/main/java/at/gv/util/client/zuserech/ZuseRechClient.java b/src/main/java/at/gv/util/client/zuserech/ZuseRechClient.java new file mode 100644 index 0000000..74ed951 --- /dev/null +++ b/src/main/java/at/gv/util/client/zuserech/ZuseRechClient.java @@ -0,0 +1,140 @@ +package at.gv.util.client.zuserech; + +import java.net.URL; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +import javax.annotation.Resource; +import javax.net.ssl.SSLContext; +import javax.xml.namespace.QName; +import javax.xml.ws.BindingProvider; +import javax.xml.ws.WebServiceContext; +import javax.xml.ws.handler.Handler; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.LaxHostNameVerifier; +import at.gv.util.LoggingHandler; +import at.gv.util.MiscUtil; +import at.gv.util.client.moaid.MOAIDClient; +import at.gv.util.config.EgovUtilConfiguration; +import at.gv.util.ex.EgovUtilException; +import at.gv.util.wsdl.szr.SZRException; +import at.gv.util.wsdl.zuserech.ClearingPortType; +import at.gv.util.wsdl.zuserech.ClearingService; +import at.gv.util.wsdl.zuserech.ValidateTokenPortType; +import at.gv.util.wsdl.zuserech.ValidateTokenService; +import at.gv.util.xsd.zuserech.ClearingRequestType; +import at.gv.util.xsd.zuserech.ClearingResponseType; +import at.gv.util.xsd.zuserech.ValidateTokenRequest; +import at.gv.util.xsd.zuserech.ValidateTokenResponse; + +import com.sun.xml.ws.developer.JAXWSProperties; + +public class ZuseRechClient { + + @Resource + WebServiceContext wsContext; + + private EgovUtilConfiguration config = null; + Logger log = LoggerFactory.getLogger(ZuseRechClient.class); + + public ZuseRechClient() {} + + public ZuseRechClient(EgovUtilConfiguration config) { + if (config == null) { + throw new NullPointerException("Parameter config must not be null."); + } + this.config = config; + + + } + + @SuppressWarnings({ "unchecked", "rawtypes" }) + public ClearingResponseType sendClearingRequest(ClearingRequestType csr, String csrServiceURL) throws SZRException, EgovUtilException { + MiscUtil.assertNotNull(csr, "csr"); + MiscUtil.assertNotNull(csrServiceURL, "csrServiceURL"); + + URL url = MOAIDClient.class.getResource("/wsdl/zkopf/zsuerech.wsdl"); + ClearingService service = new ClearingService(url, new QName("http://reference.e-government.gv.at/namespaces/zustellung/rech/wsdl", "ClearingService")); + ClearingPortType port = service.getClearingPort(); + + log.debug("Clearing service connection URL: " + csrServiceURL); + BindingProvider bindingProvider = (BindingProvider) port; + Map<String, Object> requestContext = bindingProvider.getRequestContext(); + requestContext.put( + BindingProvider.ENDPOINT_ADDRESS_PROPERTY, csrServiceURL); + + log.trace("Adding JAX-WS request/response trace handler."); + List<Handler> handlerList = bindingProvider.getBinding().getHandlerChain(); + if (handlerList == null) { + handlerList = new ArrayList(); + } + LoggingHandler loggingHandler = new LoggingHandler(); + handlerList.add(loggingHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + + // check for ssl + if (csrServiceURL.toLowerCase().startsWith("https")) { + log.trace("Using ssl for clearing service client request."); + SSLContext sslContext = config.getClearingsslConfiguration().getSSLContext(false); + if (sslContext == null) { + throw new EgovUtilException("SSL context from configuration is empty. Please configure an SSL context in the configuration first."); + } + requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getClearingsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, new LaxHostNameVerifier()); + } + } + return port.clearingOperation(csr); + } + + @SuppressWarnings({ "unchecked", "rawtypes" }) + public ValidateTokenResponse sendValidateTokenRequest(ValidateTokenRequest vtr, String vtrServiceURL) throws SZRException, EgovUtilException { + MiscUtil.assertNotNull(vtr, "vtr"); + MiscUtil.assertNotNull(vtrServiceURL, "csrServiceURL"); + + URL url = MOAIDClient.class.getResource("/wsdl/zkopf/zsuerech.wsdl"); + ValidateTokenService service = new ValidateTokenService(url, new QName("http://reference.e-government.gv.at/namespaces/zustellung/rech/wsdl", "ValidateTokenService")); + ValidateTokenPortType port = service.getValidateTokenPort(); + + log.debug("Validate token service connection URL: " + vtrServiceURL); + BindingProvider bindingProvider = (BindingProvider) port; + Map<String, Object> requestContext = bindingProvider.getRequestContext(); + requestContext.put( + BindingProvider.ENDPOINT_ADDRESS_PROPERTY, vtrServiceURL); + + log.trace("Adding JAX-WS request/response trace handler."); + List<Handler> handlerList = bindingProvider.getBinding().getHandlerChain(); + if (handlerList == null) { + handlerList = new ArrayList(); + } + LoggingHandler loggingHandler = new LoggingHandler(); + handlerList.add(loggingHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + + // check for ssl + if (vtrServiceURL.toLowerCase().startsWith("https")) { + log.trace("Using ssl for clearing service client request."); + SSLContext sslContext = config.getClearingsslConfiguration().getSSLContext(false); + if (sslContext == null) { + throw new EgovUtilException("SSL context from configuration is empty. Please configure an SSL context in the configuration first."); + } + requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getClearingsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, new LaxHostNameVerifier()); + } + } + return port.validateTokenOperation(vtr); + } + + +} diff --git a/src/main/java/at/gv/util/client/zuserech/ZuseRechClientException.java b/src/main/java/at/gv/util/client/zuserech/ZuseRechClientException.java new file mode 100644 index 0000000..5cdcf33 --- /dev/null +++ b/src/main/java/at/gv/util/client/zuserech/ZuseRechClientException.java @@ -0,0 +1,23 @@ +package at.gv.util.client.zuserech; + +public class ZuseRechClientException extends Exception { + + private static final long serialVersionUID = 5173056345209288701L; + + public ZuseRechClientException() { + super(); + } + + public ZuseRechClientException(String message, Throwable cause) { + super(message, cause); + } + + public ZuseRechClientException(String message) { + super(message); + } + + public ZuseRechClientException(Throwable cause) { + super(cause); + } + +} diff --git a/src/main/java/at/gv/util/config/EgovUtilConfiguration.java b/src/main/java/at/gv/util/config/EgovUtilConfiguration.java new file mode 100644 index 0000000..44768dd --- /dev/null +++ b/src/main/java/at/gv/util/config/EgovUtilConfiguration.java @@ -0,0 +1,73 @@ +/* + * Copyright 2011 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 at.gv.util.config; + +import at.gv.util.ssl.JaxWsSSLConfiguration; +import at.gv.util.xsd.szr.pvp.PvpTokenType; + +/** + * ZUSE-Util configuration interface. + * + * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a> + * + */ +public interface EgovUtilConfiguration { + + JaxWsSSLConfiguration getMOASPSSsslConfiguration(); + JaxWsSSLConfiguration getMOAIDsslConfiguration(); + JaxWsSSLConfiguration getMOAZSsslConfiguration(); + JaxWsSSLConfiguration getMISsslConfiguration(); + JaxWsSSLConfiguration getMMSsslConfiguration(); + + // SZR client config + JaxWsSSLConfiguration getSZRsslConfiguration(); + boolean isSZRTestEnvironment(); + PvpTokenType getPVPToken(); + String getSZRProductionEnvironmentURL(); + String getSZRTestEnvironmentURL(); + + // UR client config + JaxWsSSLConfiguration getURsslConfiguration(); + boolean isURTestEnvironment(); + String getURProductionEnvironmentURL(); + String getURTestEnvironmentURL(); + PvpTokenType getURPVPToken(); + + JaxWsSSLConfiguration getClearingsslConfiguration(); + + // usp client config + boolean isUSPTestEnvironment(); + String getUSPTestEnvironmentURL(); + String getUSPProductionEnvironmentURL(); + String getUSPApplicationId(); + JaxWsSSLConfiguration getUSPsslConfiguration(); + PvpTokenType getUSPPVPToken(); + int getHTTPRequestTimeout(); + + //MISSTORK Client config + boolean isMISSTORKEnvironment(); + String getMISSTORKProductionEnvironmentURL(); + String getMISSTORKTestEnvironmentURL(); + JaxWsSSLConfiguration getMISSTORKsslConfiguration(); + + //ERsB Client Config + boolean isERsBTestEnvironment(); + PvpTokenType getERsBPVPToken(); + String getERsBProductionEnvironmentURL(); + String getERsBTestEnvironmentURL(); + JaxWsSSLConfiguration getERsBsslConfiguration(); +} diff --git a/src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java b/src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java new file mode 100644 index 0000000..7de17aa --- /dev/null +++ b/src/main/java/at/gv/util/config/EgovUtilPropertiesConfiguration.java @@ -0,0 +1,381 @@ +/* + * Copyright 2011 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 at.gv.util.config; + +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Properties; +import java.util.Set; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.MiscUtil; +import at.gv.util.ssl.JaxWsSSLConfiguration; +import at.gv.util.ssl.JaxWsSSLConfigurationPropertiesImpl; +import at.gv.util.xsd.szr.pvp.Param; +import at.gv.util.xsd.szr.pvp.PvpTokenType; +import at.gv.util.xsd.szr.pvp.PvpTokenType.Authenticate; +import at.gv.util.xsd.szr.pvp.PvpTokenType.Authenticate.UserPrincipal; +import at.gv.util.xsd.szr.pvp.PvpTokenType.Authorize; +import at.gv.util.xsd.szr.pvp.Role; + +/** + * ZUSE-Util configuration implementation based on Java properties. + * + * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a> + * + */ +public class EgovUtilPropertiesConfiguration implements EgovUtilConfiguration { + + Logger log = LoggerFactory.getLogger(EgovUtilPropertiesConfiguration.class); + + private Properties props; + private String configDir = null; + private JaxWsSSLConfigurationPropertiesImpl moaSPSSsslConfiguration = null; + private JaxWsSSLConfigurationPropertiesImpl moaIDsslConfiguration = null; + private JaxWsSSLConfigurationPropertiesImpl moaZSsslConfiguration = null; + private JaxWsSSLConfigurationPropertiesImpl szrsslConfiguration = null; + private JaxWsSSLConfigurationPropertiesImpl ursslConfiguration = null; + private JaxWsSSLConfigurationPropertiesImpl missslConfiguration = null; + private JaxWsSSLConfigurationPropertiesImpl mmssslConfiguration = null; + private JaxWsSSLConfigurationPropertiesImpl uspsslConfiguration = null; + private JaxWsSSLConfigurationPropertiesImpl clearingsslConfiguration = null; + private JaxWsSSLConfigurationPropertiesImpl storkMISsslConfiguration = null; + private JaxWsSSLConfigurationPropertiesImpl ersbsslConfiguration = null; + + public EgovUtilPropertiesConfiguration(String propertiesFileName) throws IOException { + if (propertiesFileName == null) { + throw new NullPointerException("Parameter propertiesFile must not be null."); + } + File propertiesFile = new File(propertiesFileName); + FileInputStream fis = new FileInputStream(propertiesFile); + this.configDir = propertiesFile.getParentFile().getAbsolutePath(); + log.trace("EgovUtil Configuration directory: " + this.configDir); + this.props = new Properties(); + props.load(fis); + + initialize(); + } + + public EgovUtilPropertiesConfiguration(Properties props, String configDir) { + if (props == null) { + throw new NullPointerException("Parameter props must not be null."); + } + if (configDir == null) { + throw new NullPointerException("Argument 'configDir' must not be null."); + } + this.configDir = configDir; + this.props = props; + + initialize(); + } + + private void initialize() { + moaSPSSsslConfiguration = new JaxWsSSLConfigurationPropertiesImpl(this.props, this.configDir, "egovutil.moaspss"); + moaIDsslConfiguration = new JaxWsSSLConfigurationPropertiesImpl(this.props, this.configDir, "egovutil.moaid"); + moaZSsslConfiguration = new JaxWsSSLConfigurationPropertiesImpl(this.props, this.configDir, "egovutil.moazs"); + szrsslConfiguration = new JaxWsSSLConfigurationPropertiesImpl(this.props, this.configDir, "egovutil.szr"); + ursslConfiguration = new JaxWsSSLConfigurationPropertiesImpl(this.props, this.configDir, "egovutil.ur"); + missslConfiguration = new JaxWsSSLConfigurationPropertiesImpl(this.props, this.configDir, "egovutil.mis"); + mmssslConfiguration = new JaxWsSSLConfigurationPropertiesImpl(this.props, this.configDir, "egovutil.mms"); + clearingsslConfiguration = new JaxWsSSLConfigurationPropertiesImpl(this.props, this.configDir, "egovutil.zuserech"); + uspsslConfiguration = new JaxWsSSLConfigurationPropertiesImpl(this.props, this.configDir, "egovutil.usp"); + storkMISsslConfiguration = new JaxWsSSLConfigurationPropertiesImpl(this.props, this.configDir, "egovutil.misstork"); + ersbsslConfiguration = new JaxWsSSLConfigurationPropertiesImpl(this.props, this.configDir, "egovutil.ersb"); + } + + public JaxWsSSLConfiguration getMOASPSSsslConfiguration() { + return moaSPSSsslConfiguration; + } + + public JaxWsSSLConfiguration getMOAIDsslConfiguration() { + return moaIDsslConfiguration; + } + + + public JaxWsSSLConfiguration getSZRsslConfiguration() { + return szrsslConfiguration; + } + + + public JaxWsSSLConfiguration getURsslConfiguration() { + return ursslConfiguration; + } + + public JaxWsSSLConfiguration getMISSTORKsslConfiguration() { + return storkMISsslConfiguration; + } + + public boolean isMISSTORKEnvironment() { + try { + return Boolean.parseBoolean(this.props.getProperty("egovutil.misstork.test")); + + } catch(Exception e) { + return false; + } + } + + public String getMISSTORKProductionEnvironmentURL() { + return this.props.getProperty("egovutil.misstork.prod.url"); + } + + public String getMISSTORKTestEnvironmentURL() { + return this.props.getProperty("egovutil.misstork.test.url"); + } + + public boolean isSZRTestEnvironment() { + try { + return Boolean.parseBoolean(this.props.getProperty("egovutil.szr.test")); + } catch(Exception e) { + return false; + } + } + + + public boolean isURTestEnvironment() { + try { + return Boolean.parseBoolean(this.props.getProperty("egovutil.ur.test")); + } catch(Exception e) { + return false; + } + } + + + public PvpTokenType getPVPToken() { + return getPVPToken("szr"); + } + + + public PvpTokenType getURPVPToken() { + return getPVPToken("ur"); + } + + public PvpTokenType getPVPToken(String prefix) { + PvpTokenType token = new PvpTokenType(); + // set version + String version = props.getProperty("egovutil." + prefix + ".token.version"); + MiscUtil.assertNotNull(version, "PVP version in configuration"); + + // read other information + String participantId = props.getProperty("egovutil." + prefix + ".token.participantid"); + MiscUtil.assertNotNull(participantId, "Participant ID in configuration"); + + String gvOuDomain = props.getProperty("egovutil." + prefix + ".token.gvoudomain"); + MiscUtil.assertNotNull(gvOuDomain, "GvOuDomain in configuration"); + + String userId = props.getProperty("egovutil." + prefix + ".token.userid"); + MiscUtil.assertNotNull(userId, "User ID in configuration"); + + String cn = props.getProperty("egovutil." + prefix + ".token.cn"); + MiscUtil.assertNotNull(cn, "CN in configuration"); + + String gvOuId = props.getProperty("egovutil." + prefix + ".token.gvouid"); + MiscUtil.assertNotNull(gvOuId, "GvOuId in configuration"); + + String ou = props.getProperty("egovutil." + prefix + ".token.ou"); + MiscUtil.assertNotNull(ou, "GvOuId in configuration"); + + String secClassString = props.getProperty("egovutil." + prefix + ".token.gvsecclass"); + MiscUtil.assertNotNull(secClassString, "SecClass in configuration"); + BigInteger secClass = new BigInteger(secClassString); + + String gvGid = props.getProperty("egovutil." + prefix + ".token.gvgid"); + MiscUtil.assertNotNull(gvGid, "GvGid in configuration"); + + String gvFunction = props.getProperty("egovutil." + prefix + ".token.gvfunction"); + MiscUtil.assertNotNull(gvFunction, "GvFunction in configuration"); + + String roleString = props.getProperty("egovutil." + prefix + ".roles"); + MiscUtil.assertNotNull(roleString, "Roles in configuration"); + + String[] roles = roleString.split(","); + + token.setVersion(version); + + // create authentication information + Authenticate authenticate = new Authenticate(); + authenticate.setParticipantId(participantId); + authenticate.setGvOuDomain(gvOuDomain); + UserPrincipal up = new UserPrincipal(); + up.setCn(cn); + up.setGvFunction(gvFunction); + up.setGvGid(gvGid); + up.setGvOuId(gvOuId); + up.setGvSecClass(secClass); + up.setOu(ou); + up.setUserId(userId); + authenticate.setUserPrincipal(up); + token.setAuthenticate(authenticate); + + // set roles + Authorize authorize = new Authorize(); + + for (String cRole : roles) { + //split role parameters + String roleValue = null; + Map<String, String> roleparam = new HashMap<String, String>(); + if (cRole.contains("(")) { + roleValue = cRole.substring(0, cRole.indexOf("(")); + String[] roleParams = cRole.substring(cRole.indexOf("(") + 1, cRole.length()-1).split(","); + for(String param: roleParams) { + String[] values = param.split("="); + if ((values.length % 2) != 0) + throw new NullPointerException("RoleAttributes has no valid format"); + + roleparam.put(values[0], values[1]); + } + + } else { + roleValue = cRole; + } + + Role role = new Role(); + role.setValue(roleValue); + + if (!roleparam.isEmpty()) { + List<Param> params = role.getParam(); + if (params == null) + params = new ArrayList<Param>(); + + Set<String> entryset = roleparam.keySet(); + for (String entry : entryset) { + Param param = new Param(); + param.setKey(entry); + param.setValue(roleparam.get(entry)); + params.add(param); + } + } + + role.setDummy(null); + authorize.getRole().add(role); + } + token.setAuthorize(authorize); + return token; + } + + + public String getSZRProductionEnvironmentURL() { + return this.props.getProperty("egovutil.szr.prod.url"); + } + + + public String getSZRTestEnvironmentURL() { + return this.props.getProperty("egovutil.szr.test.url"); + } + + + public String getURProductionEnvironmentURL() { + return this.props.getProperty("egovutil.ur.prod.url"); + } + + + public String getURTestEnvironmentURL() { + return this.props.getProperty("egovutil.ur.test.url"); + } + + + public JaxWsSSLConfiguration getMISsslConfiguration() { + return missslConfiguration; + } + + + public JaxWsSSLConfiguration getMMSsslConfiguration() { + return mmssslConfiguration; + } + + + public JaxWsSSLConfiguration getMOAZSsslConfiguration() { + return moaZSsslConfiguration; + } + + + public JaxWsSSLConfiguration getClearingsslConfiguration() { + return clearingsslConfiguration; + } + + + public boolean isUSPTestEnvironment() { + try { + return Boolean.parseBoolean(this.props.getProperty("egovutil.usp.test")); + } catch(Exception e) { + return false; + } + } + + + public String getUSPTestEnvironmentURL() { + return this.props.getProperty("egovutil.usp.test.url"); + } + + + public String getUSPProductionEnvironmentURL() { + return this.props.getProperty("egovutil.usp.prod.url"); + } + + + public String getUSPApplicationId() { + return this.props.getProperty("egovutil.usp.appid"); + } + + + public JaxWsSSLConfiguration getUSPsslConfiguration() { + return uspsslConfiguration; + } + + public PvpTokenType getUSPPVPToken() { + return getPVPToken("usp"); + } + + public int getHTTPRequestTimeout() { + return Integer.parseInt(this.props.getProperty("egovutil.usp.http.timeout","60000")); + } + + public JaxWsSSLConfiguration getERsBsslConfiguration() { + return ersbsslConfiguration; + } + + + public boolean isERsBTestEnvironment() { + try { + return Boolean.parseBoolean(this.props.getProperty("egovutil.ersb.test")); + + } catch(Exception e) { + return false; + } + } + + public PvpTokenType getERsBPVPToken() { + return getPVPToken("ersb"); + } + + public String getERsBProductionEnvironmentURL() { + return this.props.getProperty("egovutil.ersb.prod.url"); + } + + public String getERsBTestEnvironmentURL() { + return this.props.getProperty("egovutil.ersb.test.url"); + } + +} diff --git a/src/main/java/at/gv/util/data/BPK.java b/src/main/java/at/gv/util/data/BPK.java new file mode 100644 index 0000000..0e5953e --- /dev/null +++ b/src/main/java/at/gv/util/data/BPK.java @@ -0,0 +1,63 @@ +/* + * Copyright 2011 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 at.gv.util.data; + +import org.apache.commons.lang.builder.ToStringBuilder; + +/** + * Class representing a sector specific PIN (BPK). + * + * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a> + * + */ +public class BPK { + + private String sector; + private String bpk; + + public BPK(String sector, String bpk) { + this.sector = sector; + this.bpk = bpk; + } + + public BPK() { + this.sector = null; + this.bpk = null; + } + + public String getSector() { + return sector; + } + + public void setSector(String sector) { + this.sector = sector; + } + + public String getBpk() { + return bpk; + } + + public void setBpk(String bpk) { + this.bpk = bpk; + } + + @Override + public String toString() { + return new ToStringBuilder(this).append("sector", this.sector).append("bpk", this.bpk).toString(); + } + +} diff --git a/src/main/java/at/gv/util/data/ElectronicIdentity.java b/src/main/java/at/gv/util/data/ElectronicIdentity.java new file mode 100644 index 0000000..4483e86 --- /dev/null +++ b/src/main/java/at/gv/util/data/ElectronicIdentity.java @@ -0,0 +1,659 @@ +/* + * Copyright 2011 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 at.gv.util.data; + +import java.io.FileOutputStream; +import java.io.Serializable; +import java.security.KeyFactory; +import java.security.NoSuchAlgorithmException; +import java.security.PublicKey; +import java.security.interfaces.RSAPublicKey; +import java.security.spec.InvalidKeySpecException; +import java.security.spec.X509EncodedKeySpec; +import java.text.ParseException; +import java.util.Date; +import java.util.List; +import java.util.Properties; +import java.util.Set; +import java.util.StringTokenizer; + +import javax.xml.bind.JAXBContext; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.JAXBException; + +import org.apache.commons.lang.StringUtils; +import org.apache.commons.lang.builder.ToStringBuilder; +import org.apache.commons.lang.time.DateFormatUtils; +import org.apache.commons.lang.time.DateUtils; +import org.apache.log4j.Logger; +import org.w3c.dom.Document; +import org.w3c.dom.Element; +import org.w3c.dom.Node; + +import at.gv.util.BpkUtil; +import at.gv.util.DOMUtils; +import at.gv.util.MiscUtil; +import at.gv.util.ToStringUtil; +import at.gv.util.ex.EgovUtilException; +import at.gv.util.ex.InternalErrorException; +import at.gv.util.xsd.mandate.Mandate; +import at.gv.util.xsd.persondata.IdentificationType; +import at.gv.util.xsd.persondata.PersonDataType; +import at.gv.util.xsd.persondata.PhysicalPersonType; +import at.gv.util.xsd.saml.assertion.AssertionType; +import at.gv.util.xsd.saml.assertion.AttributeStatementType; +import at.gv.util.xsd.saml.assertion.AttributeType; +import at.gv.util.xsd.saml.assertion.NameIdentifierType; +import at.gv.util.xsd.saml.assertion.ObjectFactory; +import at.gv.util.xsd.saml.assertion.StatementAbstractType; +import at.gv.util.xsd.saml.assertion.SubjectConfirmationType; +import at.gv.util.xsd.saml.assertion.SubjectType; + +/** + * @author <a href="mailto:arne.tauber@egiz.gv.at">Arne Tauber</a> + * @author <a href="mailto:thomas.knall@iaik.tugraz.at">Thomas Knall</a> + */ +public final class ElectronicIdentity implements Serializable, Empty, RoleContainer { + + private static final long serialVersionUID = 1L; + + private Logger log = Logger.getLogger(this.getClass().getName()); + + private static final String FIRSTNAME = "firstname"; + private static final String LASTNAME = "lastname"; + private static final String TITLE = "title"; + private static final String DATEOFBIRTH = "dateofbirth"; + private static final String EMAIL = "email"; + private static final String BASEID = "baseid"; + private static final String BPK = "bpk"; + private static final String WBPK = "wbpk"; + private static final String VZBPK = "vzbpk"; + private static final String ZBPK = "zbpk"; + private static final String BKU_URL = "bkuurl"; + private static final String ROLES = "roles"; + private static final String ROLE = "role"; + private static final String NAME_QUALIFIER = "namequalifier"; + private static final String NAME_IDENTIFIER = "nameidentifier"; + private static final String MANDATE_ENABLED = "mandateenabled"; + + private static final String BPK_NAME_QUALIFIER = "urn:publicid:gv.at:cdid+bpk"; + private static final String WBPK_NAME_QUALIFIER_PREFIX = "urn:publicid:gv.at:wbpk"; + private static final String BASE_NAME_QUALIFIER = "urn:publicid:gv.at:baseid"; + + private String firstName; + private String title; + private String lastName; + private Date dateOfBirth; + private String bpk; + private String wbpk; + private String baseId; + private String vzbpk; + private String zbpk; + private String email; + private String bkuURL; + private String nameQualifier; + private String nameIdentifier; + private Set<String> roles; + private Object userdefinedData; + private AssertionType samlAssertion; + private Mandate mandate; + + public String getTitle() { + return this.title; + } + + public Object getUserdefinedData() { + return this.userdefinedData; + } + + public void setUserdefinedData(Object userdefinedData) { + this.userdefinedData = userdefinedData; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getBkuURL() { + return this.bkuURL; + } + + public void setBkuURL(String bkuURL) { + this.bkuURL = bkuURL; + } + + public String getEmail() { + return this.email; + } + + public void setEmail(String email) { + this.email = email; + } + + public String getWbpk() { + return this.wbpk; + } + + public void setWbpk(String wbpk) { + this.wbpk = wbpk; + } + + public String getNameQualifier() { + return this.nameQualifier; + } + + public void setNameQualifier(String nameQualifier) { + this.nameQualifier = nameQualifier; + } + + public String getNameIdentifier() { + return this.nameIdentifier; + } + + public void setNameIdentifier(String nameIdentifier) { + this.nameIdentifier = nameIdentifier; + } + + public String getZbpk() { + return this.zbpk; + } + + public void setZbpk(String zbpk) { + this.zbpk = zbpk; + } + + public String getVzbpk() { + return this.vzbpk; + } + + public void setVzbpk(String vzbpk) { + this.vzbpk = vzbpk; + } + + public String getBaseId() { + return this.baseId; + } + + public void setBaseId(String baseId) { + this.baseId = baseId; + } + + public String getBpk() { + return this.bpk; + } + + public void setBpk(String bpk) { + this.bpk = bpk; + } + + public AssertionType getSamlAssertion() { + return this.samlAssertion; + } + + public Date getDateOfBirth() { + return this.dateOfBirth; + } + + public void setDateOfBirth(Date dateOfBirth) { + this.dateOfBirth = dateOfBirth; + } + + public String getFirstName() { + return this.firstName; + } + + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + public String getLastName() { + return this.lastName; + } + + public void setLastName(String lastName) { + this.lastName = lastName; + } + + public Set<String> getRoles() { + return this.roles; + } + + public void setRoles(Set<String> roles) { + MiscUtil.assertNotNull(roles, "Roles"); + this.roles = roles; + } + + public ElectronicIdentity addRole(String role) { + MiscUtil.assertNotEmpty(role, "Role"); + this.roles.add(role); + return this; + } + + public ElectronicIdentity() { + } + + public ElectronicIdentity(String firstName, String lastName, Date dateOfBirth) { + this(); + this.setFirstName(firstName); + this.setLastName(lastName); + this.setDateOfBirth(dateOfBirth); + } + + public ElectronicIdentity(String firstName, String lastName, String email) { + this(); + this.setFirstName(firstName); + this.setLastName(lastName); + this.setEmail(email); + } + + private void updateAll() { + if (this.getNameQualifier() != null + && this.getNameQualifier().startsWith(WBPK_NAME_QUALIFIER_PREFIX) + && MiscUtil.isEmpty(this.getNameIdentifier())) { + log.debug("NameQualifier starts with \"" + WBPK_NAME_QUALIFIER_PREFIX + + "\" and BaseId is present. Calculating NameIdentifier as wbpk."); + this.nameIdentifier = BpkUtil.calcWBPK(this.getBaseId(), + this.getNameQualifier()); + } + + if (this.getNameQualifier() != null + && this.getNameQualifier().startsWith(WBPK_NAME_QUALIFIER_PREFIX) + && MiscUtil.isEmpty(this.getWbpk()) + && MiscUtil.isNotEmpty(this.getNameIdentifier())) { + log.debug("NameQualifier starts with \"" + WBPK_NAME_QUALIFIER_PREFIX + + "\". We have a wbpk."); + this.wbpk = this.getNameIdentifier(); + } + + if (BPK_NAME_QUALIFIER.equals(this.getNameQualifier()) + && MiscUtil.isEmpty(this.getBpk()) + && MiscUtil.isNotEmpty(this.getNameIdentifier())) { + log.debug("NameQualifier equals to \"" + BPK_NAME_QUALIFIER + + "\". We have a bpk."); + this.bpk = this.getNameIdentifier(); + } + + if (MiscUtil.isNotEmpty(this.getBaseId())) { + log.debug("BaseId present -> calculating zbpk"); + this.zbpk = BpkUtil.calcZBPK(this.getBaseId()); + } + + } + + void setSamlAssertion(AssertionType samlAssertion) { + this.samlAssertion = samlAssertion; + } + + public ElectronicIdentity(Document doc) throws EgovUtilException { + this(doc, false); + } + + public ElectronicIdentity(Document doc, boolean isMOAIDAssertion) throws EgovUtilException { + this(); + try { + MiscUtil.assertNotNull(doc, "Document"); + + JAXBContext ctx = JAXBContext.newInstance(AssertionType.class + .getPackage().getName()); + JAXBElement<AssertionType> assertionElement = (JAXBElement<AssertionType>) ctx + .createUnmarshaller().unmarshal(doc.getDocumentElement()); + + if (isMOAIDAssertion) { + initializeCitizenCardWithMOAIDAssertion(assertionElement.getValue()); + } else { + initializeCitizenCard(assertionElement.getValue()); + } + + } catch (JAXBException e) { + throw new EgovUtilException(e); + } + } + + public ElectronicIdentity(AssertionType assertion) throws EgovUtilException { + this(assertion, false); + } + + public ElectronicIdentity(AssertionType assertion, boolean isMOAIDAssertion) throws EgovUtilException { + this(); + // debug moa-id response + log.trace("Debug response: " + System.getProperty("debug.moaid.log.path") != null); + if (System.getProperty("debug.moaid.log.path") != null) { + try { + ObjectFactory of = new ObjectFactory(); + JAXBContext ctx = JAXBContext.newInstance(AssertionType.class.getPackage().getName()); + + String file = System.getProperty("debug.moaid.log.path") + "/" + MiscUtil.formatDate(new Date(), "yyyyMMdd-HHmmss") +".xml"; + log.trace("Writing MOA-ID response to: " + file); + FileOutputStream fos = new FileOutputStream(file); + ctx.createMarshaller().marshal(of.createAssertion(assertion), fos); + fos.flush(); + fos.close(); + } catch(Exception e) { + log.debug(e); + } + } + if (isMOAIDAssertion) { + initializeCitizenCardWithMOAIDAssertion(assertion); + } else { + initializeCitizenCard(assertion); + } + } + + private void initializeCitizenCard(AssertionType assertion) + throws EgovUtilException { + MiscUtil.assertNotNull(assertion, "SAMLAssertion"); + + try { + for (StatementAbstractType sat : assertion + .getStatementOrSubjectStatementOrAuthenticationStatement()) { + if (sat instanceof AttributeStatementType) { + AttributeStatementType attrStmt = (AttributeStatementType) sat; + SubjectType subject = attrStmt.getSubject(); + for (JAXBElement<?> subChild : subject.getContent()) { + if (subChild.getValue() instanceof SubjectConfirmationType) { + SubjectConfirmationType sct = (SubjectConfirmationType) subChild + .getValue(); + Element scdNode = (Element) sct.getSubjectConfirmationData(); + Element personNode = (Element) DOMUtils + .getChildElements(scdNode).get(0); + JAXBContext ctx = JAXBContext.newInstance(PhysicalPersonType.class + .getPackage().getName()); + JAXBElement<PhysicalPersonType> pptElement = (JAXBElement<PhysicalPersonType>) ctx + .createUnmarshaller().unmarshal(personNode); + PhysicalPersonType ppt = pptElement.getValue(); + this.baseId = ppt.getIdentification().get(0).getValue().getValue(); + this.firstName = ppt.getName().getGivenName().get(0); + this.lastName = ppt.getName().getFamilyName().get(0).getValue(); + this.dateOfBirth = MiscUtil.parseXMLDate(ppt.getDateOfBirth()); + } + } + } + } + } catch(JAXBException e) { + throw new EgovUtilException(e); + } + } + + private void initializeCitizenCardWithMOAIDAssertion(AssertionType assertion) + throws EgovUtilException { + MiscUtil.assertNotNull(assertion, "SAMLAssertion"); + try { + AttributeStatementType attrStmt = (AttributeStatementType) assertion + .getStatementOrSubjectStatementOrAuthenticationStatement().get(0); + // parse subject + SubjectType subject = attrStmt.getSubject(); + for (JAXBElement<?> subChild : subject.getContent()) { + if (subChild.getValue() instanceof SubjectConfirmationType) { + SubjectConfirmationType sct = (SubjectConfirmationType) subChild + .getValue(); + Element scdNode = (Element) sct.getSubjectConfirmationData(); + if (scdNode.hasChildNodes()) { + Element assertionNode = (Element) DOMUtils.getChildElements(scdNode) + .get(0); + JAXBContext ctx = JAXBContext.newInstance(AssertionType.class.getPackage().getName()); + JAXBElement<AssertionType> assertionElement = (JAXBElement<AssertionType>) ctx + .createUnmarshaller().unmarshal(assertionNode); + AssertionType subjectAssertion = assertionElement.getValue(); + for (StatementAbstractType sat : subjectAssertion + .getStatementOrSubjectStatementOrAuthenticationStatement()) { + if (sat instanceof AttributeStatementType) { + AttributeStatementType ast = (AttributeStatementType) sat; + for (AttributeType attr : ast.getAttribute()) { + if ("bPK".equals(attr.getAttributeName())) { + Element attrValueNode = (Element) attr.getAttributeValue() + .get(0); + Element idNode = (Element) DOMUtils.getChildElements( + attrValueNode).get(0); + ctx = JAXBContext.newInstance(IdentificationType.class + .getPackage().getName()); + JAXBElement<IdentificationType> idElement = (JAXBElement<IdentificationType>) ctx + .createUnmarshaller().unmarshal(idNode); + IdentificationType idt = (IdentificationType) idElement + .getValue(); + //this.setBpk(idt.getValue().getValue()); + } + } + } + } + } + } else if (subChild.getValue() instanceof NameIdentifierType) { + NameIdentifierType nit = (NameIdentifierType) subChild.getValue(); + this.setNameQualifier(nit.getNameQualifier()); + this.setNameIdentifier(nit.getValue()); + } + } + + for (AttributeType attr : attrStmt.getAttribute()) { + if ("PersonData".equals(attr.getAttributeName())) { + Element attrValueNode = (Element) attr.getAttributeValue().get(0); + Element personNode = (Element) DOMUtils.getChildElements( + attrValueNode).get(0); + JAXBContext ctx = JAXBContext.newInstance(PhysicalPersonType.class + .getPackage().getName()); + JAXBElement<PhysicalPersonType> pptElement = (JAXBElement<PhysicalPersonType>) ctx + .createUnmarshaller().unmarshal(personNode); + PhysicalPersonType ppt = pptElement.getValue(); + String baseId = ppt.getIdentification().get(0).getValue().getValue(); + this.setBaseId(baseId); + this.setZbpk(BpkUtil.calcZBPK(baseId)); + this.setVzbpk(BpkUtil.calcVZBPK(baseId)); + this.setDateOfBirth(MiscUtil.parseXMLDate(ppt.getDateOfBirth())); + this.setFirstName(ppt.getName().getGivenName().get(0)); + this.setLastName(ppt.getName().getFamilyName().get(0).getValue()); + } else if ("bkuURL".equals(attr.getAttributeName())) { + Node attrValueNode = (Node) attr.getAttributeValue().get(0); + this.setBkuURL(attrValueNode.getFirstChild().getNodeValue()); + } else if ("Mandate".equals(attr.getAttributeName())) { + Element attrValueNode = (Element) attr.getAttributeValue().get(0); + List mandateElementList = DOMUtils.getChildElements(attrValueNode); + if (mandateElementList != null && mandateElementList.size() > 0) { + // parse mandate + JAXBContext ctx = JAXBContext.newInstance(Mandate.class.getPackage().getName()); + this.mandate = (Mandate) ctx.createUnmarshaller().unmarshal((Element) mandateElementList.get(0)); + } + } + } + } catch (JAXBException e) { + throw new EgovUtilException(e); + } + + } + + /** + * Creates a wrapper for buergerkarte person data.<br/> + * Important note: properties-files are supposed to contain ISO 8859-1 + * character encoding + * + * @param properties + * Properties containing buergerkarte person data as key/value pairs + */ + public ElectronicIdentity(Properties properties) { + this(); + this.evaluateProperties(properties); + } + + /** + * Fills wrapper with buergerkarte person data from a Properties file.<br/> + * Important note: properties-files are supposed to contain ISO 8859-1 + * character encoding + * + * @param properties + * Properties containing buergerkarte person data as key/value pairs + * @throws CannotResetException + */ + private void evaluateProperties(Properties properties) { + if (properties != null) { + this.setFirstName(properties.getProperty(FIRSTNAME)); + this.setLastName(properties.getProperty(LASTNAME)); + if (properties.getProperty(DATEOFBIRTH) != null) { + try { + this.setDateOfBirth(DateUtils.parseDate( + properties.getProperty(DATEOFBIRTH), new String[] { "yyyy-MM-dd", + "dd.MM.yyyy", })); + } catch (ParseException e) { + log.error(e); + } + } + this.setTitle(properties.getProperty(TITLE)); + this.setBpk(properties.getProperty(BPK)); + this.setWbpk(properties.getProperty(WBPK)); + this.setBaseId(properties.getProperty(BASEID)); + this.setNameIdentifier(properties.getProperty(NAME_IDENTIFIER)); + this.setNameQualifier(properties.getProperty(NAME_QUALIFIER)); + if (MiscUtil.isEmpty(this.getBaseId()) + && BASE_NAME_QUALIFIER.equals(this.getNameQualifier())) { + this.setBaseId(this.getNameIdentifier()); + } + this.setEmail(properties.getProperty(EMAIL)); + this.setVzbpk(properties.getProperty(VZBPK)); + this.setZbpk(properties.getProperty(ZBPK)); + this.setBkuURL(properties.getProperty(BKU_URL)); + + String roles = properties.getProperty(ROLES); + if (MiscUtil.isNotEmpty(roles)) { + StringTokenizer tokenizer = new StringTokenizer(roles, ","); + while (tokenizer.hasMoreTokens()) { + String role = StringUtils.trim(tokenizer.nextToken()); + if (MiscUtil.isNotEmpty(role)) { + this.roles.add(role); + } + } + } + String role = StringUtils.trim(properties.getProperty(ROLE)); + if (MiscUtil.isNotEmpty(role)) { + this.roles.add(role); + } + + this.updateAll(); + + } + } + + public void calcBpk(String domain) { + if (MiscUtil.isEmpty(this.getBaseId())) { + throw new InternalErrorException( + "Unable to calculate bpk. BaseId has to be set."); + } + if (MiscUtil.isEmpty(domain)) { + throw new IllegalArgumentException( + "Unable to calculate bpk. Target/sector/domain must not be empty."); + } + this.bpk = BpkUtil.calcBPK(this.getBaseId(), domain); + } + + public void calcWbpk() { + MiscUtil.assertNotEmpty(this.getBaseId(), "BaseId"); + MiscUtil.assertNotEmpty(this.getNameQualifier(), "NameQualifier"); + this.wbpk = BpkUtil.calcWBPK(this.getBaseId(), this.getNameQualifier()); + this.nameIdentifier = this.wbpk; + } + + protected void calcVzbpk(byte[] rsaPublicKey, String domain) { + MiscUtil.assertNotEmpty(domain, "Domain"); + if (MiscUtil.isEmpty(this.getBaseId())) { + throw new InternalErrorException( + "Unable to calculate bpk. BaseId has to be set."); + } + MiscUtil.assertNotEmpty(rsaPublicKey, "RSAPublicKey"); + PublicKey publicKey; + try { + + KeyFactory rsaKeyFac = KeyFactory.getInstance("RSA"); + X509EncodedKeySpec keySpec = new X509EncodedKeySpec(rsaPublicKey); + publicKey = (RSAPublicKey) rsaKeyFac.generatePublic(keySpec); + } catch (InvalidKeySpecException e) { + throw new InternalErrorException(e); + } catch (NoSuchAlgorithmException e) { + throw new InternalErrorException(e); + } + this.vzbpk = BpkUtil.calcVZBPK(this.getBaseId(), publicKey); + } + + public void calcVzbpk(byte[] rasPublicKey) { + this.calcVzbpk(rasPublicKey, BpkUtil.SECTOR_DELIVERY); + } + + public void calcVzbpk() { + this.calcVzbpk(BpkUtil.PUBLIC_KEY_ZUSEKOPF_SN01_BASE64.getBytes(), + BpkUtil.SECTOR_DELIVERY); + } + + public void calcZbpk() { + if (MiscUtil.isEmpty(this.getBaseId())) { + throw new InternalErrorException( + "Unable to calculate bpk. BaseId has to be set."); + } + this.setZbpk(BpkUtil.calcZBPK(this.getBaseId())); + } + + @Override + public String toString() { + return new ToStringBuilder(this) + .append("firstName", this.firstName) + .append("lastName", this.lastName) + .append( + "dateOfBirth", + this.dateOfBirth != null ? DateFormatUtils.format(this.dateOfBirth, + "yyyy-MM-dd") : this.dateOfBirth) + .append("title", this.title) + .append("email", this.email) + //.append("baseId", this.baseId) + .append("nameQualifier", this.nameQualifier) + .append("nameIdentifier", this.nameIdentifier) + .append("bpk", this.bpk) + .append("wbpk", this.wbpk) + .append("zbpk", this.zbpk) + .append("vzbpk", this.vzbpk) + .append("bkuURL", this.bkuURL) + .append("userdefinedData", this.userdefinedData) + .append( + "roles", + this.roles != null ? ToStringUtil.toString(this.roles, ", ", "\"") + : null) + .append("samlAssertion", + this.samlAssertion != null ? "<set>" : "<not set>").toString(); + } + + public boolean isEmpty() { + boolean stringsEmpty = MiscUtil.areAllEmpty(this.wbpk, this.nameQualifier, + this.nameIdentifier, this.baseId, this.bpk, this.firstName, + this.lastName, this.vzbpk, this.zbpk, this.email, this.bkuURL); + boolean udEmpty = true; + if (this.userdefinedData != null) { + if (this.userdefinedData instanceof Empty) { + udEmpty = ((Empty) this.userdefinedData).isEmpty(); + } else { + udEmpty = false; + } + } + return stringsEmpty && udEmpty && this.dateOfBirth == null + && MiscUtil.isEmpty(this.roles) && (this.samlAssertion != null); + } + + public boolean hasRole(String role) { + return this.roles.contains(role); + } + + public void setMandate(Mandate mandate) { + this.mandate = mandate; + } + + public Mandate getMandate() { + return mandate; + } + +} diff --git a/src/main/java/at/gv/util/data/Empty.java b/src/main/java/at/gv/util/data/Empty.java new file mode 100644 index 0000000..826dbae --- /dev/null +++ b/src/main/java/at/gv/util/data/Empty.java @@ -0,0 +1,31 @@ +/* + * Copyright 2011 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 at.gv.util.data; + +/** + * @author <a href="mailto:thomas.knall@iaik.tugraz.at">Thomas Knall</a> + */ +public interface Empty { + + /** + * Returns {@code true} if underlying object is empty. + * + * @return {@code true} if empty, {@code false} if not empty. + */ + boolean isEmpty(); + +} diff --git a/src/main/java/at/gv/util/data/RoleContainer.java b/src/main/java/at/gv/util/data/RoleContainer.java new file mode 100644 index 0000000..45c3bc0 --- /dev/null +++ b/src/main/java/at/gv/util/data/RoleContainer.java @@ -0,0 +1,30 @@ +/* + * Copyright 2011 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 at.gv.util.data; + +import java.util.Set; + +/** + * @author <a href="mailto:thomas.knall@iaik.tugraz.at">Thomas Knall</a> + */ +public interface RoleContainer { + + Set<String> getRoles(); + + void setRoles(Set<String> roles); + +} diff --git a/src/main/java/at/gv/util/data/WBPK.java b/src/main/java/at/gv/util/data/WBPK.java new file mode 100644 index 0000000..4bf8354 --- /dev/null +++ b/src/main/java/at/gv/util/data/WBPK.java @@ -0,0 +1,63 @@ +/* + * Copyright 2011 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 at.gv.util.data; + +import org.apache.commons.lang.builder.ToStringBuilder; + +/** + * Class representing a private sector specific PIN (wbPK) + * + * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a> + * + */ +public class WBPK { + + private String wbpk; + private String nameQualifier; + + public WBPK() { + this.wbpk = null; + this.nameQualifier = null; + } + + public WBPK(String wbpk, String nameQualifier) { + this.wbpk = wbpk; + this.nameQualifier = nameQualifier; + } + + public String getWbpk() { + return wbpk; + } + + public void setWbpk(String wbpk) { + this.wbpk = wbpk; + } + + public String getNameQualifier() { + return nameQualifier; + } + + public void setNameQualifier(String nameQualifier) { + this.nameQualifier = nameQualifier; + } + + @Override + public String toString() { + return new ToStringBuilder(this).append("nameQualifier", this.nameQualifier).append("wbpk", this.wbpk).toString(); + } + +} diff --git a/src/main/java/at/gv/util/ex/EgovUtilException.java b/src/main/java/at/gv/util/ex/EgovUtilException.java new file mode 100644 index 0000000..172fec1 --- /dev/null +++ b/src/main/java/at/gv/util/ex/EgovUtilException.java @@ -0,0 +1,41 @@ +/* + * Copyright 2011 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 at.gv.util.ex; + +public class EgovUtilException extends Exception { + + /** + * + */ + private static final long serialVersionUID = 1L; + + public EgovUtilException() { + } + + public EgovUtilException(String message) { + super(message); + } + + public EgovUtilException(Throwable cause) { + super(cause); + } + + public EgovUtilException(String message, Throwable cause) { + super(message, cause); + } + +} diff --git a/src/main/java/at/gv/util/ex/InternalErrorException.java b/src/main/java/at/gv/util/ex/InternalErrorException.java new file mode 100644 index 0000000..01e3504 --- /dev/null +++ b/src/main/java/at/gv/util/ex/InternalErrorException.java @@ -0,0 +1,45 @@ +/* + * Copyright 2011 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 at.gv.util.ex; + +/** + * Internal error exception. + * + * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a> + * + */ +public class InternalErrorException extends RuntimeException { + + private static final long serialVersionUID = 1L; + + public InternalErrorException() { + super(); + } + + public InternalErrorException(Exception exception) { + super(exception); + } + + public InternalErrorException(String message, Exception exception) { + super(message, exception); + } + + public InternalErrorException(String message) { + super(message); + } + +} diff --git a/src/main/java/at/gv/util/filter/moaid/AbstractGenericMOAIDAuthenticationServlet.java b/src/main/java/at/gv/util/filter/moaid/AbstractGenericMOAIDAuthenticationServlet.java new file mode 100644 index 0000000..f9edb35 --- /dev/null +++ b/src/main/java/at/gv/util/filter/moaid/AbstractGenericMOAIDAuthenticationServlet.java @@ -0,0 +1,246 @@ +/* + * Copyright 2011 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 at.gv.util.filter.moaid; + +import java.io.IOException; +import java.net.MalformedURLException; +import java.net.URL; +import java.util.Enumeration; +import java.util.HashMap; +import java.util.Map; +import java.util.Map.Entry; + +import javax.servlet.ServletException; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import javax.servlet.http.HttpSession; + +import org.apache.commons.lang.StringUtils; +import org.apache.commons.lang.time.DateFormatUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.MiscUtil; +import at.gv.util.ToStringUtil; +import at.gv.util.WebAppUtil; +import at.gv.util.client.moaid.MOAIDClient; +import at.gv.util.client.moaid.MOAIDClientException; +import at.gv.util.config.EgovUtilConfiguration; +import at.gv.util.xsd.saml.assertion.AssertionType; +import at.gv.util.xsd.saml.protocol.ResponseType; + +/** + * @author <a href="mailto:arne.tauber@egiz.gv.at">Arne Tauber</a> + * @author <a href="mailto:thomas.knall@iaik.tugraz.at">Thomas Knall</a> + */ +public abstract class AbstractGenericMOAIDAuthenticationServlet extends HttpServlet { + + private static final long serialVersionUID = 1L; + public static final String REQUEST_ATTRIBUTE_ERROR_MESSAGE = "javax.servlet.error.message"; + //private boolean alreadyLogged = false; + + private HttpServletRequest request = null; + private HttpServletResponse response = null; + + private final Logger log = LoggerFactory.getLogger(AbstractGenericMOAIDAuthenticationServlet.class); + + @Override + protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { + this.doPost(req, resp); + } + + private void errorPage(HttpServletRequest request, HttpServletResponse response, String... args) { + this.request = request; + this.response = response; + log.debug("Forwarding to error page \"" + this.getErrorPage() + "\"."); + log.error("Messages for Errorpage (saved in request attribute \"" + REQUEST_ATTRIBUTE_ERROR_MESSAGE + "\"): " + ToStringUtil.toString(args)); + request.setAttribute(REQUEST_ATTRIBUTE_ERROR_MESSAGE, ToStringUtil.toString(args)); + try { + request.getRequestDispatcher(this.getErrorPage()).forward(request, response); + return; + } catch (Throwable t) { + log.error("Unexpected error (" + t.getMessage() + ") forwarding to error page \"" + this.getErrorPage() + "\"."); + } + } + + @Override + protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + log.debug("MOAIDLogin invoked."); + + this.request = request; + this.response = response; + + String artifact = request.getParameter("SAMLArtifact"); + if (MiscUtil.isEmpty(artifact)) { + this.errorPage(request, response, "SAMLArtifact post parameter must not be null or empty."); + return; + } + + String expectedTarget = this.getExpectedTarget(); + String target = request.getParameter("Target"); + if (MiscUtil.isNotEmpty(target)) { + if (MiscUtil.isNotEmpty(expectedTarget)) { + log.debug("Verifying target parameter."); + if (!expectedTarget.equals(target)) { + this.errorPage(request, response, "Transmitted target parameter does not match the expected target parameter value \"" + expectedTarget + "\"."); + return; + } + } + } else { + log.debug("No expected target parameter given. Maybe configured as wbpk application. Skipping target value evaluation."); + } + + log.debug("SAMLArtifact = \"" + artifact + "\"."); + + AssertionType assertion = null; + try { + MOAIDClient client = new MOAIDClient(this.getConfiguration()); + ResponseType moaidResponse = client.sendGetAuthenticationDataRequest(this.getAuthDataURL(), artifact); + if (!"Success".equals(moaidResponse.getStatus().getStatusCode().getValue().getLocalPart())) { + throw new MOAIDClientException("Wrong MOA-ID return code: " + moaidResponse.getStatus().getStatusCode().getValue().toString()); + } + assertion = moaidResponse.getAssertion().get(0); + } catch (MOAIDClientException c) { + String em = "Error retrieving authentication data (" + c.getMessage() + ")."; + log.error(em); + this.errorPage(request, response, em); + return; + } + + HttpSession session = request.getSession(false); + + if (session != null) { + + HashMap<String, Object> attributes = new HashMap<String,Object>(); + + Enumeration<String> enames = session.getAttributeNames(); + while (enames.hasMoreElements()) { + String name = enames.nextElement(); + if (!name.equals("JSESSIONID")) + attributes.put(name, session.getAttribute( name)); + } + +// // alle Notizen kopieren +// HashMap<String, Object> notes = new HashMap<String,Object>(); +// Iterator<String> nameit = session.getNoteN; +// while (nameit.hasNext()) { +// String name = nameit.next(); +// notes.put( name, session.getNote( name)); +// } +// + session.invalidate(); + + + session = request.getSession(true); + // Attribute und Notizen zurückkopieren + for (Entry<String,Object> et : attributes.entrySet()) { + session.setAttribute( et.getKey(), et.getValue()); + } + + } else + session = request.getSession(true); + + + log.debug("Using session " + session.getId() + ", created at " + DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format(session.getCreationTime()) + "."); + Object authData = this.getAuthDataObject(assertion, request); + + if (authData == null) { + log.info("No auth data provided from implementing application. Denying access."); + response.sendError(HttpServletResponse.SC_FORBIDDEN, "Access is denied."); + return; + } + + log.debug("Authentication data = " + authData); + + session.setAttribute(this.getAuthDataSessionAttribute(), authData); + + + + String originalURL = null; + String authenticatedPage = StringUtils.trim(this.getAuthenticatedPage(request, originalURL)); + if (MiscUtil.isNotEmpty(authenticatedPage)) { + try { + // check if absolute URL is given + new URL(authenticatedPage); + // if absolute URL is given take it + } catch (MalformedURLException e) { + // if no absolute URL is given, prepend the webapp context + authenticatedPage = WebAppUtil.getBaseURL(request) + MiscUtil.removePrecedingSlash(authenticatedPage); + } + log.debug("User is authenticated. Authenticated page given. Redirecting to \"" + authenticatedPage + "\"."); + response.sendRedirect(response.encodeRedirectURL(authenticatedPage)); + return; + } else { + log.debug("No authenticated page given. Trying to find original url."); + String sessionAttribute = this.getStoredRequestURLSessionAttribute(); + if (MiscUtil.isNotEmpty(sessionAttribute)) { + log.debug("Fetching saved request url from session attribute \"" + sessionAttribute + "\"."); + originalURL = (String) session.getAttribute(sessionAttribute); + session.removeAttribute(sessionAttribute); + } + if (originalURL == null) { + log.warn("Unable to find saved request. Session seems to got lost."); + String sessionLostPage = this.getSessionLostPage(); + if (MiscUtil.isNotEmpty(sessionLostPage)) { + sessionLostPage = WebAppUtil.getBaseURL(request) + MiscUtil.removePrecedingSlash(sessionLostPage); + log.debug("Found failsafe page for redirection in case of session loss. Redirecting to \"" + sessionLostPage + "\"."); + response.sendRedirect(response.encodeRedirectURL(sessionLostPage)); + return; + } + this.errorPage(request, response, "Unable to find saved request."); + return; + } + log.debug("User is authenticated. Redirecting to original location \"" + originalURL + "\"."); + response.sendRedirect(response.encodeRedirectURL(originalURL)); + return; + } + } + + public HttpServletRequest getRequest() { + return request; + } + + public HttpServletResponse getResponse() { + return response; + } + + public abstract String getAuthenticatedPage(HttpServletRequest request, String savedRequestURL); + + public abstract String getAuthDataSessionAttribute(); + + public abstract String getStoredRequestURLSessionAttribute(); + + public abstract String getErrorPage(); + + public abstract Object getAuthDataObject(AssertionType samlAssertion); + + public Object getAuthDataObject(AssertionType samlAssertion, HttpServletRequest request) { + return this.getAuthDataObject(samlAssertion); + } + + public abstract String getAuthDataURL(); + + public abstract String getSessionLostPage(); + + public abstract String getExpectedTarget(); + + public abstract EgovUtilConfiguration getConfiguration(); + + + +} diff --git a/src/main/java/at/gv/util/filter/moaid/MOAIDAuthenticationFilter.java b/src/main/java/at/gv/util/filter/moaid/MOAIDAuthenticationFilter.java new file mode 100644 index 0000000..cb16b8f --- /dev/null +++ b/src/main/java/at/gv/util/filter/moaid/MOAIDAuthenticationFilter.java @@ -0,0 +1,259 @@ +/* + * Copyright 2011 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 at.gv.util.filter.moaid; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.StringTokenizer; +import java.util.regex.Pattern; + +import javax.servlet.Filter; +import javax.servlet.FilterChain; +import javax.servlet.FilterConfig; +import javax.servlet.RequestDispatcher; +import javax.servlet.ServletException; +import javax.servlet.ServletRequest; +import javax.servlet.ServletResponse; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import javax.servlet.http.HttpSession; + +import org.apache.commons.lang.BooleanUtils; +import org.apache.commons.lang.StringUtils; +import org.apache.commons.lang.time.DateFormatUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.MiscUtil; +import at.gv.util.ToStringUtil; +import at.gv.util.WebAppUtil; + +/** + * @author <a href="mailto:arne.tauber@egiz.gv.at">Arne Tauber</a> + * @author <a href="mailto:thomas.knall@iaik.tugraz.at">Thomas Knall</a> + */ +public class MOAIDAuthenticationFilter implements Filter { + + private final Logger log = LoggerFactory.getLogger(MOAIDAuthenticationFilter.class); + + public static final String USER_AUTH_DATA_ID = "AnyAuthDataObject:authenticatedUser"; + public static final String STORED_REQUEST_URL_ID = String.class.getName() + ":" + "storedRequestURL"; + + public static final String WEB_XML_INIT_PARAM_LOGIN_PAGE = "loginPage"; + public static final String WEB_XML_INIT_PARAM_ENABLED = "enabled"; + public static final String WEB_XML_INIT_PARAM_ERROR_PAGE = "errorPage"; + public static final String WEB_XML_INIT_PARAM_AUTHENTICATED_PAGE = "authenticatedPage"; // optional + public static final String WEB_XML_INIT_PARAM_SESSION_LOST_PAGE = "sessionLostPage"; // optional + public static final String WEB_XML_INIT_PARAM_ALLOWED_LIST = "allowedList"; + public static final String WEB_XML_INIT_PARAM_ALLOWED_REGEX = "allowed"; + + private static final String WEB_XML_INIT_PARAM_EXCLUDED_PAGES_DELIMITER = ","; + + private boolean enabled = true; + + private static String loginPage = null; + private boolean loginPageForward = true; + private static String errorPage = null; + private static String authenticatedPage = null; + private static String sessionLostPage = null; + + private static String[] excludedPages = null; + private static Pattern excludedRegEx = null; + + private HttpServletRequest servletRequest = null; + + public void destroy() { + log.trace("Shutting down " + this.getClass().getName() + "..."); + } + + public static String getErrorPage() { + return errorPage; + } + + public static String getAuthenticatedPage() { + return authenticatedPage; + } + + public static String getLoginPage() { + return loginPage; + } + + public static String getSessionLostPage() { + return sessionLostPage; + } + + public HttpServletRequest getHttpServletRequest() { + return this.servletRequest; + } + + private boolean isExcluded(String url) { + boolean excluded = false; + if (MiscUtil.isNotEmpty(excludedPages)) { + for (String candidate : excludedPages) { + if (StringUtils.upperCase(url).endsWith(StringUtils.upperCase(candidate))) { + excluded = true; + break; + } + } + } + if (excludedRegEx != null && !excluded) { + // log.debug("Trying to match regex \"{}\" with \"{}\".", + // excludedRegEx.toString(), url); + if (excludedRegEx.matcher(url).matches()) { + excluded = true; + } + } + log.debug("URL \"" + url + "\" is " + (excluded ? "" : "NOT ") + "excluded from filter."); + return excluded; + } + + public void doFilter(ServletRequest request, ServletResponse response, final FilterChain filterChain) throws IOException, ServletException { + if (this.enabled) { + log.debug("Applying " + this.getClass().getSimpleName() + "..."); + + HttpServletRequest httpServletRequest = (HttpServletRequest) request; + servletRequest = httpServletRequest; + HttpServletResponse httpServletResponse = (HttpServletResponse) response; + HttpSession session = httpServletRequest.getSession(); + log.debug("Using session " + session.getId() + ", created at " + DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.format(session.getCreationTime()) + "."); + + Object anyObject = session.getAttribute(USER_AUTH_DATA_ID); + String requestURL = WebAppUtil.getRequestURLWithParameters(httpServletRequest, true); + log.trace("Request URL: " + requestURL); + if (anyObject == null && !this.isExcluded(requestURL)) { + Object dummyAuthData = this.provideDummyAuthenticationData(); + if (dummyAuthData != null) { + log.warn("Unable to find regular authentication data but dummy authentication data is provided."); + log.debug("Authentication data = " + dummyAuthData.toString()); + log.warn("Putting dummy authentication data into session."); + session.setAttribute(USER_AUTH_DATA_ID, dummyAuthData); + if (MiscUtil.isNotEmpty(getAuthenticatedPage())) { + if (loginPageForward) { + log.debug("Authenticated page is set. Forwarding to \"" + getAuthenticatedPage() + "\"."); + RequestDispatcher dispatcher = request.getRequestDispatcher(getAuthenticatedPage()); + dispatcher.forward(httpServletRequest, httpServletResponse); + } else { + log.debug("Authenticated page is set. Redirecting to \"" + getAuthenticatedPage() + "\"."); + httpServletResponse.sendRedirect(httpServletResponse.encodeRedirectURL(getAuthenticatedPage())); + } + return; + } + } else { + if (MiscUtil.isNotEmpty(getAuthenticatedPage())) { + log.debug("Unable to find authentication data. Authenticated page is given so there is no need to save original request url. " + (loginPageForward ? "Forwarding" : "Redirecting") + " to login page \"" + loginPage + "\"."); + } else { + log.debug("Unable to find authentication data. Storing request url and " + (loginPageForward ? "forwarding" : "redirecting") + " to login page \"" + loginPage + "\"."); + // TODO: save HttpServletRequest + // log.debug("new CustomHttpServletRequest(request).toString() = + // {}", new + // CustomHttpServletRequest(httpServletRequest).toString()); + session.setAttribute(STORED_REQUEST_URL_ID, requestURL); + } + if (loginPageForward) { + RequestDispatcher dispatcher = request.getRequestDispatcher(loginPage); + dispatcher.forward(httpServletRequest, httpServletResponse); + } else { + httpServletResponse.sendRedirect(httpServletResponse.encodeRedirectURL(loginPage)); + } + return; + } + + } + } + + filterChain.doFilter(request, response); + } + + public void init(FilterConfig filterConfig) throws ServletException { + log.debug("Starting init of " + this.getClass().getName() + "."); + + // enabled? + String enabledValue = StringUtils.trimToNull(filterConfig.getInitParameter(WEB_XML_INIT_PARAM_ENABLED)); + this.enabled = BooleanUtils.isNotFalse(BooleanUtils.toBooleanObject(enabledValue)); + + // login page + loginPage = StringUtils.trim(filterConfig.getInitParameter(WEB_XML_INIT_PARAM_LOGIN_PAGE)); + if (MiscUtil.isEmpty(loginPage)) { + throw new ServletException("ServletInitParameter \"" + WEB_XML_INIT_PARAM_LOGIN_PAGE + "\" must not be empty."); + } + loginPageForward = false; //!WebAppUtil.isFullQualifiedURL(loginPage); + + // error page + errorPage = StringUtils.trim(filterConfig.getInitParameter(WEB_XML_INIT_PARAM_ERROR_PAGE)); + if (MiscUtil.isEmpty(errorPage)) { + throw new ServletException("ServletInitParameter \"" + WEB_XML_INIT_PARAM_ERROR_PAGE + "\" must not be empty."); + } + + // session lost page + sessionLostPage = StringUtils.trim(filterConfig.getInitParameter(WEB_XML_INIT_PARAM_SESSION_LOST_PAGE)); + if (MiscUtil.isEmpty(sessionLostPage)) { + log.warn("ServletInitParameter \"" + WEB_XML_INIT_PARAM_SESSION_LOST_PAGE + + "\" is empty. This parameter defines a failsafe url the browser is redirected to if the original url has been lost due to session timeout."); + } + + // authenticated page + authenticatedPage = StringUtils.trim(filterConfig.getInitParameter(WEB_XML_INIT_PARAM_AUTHENTICATED_PAGE)); + if (MiscUtil.isEmpty(authenticatedPage)) { + log.debug("ServletInitParameter \"" + WEB_XML_INIT_PARAM_AUTHENTICATED_PAGE + + "\" is empty. This parameter defines the url the user is redirected to (instead of the original url) on successful authentication."); + } + String excluded = filterConfig.getInitParameter(WEB_XML_INIT_PARAM_ALLOWED_LIST); + ArrayList<String> excludedList = new ArrayList<String>(); + if (MiscUtil.isNotEmpty(excluded)) { + StringTokenizer tokenizer = new StringTokenizer(excluded, WEB_XML_INIT_PARAM_EXCLUDED_PAGES_DELIMITER); + while (tokenizer.hasMoreTokens()) { + String ex = StringUtils.trim(tokenizer.nextToken()); + if (MiscUtil.isNotEmpty(ex)) { + excludedList.add(ex); + } + } + } + excludedList.add(loginPage); + excludedList.add(errorPage); + excludedPages = new String[excludedList.size()]; + excludedPages = excludedList.toArray(excludedPages); + + String excludedRegExString = StringUtils.trim(filterConfig.getInitParameter(WEB_XML_INIT_PARAM_ALLOWED_REGEX)); + if (MiscUtil.isNotEmpty(excludedRegExString)) { + excludedRegEx = Pattern.compile(excludedRegExString); + } + + if (!this.enabled) { + log.info(this.getClass().getName() + " is DISABLED"); + } else { + log.debug(WEB_XML_INIT_PARAM_ENABLED + " = \"" + this.enabled + "\""); + } + log.debug(WEB_XML_INIT_PARAM_LOGIN_PAGE + " [" + (loginPageForward ? "forward" : "redirect") + "] = \"" + loginPage + "\""); + log.debug(WEB_XML_INIT_PARAM_AUTHENTICATED_PAGE + " = \"" + (MiscUtil.isNotEmpty(authenticatedPage) ? authenticatedPage : "<n/a>") + "\""); + log.debug(WEB_XML_INIT_PARAM_ERROR_PAGE + " = \"" + errorPage + "\""); + log.debug(WEB_XML_INIT_PARAM_SESSION_LOST_PAGE + " = \"" + (MiscUtil.isNotEmpty(sessionLostPage) ? sessionLostPage : "<n/a>") + "\""); + log.debug(WEB_XML_INIT_PARAM_ALLOWED_LIST + " = " + ToStringUtil.toString(excludedPages, ", ", "\"")); + log.debug(WEB_XML_INIT_PARAM_ALLOWED_REGEX + " = \"" + (excludedRegEx != null ? excludedRegEx.pattern() : "<n/a>") + "\""); + } + + /** + * May be overwritten in order to provide static authentication data during + * development process. + * + * @return some kind of dummy authentication data + */ + public Object provideDummyAuthenticationData() { + return null; + } + +} diff --git a/src/main/java/at/gv/util/ssl/JaxWsSSLConfiguration.java b/src/main/java/at/gv/util/ssl/JaxWsSSLConfiguration.java new file mode 100644 index 0000000..789dcbc --- /dev/null +++ b/src/main/java/at/gv/util/ssl/JaxWsSSLConfiguration.java @@ -0,0 +1,35 @@ +/* + * Copyright 2011 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 at.gv.util.ssl; + +import javax.net.ssl.SSLContext; + +import at.gv.util.ex.EgovUtilException; + +/** + * Interface providing an SSL context for handling secure connections in + * JAX-WS. + * + * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a> + * + */ +public interface JaxWsSSLConfiguration { + + SSLContext getSSLContext(boolean forceTrustAllManager) throws EgovUtilException; + boolean useLaxHostNameVerifier(); + +} diff --git a/src/main/java/at/gv/util/ssl/JaxWsSSLConfigurationPropertiesImpl.java b/src/main/java/at/gv/util/ssl/JaxWsSSLConfigurationPropertiesImpl.java new file mode 100644 index 0000000..ef8b035 --- /dev/null +++ b/src/main/java/at/gv/util/ssl/JaxWsSSLConfigurationPropertiesImpl.java @@ -0,0 +1,61 @@ +/* + * Copyright 2011 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 at.gv.util.ssl; + +import java.util.Properties; + +import javax.net.ssl.SSLContext; + +import at.gv.util.ex.EgovUtilException; + +/** + * JAX-WS SSL configuration implementation based on Java properties. + * + * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a> + * + */ +public class JaxWsSSLConfigurationPropertiesImpl implements JaxWsSSLConfiguration { + + private Properties props = null; + private String configDir = null; + private String propsPrefix = null; + + public JaxWsSSLConfigurationPropertiesImpl(Properties props, String configDir, String propsPrefix) { + if (props == null) { + throw new NullPointerException("Argument 'props' must not be null."); + } + if (configDir == null) { + throw new NullPointerException("Argument 'configDir' must not be null."); + } + if (propsPrefix == null) { + throw new NullPointerException("Argument 'propsPrefix' must not be null."); + } + this.props = props; + this.configDir = configDir; + this.propsPrefix = propsPrefix; + } + + public SSLContext getSSLContext(boolean forceTrustAllManager) + throws EgovUtilException { + return SSLUtils.getPropertiesSSLContext(this.props, this.configDir, this.propsPrefix, forceTrustAllManager); + } + + public boolean useLaxHostNameVerifier() { + return SSLUtils.useLaxHostNameVerifier(this.props, this.propsPrefix); + } + +} diff --git a/src/main/java/at/gv/util/ssl/SSLUtils.java b/src/main/java/at/gv/util/ssl/SSLUtils.java new file mode 100644 index 0000000..47b71ab --- /dev/null +++ b/src/main/java/at/gv/util/ssl/SSLUtils.java @@ -0,0 +1,173 @@ +/* + * Copyright 2011 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 at.gv.util.ssl; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.security.KeyManagementException; +import java.security.KeyStore; +import java.security.KeyStoreException; +import java.security.NoSuchAlgorithmException; +import java.security.SecureRandom; +import java.security.UnrecoverableKeyException; +import java.security.cert.CertificateException; +import java.util.Properties; + +import javax.net.ssl.KeyManager; +import javax.net.ssl.KeyManagerFactory; +import javax.net.ssl.SSLContext; +import javax.net.ssl.TrustManager; +import javax.net.ssl.TrustManagerFactory; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.TrustAllManager; +import at.gv.util.ex.EgovUtilException; + +/** + * Some utility methods for SSL handling. + * + * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a> + * + */ +public class SSLUtils { + + private static Logger log = LoggerFactory.getLogger(SSLUtils.class); + + public static boolean useLaxHostNameVerifier(Properties props, String propsPrefix) { + try { + return Boolean.parseBoolean(props.getProperty(propsPrefix + ".ssl.laxhostnameverification")); + } catch(Exception e) { + return false; + } + } + + public static SSLContext getPropertiesSSLContext(Properties props, String configDir, String propsPrefix, boolean forceTrustAllManager) throws EgovUtilException { + log.trace("Configuring SSL socket factory."); + if (props == null) { + throw new NullPointerException("Argument 'properties' must not be null."); + } + if (configDir == null) { + throw new NullPointerException("Argument 'configDir' must not be null."); + } + boolean hasSSLConfigured = props.getProperty(propsPrefix + ".ssl.keystore.file") != null || + props.getProperty(propsPrefix + ".ssl.truststore.file") != null || + "true".equalsIgnoreCase(props.getProperty(propsPrefix + ".ssl.trustall")); + + log.trace("SSL enabled: " + hasSSLConfigured); + if (hasSSLConfigured) { + log.trace("Configuring using standard JKS or PKCS12 keystore/truststore."); + try { + SSLContext context = SSLContext.getInstance("TLS"); + + // load client key store + KeyManager[] keyManager = null; + if (props.getProperty(propsPrefix + ".ssl.keystore.file") != null) { + log.trace("Keystore definition found."); + String keyStoreFileName = props.getProperty(propsPrefix + ".ssl.keystore.file"); + File keyTmp = new File(keyStoreFileName); + File keyStoreFile = null; + if (keyTmp.isAbsolute()) { + keyStoreFile = keyTmp; + } else { + keyStoreFile = new File(configDir, keyStoreFileName); + } + log.trace("Key store location: " + keyStoreFile); + String keyStorePassword = props.getProperty(propsPrefix + ".ssl.keystore.password"); + if (keyStorePassword == null) { + log.trace("No keystore password set in configuration, using empty password."); + keyStorePassword = ""; + } + String keyStoreType = props.getProperty(propsPrefix + ".ssl.keystore.type"); + if (keyStoreType == null) { + log.trace("No keystore type set in configuration, using default JKS."); + keyStoreType = "JKS"; + } + log.trace("Key store type: " + keyStoreType); + KeyStore clientStore = KeyStore.getInstance(keyStoreType); + clientStore.load(new FileInputStream(keyStoreFile), keyStorePassword.toCharArray()); + KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509"); + kmf.init(clientStore, keyStorePassword.toCharArray()); + keyManager = kmf.getKeyManagers(); + } else { + log.trace("No keystore definition found. Not using SSL client authentication."); + } + // load trust store + TrustManager[] trustManager = null; + if (forceTrustAllManager || "true".equalsIgnoreCase(props.getProperty(propsPrefix + ".ssl.trustall"))) { + log.info("Trust all property is switched on. This setting is not recommended."); + trustManager = new TrustManager[] { new TrustAllManager() }; + } else if (props.getProperty(propsPrefix + ".ssl.truststore.file") != null) { + log.trace("Using standard trust store mechanism (truststore file definition found)."); + String trustStoreFileName = props.getProperty(propsPrefix + ".ssl.truststore.file"); + File trustTmp = new File(trustStoreFileName); + File trustStoreFile = null; + if (trustTmp.isAbsolute()) { + trustStoreFile = trustTmp; + } else { + trustStoreFile = new File(configDir, trustStoreFileName); + } + log.trace("Trust store file location: " + trustStoreFile); + if (trustStoreFile == null) { + throw new EgovUtilException("Please set a trust store in your configuration or switch the trust all property on."); + } + String trustStorePassword = props.getProperty(propsPrefix + ".ssl.truststore.password"); + if (trustStorePassword == null) { + log.trace("No truststore password set in configuration, using empty password."); + trustStorePassword = ""; + } + String trustStoreType = props.getProperty(propsPrefix + ".ssl.truststore.type"); + if (trustStoreType == null) { + log.trace("No truststore type set in configuration, using default JKS."); + trustStoreType = "JKS"; + } + log.trace("Trust store type: " + trustStoreType); + KeyStore trustStore = KeyStore.getInstance(trustStoreType); + trustStore.load(new FileInputStream(trustStoreFile), trustStorePassword.toCharArray()); + TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509"); + tmf.init(trustStore); + trustManager = tmf.getTrustManagers(); + } else { + log.warn("No truststore definition found. Using standard Java truststore mechanism."); + } + context.init(keyManager, trustManager, new SecureRandom()); + return context; + } catch (NoSuchAlgorithmException e) { + throw new EgovUtilException(e); + } catch (KeyStoreException e) { + throw new EgovUtilException(e); + } catch (CertificateException e) { + throw new EgovUtilException(e); + } catch (FileNotFoundException e) { + throw new EgovUtilException(e); + } catch (IOException e) { + throw new EgovUtilException(e); + } catch (UnrecoverableKeyException e) { + throw new EgovUtilException(e); + } catch (KeyManagementException e) { + throw new EgovUtilException(e); + } + } else { + throw new EgovUtilException("Please provide an SSL configuration in your properties file."); + } + } + + +} diff --git a/src/main/java/at/gv/util/wsdl/GetAuthenticationDataService.java b/src/main/java/at/gv/util/wsdl/GetAuthenticationDataService.java new file mode 100644 index 0000000..4fa21e7 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/GetAuthenticationDataService.java @@ -0,0 +1,71 @@ + +package at.gv.util.wsdl; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.logging.Logger; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebServiceClient(name = "GetAuthenticationDataService", targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", wsdlLocation = "file:/D:/eclipse/development/openzuse/trunk/zuseutil/src/main/resources/wsdl/MOA-ID-1.x.wsdl") +public class GetAuthenticationDataService + extends Service +{ + + private final static URL GETAUTHENTICATIONDATASERVICE_WSDL_LOCATION; + private final static Logger logger = Logger.getLogger(at.gv.util.wsdl.GetAuthenticationDataService.class.getName()); + + static { + URL url = null; + try { + URL baseUrl; + baseUrl = at.gv.util.wsdl.GetAuthenticationDataService.class.getResource("."); + url = new URL(baseUrl, "file:/D:/eclipse/development/openzuse/trunk/zuseutil/src/main/resources/wsdl/MOA-ID-1.x.wsdl"); + } catch (MalformedURLException e) { + logger.warning("Failed to create URL for the wsdl Location: 'file:/D:/eclipse/development/openzuse/trunk/zuseutil/src/main/resources/wsdl/MOA-ID-1.x.wsdl', retrying as a local file"); + logger.warning(e.getMessage()); + } + GETAUTHENTICATIONDATASERVICE_WSDL_LOCATION = url; + } + + public GetAuthenticationDataService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public GetAuthenticationDataService() { + super(GETAUTHENTICATIONDATASERVICE_WSDL_LOCATION, new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "GetAuthenticationDataService")); + } + + /** + * + * @return + * returns IdentificationPortType + */ + @WebEndpoint(name = "IdentificationPort") + public IdentificationPortType getIdentificationPort() { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "IdentificationPort"), IdentificationPortType.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns IdentificationPortType + */ + @WebEndpoint(name = "IdentificationPort") + public IdentificationPortType getIdentificationPort(WebServiceFeature... features) { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "IdentificationPort"), IdentificationPortType.class, features); + } + +} diff --git a/src/main/java/at/gv/util/wsdl/IdentificationPortType.java b/src/main/java/at/gv/util/wsdl/IdentificationPortType.java new file mode 100644 index 0000000..ff10855 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/IdentificationPortType.java @@ -0,0 +1,47 @@ + +package at.gv.util.wsdl; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; +import at.gv.util.xsd.saml.protocol.RequestType; +import at.gv.util.xsd.saml.protocol.ResponseType; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebService(name = "IdentificationPortType", targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + at.gv.util.xsd.saml.protocol.ObjectFactory.class, + at.gv.util.xsd.persondata.ObjectFactory.class, + at.gv.util.xsd.xmldsig.ObjectFactory.class, + at.gv.util.xsd.saml.assertion.ObjectFactory.class, + at.gv.util.xsd.moaspss.ObjectFactory.class +}) +public interface IdentificationPortType { + + + /** + * + * @param body + * @return + * returns at.gv.util.xsd.saml.protocol.ResponseType + * @throws MOAFault + */ + @WebMethod(action = "urn:GetAuthenticationDataAction") + @WebResult(name = "Response", targetNamespace = "urn:oasis:names:tc:SAML:1.0:protocol", partName = "body") + public ResponseType getAuthenticationData( + @WebParam(name = "Request", targetNamespace = "urn:oasis:names:tc:SAML:1.0:protocol", partName = "body") + RequestType body) + throws MOAFault + ; + +} diff --git a/src/main/java/at/gv/util/wsdl/MOAFault.java b/src/main/java/at/gv/util/wsdl/MOAFault.java new file mode 100644 index 0000000..e631845 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/MOAFault.java @@ -0,0 +1,55 @@ + +package at.gv.util.wsdl; + +import javax.xml.ws.WebFault; +import at.gv.util.xsd.moaspss.ErrorResponseType; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebFault(name = "ErrorResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#") +public class MOAFault + extends Exception +{ + + /** + * Java type that goes as soapenv:Fault detail element. + * + */ + private ErrorResponseType faultInfo; + + /** + * + * @param message + * @param faultInfo + */ + public MOAFault(String message, ErrorResponseType faultInfo) { + super(message); + this.faultInfo = faultInfo; + } + + /** + * + * @param message + * @param faultInfo + * @param cause + */ + public MOAFault(String message, ErrorResponseType faultInfo, Throwable cause) { + super(message, cause); + this.faultInfo = faultInfo; + } + + /** + * + * @return + * returns fault bean: at.gv.util.xsd.moaspss.ErrorResponseType + */ + public ErrorResponseType getFaultInfo() { + return faultInfo; + } + +} diff --git a/src/main/java/at/gv/util/wsdl/SignatureCreationPortType.java b/src/main/java/at/gv/util/wsdl/SignatureCreationPortType.java new file mode 100644 index 0000000..b4cd5cc --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/SignatureCreationPortType.java @@ -0,0 +1,45 @@ + +package at.gv.util.wsdl; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; + +import at.gv.util.xsd.moaspss.CreateXMLSignatureRequest; +import at.gv.util.xsd.moaspss.CreateXMLSignatureResponseType; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebService(name = "SignatureCreationPortType", targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + at.gv.util.xsd.xmldsig.ObjectFactory.class, + at.gv.util.xsd.moaspss.ObjectFactory.class +}) +public interface SignatureCreationPortType { + + + /** + * + * @param body + * @return + * returns at.gv.zustellung.util.xsd.moaspss.CreateXMLSignatureResponseType + * @throws MOAFault + */ + @WebMethod(action = "urn:CreateXMLSignatureAction") + @WebResult(name = "CreateXMLSignatureResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", partName = "body") + public CreateXMLSignatureResponseType createXMLSignature( + @WebParam(name = "CreateXMLSignatureRequest", targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", partName = "body") + CreateXMLSignatureRequest body) + throws MOAFault + ; + +} diff --git a/src/main/java/at/gv/util/wsdl/SignatureCreationService.java b/src/main/java/at/gv/util/wsdl/SignatureCreationService.java new file mode 100644 index 0000000..e8d2777 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/SignatureCreationService.java @@ -0,0 +1,71 @@ + +package at.gv.util.wsdl; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.logging.Logger; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebServiceClient(name = "SignatureCreationService", targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", wsdlLocation = "file:/D:/eclipse/development/openzuse/trunk/zuseutil/src/main/resources/wsdl/MOA-SPSS-1.3.wsdl") +public class SignatureCreationService + extends Service +{ + + private final static URL SIGNATURECREATIONSERVICE_WSDL_LOCATION; + private final static Logger logger = Logger.getLogger(at.gv.util.wsdl.SignatureCreationService.class.getName()); + + static { + URL url = null; + try { + URL baseUrl; + baseUrl = at.gv.util.wsdl.SignatureCreationService.class.getResource("."); + url = new URL(baseUrl, "file:/D:/eclipse/development/openzuse/trunk/zuseutil/src/main/resources/wsdl/MOA-SPSS-1.3.wsdl"); + } catch (MalformedURLException e) { + logger.warning("Failed to create URL for the wsdl Location: 'file:/D:/eclipse/development/openzuse/trunk/zuseutil/src/main/resources/wsdl/MOA-SPSS-1.3.wsdl', retrying as a local file"); + logger.warning(e.getMessage()); + } + SIGNATURECREATIONSERVICE_WSDL_LOCATION = url; + } + + public SignatureCreationService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public SignatureCreationService() { + super(SIGNATURECREATIONSERVICE_WSDL_LOCATION, new QName("http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", "SignatureCreationService")); + } + + /** + * + * @return + * returns SignatureCreationPortType + */ + @WebEndpoint(name = "SignatureCreationPort") + public SignatureCreationPortType getSignatureCreationPort() { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", "SignatureCreationPort"), SignatureCreationPortType.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns SignatureCreationPortType + */ + @WebEndpoint(name = "SignatureCreationPort") + public SignatureCreationPortType getSignatureCreationPort(WebServiceFeature... features) { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", "SignatureCreationPort"), SignatureCreationPortType.class, features); + } + +} diff --git a/src/main/java/at/gv/util/wsdl/SignatureVerificationPortType.java b/src/main/java/at/gv/util/wsdl/SignatureVerificationPortType.java new file mode 100644 index 0000000..04145aa --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/SignatureVerificationPortType.java @@ -0,0 +1,62 @@ + +package at.gv.util.wsdl; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; + +import at.gv.util.xsd.moaspss.VerifyCMSSignatureRequest; +import at.gv.util.xsd.moaspss.VerifyCMSSignatureResponseType; +import at.gv.util.xsd.moaspss.VerifyXMLSignatureRequestType; +import at.gv.util.xsd.moaspss.VerifyXMLSignatureResponseType; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebService(name = "SignatureVerificationPortType", targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + at.gv.util.xsd.xmldsig.ObjectFactory.class, + at.gv.util.xsd.moaspss.ObjectFactory.class +}) +public interface SignatureVerificationPortType { + + + /** + * + * @param body + * @return + * returns at.gv.zustellung.util.xsd.moaspss.VerifyCMSSignatureResponseType + * @throws MOAFault + */ + @WebMethod(action = "urn:VerifyCMSSignatureAction") + @WebResult(name = "VerifyCMSSignatureResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", partName = "body") + public VerifyCMSSignatureResponseType verifyCMSSignature( + @WebParam(name = "VerifyCMSSignatureRequest", targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", partName = "body") + VerifyCMSSignatureRequest body) + throws MOAFault + ; + + /** + * + * @param body + * @return + * returns at.gv.zustellung.util.xsd.moaspss.VerifyXMLSignatureResponseType + * @throws MOAFault + */ + @WebMethod(action = "urn:VerifyXMLSignatureAction") + @WebResult(name = "VerifyXMLSignatureResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", partName = "body") + public VerifyXMLSignatureResponseType verifyXMLSignature( + @WebParam(name = "VerifyXMLSignatureRequest", targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", partName = "body") + VerifyXMLSignatureRequestType body) + throws MOAFault + ; + +} diff --git a/src/main/java/at/gv/util/wsdl/SignatureVerificationService.java b/src/main/java/at/gv/util/wsdl/SignatureVerificationService.java new file mode 100644 index 0000000..9643c35 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/SignatureVerificationService.java @@ -0,0 +1,71 @@ + +package at.gv.util.wsdl; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.logging.Logger; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebServiceClient(name = "SignatureVerificationService", targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", wsdlLocation = "file:/D:/eclipse/development/openzuse/trunk/zuseutil/src/main/resources/wsdl/MOA-SPSS-1.3.wsdl") +public class SignatureVerificationService + extends Service +{ + + private final static URL SIGNATUREVERIFICATIONSERVICE_WSDL_LOCATION; + private final static Logger logger = Logger.getLogger(at.gv.util.wsdl.SignatureVerificationService.class.getName()); + + static { + URL url = null; + try { + URL baseUrl; + baseUrl = at.gv.util.wsdl.SignatureVerificationService.class.getResource("."); + url = new URL(baseUrl, "file:/D:/eclipse/development/openzuse/trunk/zuseutil/src/main/resources/wsdl/MOA-SPSS-1.3.wsdl"); + } catch (MalformedURLException e) { + logger.warning("Failed to create URL for the wsdl Location: 'file:/D:/eclipse/development/openzuse/trunk/zuseutil/src/main/resources/wsdl/MOA-SPSS-1.3.wsdl', retrying as a local file"); + logger.warning(e.getMessage()); + } + SIGNATUREVERIFICATIONSERVICE_WSDL_LOCATION = url; + } + + public SignatureVerificationService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public SignatureVerificationService() { + super(SIGNATUREVERIFICATIONSERVICE_WSDL_LOCATION, new QName("http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", "SignatureVerificationService")); + } + + /** + * + * @return + * returns SignatureVerificationPortType + */ + @WebEndpoint(name = "SignatureVerificationPort") + public SignatureVerificationPortType getSignatureVerificationPort() { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", "SignatureVerificationPort"), SignatureVerificationPortType.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns SignatureVerificationPortType + */ + @WebEndpoint(name = "SignatureVerificationPort") + public SignatureVerificationPortType getSignatureVerificationPort(WebServiceFeature... features) { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", "SignatureVerificationPort"), SignatureVerificationPortType.class, features); + } + +} diff --git a/src/main/java/at/gv/util/wsdl/ersb/ErsbService.java b/src/main/java/at/gv/util/wsdl/ersb/ErsbService.java new file mode 100644 index 0000000..6c0dddd --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/ersb/ErsbService.java @@ -0,0 +1,44 @@ + +package at.gv.util.wsdl.ersb; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; +import at.gv.util.xsd.ersb.ErsbRequest; +import at.gv.util.xsd.ersb.ErsbResponse; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.4-b01 + * Generated source version: 2.2 + * + */ +@WebService(name = "ErsbService", targetNamespace = "http://statistik.at/namespace/ersb/1#") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + at.gv.util.xsd.ersb.personendata1.ObjectFactory.class, + at.gv.util.xsd.ersb.pd.ObjectFactory.class, + at.gv.util.xsd.ersb.ObjectFactory.class, + at.gv.util.xsd.ersb.basicTypes.ObjectFactory.class, + at.gv.util.xsd.ersb.simpletypes.ObjectFactory.class +}) +public interface ErsbService { + + + /** + * + * @param ersbRequest + * @return + * returns at.gv.util.xsd.ersb.ErsbResponse + */ + @WebMethod(operationName = "Ersb") + @WebResult(name = "ErsbResponse", targetNamespace = "http://statistik.at/namespace/ersb/1#", partName = "ErsbResponse") + public ErsbResponse ersb( + @WebParam(name = "ErsbRequest", targetNamespace = "http://statistik.at/namespace/ersb/1#", partName = "ErsbRequest") + ErsbRequest ersbRequest); + +} diff --git a/src/main/java/at/gv/util/wsdl/ersb/ErsbServiceService.java b/src/main/java/at/gv/util/wsdl/ersb/ErsbServiceService.java new file mode 100644 index 0000000..36e4694 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/ersb/ErsbServiceService.java @@ -0,0 +1,85 @@ + +package at.gv.util.wsdl.ersb; + +import java.net.MalformedURLException; +import java.net.URL; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceException; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.4-b01 + * Generated source version: 2.2 + * + */ +@WebServiceClient(name = "ErsbServiceService", targetNamespace = "http://statistik.at/namespace/ersb/1#", wsdlLocation = "file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ERsB/1.1/ErsbService.wsdl") +public class ErsbServiceService + extends Service +{ + + private final static URL ERSBSERVICESERVICE_WSDL_LOCATION; + private final static WebServiceException ERSBSERVICESERVICE_EXCEPTION; + private final static QName ERSBSERVICESERVICE_QNAME = new QName("http://statistik.at/namespace/ersb/1#", "ErsbServiceService"); + + static { + URL url = null; + WebServiceException e = null; + try { + url = new URL("file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ERsB/1.1/ErsbService.wsdl"); + } catch (MalformedURLException ex) { + e = new WebServiceException(ex); + } + ERSBSERVICESERVICE_WSDL_LOCATION = url; + ERSBSERVICESERVICE_EXCEPTION = e; + } + + public ErsbServiceService() { + super(__getWsdlLocation(), ERSBSERVICESERVICE_QNAME); + } + + + public ErsbServiceService(URL wsdlLocation) { + super(wsdlLocation, ERSBSERVICESERVICE_QNAME); + } + + + public ErsbServiceService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + + /** + * + * @return + * returns ErsbService + */ + @WebEndpoint(name = "ErsbServiceSoap11") + public ErsbService getErsbServiceSoap11() { + return super.getPort(new QName("http://statistik.at/namespace/ersb/1#", "ErsbServiceSoap11"), ErsbService.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns ErsbService + */ + @WebEndpoint(name = "ErsbServiceSoap11") + public ErsbService getErsbServiceSoap11(WebServiceFeature... features) { + return super.getPort(new QName("http://statistik.at/namespace/ersb/1#", "ErsbServiceSoap11"), ErsbService.class, features); + } + + private static URL __getWsdlLocation() { + if (ERSBSERVICESERVICE_EXCEPTION!= null) { + throw ERSBSERVICESERVICE_EXCEPTION; + } + return ERSBSERVICESERVICE_WSDL_LOCATION; + } + +} diff --git a/src/main/java/at/gv/util/wsdl/mis/MandateIssuePortType.java b/src/main/java/at/gv/util/wsdl/mis/MandateIssuePortType.java new file mode 100644 index 0000000..0e0ccdb --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/MandateIssuePortType.java @@ -0,0 +1,41 @@ + +package at.gv.util.wsdl.mis; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; +import at.gv.util.xsd.mis.MandateIssueRequestType; +import at.gv.util.xsd.mis.MandateIssueResponseType; +import at.gv.util.xsd.mis.ObjectFactory; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.4-b01 + * Generated source version: 2.2 + * + */ +@WebService(name = "MandateIssuePortType", targetNamespace = "http://reference.e-government.gv.at/namespace/mandates/mis/1.0/wsdl") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + ObjectFactory.class +}) +public interface MandateIssuePortType { + + + /** + * + * @param mandateIssueRequest + * @return + * returns at.gv.util.xsd.mis.MandateIssueResponseType + */ + @WebMethod(operationName = "MandateIssueOperation", action = "mis:MandateIssuePortType#MandateIssueOperation") + @WebResult(name = "MandateIssueResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd", partName = "MandateIssueResponse") + public MandateIssueResponseType mandateIssueOperation( + @WebParam(name = "MandateIssueRequest", targetNamespace = "http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd", partName = "MandateIssueRequest") + MandateIssueRequestType mandateIssueRequest); + +} diff --git a/src/main/java/at/gv/util/wsdl/mis/MandateIssueService.java b/src/main/java/at/gv/util/wsdl/mis/MandateIssueService.java new file mode 100644 index 0000000..2cc7de5 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/MandateIssueService.java @@ -0,0 +1,73 @@ + +package at.gv.util.wsdl.mis; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.logging.Logger; + +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceException; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.4-b01 + * Generated source version: 2.2 + * + */ +@WebServiceClient(name = "MandateIssueService", targetNamespace = "http://reference.e-government.gv.at/namespace/mandates/mis/1.0/wsdl", wsdlLocation = "file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/mis/mis-1.0.3.wsdl") +public class MandateIssueService + extends Service +{ + + private final static URL MANDATEISSUESERVICE_WSDL_LOCATION; + private final static Logger logger = Logger.getLogger(at.gv.util.wsdl.mis.MandateIssueService.class.getName()); + + static { + URL url = null; + try { + URL baseUrl; + baseUrl = at.gv.util.wsdl.mis.MandateIssueService.class.getResource("."); + url = new URL(baseUrl, "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/mis/mis-1.0.3.wsdl"); + } catch (MalformedURLException e) { + logger.warning("Failed to create URL for the wsdl Location: 'file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/mis/mis-1.0.3.wsdl', retrying as a local file"); + logger.warning(e.getMessage()); + } + MANDATEISSUESERVICE_WSDL_LOCATION = url; + } + + public MandateIssueService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public MandateIssueService() { + super(MANDATEISSUESERVICE_WSDL_LOCATION, new QName("http://reference.e-government.gv.at/namespace/mandates/mis/1.0/wsdl", "MandateIssueService")); + } + + /** + * + * @return + * returns MandateIssuePortType + */ + @WebEndpoint(name = "MandateIssuePort") + public MandateIssuePortType getMandateIssuePort() { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/mandates/mis/1.0/wsdl", "MandateIssuePort"), MandateIssuePortType.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns MandateIssuePortType + */ + @WebEndpoint(name = "MandateIssuePort") + public MandateIssuePortType getMandateIssuePort(WebServiceFeature... features) { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/mandates/mis/1.0/wsdl", "MandateIssuePort"), MandateIssuePortType.class, features); + } + +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp/GetMandatesPortType.java b/src/main/java/at/gv/util/wsdl/mis/usp/GetMandatesPortType.java new file mode 100644 index 0000000..22a970a --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp/GetMandatesPortType.java @@ -0,0 +1,41 @@ + +package at.gv.util.wsdl.mis.usp; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; +import at.gv.util.xsd.mis.usp.GetMandatesRequest; +import at.gv.util.xsd.mis.usp.GetMandatesResponse; +import at.gv.util.xsd.mis.usp.ObjectFactory; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebService(name = "GetMandatesPortType", targetNamespace = "http://reference.e-government.gv.at/namespace/mandates/mis/usp/1.0.2/wsdl") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + ObjectFactory.class +}) +public interface GetMandatesPortType { + + + /** + * + * @param getMandatesRequest + * @return + * returns at.gv.util.xsd.mis.usp.GetMandatesResponse + */ + @WebMethod(operationName = "GetMandatesOperation", action = "usp:GetMandatesPortType#GetMandatesOperation") + @WebResult(name = "GetMandatesResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/mandates/mis/usp/1.0.2/xsd", partName = "GetMandatesResponse") + public GetMandatesResponse getMandatesOperation( + @WebParam(name = "GetMandatesRequest", targetNamespace = "http://reference.e-government.gv.at/namespace/mandates/mis/usp/1.0.2/xsd", partName = "GetMandatesRequest") + GetMandatesRequest getMandatesRequest); + +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp/GetMandatesService.java b/src/main/java/at/gv/util/wsdl/mis/usp/GetMandatesService.java new file mode 100644 index 0000000..778922f --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp/GetMandatesService.java @@ -0,0 +1,71 @@ + +package at.gv.util.wsdl.mis.usp; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.logging.Logger; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebServiceClient(name = "GetMandatesService", targetNamespace = "http://reference.e-government.gv.at/namespace/mandates/mis/usp/1.0.2/wsdl", wsdlLocation = "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/mis/usp/mis-usp-1.0.2.wsdl") +public class GetMandatesService + extends Service +{ + + private final static URL GETMANDATESSERVICE_WSDL_LOCATION; + private final static Logger logger = Logger.getLogger(at.gv.util.wsdl.mis.usp.GetMandatesService.class.getName()); + + static { + URL url = null; + try { + URL baseUrl; + baseUrl = at.gv.util.wsdl.mis.usp.GetMandatesService.class.getResource("."); + url = new URL(baseUrl, "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/mis/usp/mis-usp-1.0.2.wsdl"); + } catch (MalformedURLException e) { + logger.warning("Failed to create URL for the wsdl Location: 'file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/mis/usp/mis-usp-1.0.2.wsdl', retrying as a local file"); + logger.warning(e.getMessage()); + } + GETMANDATESSERVICE_WSDL_LOCATION = url; + } + + public GetMandatesService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public GetMandatesService() { + super(GETMANDATESSERVICE_WSDL_LOCATION, new QName("http://reference.e-government.gv.at/namespace/mandates/mis/usp/1.0.2/wsdl", "GetMandatesService")); + } + + /** + * + * @return + * returns GetMandatesPortType + */ + @WebEndpoint(name = "GetMandatesPort") + public GetMandatesPortType getGetMandatesPort() { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/mandates/mis/usp/1.0.2/wsdl", "GetMandatesPort"), GetMandatesPortType.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns GetMandatesPortType + */ + @WebEndpoint(name = "GetMandatesPort") + public GetMandatesPortType getGetMandatesPort(WebServiceFeature... features) { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/mandates/mis/usp/1.0.2/wsdl", "GetMandatesPort"), GetMandatesPortType.class, features); + } + +} diff --git a/src/main/java/at/gv/util/wsdl/misstork/MISSTORKService.java b/src/main/java/at/gv/util/wsdl/misstork/MISSTORKService.java new file mode 100644 index 0000000..e09e161 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/misstork/MISSTORKService.java @@ -0,0 +1,84 @@ + +package at.gv.util.wsdl.misstork; + +import java.net.MalformedURLException; +import java.net.URL; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceException; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.4-b01 + * Generated source version: 2.2 + * + */ +@WebServiceClient(name = "MISSTORKService", targetNamespace = "http://reference.e-government.gv.at/namespace/misstork/20131126/wsdl", wsdlLocation = "file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/misstork/misstork.wsdl") +public class MISSTORKService + extends Service +{ + + private final static URL MISSTORKSERVICE_WSDL_LOCATION; + private final static WebServiceException MISSTORKSERVICE_EXCEPTION; + private final static QName MISSTORKSERVICE_QNAME = new QName("http://reference.e-government.gv.at/namespace/misstork/20131126/wsdl", "MISSTORKService"); + + static { + URL url = null; + WebServiceException e = null; + try { + url = new URL("file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/misstork/misstork.wsdl"); + } catch (MalformedURLException ex) { + e = new WebServiceException(ex); + } + MISSTORKSERVICE_WSDL_LOCATION = url; + MISSTORKSERVICE_EXCEPTION = e; + } + + public MISSTORKService() { + super(__getWsdlLocation(), MISSTORKSERVICE_QNAME); + } + + public MISSTORKService(URL wsdlLocation) { + super(wsdlLocation, MISSTORKSERVICE_QNAME); + } + + + public MISSTORKService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + + /** + * + * @return + * returns MISSTORKType + */ + @WebEndpoint(name = "MISSTORKPort") + public MISSTORKType getMISSTORKPort() { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/misstork/20131126/wsdl", "MISSTORKPort"), MISSTORKType.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns MISSTORKType + */ + @WebEndpoint(name = "MISSTORKPort") + public MISSTORKType getMISSTORKPort(WebServiceFeature... features) { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/misstork/20131126/wsdl", "MISSTORKPort"), MISSTORKType.class, features); + } + + private static URL __getWsdlLocation() { + if (MISSTORKSERVICE_EXCEPTION!= null) { + throw MISSTORKSERVICE_EXCEPTION; + } + return MISSTORKSERVICE_WSDL_LOCATION; + } + +} diff --git a/src/main/java/at/gv/util/wsdl/misstork/MISSTORKType.java b/src/main/java/at/gv/util/wsdl/misstork/MISSTORKType.java new file mode 100644 index 0000000..eb807e6 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/misstork/MISSTORKType.java @@ -0,0 +1,46 @@ + +package at.gv.util.wsdl.misstork; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; +import at.gv.util.xsd.misstork.MisStorkRequest; +import at.gv.util.xsd.misstork.MisStorkResponse; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.4-b01 + * Generated source version: 2.2 + * + */ +@WebService(name = "MISSTORKType", targetNamespace = "http://reference.e-government.gv.at/namespace/misstork/20131126/wsdl") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + at.gv.util.xsd.misstork.ObjectFactory.class, + at.gv.util.xsd.persondata.ObjectFactory.class, + at.gv.util.xsd.mis.ObjectFactory.class, + at.gv.util.xsd.xmldsig.ObjectFactory.class +}) +public interface MISSTORKType { + + + /** + * + * @param misStorkRequest + * @return + * returns at.gv.util.xsd.misstork.MisStorkResponse + * @throws MisStorkError + */ + @WebMethod(operationName = "MISSTORKOperation", action = "ms:MISSTORKType#MISSTORKOperation") + @WebResult(name = "MisStorkResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/misstork/20131126/xsd", partName = "MisStorkResponse") + public MisStorkResponse misstorkOperation( + @WebParam(name = "MisStorkRequest", targetNamespace = "http://reference.e-government.gv.at/namespace/misstork/20131126/xsd", partName = "MisStorkRequest") + MisStorkRequest misStorkRequest) + throws MisStorkError + ; + +} diff --git a/src/main/java/at/gv/util/wsdl/misstork/MisStorkError.java b/src/main/java/at/gv/util/wsdl/misstork/MisStorkError.java new file mode 100644 index 0000000..6b3ecac --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/misstork/MisStorkError.java @@ -0,0 +1,54 @@ + +package at.gv.util.wsdl.misstork; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.4-b01 + * Generated source version: 2.2 + * + */ +@WebFault(name = "MisStorkError", targetNamespace = "http://reference.e-government.gv.at/namespace/misstork/20131126/xsd") +public class MisStorkError + extends Exception +{ + + /** + * Java type that goes as soapenv:Fault detail element. + * + */ + private at.gv.util.xsd.misstork.MisStorkError faultInfo; + + /** + * + * @param message + * @param faultInfo + */ + public MisStorkError(String message, at.gv.util.xsd.misstork.MisStorkError faultInfo) { + super(message); + this.faultInfo = faultInfo; + } + + /** + * + * @param message + * @param faultInfo + * @param cause + */ + public MisStorkError(String message, at.gv.util.xsd.misstork.MisStorkError faultInfo, Throwable cause) { + super(message, cause); + this.faultInfo = faultInfo; + } + + /** + * + * @return + * returns fault bean: at.gv.util.xsd.misstork.MisStorkError + */ + public at.gv.util.xsd.misstork.MisStorkError getFaultInfo() { + return faultInfo; + } + +} diff --git a/src/main/java/at/gv/util/wsdl/mms/GetMandatesPortType.java b/src/main/java/at/gv/util/wsdl/mms/GetMandatesPortType.java new file mode 100644 index 0000000..258ca09 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mms/GetMandatesPortType.java @@ -0,0 +1,41 @@ + +package at.gv.util.wsdl.mms; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; +import at.gv.util.xsd.mms.GetMandatesRequest; +import at.gv.util.xsd.mms.GetMandatesResponse; +import at.gv.util.xsd.mms.ObjectFactory; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebService(name = "GetMandatesPortType", targetNamespace = "http://reference.e-government.gv.at/namespace/mandates/mms/1.0/wsdl") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + ObjectFactory.class +}) +public interface GetMandatesPortType { + + + /** + * + * @param getMandatesRequest + * @return + * returns at.gv.util.xsd.mms.GetMandatesResponse + */ + @WebMethod(operationName = "GetMandatesOperation", action = "mis:GetMandatesPortType#GetMandatesOperation") + @WebResult(name = "GetMandatesResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/mandates/mms/1.0/xsd", partName = "GetMandatesResponse") + public GetMandatesResponse getMandatesOperation( + @WebParam(name = "GetMandatesRequest", targetNamespace = "http://reference.e-government.gv.at/namespace/mandates/mms/1.0/xsd", partName = "GetMandatesRequest") + GetMandatesRequest getMandatesRequest); + +} diff --git a/src/main/java/at/gv/util/wsdl/mms/GetMandatesService.java b/src/main/java/at/gv/util/wsdl/mms/GetMandatesService.java new file mode 100644 index 0000000..e3736d0 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mms/GetMandatesService.java @@ -0,0 +1,71 @@ + +package at.gv.util.wsdl.mms; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.logging.Logger; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebServiceClient(name = "GetMandatesService", targetNamespace = "http://reference.e-government.gv.at/namespace/mandates/mms/1.0/wsdl", wsdlLocation = "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/mms/mms.wsdl") +public class GetMandatesService + extends Service +{ + + private final static URL GETMANDATESSERVICE_WSDL_LOCATION; + private final static Logger logger = Logger.getLogger(at.gv.util.wsdl.mms.GetMandatesService.class.getName()); + + static { + URL url = null; + try { + URL baseUrl; + baseUrl = at.gv.util.wsdl.mms.GetMandatesService.class.getResource("."); + url = new URL(baseUrl, "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/mms/mms.wsdl"); + } catch (MalformedURLException e) { + logger.warning("Failed to create URL for the wsdl Location: 'file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/mms/mms.wsdl', retrying as a local file"); + logger.warning(e.getMessage()); + } + GETMANDATESSERVICE_WSDL_LOCATION = url; + } + + public GetMandatesService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public GetMandatesService() { + super(GETMANDATESSERVICE_WSDL_LOCATION, new QName("http://reference.e-government.gv.at/namespace/mandates/mms/1.0/wsdl", "GetMandatesService")); + } + + /** + * + * @return + * returns GetMandatesPortType + */ + @WebEndpoint(name = "GetMandatesPort") + public GetMandatesPortType getGetMandatesPort() { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/mandates/mms/1.0/wsdl", "GetMandatesPort"), GetMandatesPortType.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns GetMandatesPortType + */ + @WebEndpoint(name = "GetMandatesPort") + public GetMandatesPortType getGetMandatesPort(WebServiceFeature... features) { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/mandates/mms/1.0/wsdl", "GetMandatesPort"), GetMandatesPortType.class, features); + } + +} diff --git a/src/main/java/at/gv/util/wsdl/mzs/App2Mzs.java b/src/main/java/at/gv/util/wsdl/mzs/App2Mzs.java new file mode 100644 index 0000000..d0734f4 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mzs/App2Mzs.java @@ -0,0 +1,71 @@ + +package at.gv.util.wsdl.mzs; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.logging.Logger; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebServiceClient(name = "app2mzs", targetNamespace = "http://reference.e-government.gv.at/namespace/app2mzs.wsdl", wsdlLocation = "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/mzs/app2mzs.wsdl") +public class App2Mzs + extends Service +{ + + private final static URL APP2MZS_WSDL_LOCATION; + private final static Logger logger = Logger.getLogger(at.gv.util.wsdl.mzs.App2Mzs.class.getName()); + + static { + URL url = null; + try { + URL baseUrl; + baseUrl = at.gv.util.wsdl.mzs.App2Mzs.class.getResource("."); + url = new URL(baseUrl, "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/mzs/app2mzs.wsdl"); + } catch (MalformedURLException e) { + logger.warning("Failed to create URL for the wsdl Location: 'file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/mzs/app2mzs.wsdl', retrying as a local file"); + logger.warning(e.getMessage()); + } + APP2MZS_WSDL_LOCATION = url; + } + + public App2Mzs(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public App2Mzs() { + super(APP2MZS_WSDL_LOCATION, new QName("http://reference.e-government.gv.at/namespace/app2mzs.wsdl", "app2mzs")); + } + + /** + * + * @return + * returns App2MzsPortType + */ + @WebEndpoint(name = "app2mzsPort") + public App2MzsPortType getApp2MzsPort() { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/app2mzs.wsdl", "app2mzsPort"), App2MzsPortType.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns App2MzsPortType + */ + @WebEndpoint(name = "app2mzsPort") + public App2MzsPortType getApp2MzsPort(WebServiceFeature... features) { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/app2mzs.wsdl", "app2mzsPort"), App2MzsPortType.class, features); + } + +} diff --git a/src/main/java/at/gv/util/wsdl/mzs/App2MzsPortType.java b/src/main/java/at/gv/util/wsdl/mzs/App2MzsPortType.java new file mode 100644 index 0000000..58a93fa --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mzs/App2MzsPortType.java @@ -0,0 +1,41 @@ + +package at.gv.util.wsdl.mzs; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; +import at.gv.util.xsd.mzs.DeliveryRequestType; +import at.gv.util.xsd.mzs.DeliveryResponseType; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebService(name = "app2mzsPortType", targetNamespace = "http://reference.e-government.gv.at/namespace/app2mzs.wsdl") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + at.gv.util.xsd.mzs.ObjectFactory.class, + at.gv.util.xsd.mzs.persondata.ObjectFactory.class +}) +public interface App2MzsPortType { + + + /** + * + * @param deliveryRequest + * @return + * returns at.gv.util.xsd.mzs.DeliveryResponseType + */ + @WebMethod(operationName = "app2mzs") + @WebResult(name = "DeliveryResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", partName = "DeliveryResponse") + public DeliveryResponseType app2Mzs( + @WebParam(name = "DeliveryRequest", targetNamespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", partName = "DeliveryRequest") + DeliveryRequestType deliveryRequest); + +} diff --git a/src/main/java/at/gv/util/wsdl/szr/SZR.java b/src/main/java/at/gv/util/wsdl/szr/SZR.java new file mode 100644 index 0000000..381617b --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/szr/SZR.java @@ -0,0 +1,270 @@ + +package at.gv.util.wsdl.szr; + +import java.util.List; +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.ws.Holder; +import javax.xml.ws.RequestWrapper; +import javax.xml.ws.ResponseWrapper; +import at.gv.util.xsd.szr.BasiszahlZuBPKReturnType; +import at.gv.util.xsd.szr.FremdBPKRequestType; +import at.gv.util.xsd.szr.FremdBPKType; +import at.gv.util.xsd.szr.GetBPKKombiRequestType; +import at.gv.util.xsd.szr.GetBPKKombiResponseType; +import at.gv.util.xsd.szr.GetVersionResponse; +import at.gv.util.xsd.szr.IdentityLinkType; +import at.gv.util.xsd.szr.PersonInfoType; +import at.gv.util.xsd.szr.ZMRAnwendungsIntegrationReturnType; +import at.gv.util.xsd.szr.xmldsig.KeyValueType; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebService(name = "SZR", targetNamespace = "urn:SZRServices") +@XmlSeeAlso({ + at.gv.util.xsd.szr.persondata.ObjectFactory.class, + at.gv.util.xsd.szr.ObjectFactory.class, + at.gv.util.xsd.szr.ecdsa.ObjectFactory.class, + at.gv.util.xsd.szr.xmldsig.ObjectFactory.class, + at.gv.util.xsd.szr.pvp.sec.ObjectFactory.class, + at.gv.util.xsd.szr.pvp.ObjectFactory.class +}) +public interface SZR { + + + /** + * + * @param insertERnP + * @param personInfo + * @param keyValue + * @return + * returns at.gv.util.xsd.szr.IdentityLinkType + * @throws SZRException + */ + @WebMethod(operationName = "GetIdentityLink") + @WebResult(name = "GetIdentityLinkReturn", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "GetIdentityLink", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetIdentityLink") + @ResponseWrapper(localName = "GetIdentityLinkResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetIdentityLinkResponse") + public IdentityLinkType getIdentityLink( + @WebParam(name = "PersonInfo", targetNamespace = "urn:SZRServices") + PersonInfoType personInfo, + @WebParam(name = "KeyValue", targetNamespace = "urn:SZRServices") + List<KeyValueType> keyValue, + @WebParam(name = "InsertERnP", targetNamespace = "urn:SZRServices") + Boolean insertERnP) + throws SZRException + ; + + /** + * + * @param listMultiplePersons + * @param target + * @param personInfo0 + * @param bereichsKennung + * @param getBPKReturn + * @param fremdBPK + * @param vkz + * @param personInfo + * @throws SZRException + */ + @WebMethod(operationName = "GetBPK") + @RequestWrapper(localName = "GetBPK", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetBPK") + @ResponseWrapper(localName = "GetBPKResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetBPKResponse") + public void getBPK( + @WebParam(name = "PersonInfo", targetNamespace = "urn:SZRServices") + PersonInfoType personInfo, + @WebParam(name = "BereichsKennung", targetNamespace = "urn:SZRServices") + String bereichsKennung, + @WebParam(name = "VKZ", targetNamespace = "urn:SZRServices") + String vkz, + @WebParam(name = "Target", targetNamespace = "urn:SZRServices") + List<FremdBPKRequestType> target, + @WebParam(name = "ListMultiplePersons", targetNamespace = "urn:SZRServices") + Boolean listMultiplePersons, + @WebParam(name = "GetBPKReturn", targetNamespace = "urn:SZRServices", mode = WebParam.Mode.OUT) + Holder<String> getBPKReturn, + @WebParam(name = "FremdBPK", targetNamespace = "urn:SZRServices", mode = WebParam.Mode.OUT) + Holder<List<FremdBPKType>> fremdBPK, + @WebParam(name = "PersonInfo", targetNamespace = "urn:SZRServices", mode = WebParam.Mode.OUT) + Holder<List<PersonInfoType>> personInfo0) + throws SZRException + ; + + /** + * + * @param getBPKKombiRequest + * @return + * returns at.gv.util.xsd.szr.GetBPKKombiResponseType + * @throws SZRException + */ + @WebMethod(operationName = "GetBPKKombi") + @WebResult(name = "GetBPKKombiResponse", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "GetBPKKombi", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetBPKKombi") + @ResponseWrapper(localName = "GetBPKKombiResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetBPKKombiResponse") + public GetBPKKombiResponseType getBPKKombi( + @WebParam(name = "GetBPKKombiRequest", targetNamespace = "urn:SZRServices") + GetBPKKombiRequestType getBPKKombiRequest) + throws SZRException + ; + + /** + * + * @param identityLink + * @param bereichsKennung + * @return + * returns java.lang.String + * @throws SZRException + */ + @WebMethod(operationName = "ValidateIdentityLink") + @WebResult(name = "ValidateIdentityLinkReturn", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "ValidateIdentityLink", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.ValidateIdentityLink") + @ResponseWrapper(localName = "ValidateIdentityLinkResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.ValidateIdentityLinkResponse") + public String validateIdentityLink( + @WebParam(name = "IdentityLink", targetNamespace = "urn:SZRServices") + IdentityLinkType identityLink, + @WebParam(name = "BereichsKennung", targetNamespace = "urn:SZRServices") + String bereichsKennung) + throws SZRException + ; + + /** + * + * @param begruendung + * @param inputBereichsKennung + * @param inputBPK + * @param target + * @param personInfo + * @return + * returns java.util.List<at.gv.util.xsd.szr.FremdBPKType> + * @throws SZRException + */ + @WebMethod(operationName = "TransformBPK") + @WebResult(name = "TransformBPKReturn", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "TransformBPK", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.TransformBPK") + @ResponseWrapper(localName = "TransformBPKResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.TransformBPKResponse") + public List<FremdBPKType> transformBPK( + @WebParam(name = "PersonInfo", targetNamespace = "urn:SZRServices") + PersonInfoType personInfo, + @WebParam(name = "InputBPK", targetNamespace = "urn:SZRServices") + String inputBPK, + @WebParam(name = "InputBereichsKennung", targetNamespace = "urn:SZRServices") + String inputBereichsKennung, + @WebParam(name = "Begruendung", targetNamespace = "urn:SZRServices") + String begruendung, + @WebParam(name = "Target", targetNamespace = "urn:SZRServices") + List<FremdBPKRequestType> target) + throws SZRException + ; + + /** + * + * @param basisZahl + * @param bpk + * @param bereich + * @return + * returns java.lang.String + * @throws SZRException + */ + @WebMethod(operationName = "BPKzuBasiszahl") + @WebResult(name = "BPKzuBasiszahlReturn", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "BPKzuBasiszahl", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.BPKzuBasiszahl") + @ResponseWrapper(localName = "BPKzuBasiszahlResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.BPKzuBasiszahlResponse") + public String bpKzuBasiszahl( + @WebParam(name = "Bereich", targetNamespace = "urn:SZRServices") + String bereich, + @WebParam(name = "BPK", targetNamespace = "urn:SZRServices") + String bpk, + @WebParam(name = "BasisZahl", targetNamespace = "urn:SZRServices") + List<String> basisZahl) + throws SZRException + ; + + /** + * + * @param fremdBPKTargets + * @param basisZahl + * @param bereich + * @return + * returns java.util.List<at.gv.util.xsd.szr.BasiszahlZuBPKReturnType> + * @throws SZRException + */ + @WebMethod(operationName = "BasiszahlZuBPK") + @WebResult(name = "BasiszahlZuBPKReturn", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "BasiszahlZuBPK", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.BasiszahlZuBPK") + @ResponseWrapper(localName = "BasiszahlZuBPKResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.BasiszahlZuBPKResponse") + public List<BasiszahlZuBPKReturnType> basiszahlZuBPK( + @WebParam(name = "BasisZahl", targetNamespace = "urn:SZRServices") + List<String> basisZahl, + @WebParam(name = "Bereich", targetNamespace = "urn:SZRServices") + String bereich, + @WebParam(name = "FremdBPKTargets", targetNamespace = "urn:SZRServices") + List<FremdBPKRequestType> fremdBPKTargets) + throws SZRException + ; + + /** + * + * @param zmRfremdbPK + * @param fremdBPKTargets + * @param bereich + * @return + * returns java.util.List<at.gv.util.xsd.szr.ZMRAnwendungsIntegrationReturnType> + * @throws SZRException + */ + @WebMethod(operationName = "ZMRAnwendungsIntegration") + @WebResult(name = "ZMRAnwendungsIntegrationReturn", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "ZMRAnwendungsIntegration", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.ZMRAnwendungsIntegration") + @ResponseWrapper(localName = "ZMRAnwendungsIntegrationResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.ZMRAnwendungsIntegrationResponse") + public List<ZMRAnwendungsIntegrationReturnType> zmrAnwendungsIntegration( + @WebParam(name = "Bereich", targetNamespace = "urn:SZRServices") + String bereich, + @WebParam(name = "FremdBPKTargets", targetNamespace = "urn:SZRServices") + List<FremdBPKRequestType> fremdBPKTargets, + @WebParam(name = "ZMRfremdbPK", targetNamespace = "urn:SZRServices") + List<String> zmRfremdbPK) + throws SZRException + ; + + /** + * + * @param personInfo + * @return + * returns java.lang.String + * @throws SZRException + */ + @WebMethod(operationName = "GetStammzahl") + @WebResult(name = "Stammzahl", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "GetStammzahl", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetStammzahl") + @ResponseWrapper(localName = "GetStammzahlResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetStammzahlResponse") + public String getStammzahl( + @WebParam(name = "PersonInfo", targetNamespace = "urn:SZRServices") + PersonInfoType personInfo) + throws SZRException + ; + + /** + * + * @param parameters + * @return + * returns at.gv.util.xsd.szr.GetVersionResponse + * @throws SZRException + */ + @WebMethod(operationName = "GetVersion") + @WebResult(name = "GetVersionResponse", targetNamespace = "urn:SZRServices", partName = "parameters") + @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) + public GetVersionResponse getVersion( + @WebParam(name = "GetVersion", targetNamespace = "urn:SZRServices", partName = "parameters") + Object parameters) + throws SZRException + ; + +} diff --git a/src/main/java/at/gv/util/wsdl/szr/SZRException.java b/src/main/java/at/gv/util/wsdl/szr/SZRException.java new file mode 100644 index 0000000..f8bdf70 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/szr/SZRException.java @@ -0,0 +1,54 @@ + +package at.gv.util.wsdl.szr; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebFault(name = "SZRException", targetNamespace = "urn:SZRServices") +public class SZRException + extends Exception +{ + + /** + * Java type that goes as soapenv:Fault detail element. + * + */ + private at.gv.util.xsd.szr.SZRException faultInfo; + + /** + * + * @param message + * @param faultInfo + */ + public SZRException(String message, at.gv.util.xsd.szr.SZRException faultInfo) { + super(message); + this.faultInfo = faultInfo; + } + + /** + * + * @param message + * @param faultInfo + * @param cause + */ + public SZRException(String message, at.gv.util.xsd.szr.SZRException faultInfo, Throwable cause) { + super(message, cause); + this.faultInfo = faultInfo; + } + + /** + * + * @return + * returns fault bean: at.gv.util.xsd.szr.SZRException + */ + public at.gv.util.xsd.szr.SZRException getFaultInfo() { + return faultInfo; + } + +} diff --git a/src/main/java/at/gv/util/wsdl/szr/SZRService.java b/src/main/java/at/gv/util/wsdl/szr/SZRService.java new file mode 100644 index 0000000..adc728c --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/szr/SZRService.java @@ -0,0 +1,93 @@ + +package at.gv.util.wsdl.szr; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.logging.Logger; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebServiceClient(name = "SZRService", targetNamespace = "urn:SZRServices", wsdlLocation = "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/szr/SZR_v2.0.wsdl") +public class SZRService + extends Service +{ + + private final static URL SZRSERVICE_WSDL_LOCATION; + private final static Logger logger = Logger.getLogger(at.gv.util.wsdl.szr.SZRService.class.getName()); + + static { + URL url = null; + try { + URL baseUrl; + baseUrl = at.gv.util.wsdl.szr.SZRService.class.getResource("."); + url = new URL(baseUrl, "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/szr/SZR_v2.0.wsdl"); + } catch (MalformedURLException e) { + logger.warning("Failed to create URL for the wsdl Location: 'file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/szr/SZR_v2.0.wsdl', retrying as a local file"); + logger.warning(e.getMessage()); + } + SZRSERVICE_WSDL_LOCATION = url; + } + + public SZRService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public SZRService() { + super(SZRSERVICE_WSDL_LOCATION, new QName("urn:SZRServices", "SZRService")); + } + + /** + * + * @return + * returns SZR + */ + @WebEndpoint(name = "SZRTestumgebung") + public SZR getSZRTestumgebung() { + return super.getPort(new QName("urn:SZRServices", "SZRTestumgebung"), SZR.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns SZR + */ + @WebEndpoint(name = "SZRTestumgebung") + public SZR getSZRTestumgebung(WebServiceFeature... features) { + return super.getPort(new QName("urn:SZRServices", "SZRTestumgebung"), SZR.class, features); + } + + /** + * + * @return + * returns SZR + */ + @WebEndpoint(name = "SZRProduktionsumgebung") + public SZR getSZRProduktionsumgebung() { + return super.getPort(new QName("urn:SZRServices", "SZRProduktionsumgebung"), SZR.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns SZR + */ + @WebEndpoint(name = "SZRProduktionsumgebung") + public SZR getSZRProduktionsumgebung(WebServiceFeature... features) { + return super.getPort(new QName("urn:SZRServices", "SZRProduktionsumgebung"), SZR.class, features); + } + +} diff --git a/src/main/java/at/gv/util/wsdl/szrgw/SZRGWService.java b/src/main/java/at/gv/util/wsdl/szrgw/SZRGWService.java new file mode 100644 index 0000000..6a8d173 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/szrgw/SZRGWService.java @@ -0,0 +1,85 @@ + +package at.gv.util.wsdl.szrgw; + +import java.net.MalformedURLException; +import java.net.URL; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceException; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.4-b01 + * Generated source version: 2.2 + * + */ +@WebServiceClient(name = "SZRGWService", targetNamespace = "http://reference.e-government.gv.at/namespace/szrgw/20070807/wsdl", wsdlLocation = "file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/szrgw/szrgw.wsdl") +public class SZRGWService + extends Service +{ + + private final static URL SZRGWSERVICE_WSDL_LOCATION; + private final static WebServiceException SZRGWSERVICE_EXCEPTION; + private final static QName SZRGWSERVICE_QNAME = new QName("http://reference.e-government.gv.at/namespace/szrgw/20070807/wsdl", "SZRGWService"); + + static { + URL url = null; + WebServiceException e = null; + try { + url = new URL("file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/szrgw/szrgw.wsdl"); + } catch (MalformedURLException ex) { + e = new WebServiceException(ex); + } + SZRGWSERVICE_WSDL_LOCATION = url; + SZRGWSERVICE_EXCEPTION = e; + } + + public SZRGWService() { + super(__getWsdlLocation(), SZRGWSERVICE_QNAME); + } + + + public SZRGWService(URL wsdlLocation) { + super(wsdlLocation, SZRGWSERVICE_QNAME); + } + + + public SZRGWService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + + /** + * + * @return + * returns SZRGWType + */ + @WebEndpoint(name = "SZRGWPort") + public SZRGWType getSZRGWPort() { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/szrgw/20070807/wsdl", "SZRGWPort"), SZRGWType.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns SZRGWType + */ + @WebEndpoint(name = "SZRGWPort") + public SZRGWType getSZRGWPort(WebServiceFeature... features) { + return super.getPort(new QName("http://reference.e-government.gv.at/namespace/szrgw/20070807/wsdl", "SZRGWPort"), SZRGWType.class, features); + } + + private static URL __getWsdlLocation() { + if (SZRGWSERVICE_EXCEPTION!= null) { + throw SZRGWSERVICE_EXCEPTION; + } + return SZRGWSERVICE_WSDL_LOCATION; + } + +} diff --git a/src/main/java/at/gv/util/wsdl/szrgw/SZRGWType.java b/src/main/java/at/gv/util/wsdl/szrgw/SZRGWType.java new file mode 100644 index 0000000..98d2702 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/szrgw/SZRGWType.java @@ -0,0 +1,45 @@ + +package at.gv.util.wsdl.szrgw; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; +import at.gv.util.xsd.srzgw.CreateIdentityLinkRequest; +import at.gv.util.xsd.srzgw.CreateIdentityLinkResponse; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.4-b01 + * Generated source version: 2.2 + * + */ +@WebService(name = "SZRGWType", targetNamespace = "http://reference.e-government.gv.at/namespace/szrgw/20070807/wsdl") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + at.gv.util.xsd.srzgw.ObjectFactory.class, + at.gv.util.xsd.persondata.ObjectFactory.class, + at.gv.util.xsd.mis.ObjectFactory.class, + at.gv.util.xsd.saml.assertion.ObjectFactory.class, + at.gv.util.xsd.stork.ObjectFactory.class, + at.gv.util.xsd.xmldsig.ObjectFactory.class +}) +public interface SZRGWType { + + + /** + * + * @param createIdentityLinkRequest + * @return + * returns at.gv.util.xsd.srzgw.CreateIdentityLinkResponse + */ + @WebMethod(operationName = "SZRGWOperation", action = "szrgw:SZRGWType#SZRGWOperation") + @WebResult(name = "CreateIdentityLinkResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/szrgw/20070807/xsd", partName = "CreateIdentityLinkResponse") + public CreateIdentityLinkResponse szrgwOperation( + @WebParam(name = "CreateIdentityLinkRequest", targetNamespace = "http://reference.e-government.gv.at/namespace/szrgw/20070807/xsd", partName = "CreateIdentityLinkRequest") + CreateIdentityLinkRequest createIdentityLinkRequest); + +} diff --git a/src/main/java/at/gv/util/wsdl/ur/URSuche.java b/src/main/java/at/gv/util/wsdl/ur/URSuche.java new file mode 100644 index 0000000..a5f46ff --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/ur/URSuche.java @@ -0,0 +1,63 @@ + +package at.gv.util.wsdl.ur; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; +import at.gv.util.xsd.ur.xmlsw.SearchByExampleType; +import at.gv.util.xsd.ur.xmlsw.SearchByIdType; +import at.gv.util.xsd.ur.xmlsw.SearchResponseType; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.4-b01 + * Generated source version: 2.2 + * + */ +@WebService(name = "URSuche", targetNamespace = "urn:at:statistik:udb:ws") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + at.gv.util.xsd.ur.search.ObjectFactory.class, + at.gv.util.xsd.ur.pd.ObjectFactory.class, + at.gv.util.xsd.ur.xmlsw.ObjectFactory.class, + generated.ObjectFactory.class, + at.gv.util.xsd.ur.simpletypes.ObjectFactory.class +}) +public interface URSuche { + + + /** + * Operation für den Abfragetyp + * Search by Example + * + * + * @param body + * @return + * returns at.gv.util.xsd.ur.xmlsw.SearchResponseType + */ + @WebMethod + @WebResult(name = "SearchResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") + public SearchResponseType searchByExample( + @WebParam(name = "SearchByExample", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") + SearchByExampleType body); + + /** + * Operation für den Abfragetyp + * Search by Id + * + * + * @param body + * @return + * returns at.gv.util.xsd.ur.xmlsw.SearchResponseType + */ + @WebMethod + @WebResult(name = "SearchResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") + public SearchResponseType searchById( + @WebParam(name = "SearchById", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") + SearchByIdType body); + +} diff --git a/src/main/java/at/gv/util/wsdl/ur/URSucheService.java b/src/main/java/at/gv/util/wsdl/ur/URSucheService.java new file mode 100644 index 0000000..672e619 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/ur/URSucheService.java @@ -0,0 +1,94 @@ + +package at.gv.util.wsdl.ur; + +import java.net.MalformedURLException; +import java.net.URL; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceException; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.4-b01 + * Generated source version: 2.2 + * + */ +@WebServiceClient(name = "URSucheService", targetNamespace = "urn:at:statistik:udb:ws", wsdlLocation = "file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ur/URSucheService.wsdl") +public class URSucheService + extends Service +{ + + private final static URL URSUCHESERVICE_WSDL_LOCATION; + private final static WebServiceException URSUCHESERVICE_EXCEPTION; + private final static QName URSUCHESERVICE_QNAME = new QName("urn:at:statistik:udb:ws", "URSucheService"); + + static { + URL url = null; + WebServiceException e = null; + try { + url = new URL("file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ur/URSucheService.wsdl"); + } catch (MalformedURLException ex) { + e = new WebServiceException(ex); + } + URSUCHESERVICE_WSDL_LOCATION = url; + URSUCHESERVICE_EXCEPTION = e; + } + + public URSucheService() { + super(__getWsdlLocation(), URSUCHESERVICE_QNAME); + } + + public URSucheService(WebServiceFeature... features) { + super(__getWsdlLocation(), URSUCHESERVICE_QNAME, features); + } + + public URSucheService(URL wsdlLocation) { + super(wsdlLocation, URSUCHESERVICE_QNAME); + } + + public URSucheService(URL wsdlLocation, WebServiceFeature... features) { + super(wsdlLocation, URSUCHESERVICE_QNAME, features); + } + + public URSucheService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public URSucheService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) { + super(wsdlLocation, serviceName, features); + } + + /** + * + * @return + * returns URSuche + */ + @WebEndpoint(name = "URSucheService") + public URSuche getURSucheService() { + return super.getPort(new QName("urn:at:statistik:udb:ws", "URSucheService"), URSuche.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns URSuche + */ + @WebEndpoint(name = "URSucheService") + public URSuche getURSucheService(WebServiceFeature... features) { + return super.getPort(new QName("urn:at:statistik:udb:ws", "URSucheService"), URSuche.class, features); + } + + private static URL __getWsdlLocation() { + if (URSUCHESERVICE_EXCEPTION!= null) { + throw URSUCHESERVICE_EXCEPTION; + } + return URSUCHESERVICE_WSDL_LOCATION; + } + +} diff --git a/src/main/java/at/gv/util/wsdl/ur/package-info.java b/src/main/java/at/gv/util/wsdl/ur/package-info.java new file mode 100644 index 0000000..6a7f40f --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/ur/package-info.java @@ -0,0 +1,6 @@ +/** + * Dieses WSDL-Dokument beschreibt den + * XML-Search-Service. + * + */ +package at.gv.util.wsdl.ur; diff --git a/src/main/java/at/gv/util/wsdl/ur_V2/URSuche.java b/src/main/java/at/gv/util/wsdl/ur_V2/URSuche.java new file mode 100644 index 0000000..ca967e1 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/ur_V2/URSuche.java @@ -0,0 +1,62 @@ + +package at.gv.util.wsdl.ur_V2; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; +import at.gv.util.xsd.ur_V2.xmlsw.SearchByExampleType; +import at.gv.util.xsd.ur_V2.xmlsw.SearchByIdType; +import at.gv.util.xsd.ur_V2.xmlsw.SearchResponseType; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.4-b01 + * Generated source version: 2.2 + * + */ +@WebService(name = "URSuche", targetNamespace = "urn:at:statistik:ur:ws") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + at.gv.util.xsd.ur_V2.pd.ObjectFactory.class, + at.gv.util.xsd.ur_V2.search.ObjectFactory.class, + at.gv.util.xsd.ur_V2.xmlsw.ObjectFactory.class, + at.gv.util.xsd.ur_V2.simpletypes.ObjectFactory.class +}) +public interface URSuche { + + + /** + * Operation für den Abfragetyp + * Search by Example + * + * + * @param body + * @return + * returns at.gv.util.xsd.ur_V2.xmlsw.SearchResponseType + */ + @WebMethod + @WebResult(name = "SearchResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") + public SearchResponseType searchByExample( + @WebParam(name = "SearchByExample", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") + SearchByExampleType body); + + /** + * Operation für den Abfragetyp + * Search by Id + * + * + * @param body + * @return + * returns at.gv.util.xsd.ur_V2.xmlsw.SearchResponseType + */ + @WebMethod + @WebResult(name = "SearchResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") + public SearchResponseType searchById( + @WebParam(name = "SearchById", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") + SearchByIdType body); + +} diff --git a/src/main/java/at/gv/util/wsdl/ur_V2/URSucheService.java b/src/main/java/at/gv/util/wsdl/ur_V2/URSucheService.java new file mode 100644 index 0000000..da026e4 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/ur_V2/URSucheService.java @@ -0,0 +1,94 @@ + +package at.gv.util.wsdl.ur_V2; + +import java.net.MalformedURLException; +import java.net.URL; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceException; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.4-b01 + * Generated source version: 2.2 + * + */ +@WebServiceClient(name = "URSucheService", targetNamespace = "urn:at:statistik:ur:ws", wsdlLocation = "file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ur_V2/URSucheService.wsdl") +public class URSucheService + extends Service +{ + + private final static URL URSUCHESERVICE_WSDL_LOCATION; + private final static WebServiceException URSUCHESERVICE_EXCEPTION; + private final static QName URSUCHESERVICE_QNAME = new QName("urn:at:statistik:ur:ws", "URSucheService"); + + static { + URL url = null; + WebServiceException e = null; + try { + url = new URL("file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ur_V2/URSucheService.wsdl"); + } catch (MalformedURLException ex) { + e = new WebServiceException(ex); + } + URSUCHESERVICE_WSDL_LOCATION = url; + URSUCHESERVICE_EXCEPTION = e; + } + + public URSucheService() { + super(__getWsdlLocation(), URSUCHESERVICE_QNAME); + } + + public URSucheService(WebServiceFeature... features) { + super(__getWsdlLocation(), URSUCHESERVICE_QNAME, features); + } + + public URSucheService(URL wsdlLocation) { + super(wsdlLocation, URSUCHESERVICE_QNAME); + } + + public URSucheService(URL wsdlLocation, WebServiceFeature... features) { + super(wsdlLocation, URSUCHESERVICE_QNAME, features); + } + + public URSucheService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public URSucheService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) { + super(wsdlLocation, serviceName, features); + } + + /** + * + * @return + * returns URSuche + */ + @WebEndpoint(name = "URSucheService") + public URSuche getURSucheService() { + return super.getPort(new QName("urn:at:statistik:ur:ws", "URSucheService"), URSuche.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns URSuche + */ + @WebEndpoint(name = "URSucheService") + public URSuche getURSucheService(WebServiceFeature... features) { + return super.getPort(new QName("urn:at:statistik:ur:ws", "URSucheService"), URSuche.class, features); + } + + private static URL __getWsdlLocation() { + if (URSUCHESERVICE_EXCEPTION!= null) { + throw URSUCHESERVICE_EXCEPTION; + } + return URSUCHESERVICE_WSDL_LOCATION; + } + +} diff --git a/src/main/java/at/gv/util/wsdl/ur_V2/package-info.java b/src/main/java/at/gv/util/wsdl/ur_V2/package-info.java new file mode 100644 index 0000000..7836a77 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/ur_V2/package-info.java @@ -0,0 +1,6 @@ +/** + * Dieses WSDL-Dokument beschreibt den + * XML-Search-Service. + * + */ +package at.gv.util.wsdl.ur_V2; diff --git a/src/main/java/at/gv/util/wsdl/zkopf/BulkPortType.java b/src/main/java/at/gv/util/wsdl/zkopf/BulkPortType.java new file mode 100644 index 0000000..c0e7de4 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/zkopf/BulkPortType.java @@ -0,0 +1,42 @@ + +package at.gv.util.wsdl.zkopf; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; +import at.gv.util.xsd.zkopf.BulkAnswerType; +import at.gv.util.xsd.zkopf.BulkQueryType; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebService(name = "BulkPortType", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/kopf/wsdl") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + at.gv.util.xsd.zkopf.persondata.ObjectFactory.class, + at.gv.util.xsd.zkopf.xmldsig.ObjectFactory.class, + at.gv.util.xsd.zkopf.ObjectFactory.class +}) +public interface BulkPortType { + + + /** + * + * @param bulkQuery + * @return + * returns at.gv.util.xsd.zkopf.BulkAnswerType + */ + @WebMethod(operationName = "BulkOperation", action = "tns:BulkPortType#BulkOperation") + @WebResult(name = "BulkAnswer", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/kopf", partName = "BulkAnswer") + public BulkAnswerType bulkOperation( + @WebParam(name = "BulkQuery", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/kopf", partName = "BulkQuery") + BulkQueryType bulkQuery); + +} diff --git a/src/main/java/at/gv/util/wsdl/zkopf/BulkService.java b/src/main/java/at/gv/util/wsdl/zkopf/BulkService.java new file mode 100644 index 0000000..a6b4e30 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/zkopf/BulkService.java @@ -0,0 +1,71 @@ + +package at.gv.util.wsdl.zkopf; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.logging.Logger; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebServiceClient(name = "BulkService", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/kopf/wsdl", wsdlLocation = "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zkopf/zkopf.wsdl") +public class BulkService + extends Service +{ + + private final static URL BULKSERVICE_WSDL_LOCATION; + private final static Logger logger = Logger.getLogger(at.gv.util.wsdl.zkopf.BulkService.class.getName()); + + static { + URL url = null; + try { + URL baseUrl; + baseUrl = at.gv.util.wsdl.zkopf.BulkService.class.getResource("."); + url = new URL(baseUrl, "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zkopf/zkopf.wsdl"); + } catch (MalformedURLException e) { + logger.warning("Failed to create URL for the wsdl Location: 'file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zkopf/zkopf.wsdl', retrying as a local file"); + logger.warning(e.getMessage()); + } + BULKSERVICE_WSDL_LOCATION = url; + } + + public BulkService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public BulkService() { + super(BULKSERVICE_WSDL_LOCATION, new QName("http://reference.e-government.gv.at/namespaces/zustellung/kopf/wsdl", "BulkService")); + } + + /** + * + * @return + * returns BulkPortType + */ + @WebEndpoint(name = "BulkPort") + public BulkPortType getBulkPort() { + return super.getPort(new QName("http://reference.e-government.gv.at/namespaces/zustellung/kopf/wsdl", "BulkPort"), BulkPortType.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns BulkPortType + */ + @WebEndpoint(name = "BulkPort") + public BulkPortType getBulkPort(WebServiceFeature... features) { + return super.getPort(new QName("http://reference.e-government.gv.at/namespaces/zustellung/kopf/wsdl", "BulkPort"), BulkPortType.class, features); + } + +} diff --git a/src/main/java/at/gv/util/wsdl/zuserech/ClearingPortType.java b/src/main/java/at/gv/util/wsdl/zuserech/ClearingPortType.java new file mode 100644 index 0000000..3111bf2 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/zuserech/ClearingPortType.java @@ -0,0 +1,41 @@ + +package at.gv.util.wsdl.zuserech; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; +import at.gv.util.xsd.zuserech.ClearingRequestType; +import at.gv.util.xsd.zuserech.ClearingResponseType; +import at.gv.util.xsd.zuserech.ObjectFactory; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebService(name = "ClearingPortType", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/rech/wsdl") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + ObjectFactory.class +}) +public interface ClearingPortType { + + + /** + * + * @param clearingRequest + * @return + * returns at.gv.util.xsd.zuserech.ClearingResponseType + */ + @WebMethod(operationName = "ClearingOperation", action = "tns:ClearingPortType#ClearingOperation") + @WebResult(name = "ClearingResponse", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/rech", partName = "ClearingResponse") + public ClearingResponseType clearingOperation( + @WebParam(name = "ClearingRequest", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/rech", partName = "ClearingRequest") + ClearingRequestType clearingRequest); + +} diff --git a/src/main/java/at/gv/util/wsdl/zuserech/ClearingService.java b/src/main/java/at/gv/util/wsdl/zuserech/ClearingService.java new file mode 100644 index 0000000..e976187 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/zuserech/ClearingService.java @@ -0,0 +1,71 @@ + +package at.gv.util.wsdl.zuserech; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.logging.Logger; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebServiceClient(name = "ClearingService", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/rech/wsdl", wsdlLocation = "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zkopf/zuserech.wsdl") +public class ClearingService + extends Service +{ + + private final static URL CLEARINGSERVICE_WSDL_LOCATION; + private final static Logger logger = Logger.getLogger(at.gv.util.wsdl.zuserech.ClearingService.class.getName()); + + static { + URL url = null; + try { + URL baseUrl; + baseUrl = at.gv.util.wsdl.zuserech.ClearingService.class.getResource("."); + url = new URL(baseUrl, "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zkopf/zuserech.wsdl"); + } catch (MalformedURLException e) { + logger.warning("Failed to create URL for the wsdl Location: 'file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zkopf/zuserech.wsdl', retrying as a local file"); + logger.warning(e.getMessage()); + } + CLEARINGSERVICE_WSDL_LOCATION = url; + } + + public ClearingService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public ClearingService() { + super(CLEARINGSERVICE_WSDL_LOCATION, new QName("http://reference.e-government.gv.at/namespaces/zustellung/rech/wsdl", "ClearingService")); + } + + /** + * + * @return + * returns ClearingPortType + */ + @WebEndpoint(name = "ClearingPort") + public ClearingPortType getClearingPort() { + return super.getPort(new QName("http://reference.e-government.gv.at/namespaces/zustellung/rech/wsdl", "ClearingPort"), ClearingPortType.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns ClearingPortType + */ + @WebEndpoint(name = "ClearingPort") + public ClearingPortType getClearingPort(WebServiceFeature... features) { + return super.getPort(new QName("http://reference.e-government.gv.at/namespaces/zustellung/rech/wsdl", "ClearingPort"), ClearingPortType.class, features); + } + +} diff --git a/src/main/java/at/gv/util/wsdl/zuserech/ValidateTokenPortType.java b/src/main/java/at/gv/util/wsdl/zuserech/ValidateTokenPortType.java new file mode 100644 index 0000000..672877d --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/zuserech/ValidateTokenPortType.java @@ -0,0 +1,41 @@ + +package at.gv.util.wsdl.zuserech; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; +import at.gv.util.xsd.zuserech.ObjectFactory; +import at.gv.util.xsd.zuserech.ValidateTokenRequest; +import at.gv.util.xsd.zuserech.ValidateTokenResponse; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebService(name = "ValidateTokenPortType", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/rech/wsdl") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + ObjectFactory.class +}) +public interface ValidateTokenPortType { + + + /** + * + * @param validateTokenRequest + * @return + * returns at.gv.util.xsd.zuserech.ValidateTokenResponse + */ + @WebMethod(operationName = "ValidateTokenOperation", action = "tns:ValidateTokenPortType#ValidateTokenOperation") + @WebResult(name = "ValidateTokenResponse", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/rech", partName = "ValidateTokenResponse") + public ValidateTokenResponse validateTokenOperation( + @WebParam(name = "ValidateTokenRequest", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/rech", partName = "ValidateTokenRequest") + ValidateTokenRequest validateTokenRequest); + +} diff --git a/src/main/java/at/gv/util/wsdl/zuserech/ValidateTokenService.java b/src/main/java/at/gv/util/wsdl/zuserech/ValidateTokenService.java new file mode 100644 index 0000000..91b59f4 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/zuserech/ValidateTokenService.java @@ -0,0 +1,71 @@ + +package at.gv.util.wsdl.zuserech; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.logging.Logger; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebServiceClient(name = "ValidateTokenService", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/rech/wsdl", wsdlLocation = "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zkopf/zuserech.wsdl") +public class ValidateTokenService + extends Service +{ + + private final static URL VALIDATETOKENSERVICE_WSDL_LOCATION; + private final static Logger logger = Logger.getLogger(at.gv.util.wsdl.zuserech.ValidateTokenService.class.getName()); + + static { + URL url = null; + try { + URL baseUrl; + baseUrl = at.gv.util.wsdl.zuserech.ValidateTokenService.class.getResource("."); + url = new URL(baseUrl, "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zkopf/zuserech.wsdl"); + } catch (MalformedURLException e) { + logger.warning("Failed to create URL for the wsdl Location: 'file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zkopf/zuserech.wsdl', retrying as a local file"); + logger.warning(e.getMessage()); + } + VALIDATETOKENSERVICE_WSDL_LOCATION = url; + } + + public ValidateTokenService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public ValidateTokenService() { + super(VALIDATETOKENSERVICE_WSDL_LOCATION, new QName("http://reference.e-government.gv.at/namespaces/zustellung/rech/wsdl", "ValidateTokenService")); + } + + /** + * + * @return + * returns ValidateTokenPortType + */ + @WebEndpoint(name = "ValidateTokenPort") + public ValidateTokenPortType getValidateTokenPort() { + return super.getPort(new QName("http://reference.e-government.gv.at/namespaces/zustellung/rech/wsdl", "ValidateTokenPort"), ValidateTokenPortType.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. + * @return + * returns ValidateTokenPortType + */ + @WebEndpoint(name = "ValidateTokenPort") + public ValidateTokenPortType getValidateTokenPort(WebServiceFeature... features) { + return super.getPort(new QName("http://reference.e-government.gv.at/namespaces/zustellung/rech/wsdl", "ValidateTokenPort"), ValidateTokenPortType.class, features); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/BestandsnachweisErsb.java b/src/main/java/at/gv/util/xsd/ersb/BestandsnachweisErsb.java new file mode 100644 index 0000000..1ec3dac --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/BestandsnachweisErsb.java @@ -0,0 +1,61 @@ + +package at.gv.util.xsd.ersb; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.basicTypes.Bestandsnachweis; + + +/** + * <p>Java class for BestandsnachweisErsb complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="BestandsnachweisErsb"> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/stammdaten/2#>Bestandsnachweis"> + * <attGroup ref="{http://statistik.at/namespace/ersb/1#}ErsbAttributes"/> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BestandsnachweisErsb") +public class BestandsnachweisErsb + extends Bestandsnachweis +{ + + @XmlAttribute(name = "aktion", namespace = "http://statistik.at/namespace/ersb/1#") + protected String aktion; + + /** + * Gets the value of the aktion property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAktion() { + return aktion; + } + + /** + * Sets the value of the aktion property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAktion(String value) { + this.aktion = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/BestandszeitraumErsb.java b/src/main/java/at/gv/util/xsd/ersb/BestandszeitraumErsb.java new file mode 100644 index 0000000..77b6614 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/BestandszeitraumErsb.java @@ -0,0 +1,61 @@ + +package at.gv.util.xsd.ersb; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.basicTypes.Bestandszeitraum; + + +/** + * <p>Java class for BestandszeitraumErsb complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="BestandszeitraumErsb"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Bestandszeitraum"> + * <attGroup ref="{http://statistik.at/namespace/ersb/1#}ErsbAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BestandszeitraumErsb") +public class BestandszeitraumErsb + extends Bestandszeitraum +{ + + @XmlAttribute(name = "aktion", namespace = "http://statistik.at/namespace/ersb/1#") + protected String aktion; + + /** + * Gets the value of the aktion property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAktion() { + return aktion; + } + + /** + * Sets the value of the aktion property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAktion(String value) { + this.aktion = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/ErsbRequest.java b/src/main/java/at/gv/util/xsd/ersb/ErsbRequest.java new file mode 100644 index 0000000..1fc0573 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/ErsbRequest.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ersb; + +import java.math.BigInteger; +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.XmlType; +import at.gv.util.xsd.ersb.personendata1.PersonenDatenTyp; + + +/** + * <p>Java class for ErsbRequest complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ErsbRequest"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PersonenDaten" type="{http://statistik.at/namespace/ersb/persondata/1#}PersonenDatenTyp"/> + * </sequence> + * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ErsbRequest", propOrder = { + "personenDaten" +}) +public class ErsbRequest { + + @XmlElement(name = "PersonenDaten", required = true) + protected PersonenDatenTyp personenDaten; + @XmlAttribute(name = "id") + protected BigInteger id; + + /** + * Gets the value of the personenDaten property. + * + * @return + * possible object is + * {@link PersonenDatenTyp } + * + */ + public PersonenDatenTyp getPersonenDaten() { + return personenDaten; + } + + /** + * Sets the value of the personenDaten property. + * + * @param value + * allowed object is + * {@link PersonenDatenTyp } + * + */ + public void setPersonenDaten(PersonenDatenTyp value) { + this.personenDaten = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setId(BigInteger value) { + this.id = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/ErsbResponse.java b/src/main/java/at/gv/util/xsd/ersb/ErsbResponse.java new file mode 100644 index 0000000..96cb508 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/ErsbResponse.java @@ -0,0 +1,145 @@ + +package at.gv.util.xsd.ersb; + +import java.math.BigInteger; +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.XmlType; +import at.gv.util.xsd.ersb.pd.PersonenDatenTyp; + + +/** + * <p>Java class for ErsbResponse complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ErsbResponse"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="returncode" type="{http://www.w3.org/2001/XMLSchema}int"/> + * <element name="statustext" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PersonenDaten" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PersonenDatenTyp" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ErsbResponse", propOrder = { + "returncode", + "statustext", + "personenDaten" +}) +public class ErsbResponse { + + protected int returncode; + protected String statustext; + @XmlElement(name = "PersonenDaten") + protected List<PersonenDatenTyp> personenDaten; + @XmlAttribute(name = "id") + protected BigInteger id; + + /** + * Gets the value of the returncode property. + * + */ + public int getReturncode() { + return returncode; + } + + /** + * Sets the value of the returncode property. + * + */ + public void setReturncode(int value) { + this.returncode = value; + } + + /** + * Gets the value of the statustext property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStatustext() { + return statustext; + } + + /** + * Sets the value of the statustext property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStatustext(String value) { + this.statustext = value; + } + + /** + * Gets the value of the personenDaten property. + * + * <p> + * 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 <CODE>set</CODE> method for the personenDaten property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getPersonenDaten().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonenDatenTyp } + * + * + */ + public List<PersonenDatenTyp> getPersonenDaten() { + if (personenDaten == null) { + personenDaten = new ArrayList<PersonenDatenTyp>(); + } + return this.personenDaten; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setId(BigInteger value) { + this.id = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/FktRegelTypErsb.java b/src/main/java/at/gv/util/xsd/ersb/FktRegelTypErsb.java new file mode 100644 index 0000000..0e05c21 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/FktRegelTypErsb.java @@ -0,0 +1,61 @@ + +package at.gv.util.xsd.ersb; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.basicTypes.FktRegelTyp; + + +/** + * <p>Java class for FktRegelTypErsb complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FktRegelTypErsb"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}FktRegelTyp"> + * <attGroup ref="{http://statistik.at/namespace/ersb/1#}ErsbAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FktRegelTypErsb") +public class FktRegelTypErsb + extends FktRegelTyp +{ + + @XmlAttribute(name = "aktion", namespace = "http://statistik.at/namespace/ersb/1#") + protected String aktion; + + /** + * Gets the value of the aktion property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAktion() { + return aktion; + } + + /** + * Sets the value of the aktion property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAktion(String value) { + this.aktion = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/FunktionErsb.java b/src/main/java/at/gv/util/xsd/ersb/FunktionErsb.java new file mode 100644 index 0000000..60621c8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/FunktionErsb.java @@ -0,0 +1,128 @@ + +package at.gv.util.xsd.ersb; + +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.XmlType; +import at.gv.util.xsd.ersb.basicTypes.Funktion; + + +/** + * <p>Java class for FunktionErsb complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FunktionErsb"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Funktion"> + * <sequence> + * <element name="FktRegel" type="{http://statistik.at/namespace/ersb/1#}FktRegelTypErsb" minOccurs="0"/> + * <element name="Rechtstatsachen" type="{http://statistik.at/namespace/ersb/1#}RechtstatsachenErsb" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ersb/1#}ErsbAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FunktionErsb", propOrder = { + "fktRegel", + "rechtstatsachen" +}) +public class FunktionErsb + extends Funktion +{ + + @XmlElement(name = "FktRegel") + protected FktRegelTypErsb fktRegel; + @XmlElement(name = "Rechtstatsachen") + protected List<RechtstatsachenErsb> rechtstatsachen; + @XmlAttribute(name = "aktion", namespace = "http://statistik.at/namespace/ersb/1#") + protected String aktion; + + /** + * Gets the value of the fktRegel property. + * + * @return + * possible object is + * {@link FktRegelTypErsb } + * + */ + public FktRegelTypErsb getFktRegel() { + return fktRegel; + } + + /** + * Sets the value of the fktRegel property. + * + * @param value + * allowed object is + * {@link FktRegelTypErsb } + * + */ + public void setFktRegel(FktRegelTypErsb value) { + this.fktRegel = value; + } + + /** + * Gets the value of the rechtstatsachen property. + * + * <p> + * 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 <CODE>set</CODE> method for the rechtstatsachen property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRechtstatsachen().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link RechtstatsachenErsb } + * + * + */ + public List<RechtstatsachenErsb> getRechtstatsachen() { + if (rechtstatsachen == null) { + rechtstatsachen = new ArrayList<RechtstatsachenErsb>(); + } + return this.rechtstatsachen; + } + + /** + * Gets the value of the aktion property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAktion() { + return aktion; + } + + /** + * Sets the value of the aktion property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAktion(String value) { + this.aktion = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ersb/ObjectFactory.java new file mode 100644 index 0000000..a9fea97 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/ObjectFactory.java @@ -0,0 +1,226 @@ + +package at.gv.util.xsd.ersb; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ersb package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Rechtsform_QNAME = new QName("http://statistik.at/namespace/ersb/1#", "Rechtsform"); + private final static QName _ErsbResponse_QNAME = new QName("http://statistik.at/namespace/ersb/1#", "ErsbResponse"); + private final static QName _Rechtstatsachen_QNAME = new QName("http://statistik.at/namespace/ersb/1#", "Rechtstatsachen"); + private final static QName _Ende_QNAME = new QName("http://statistik.at/namespace/ersb/1#", "Ende"); + private final static QName _Bestandsnachweis_QNAME = new QName("http://statistik.at/namespace/ersb/1#", "Bestandsnachweis"); + private final static QName _Bestandszeitraum_QNAME = new QName("http://statistik.at/namespace/ersb/1#", "Bestandszeitraum"); + private final static QName _Vertretung_QNAME = new QName("http://statistik.at/namespace/ersb/1#", "Vertretung"); + private final static QName _UntName_QNAME = new QName("http://statistik.at/namespace/ersb/1#", "UntName"); + private final static QName _Funktion_QNAME = new QName("http://statistik.at/namespace/ersb/1#", "Funktion"); + private final static QName _Beginn_QNAME = new QName("http://statistik.at/namespace/ersb/1#", "Beginn"); + private final static QName _ErsbRequest_QNAME = new QName("http://statistik.at/namespace/ersb/1#", "ErsbRequest"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ersb + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ErsbRequest } + * + */ + public ErsbRequest createErsbRequest() { + return new ErsbRequest(); + } + + /** + * Create an instance of {@link BestandszeitraumErsb } + * + */ + public BestandszeitraumErsb createBestandszeitraumErsb() { + return new BestandszeitraumErsb(); + } + + /** + * Create an instance of {@link VertretungErsb } + * + */ + public VertretungErsb createVertretungErsb() { + return new VertretungErsb(); + } + + /** + * Create an instance of {@link UntNameErsb } + * + */ + public UntNameErsb createUntNameErsb() { + return new UntNameErsb(); + } + + /** + * Create an instance of {@link BestandsnachweisErsb } + * + */ + public BestandsnachweisErsb createBestandsnachweisErsb() { + return new BestandsnachweisErsb(); + } + + /** + * Create an instance of {@link ErsbResponse } + * + */ + public ErsbResponse createErsbResponse() { + return new ErsbResponse(); + } + + /** + * Create an instance of {@link FunktionErsb } + * + */ + public FunktionErsb createFunktionErsb() { + return new FunktionErsb(); + } + + /** + * Create an instance of {@link RechtsformErsb } + * + */ + public RechtsformErsb createRechtsformErsb() { + return new RechtsformErsb(); + } + + /** + * Create an instance of {@link RechtstatsachenErsb } + * + */ + public RechtstatsachenErsb createRechtstatsachenErsb() { + return new RechtstatsachenErsb(); + } + + /** + * Create an instance of {@link FktRegelTypErsb } + * + */ + public FktRegelTypErsb createFktRegelTypErsb() { + return new FktRegelTypErsb(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RechtsformErsb }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/1#", name = "Rechtsform") + public JAXBElement<RechtsformErsb> createRechtsform(RechtsformErsb value) { + return new JAXBElement<RechtsformErsb>(_Rechtsform_QNAME, RechtsformErsb.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ErsbResponse }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/1#", name = "ErsbResponse") + public JAXBElement<ErsbResponse> createErsbResponse(ErsbResponse value) { + return new JAXBElement<ErsbResponse>(_ErsbResponse_QNAME, ErsbResponse.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RechtstatsachenErsb }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/1#", name = "Rechtstatsachen") + public JAXBElement<RechtstatsachenErsb> createRechtstatsachen(RechtstatsachenErsb value) { + return new JAXBElement<RechtstatsachenErsb>(_Rechtstatsachen_QNAME, RechtstatsachenErsb.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/1#", name = "Ende") + public JAXBElement<XMLGregorianCalendar> createEnde(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_Ende_QNAME, XMLGregorianCalendar.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BestandsnachweisErsb }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/1#", name = "Bestandsnachweis") + public JAXBElement<BestandsnachweisErsb> createBestandsnachweis(BestandsnachweisErsb value) { + return new JAXBElement<BestandsnachweisErsb>(_Bestandsnachweis_QNAME, BestandsnachweisErsb.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BestandszeitraumErsb }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/1#", name = "Bestandszeitraum") + public JAXBElement<BestandszeitraumErsb> createBestandszeitraum(BestandszeitraumErsb value) { + return new JAXBElement<BestandszeitraumErsb>(_Bestandszeitraum_QNAME, BestandszeitraumErsb.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VertretungErsb }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/1#", name = "Vertretung") + public JAXBElement<VertretungErsb> createVertretung(VertretungErsb value) { + return new JAXBElement<VertretungErsb>(_Vertretung_QNAME, VertretungErsb.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link UntNameErsb }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/1#", name = "UntName") + public JAXBElement<UntNameErsb> createUntName(UntNameErsb value) { + return new JAXBElement<UntNameErsb>(_UntName_QNAME, UntNameErsb.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link FunktionErsb }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/1#", name = "Funktion") + public JAXBElement<FunktionErsb> createFunktion(FunktionErsb value) { + return new JAXBElement<FunktionErsb>(_Funktion_QNAME, FunktionErsb.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/1#", name = "Beginn") + public JAXBElement<XMLGregorianCalendar> createBeginn(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_Beginn_QNAME, XMLGregorianCalendar.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ErsbRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/1#", name = "ErsbRequest") + public JAXBElement<ErsbRequest> createErsbRequest(ErsbRequest value) { + return new JAXBElement<ErsbRequest>(_ErsbRequest_QNAME, ErsbRequest.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/RechtsformErsb.java b/src/main/java/at/gv/util/xsd/ersb/RechtsformErsb.java new file mode 100644 index 0000000..3c0549a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/RechtsformErsb.java @@ -0,0 +1,61 @@ + +package at.gv.util.xsd.ersb; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.basicTypes.Rechtsform; + + +/** + * <p>Java class for RechtsformErsb complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RechtsformErsb"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtsform"> + * <attGroup ref="{http://statistik.at/namespace/ersb/1#}ErsbAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RechtsformErsb") +public class RechtsformErsb + extends Rechtsform +{ + + @XmlAttribute(name = "aktion", namespace = "http://statistik.at/namespace/ersb/1#") + protected String aktion; + + /** + * Gets the value of the aktion property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAktion() { + return aktion; + } + + /** + * Sets the value of the aktion property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAktion(String value) { + this.aktion = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/RechtstatsachenErsb.java b/src/main/java/at/gv/util/xsd/ersb/RechtstatsachenErsb.java new file mode 100644 index 0000000..9788040 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/RechtstatsachenErsb.java @@ -0,0 +1,61 @@ + +package at.gv.util.xsd.ersb; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.basicTypes.Rechtstatsachen; + + +/** + * <p>Java class for RechtstatsachenErsb complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RechtstatsachenErsb"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtstatsachen"> + * <attGroup ref="{http://statistik.at/namespace/ersb/1#}ErsbAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RechtstatsachenErsb") +public class RechtstatsachenErsb + extends Rechtstatsachen +{ + + @XmlAttribute(name = "aktion", namespace = "http://statistik.at/namespace/ersb/1#") + protected String aktion; + + /** + * Gets the value of the aktion property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAktion() { + return aktion; + } + + /** + * Sets the value of the aktion property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAktion(String value) { + this.aktion = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/UntNameErsb.java b/src/main/java/at/gv/util/xsd/ersb/UntNameErsb.java new file mode 100644 index 0000000..58b7c58 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/UntNameErsb.java @@ -0,0 +1,61 @@ + +package at.gv.util.xsd.ersb; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.basicTypes.UntName; + + +/** + * <p>Java class for UntNameErsb complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="UntNameErsb"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}UntName"> + * <attGroup ref="{http://statistik.at/namespace/ersb/1#}ErsbAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "UntNameErsb") +public class UntNameErsb + extends UntName +{ + + @XmlAttribute(name = "aktion", namespace = "http://statistik.at/namespace/ersb/1#") + protected String aktion; + + /** + * Gets the value of the aktion property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAktion() { + return aktion; + } + + /** + * Sets the value of the aktion property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAktion(String value) { + this.aktion = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/VertretungErsb.java b/src/main/java/at/gv/util/xsd/ersb/VertretungErsb.java new file mode 100644 index 0000000..580d16b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/VertretungErsb.java @@ -0,0 +1,61 @@ + +package at.gv.util.xsd.ersb; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.basicTypes.Vertretung; + + +/** + * <p>Java class for VertretungErsb complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VertretungErsb"> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/stammdaten/2#>Vertretung"> + * <attGroup ref="{http://statistik.at/namespace/ersb/1#}ErsbAttributes"/> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VertretungErsb") +public class VertretungErsb + extends Vertretung +{ + + @XmlAttribute(name = "aktion", namespace = "http://statistik.at/namespace/ersb/1#") + protected String aktion; + + /** + * Gets the value of the aktion property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAktion() { + return aktion; + } + + /** + * Sets the value of the aktion property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAktion(String value) { + this.aktion = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/Bestandsnachweis.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Bestandsnachweis.java new file mode 100644 index 0000000..b1e6898 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Bestandsnachweis.java @@ -0,0 +1,65 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import at.gv.util.xsd.ersb.BestandsnachweisErsb; + + +/** + * <p>Java class for Bestandsnachweis complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Bestandsnachweis"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Bestandsnachweis", propOrder = { + "value" +}) +@XmlSeeAlso({ + BestandsnachweisErsb.class, + BestandsnachweisVollzug.class +}) +public abstract class Bestandsnachweis { + + @XmlValue + protected String value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/BestandsnachweisVollzug.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/BestandsnachweisVollzug.java new file mode 100644 index 0000000..ee88a28 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/BestandsnachweisVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for BestandsnachweisVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="BestandsnachweisVollzug"> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/stammdaten/2#>Bestandsnachweis"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BestandsnachweisVollzug") +public class BestandsnachweisVollzug + extends Bestandsnachweis +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/Bestandszeitraum.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Bestandszeitraum.java new file mode 100644 index 0000000..872b955 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Bestandszeitraum.java @@ -0,0 +1,100 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; +import at.gv.util.xsd.ersb.BestandszeitraumErsb; + + +/** + * <p>Java class for Bestandszeitraum complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Bestandszeitraum"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="BestandVon" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="BestandBis" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Bestandszeitraum", propOrder = { + "bestandVon", + "bestandBis" +}) +@XmlSeeAlso({ + BestandszeitraumErsb.class, + BestandszeitraumVollzug.class +}) +public abstract class Bestandszeitraum { + + @XmlElement(name = "BestandVon") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar bestandVon; + @XmlElement(name = "BestandBis") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar bestandBis; + + /** + * Gets the value of the bestandVon property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getBestandVon() { + return bestandVon; + } + + /** + * Sets the value of the bestandVon property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setBestandVon(XMLGregorianCalendar value) { + this.bestandVon = value; + } + + /** + * Gets the value of the bestandBis property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getBestandBis() { + return bestandBis; + } + + /** + * Sets the value of the bestandBis property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setBestandBis(XMLGregorianCalendar value) { + this.bestandBis = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/BestandszeitraumVollzug.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/BestandszeitraumVollzug.java new file mode 100644 index 0000000..a5c3944 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/BestandszeitraumVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for BestandszeitraumVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="BestandszeitraumVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Bestandszeitraum"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BestandszeitraumVollzug") +public class BestandszeitraumVollzug + extends Bestandszeitraum +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/Branche.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Branche.java new file mode 100644 index 0000000..ba08134 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Branche.java @@ -0,0 +1,175 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +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.XmlType; +import at.gv.util.xsd.ersb.simpletypes.OenaceArtTyp; + + +/** + * <p>Java class for Branche complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Branche"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Oenace" type="{http://statistik.at/namespace/ur/stammdaten/2#}OenaceType"/> + * <element name="OenaceText" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Beginn" type="{http://statistik.at/namespace/ur/stammdaten/2#}QuellenType"/> + * <element name="Ende" type="{http://statistik.at/namespace/ur/stammdaten/2#}QuellenType" minOccurs="0"/> + * </sequence> + * <attribute name="art" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OenaceArtTyp" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Branche", propOrder = { + "oenace", + "oenaceText", + "beginn", + "ende" +}) +public class Branche { + + @XmlElement(name = "Oenace", required = true) + protected OenaceType oenace; + @XmlElement(name = "OenaceText", required = true) + protected String oenaceText; + @XmlElement(name = "Beginn", required = true) + protected QuellenType beginn; + @XmlElement(name = "Ende") + protected QuellenType ende; + @XmlAttribute(name = "art", required = true) + protected OenaceArtTyp art; + + /** + * Gets the value of the oenace property. + * + * @return + * possible object is + * {@link OenaceType } + * + */ + public OenaceType getOenace() { + return oenace; + } + + /** + * Sets the value of the oenace property. + * + * @param value + * allowed object is + * {@link OenaceType } + * + */ + public void setOenace(OenaceType value) { + this.oenace = value; + } + + /** + * Gets the value of the oenaceText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOenaceText() { + return oenaceText; + } + + /** + * Sets the value of the oenaceText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOenaceText(String value) { + this.oenaceText = value; + } + + /** + * Gets the value of the beginn property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getBeginn() { + return beginn; + } + + /** + * Sets the value of the beginn property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setBeginn(QuellenType value) { + this.beginn = value; + } + + /** + * Gets the value of the ende property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getEnde() { + return ende; + } + + /** + * Sets the value of the ende property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setEnde(QuellenType value) { + this.ende = value; + } + + /** + * Gets the value of the art property. + * + * @return + * possible object is + * {@link OenaceArtTyp } + * + */ + public OenaceArtTyp getArt() { + return art; + } + + /** + * Sets the value of the art property. + * + * @param value + * allowed object is + * {@link OenaceArtTyp } + * + */ + public void setArt(OenaceArtTyp value) { + this.art = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/FktRegelTyp.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/FktRegelTyp.java new file mode 100644 index 0000000..821feb0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/FktRegelTyp.java @@ -0,0 +1,128 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; +import at.gv.util.xsd.ersb.FktRegelTypErsb; + + +/** + * <p>Java class for FktRegelTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FktRegelTyp"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FktRegelVon" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="FktRegelBis" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="FktRegelText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FktRegelTextTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FktRegelTyp", propOrder = { + "fktRegelVon", + "fktRegelBis", + "fktRegelText" +}) +@XmlSeeAlso({ + FktRegelTypErsb.class, + FktRegelTypVollzug.class +}) +public abstract class FktRegelTyp { + + @XmlElement(name = "FktRegelVon") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar fktRegelVon; + @XmlElement(name = "FktRegelBis") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar fktRegelBis; + @XmlElement(name = "FktRegelText") + protected String fktRegelText; + + /** + * Gets the value of the fktRegelVon property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getFktRegelVon() { + return fktRegelVon; + } + + /** + * Sets the value of the fktRegelVon property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setFktRegelVon(XMLGregorianCalendar value) { + this.fktRegelVon = value; + } + + /** + * Gets the value of the fktRegelBis property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getFktRegelBis() { + return fktRegelBis; + } + + /** + * Sets the value of the fktRegelBis property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setFktRegelBis(XMLGregorianCalendar value) { + this.fktRegelBis = value; + } + + /** + * Gets the value of the fktRegelText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFktRegelText() { + return fktRegelText; + } + + /** + * Sets the value of the fktRegelText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFktRegelText(String value) { + this.fktRegelText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/FktRegelTypVollzug.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/FktRegelTypVollzug.java new file mode 100644 index 0000000..e95c228 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/FktRegelTypVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for FktRegelTypVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FktRegelTypVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}FktRegelTyp"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FktRegelTypVollzug") +public class FktRegelTypVollzug + extends FktRegelTyp +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/Funktion.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Funktion.java new file mode 100644 index 0000000..ceac9a4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Funktion.java @@ -0,0 +1,88 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.FunktionErsb; + + +/** + * <p>Java class for Funktion complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Funktion"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FktName" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FunktionTyp"/> + * <element name="FktNameText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FunktionTextTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Funktion", propOrder = { + "fktName", + "fktNameText" +}) +@XmlSeeAlso({ + FunktionErsb.class, + FunktionVollzug.class +}) +public abstract class Funktion { + + @XmlElement(name = "FktName") + protected int fktName; + @XmlElement(name = "FktNameText") + protected String fktNameText; + + /** + * Gets the value of the fktName property. + * + */ + public int getFktName() { + return fktName; + } + + /** + * Sets the value of the fktName property. + * + */ + public void setFktName(int value) { + this.fktName = value; + } + + /** + * Gets the value of the fktNameText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFktNameText() { + return fktNameText; + } + + /** + * Sets the value of the fktNameText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFktNameText(String value) { + this.fktNameText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/FunktionVollzug.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/FunktionVollzug.java new file mode 100644 index 0000000..c0fb372 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/FunktionVollzug.java @@ -0,0 +1,159 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +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.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for FunktionVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FunktionVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Funktion"> + * <sequence> + * <element name="FktRegel" type="{http://statistik.at/namespace/ur/stammdaten/2#}FktRegelTypVollzug" minOccurs="0"/> + * <element name="Rechtstatsachen" type="{http://statistik.at/namespace/ur/stammdaten/2#}RechtstatsachenVollzug" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FunktionVollzug", propOrder = { + "fktRegel", + "rechtstatsachen" +}) +public class FunktionVollzug + extends Funktion +{ + + @XmlElement(name = "FktRegel") + protected FktRegelTypVollzug fktRegel; + @XmlElement(name = "Rechtstatsachen") + protected List<RechtstatsachenVollzug> rechtstatsachen; + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the fktRegel property. + * + * @return + * possible object is + * {@link FktRegelTypVollzug } + * + */ + public FktRegelTypVollzug getFktRegel() { + return fktRegel; + } + + /** + * Sets the value of the fktRegel property. + * + * @param value + * allowed object is + * {@link FktRegelTypVollzug } + * + */ + public void setFktRegel(FktRegelTypVollzug value) { + this.fktRegel = value; + } + + /** + * Gets the value of the rechtstatsachen property. + * + * <p> + * 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 <CODE>set</CODE> method for the rechtstatsachen property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRechtstatsachen().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link RechtstatsachenVollzug } + * + * + */ + public List<RechtstatsachenVollzug> getRechtstatsachen() { + if (rechtstatsachen == null) { + rechtstatsachen = new ArrayList<RechtstatsachenVollzug>(); + } + return this.rechtstatsachen; + } + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/ObjectFactory.java new file mode 100644 index 0000000..d41b05c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/ObjectFactory.java @@ -0,0 +1,320 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; +import at.gv.util.xsd.ersb.simpletypes.AdressTyp; +import at.gv.util.xsd.ersb.simpletypes.EvbStatusTyp; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ersb.basicTypes package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Bestandsnachweis_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Bestandsnachweis"); + private final static QName _Vertretung_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Vertretung"); + private final static QName _Bestandszeitraum_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Bestandszeitraum"); + private final static QName _Rechtstatsachen_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Rechtstatsachen"); + private final static QName _Typ_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Typ"); + private final static QName _Rechtsform_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Rechtsform"); + private final static QName _EvbStatus_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "EvbStatus"); + private final static QName _TypeText_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "TypeText"); + private final static QName _Ende_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Ende"); + private final static QName _Taetigkeitszeitraum_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Taetigkeitszeitraum"); + private final static QName _Funktion_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Funktion"); + private final static QName _Vollzug_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Vollzug"); + private final static QName _Beginn_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Beginn"); + private final static QName _Branche_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Branche"); + private final static QName _BpkWTUR_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "bpkWTUR"); + private final static QName _AendDat_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "AendDat"); + private final static QName _UntName_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "UntName"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ersb.basicTypes + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link QuellenType } + * + */ + public QuellenType createQuellenType() { + return new QuellenType(); + } + + /** + * Create an instance of {@link UntNameVollzug } + * + */ + public UntNameVollzug createUntNameVollzug() { + return new UntNameVollzug(); + } + + /** + * Create an instance of {@link RechtsformVollzug } + * + */ + public RechtsformVollzug createRechtsformVollzug() { + return new RechtsformVollzug(); + } + + /** + * Create an instance of {@link RechtstatsachenVollzug } + * + */ + public RechtstatsachenVollzug createRechtstatsachenVollzug() { + return new RechtstatsachenVollzug(); + } + + /** + * Create an instance of {@link Branche } + * + */ + public Branche createBranche() { + return new Branche(); + } + + /** + * Create an instance of {@link BestandszeitraumVollzug } + * + */ + public BestandszeitraumVollzug createBestandszeitraumVollzug() { + return new BestandszeitraumVollzug(); + } + + /** + * Create an instance of {@link VertretungVollzug } + * + */ + public VertretungVollzug createVertretungVollzug() { + return new VertretungVollzug(); + } + + /** + * Create an instance of {@link Vollzug } + * + */ + public Vollzug createVollzug() { + return new Vollzug(); + } + + /** + * Create an instance of {@link BestandsnachweisVollzug } + * + */ + public BestandsnachweisVollzug createBestandsnachweisVollzug() { + return new BestandsnachweisVollzug(); + } + + /** + * Create an instance of {@link FunktionVollzug } + * + */ + public FunktionVollzug createFunktionVollzug() { + return new FunktionVollzug(); + } + + /** + * Create an instance of {@link TaetigkeitszeitraumVollzug } + * + */ + public TaetigkeitszeitraumVollzug createTaetigkeitszeitraumVollzug() { + return new TaetigkeitszeitraumVollzug(); + } + + /** + * Create an instance of {@link OenaceType } + * + */ + public OenaceType createOenaceType() { + return new OenaceType(); + } + + /** + * Create an instance of {@link VollzugElem } + * + */ + public VollzugElem createVollzugElem() { + return new VollzugElem(); + } + + /** + * Create an instance of {@link FktRegelTypVollzug } + * + */ + public FktRegelTypVollzug createFktRegelTypVollzug() { + return new FktRegelTypVollzug(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BestandsnachweisVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Bestandsnachweis") + public JAXBElement<BestandsnachweisVollzug> createBestandsnachweis(BestandsnachweisVollzug value) { + return new JAXBElement<BestandsnachweisVollzug>(_Bestandsnachweis_QNAME, BestandsnachweisVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VertretungVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Vertretung") + public JAXBElement<VertretungVollzug> createVertretung(VertretungVollzug value) { + return new JAXBElement<VertretungVollzug>(_Vertretung_QNAME, VertretungVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BestandszeitraumVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Bestandszeitraum") + public JAXBElement<BestandszeitraumVollzug> createBestandszeitraum(BestandszeitraumVollzug value) { + return new JAXBElement<BestandszeitraumVollzug>(_Bestandszeitraum_QNAME, BestandszeitraumVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RechtstatsachenVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Rechtstatsachen") + public JAXBElement<RechtstatsachenVollzug> createRechtstatsachen(RechtstatsachenVollzug value) { + return new JAXBElement<RechtstatsachenVollzug>(_Rechtstatsachen_QNAME, RechtstatsachenVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AdressTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Typ") + public JAXBElement<AdressTyp> createTyp(AdressTyp value) { + return new JAXBElement<AdressTyp>(_Typ_QNAME, AdressTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RechtsformVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Rechtsform") + public JAXBElement<RechtsformVollzug> createRechtsform(RechtsformVollzug value) { + return new JAXBElement<RechtsformVollzug>(_Rechtsform_QNAME, RechtsformVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EvbStatusTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "EvbStatus") + public JAXBElement<EvbStatusTyp> createEvbStatus(EvbStatusTyp value) { + return new JAXBElement<EvbStatusTyp>(_EvbStatus_QNAME, EvbStatusTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "TypeText") + public JAXBElement<String> createTypeText(String value) { + return new JAXBElement<String>(_TypeText_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link QuellenType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Ende") + public JAXBElement<QuellenType> createEnde(QuellenType value) { + return new JAXBElement<QuellenType>(_Ende_QNAME, QuellenType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TaetigkeitszeitraumVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Taetigkeitszeitraum") + public JAXBElement<TaetigkeitszeitraumVollzug> createTaetigkeitszeitraum(TaetigkeitszeitraumVollzug value) { + return new JAXBElement<TaetigkeitszeitraumVollzug>(_Taetigkeitszeitraum_QNAME, TaetigkeitszeitraumVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link FunktionVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Funktion") + public JAXBElement<FunktionVollzug> createFunktion(FunktionVollzug value) { + return new JAXBElement<FunktionVollzug>(_Funktion_QNAME, FunktionVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Vollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Vollzug") + public JAXBElement<Vollzug> createVollzug(Vollzug value) { + return new JAXBElement<Vollzug>(_Vollzug_QNAME, Vollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link QuellenType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Beginn") + public JAXBElement<QuellenType> createBeginn(QuellenType value) { + return new JAXBElement<QuellenType>(_Beginn_QNAME, QuellenType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Branche }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Branche") + public JAXBElement<Branche> createBranche(Branche value) { + return new JAXBElement<Branche>(_Branche_QNAME, Branche.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "bpkWTUR") + public JAXBElement<String> createBpkWTUR(String value) { + return new JAXBElement<String>(_BpkWTUR_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "AendDat") + public JAXBElement<XMLGregorianCalendar> createAendDat(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_AendDat_QNAME, XMLGregorianCalendar.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link UntNameVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "UntName") + public JAXBElement<UntNameVollzug> createUntName(UntNameVollzug value) { + return new JAXBElement<UntNameVollzug>(_UntName_QNAME, UntNameVollzug.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/OenaceType.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/OenaceType.java new file mode 100644 index 0000000..1b73df6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/OenaceType.java @@ -0,0 +1,81 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for OenaceType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="OenaceType"> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/simpleTypes/2#>OenaceCodeTyp"> + * <attribute name="jahr" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OenaceJahrTyp" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "OenaceType", propOrder = { + "value" +}) +public class OenaceType { + + @XmlValue + protected String value; + @XmlAttribute(name = "jahr", required = true) + protected int jahr; + + /** + * + * Ö\u0096NACE - Branchenkennzahl + * + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the jahr property. + * + */ + public int getJahr() { + return jahr; + } + + /** + * Sets the value of the jahr property. + * + */ + public void setJahr(int value) { + this.jahr = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/QuellenType.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/QuellenType.java new file mode 100644 index 0000000..d1f1c53 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/QuellenType.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for QuellenType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="QuellenType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>date"> + * <attribute name="quelle" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}QuelleTyp" /> + * <attribute name="quText" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "QuellenType", propOrder = { + "value" +}) +public class QuellenType { + + @XmlValue + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar value; + @XmlAttribute(name = "quelle", required = true) + protected String quelle; + @XmlAttribute(name = "quText", required = true) + @XmlSchemaType(name = "anySimpleType") + protected String quText; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setValue(XMLGregorianCalendar value) { + this.value = value; + } + + /** + * Gets the value of the quelle property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuelle() { + return quelle; + } + + /** + * Sets the value of the quelle property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuelle(String value) { + this.quelle = value; + } + + /** + * Gets the value of the quText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuText() { + return quText; + } + + /** + * Sets the value of the quText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuText(String value) { + this.quText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/Rechtsform.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Rechtsform.java new file mode 100644 index 0000000..d2f1a6b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Rechtsform.java @@ -0,0 +1,144 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.RechtsformErsb; + + +/** + * <p>Java class for Rechtsform complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Rechtsform"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ReForm" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTyp" minOccurs="0"/> + * <element name="ReFormText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTextTyp" minOccurs="0"/> + * <element name="ReFormExtern" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTyp"/> + * <element name="ReFormExternText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTextTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Rechtsform", propOrder = { + "reForm", + "reFormText", + "reFormExtern", + "reFormExternText" +}) +@XmlSeeAlso({ + RechtsformErsb.class, + RechtsformVollzug.class +}) +public abstract class Rechtsform { + + @XmlElement(name = "ReForm") + protected Integer reForm; + @XmlElement(name = "ReFormText") + protected String reFormText; + @XmlElement(name = "ReFormExtern") + protected int reFormExtern; + @XmlElement(name = "ReFormExternText") + protected String reFormExternText; + + /** + * Gets the value of the reForm property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getReForm() { + return reForm; + } + + /** + * Sets the value of the reForm property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setReForm(Integer value) { + this.reForm = value; + } + + /** + * Gets the value of the reFormText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReFormText() { + return reFormText; + } + + /** + * Sets the value of the reFormText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReFormText(String value) { + this.reFormText = value; + } + + /** + * Gets the value of the reFormExtern property. + * + */ + public int getReFormExtern() { + return reFormExtern; + } + + /** + * Sets the value of the reFormExtern property. + * + */ + public void setReFormExtern(int value) { + this.reFormExtern = value; + } + + /** + * Gets the value of the reFormExternText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReFormExternText() { + return reFormExternText; + } + + /** + * Sets the value of the reFormExternText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReFormExternText(String value) { + this.reFormExternText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/RechtsformVollzug.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/RechtsformVollzug.java new file mode 100644 index 0000000..04d137b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/RechtsformVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RechtsformVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RechtsformVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtsform"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RechtsformVollzug") +public class RechtsformVollzug + extends Rechtsform +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/Rechtstatsachen.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Rechtstatsachen.java new file mode 100644 index 0000000..daf2d1e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Rechtstatsachen.java @@ -0,0 +1,124 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.RechtstatsachenErsb; + + +/** + * <p>Java class for Rechtstatsachen complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Rechtstatsachen"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="RT_Nummer" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RT_NummerTyp" minOccurs="0"/> + * <element name="RT_Code" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RT_CodeTyp" minOccurs="0"/> + * <element name="RT_Text" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Rechtstatsachen", propOrder = { + "rtNummer", + "rtCode", + "rtText" +}) +@XmlSeeAlso({ + RechtstatsachenErsb.class, + RechtstatsachenVollzug.class +}) +public abstract class Rechtstatsachen { + + @XmlElement(name = "RT_Nummer") + protected String rtNummer; + @XmlElement(name = "RT_Code") + protected String rtCode; + @XmlElement(name = "RT_Text") + protected String rtText; + + /** + * Gets the value of the rtNummer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRTNummer() { + return rtNummer; + } + + /** + * Sets the value of the rtNummer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRTNummer(String value) { + this.rtNummer = value; + } + + /** + * Gets the value of the rtCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRTCode() { + return rtCode; + } + + /** + * Sets the value of the rtCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRTCode(String value) { + this.rtCode = value; + } + + /** + * Gets the value of the rtText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRTText() { + return rtText; + } + + /** + * Sets the value of the rtText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRTText(String value) { + this.rtText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/RechtstatsachenVollzug.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/RechtstatsachenVollzug.java new file mode 100644 index 0000000..064569f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/RechtstatsachenVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RechtstatsachenVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RechtstatsachenVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtstatsachen"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RechtstatsachenVollzug") +public class RechtstatsachenVollzug + extends Rechtstatsachen +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/Taetigkeitszeitraum.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Taetigkeitszeitraum.java new file mode 100644 index 0000000..6262a5e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Taetigkeitszeitraum.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for Taetigkeitszeitraum complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Taetigkeitszeitraum"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="TaetigVon" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="TaetigBis" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Taetigkeitszeitraum", propOrder = { + "taetigVon", + "taetigBis" +}) +@XmlSeeAlso({ + TaetigkeitszeitraumVollzug.class +}) +public abstract class Taetigkeitszeitraum { + + @XmlElement(name = "TaetigVon") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar taetigVon; + @XmlElement(name = "TaetigBis") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar taetigBis; + + /** + * Gets the value of the taetigVon property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTaetigVon() { + return taetigVon; + } + + /** + * Sets the value of the taetigVon property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setTaetigVon(XMLGregorianCalendar value) { + this.taetigVon = value; + } + + /** + * Gets the value of the taetigBis property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTaetigBis() { + return taetigBis; + } + + /** + * Sets the value of the taetigBis property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setTaetigBis(XMLGregorianCalendar value) { + this.taetigBis = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/TaetigkeitszeitraumVollzug.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/TaetigkeitszeitraumVollzug.java new file mode 100644 index 0000000..cb78328 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/TaetigkeitszeitraumVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TaetigkeitszeitraumVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TaetigkeitszeitraumVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Taetigkeitszeitraum"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TaetigkeitszeitraumVollzug") +public class TaetigkeitszeitraumVollzug + extends Taetigkeitszeitraum +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/UntName.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/UntName.java new file mode 100644 index 0000000..8961844 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/UntName.java @@ -0,0 +1,68 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.UntNameErsb; + + +/** + * <p>Java class for UntName complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="UntName"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="VollerName" type="{http://statistik.at/namespace/ur/simpleTypes/2#}UntNameTyp"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "UntName", propOrder = { + "vollerName" +}) +@XmlSeeAlso({ + UntNameErsb.class, + UntNameVollzug.class +}) +public abstract class UntName { + + @XmlElement(name = "VollerName", required = true) + protected String vollerName; + + /** + * Gets the value of the vollerName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVollerName() { + return vollerName; + } + + /** + * Sets the value of the vollerName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVollerName(String value) { + this.vollerName = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/UntNameVollzug.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/UntNameVollzug.java new file mode 100644 index 0000000..97609fa --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/UntNameVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for UntNameVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="UntNameVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}UntName"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "UntNameVollzug") +public class UntNameVollzug + extends UntName +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/Vertretung.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Vertretung.java new file mode 100644 index 0000000..92c0b4f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Vertretung.java @@ -0,0 +1,65 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import at.gv.util.xsd.ersb.VertretungErsb; + + +/** + * <p>Java class for Vertretung complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Vertretung"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Vertretung", propOrder = { + "value" +}) +@XmlSeeAlso({ + VertretungErsb.class, + VertretungVollzug.class +}) +public abstract class Vertretung { + + @XmlValue + protected String value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/VertretungVollzug.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/VertretungVollzug.java new file mode 100644 index 0000000..0e21391 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/VertretungVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for VertretungVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VertretungVollzug"> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/stammdaten/2#>Vertretung"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VertretungVollzug") +public class VertretungVollzug + extends Vertretung +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/Vollzug.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Vollzug.java new file mode 100644 index 0000000..bb955e1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/Vollzug.java @@ -0,0 +1,209 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import java.math.BigInteger; +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.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; +import at.gv.util.xsd.ersb.simpletypes.VollzugStatusTyp; + + +/** + * <p>Java class for Vollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Vollzug"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Antrag" type="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugElem"/> + * <element name="Vollzug" type="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugElem" minOccurs="0"/> + * <element name="Zurueckstellung" type="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugElem" minOccurs="0"/> + * </sequence> + * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="nummer" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * <attribute name="status" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VollzugStatusTyp" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Vollzug", propOrder = { + "antrag", + "vollzug", + "zurueckstellung" +}) +public class Vollzug { + + @XmlElement(name = "Antrag", required = true) + protected VollzugElem antrag; + @XmlElement(name = "Vollzug") + protected VollzugElem vollzug; + @XmlElement(name = "Zurueckstellung") + protected VollzugElem zurueckstellung; + @XmlAttribute(name = "id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "nummer", required = true) + protected BigInteger nummer; + @XmlAttribute(name = "status", required = true) + protected VollzugStatusTyp status; + + /** + * Gets the value of the antrag property. + * + * @return + * possible object is + * {@link VollzugElem } + * + */ + public VollzugElem getAntrag() { + return antrag; + } + + /** + * Sets the value of the antrag property. + * + * @param value + * allowed object is + * {@link VollzugElem } + * + */ + public void setAntrag(VollzugElem value) { + this.antrag = value; + } + + /** + * Gets the value of the vollzug property. + * + * @return + * possible object is + * {@link VollzugElem } + * + */ + public VollzugElem getVollzug() { + return vollzug; + } + + /** + * Sets the value of the vollzug property. + * + * @param value + * allowed object is + * {@link VollzugElem } + * + */ + public void setVollzug(VollzugElem value) { + this.vollzug = value; + } + + /** + * Gets the value of the zurueckstellung property. + * + * @return + * possible object is + * {@link VollzugElem } + * + */ + public VollzugElem getZurueckstellung() { + return zurueckstellung; + } + + /** + * Sets the value of the zurueckstellung property. + * + * @param value + * allowed object is + * {@link VollzugElem } + * + */ + public void setZurueckstellung(VollzugElem value) { + this.zurueckstellung = value; + } + + /** + * 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; + } + + /** + * Gets the value of the nummer property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getNummer() { + return nummer; + } + + /** + * Sets the value of the nummer property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setNummer(BigInteger value) { + this.nummer = value; + } + + /** + * Gets the value of the status property. + * + * @return + * possible object is + * {@link VollzugStatusTyp } + * + */ + public VollzugStatusTyp getStatus() { + return status; + } + + /** + * Sets the value of the status property. + * + * @param value + * allowed object is + * {@link VollzugStatusTyp } + * + */ + public void setStatus(VollzugStatusTyp value) { + this.status = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/VollzugElem.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/VollzugElem.java new file mode 100644 index 0000000..10a8746 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/VollzugElem.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.ersb.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for VollzugElem complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VollzugElem"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>date"> + * <attribute name="quelle" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}QuelleTyp" /> + * <attribute name="quText" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VollzugElem", propOrder = { + "value" +}) +public class VollzugElem { + + @XmlValue + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar value; + @XmlAttribute(name = "quelle", required = true) + protected String quelle; + @XmlAttribute(name = "quText", required = true) + @XmlSchemaType(name = "anySimpleType") + protected String quText; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setValue(XMLGregorianCalendar value) { + this.value = value; + } + + /** + * Gets the value of the quelle property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuelle() { + return quelle; + } + + /** + * Sets the value of the quelle property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuelle(String value) { + this.quelle = value; + } + + /** + * Gets the value of the quText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuText() { + return quText; + } + + /** + * Sets the value of the quText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuText(String value) { + this.quText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/basicTypes/package-info.java b/src/main/java/at/gv/util/xsd/ersb/basicTypes/package-info.java new file mode 100644 index 0000000..4f7a491 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/basicTypes/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.ersb.basicTypes; diff --git a/src/main/java/at/gv/util/xsd/ersb/package-info.java b/src/main/java/at/gv/util/xsd/ersb/package-info.java new file mode 100644 index 0000000..732292e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://statistik.at/namespace/ersb/1#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.ersb; diff --git a/src/main/java/at/gv/util/xsd/ersb/pd/AbstractAddressType.java b/src/main/java/at/gv/util/xsd/ersb/pd/AbstractAddressType.java new file mode 100644 index 0000000..8463a75 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/pd/AbstractAddressType.java @@ -0,0 +1,73 @@ + +package at.gv.util.xsd.ersb.pd; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +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; + + +/** + * Struktur des Abstrakten Address Elements + * + * + * <p>Java class for AbstractAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractAddressType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractAddressType") +@XmlSeeAlso({ + PostAdresseTyp.class, + TypisiertePostAdresseTyp.class +}) +public class AbstractAddressType { + + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/pd/AbstractPersonType.java b/src/main/java/at/gv/util/xsd/ersb/pd/AbstractPersonType.java new file mode 100644 index 0000000..78043a7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/pd/AbstractPersonType.java @@ -0,0 +1,113 @@ + +package at.gv.util.xsd.ersb.pd; + +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.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; + + +/** + * main structure of person data + * + * <p>Java class for AbstractPersonType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractPersonType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice minOccurs="0"> + * <element name="Identification" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}IdentificationType" maxOccurs="unbounded" minOccurs="0"/> + * </choice> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractPersonType", propOrder = { + "identification" +}) +@XmlSeeAlso({ + NatuerlichePersonTyp.class, + PersonenDatenTyp.class, + NichtNatuerlichePersonTyp.class, + PersonenDatenZusatzdatenTyp.class +}) +public class AbstractPersonType { + + @XmlElement(name = "Identification") + protected List<IdentificationType> identification; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the identification property. + * + * <p> + * 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 <CODE>set</CODE> method for the identification property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getIdentification().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link IdentificationType } + * + * + */ + public List<IdentificationType> getIdentification() { + if (identification == null) { + identification = new ArrayList<IdentificationType>(); + } + return this.identification; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/pd/IdentificationType.java b/src/main/java/at/gv/util/xsd/ersb/pd/IdentificationType.java new file mode 100644 index 0000000..d060774 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/pd/IdentificationType.java @@ -0,0 +1,306 @@ + +package at.gv.util.xsd.ersb.pd; + +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.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import at.gv.util.xsd.ersb.basicTypes.QuellenType; + + +/** + * Container für beliebige Identifikationsmerkmale, + * besteht aus Type und Value Unterelementen, aus technischen Gründen + * nur auf Englisch verfügbar + * + * <p>Java class for IdentificationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="IdentificationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Value"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}TypeText" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Beginn" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Ende" minOccurs="0"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IdentificationType", propOrder = { + "value", + "type", + "typeText", + "beginn", + "ende" +}) +public class IdentificationType { + + @XmlElement(name = "Value", required = true) + protected IdentificationType.Value value; + @XmlElement(name = "Type", required = true) + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlElement(name = "TypeText", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected String typeText; + @XmlElement(name = "Beginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected QuellenType beginn; + @XmlElement(name = "Ende", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected QuellenType ende; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link IdentificationType.Value } + * + */ + public IdentificationType.Value getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link IdentificationType.Value } + * + */ + public void setValue(IdentificationType.Value value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the typeText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTypeText() { + return typeText; + } + + /** + * Sets the value of the typeText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTypeText(String value) { + this.typeText = value; + } + + /** + * Gets the value of the beginn property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getBeginn() { + return beginn; + } + + /** + * Sets the value of the beginn property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setBeginn(QuellenType value) { + this.beginn = value; + } + + /** + * Gets the value of the ende property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getEnde() { + return ende; + } + + /** + * Sets the value of the ende property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setEnde(QuellenType value) { + this.ende = value; + } + + /** + * 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; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Value { + + @XmlValue + protected String value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/pd/NatuerlichePersonTyp.java b/src/main/java/at/gv/util/xsd/ersb/pd/NatuerlichePersonTyp.java new file mode 100644 index 0000000..29c1366 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/pd/NatuerlichePersonTyp.java @@ -0,0 +1,154 @@ + +package at.gv.util.xsd.ersb.pd; + +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.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * entspricht PhysicalPersonType + * + * <p>Java class for NatuerlichePersonTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="NatuerlichePersonTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PersonenName" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}Geburtsdatum" minOccurs="0"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NatuerlichePersonTyp", propOrder = { + "personenName", + "geburtsdatum" +}) +public class NatuerlichePersonTyp + extends AbstractPersonType +{ + + @XmlElement(name = "PersonenName") + protected PersonenNameTyp personenName; + @XmlElement(name = "Geburtsdatum") + protected String geburtsdatum; + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the personenName property. + * + * @return + * possible object is + * {@link PersonenNameTyp } + * + */ + public PersonenNameTyp getPersonenName() { + return personenName; + } + + /** + * Sets the value of the personenName property. + * + * @param value + * allowed object is + * {@link PersonenNameTyp } + * + */ + public void setPersonenName(PersonenNameTyp value) { + this.personenName = value; + } + + /** + * Gets the value of the geburtsdatum property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGeburtsdatum() { + return geburtsdatum; + } + + /** + * Sets the value of the geburtsdatum property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGeburtsdatum(String value) { + this.geburtsdatum = value; + } + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/pd/NichtNatuerlichePersonTyp.java b/src/main/java/at/gv/util/xsd/ersb/pd/NichtNatuerlichePersonTyp.java new file mode 100644 index 0000000..6699e20 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/pd/NichtNatuerlichePersonTyp.java @@ -0,0 +1,158 @@ + +package at.gv.util.xsd.ersb.pd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.basicTypes.RechtsformVollzug; +import at.gv.util.xsd.ersb.basicTypes.UntNameVollzug; + + +/** + * entspricht CorporateBodyType + * + * <p>Java class for NichtNatuerlichePersonTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="NichtNatuerlichePersonTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element name="VollerName" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Rechtsform" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}UntName" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtsform" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NichtNatuerlichePersonTyp", propOrder = { + "rest" +}) +public class NichtNatuerlichePersonTyp + extends AbstractPersonType +{ + + @XmlElementRefs({ + @XmlElementRef(name = "Rechtsform", namespace = "http://statistik.at/namespace/ur/stammdaten/2#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "UntName", namespace = "http://statistik.at/namespace/ur/stammdaten/2#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "Rechtsform", namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "VollerName", namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", type = JAXBElement.class, required = false) + }) + protected List<JAXBElement<?>> rest; + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the rest of the content model. + * + * <p> + * You are getting this "catch-all" property because of the following reason: + * The field name "Rechtsform" is used by two different parts of a schema. See: + * line 316 of file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ERsB/1.1/PersonData_URSuche.xsd + * line 305 of file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ERsB/1.1/PersonData_URSuche.xsd + * <p> + * To get rid of this property, apply a property customization to one + * of both of the following declarations to change their names: + * Gets the value of the rest property. + * + * <p> + * 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 <CODE>set</CODE> method for the rest property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRest().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link UntNameVollzug }{@code >} + * {@link JAXBElement }{@code <}{@link RechtsformVollzug }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<JAXBElement<?>> getRest() { + if (rest == null) { + rest = new ArrayList<JAXBElement<?>>(); + } + return this.rest; + } + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/pd/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ersb/pd/ObjectFactory.java new file mode 100644 index 0000000..d4d06b3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/pd/ObjectFactory.java @@ -0,0 +1,294 @@ + +package at.gv.util.xsd.ersb.pd; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ersb.pd package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _NichtNatuerlichePerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "NichtNatuerlichePerson"); + private final static QName _Person_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "Person"); + private final static QName _PostAdresse_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "PostAdresse"); + private final static QName _AbstractPersonData_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "AbstractPersonData"); + private final static QName _Address_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "Address"); + private final static QName _TypisiertePostAdresse_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "TypisiertePostAdresse"); + private final static QName _PersonenName_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "PersonenName"); + private final static QName _PersonenDaten_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "PersonenDaten"); + private final static QName _Geburtsdatum_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "Geburtsdatum"); + private final static QName _NatuerlichePerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "NatuerlichePerson"); + private final static QName _NichtNatuerlichePersonTypRechtsform_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "Rechtsform"); + private final static QName _NichtNatuerlichePersonTypVollerName_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "VollerName"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ersb.pd + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link IdentificationType } + * + */ + public IdentificationType createIdentificationType() { + return new IdentificationType(); + } + + /** + * Create an instance of {@link PersonenNameTyp } + * + */ + public PersonenNameTyp createPersonenNameTyp() { + return new PersonenNameTyp(); + } + + /** + * Create an instance of {@link PostAdresseTyp } + * + */ + public PostAdresseTyp createPostAdresseTyp() { + return new PostAdresseTyp(); + } + + /** + * Create an instance of {@link PostAdresseTyp.Zustelladresse } + * + */ + public PostAdresseTyp.Zustelladresse createPostAdresseTypZustelladresse() { + return new PostAdresseTyp.Zustelladresse(); + } + + /** + * Create an instance of {@link PersonenDatenTyp } + * + */ + public PersonenDatenTyp createPersonenDatenTyp() { + return new PersonenDatenTyp(); + } + + /** + * Create an instance of {@link NatuerlichePersonTyp } + * + */ + public NatuerlichePersonTyp createNatuerlichePersonTyp() { + return new NatuerlichePersonTyp(); + } + + /** + * Create an instance of {@link AbstractPersonType } + * + */ + public AbstractPersonType createAbstractPersonType() { + return new AbstractPersonType(); + } + + /** + * Create an instance of {@link AbstractAddressType } + * + */ + public AbstractAddressType createAbstractAddressType() { + return new AbstractAddressType(); + } + + /** + * Create an instance of {@link TypisiertePostAdresseTyp } + * + */ + public TypisiertePostAdresseTyp createTypisiertePostAdresseTyp() { + return new TypisiertePostAdresseTyp(); + } + + /** + * Create an instance of {@link NichtNatuerlichePersonTyp } + * + */ + public NichtNatuerlichePersonTyp createNichtNatuerlichePersonTyp() { + return new NichtNatuerlichePersonTyp(); + } + + /** + * Create an instance of {@link PersonenDatenZusatzdatenTyp } + * + */ + public PersonenDatenZusatzdatenTyp createPersonenDatenZusatzdatenTyp() { + return new PersonenDatenZusatzdatenTyp(); + } + + /** + * Create an instance of {@link ZusatzdatenPersonenTyp } + * + */ + public ZusatzdatenPersonenTyp createZusatzdatenPersonenTyp() { + return new ZusatzdatenPersonenTyp(); + } + + /** + * Create an instance of {@link IdentificationType.Value } + * + */ + public IdentificationType.Value createIdentificationTypeValue() { + return new IdentificationType.Value(); + } + + /** + * Create an instance of {@link PersonenNameTyp.Familienname } + * + */ + public PersonenNameTyp.Familienname createPersonenNameTypFamilienname() { + return new PersonenNameTyp.Familienname(); + } + + /** + * Create an instance of {@link PersonenNameTyp.Affix } + * + */ + public PersonenNameTyp.Affix createPersonenNameTypAffix() { + return new PersonenNameTyp.Affix(); + } + + /** + * Create an instance of {@link PostAdresseTyp.Zustelladresse.AdressRegisterEintrag } + * + */ + public PostAdresseTyp.Zustelladresse.AdressRegisterEintrag createPostAdresseTypZustelladresseAdressRegisterEintrag() { + return new PostAdresseTyp.Zustelladresse.AdressRegisterEintrag(); + } + + /** + * Create an instance of {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public PersonenDatenTyp.Zusatzdaten createPersonenDatenTypZusatzdaten() { + return new PersonenDatenTyp.Zusatzdaten(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link NichtNatuerlichePersonTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "NichtNatuerlichePerson", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Person") + public JAXBElement<NichtNatuerlichePersonTyp> createNichtNatuerlichePerson(NichtNatuerlichePersonTyp value) { + return new JAXBElement<NichtNatuerlichePersonTyp>(_NichtNatuerlichePerson_QNAME, NichtNatuerlichePersonTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "Person") + public JAXBElement<AbstractPersonType> createPerson(AbstractPersonType value) { + return new JAXBElement<AbstractPersonType>(_Person_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PostAdresseTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "PostAdresse", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Address") + public JAXBElement<PostAdresseTyp> createPostAdresse(PostAdresseTyp value) { + return new JAXBElement<PostAdresseTyp>(_PostAdresse_QNAME, PostAdresseTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "AbstractPersonData") + public JAXBElement<AbstractPersonType> createAbstractPersonData(AbstractPersonType value) { + return new JAXBElement<AbstractPersonType>(_AbstractPersonData_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "Address") + public JAXBElement<AbstractAddressType> createAddress(AbstractAddressType value) { + return new JAXBElement<AbstractAddressType>(_Address_QNAME, AbstractAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TypisiertePostAdresseTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "TypisiertePostAdresse", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Address") + public JAXBElement<TypisiertePostAdresseTyp> createTypisiertePostAdresse(TypisiertePostAdresseTyp value) { + return new JAXBElement<TypisiertePostAdresseTyp>(_TypisiertePostAdresse_QNAME, TypisiertePostAdresseTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonenNameTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "PersonenName") + public JAXBElement<PersonenNameTyp> createPersonenName(PersonenNameTyp value) { + return new JAXBElement<PersonenNameTyp>(_PersonenName_QNAME, PersonenNameTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonenDatenTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "PersonenDaten", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "AbstractPersonData") + public JAXBElement<PersonenDatenTyp> createPersonenDaten(PersonenDatenTyp value) { + return new JAXBElement<PersonenDatenTyp>(_PersonenDaten_QNAME, PersonenDatenTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "Geburtsdatum") + public JAXBElement<String> createGeburtsdatum(String value) { + return new JAXBElement<String>(_Geburtsdatum_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link NatuerlichePersonTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "NatuerlichePerson", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Person") + public JAXBElement<NatuerlichePersonTyp> createNatuerlichePerson(NatuerlichePersonTyp value) { + return new JAXBElement<NatuerlichePersonTyp>(_NatuerlichePerson_QNAME, NatuerlichePersonTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "Rechtsform", scope = NichtNatuerlichePersonTyp.class) + public JAXBElement<String> createNichtNatuerlichePersonTypRechtsform(String value) { + return new JAXBElement<String>(_NichtNatuerlichePersonTypRechtsform_QNAME, String.class, NichtNatuerlichePersonTyp.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "VollerName", scope = NichtNatuerlichePersonTyp.class) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createNichtNatuerlichePersonTypVollerName(String value) { + return new JAXBElement<String>(_NichtNatuerlichePersonTypVollerName_QNAME, String.class, NichtNatuerlichePersonTyp.class, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/pd/PersonenDatenTyp.java b/src/main/java/at/gv/util/xsd/ersb/pd/PersonenDatenTyp.java new file mode 100644 index 0000000..0b124c2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/pd/PersonenDatenTyp.java @@ -0,0 +1,442 @@ + +package at.gv.util.xsd.ersb.pd; + +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.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; +import at.gv.util.xsd.ersb.basicTypes.BestandsnachweisVollzug; +import at.gv.util.xsd.ersb.basicTypes.BestandszeitraumVollzug; +import at.gv.util.xsd.ersb.basicTypes.Branche; +import at.gv.util.xsd.ersb.basicTypes.RechtstatsachenVollzug; +import at.gv.util.xsd.ersb.basicTypes.VertretungVollzug; +import at.gv.util.xsd.ersb.basicTypes.Vollzug; + + +/** + * Container um eine Person und ihre Adressen zu + * speichern + * + * <p>Java class for PersonenDatenTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonenDatenTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}NichtNatuerlichePerson"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}TypisiertePostAdresse" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Zusatzdaten" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}AendDat" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Bestandszeitraum" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Bestandsnachweis" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Vertretung" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtstatsachen" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Branche" maxOccurs="unbounded" minOccurs="0"/> + * <element name="PersonenDaten" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PersonenDatenZusatzdatenTyp" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Vollzug" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonenDatenTyp", propOrder = { + "nichtNatuerlichePerson", + "typisiertePostAdresse", + "zusatzdaten" +}) +public class PersonenDatenTyp + extends AbstractPersonType +{ + + @XmlElement(name = "NichtNatuerlichePerson", required = true) + protected NichtNatuerlichePersonTyp nichtNatuerlichePerson; + @XmlElement(name = "TypisiertePostAdresse") + protected List<TypisiertePostAdresseTyp> typisiertePostAdresse; + @XmlElement(name = "Zusatzdaten") + protected PersonenDatenTyp.Zusatzdaten zusatzdaten; + + /** + * Gets the value of the nichtNatuerlichePerson property. + * + * @return + * possible object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public NichtNatuerlichePersonTyp getNichtNatuerlichePerson() { + return nichtNatuerlichePerson; + } + + /** + * Sets the value of the nichtNatuerlichePerson property. + * + * @param value + * allowed object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public void setNichtNatuerlichePerson(NichtNatuerlichePersonTyp value) { + this.nichtNatuerlichePerson = value; + } + + /** + * Gets the value of the typisiertePostAdresse property. + * + * <p> + * 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 <CODE>set</CODE> method for the typisiertePostAdresse property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTypisiertePostAdresse().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TypisiertePostAdresseTyp } + * + * + */ + public List<TypisiertePostAdresseTyp> getTypisiertePostAdresse() { + if (typisiertePostAdresse == null) { + typisiertePostAdresse = new ArrayList<TypisiertePostAdresseTyp>(); + } + return this.typisiertePostAdresse; + } + + /** + * Gets the value of the zusatzdaten property. + * + * @return + * possible object is + * {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public PersonenDatenTyp.Zusatzdaten getZusatzdaten() { + return zusatzdaten; + } + + /** + * Sets the value of the zusatzdaten property. + * + * @param value + * allowed object is + * {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public void setZusatzdaten(PersonenDatenTyp.Zusatzdaten value) { + this.zusatzdaten = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}AendDat" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Bestandszeitraum" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Bestandsnachweis" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Vertretung" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtstatsachen" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Branche" maxOccurs="unbounded" minOccurs="0"/> + * <element name="PersonenDaten" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PersonenDatenZusatzdatenTyp" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Vollzug" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "aendDat", + "bestandszeitraum", + "bestandsnachweis", + "vertretung", + "rechtstatsachen", + "branche", + "personenDaten", + "vollzug" + }) + public static class Zusatzdaten { + + @XmlElement(name = "AendDat", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar aendDat; + @XmlElement(name = "Bestandszeitraum", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<BestandszeitraumVollzug> bestandszeitraum; + @XmlElement(name = "Bestandsnachweis", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<BestandsnachweisVollzug> bestandsnachweis; + @XmlElement(name = "Vertretung", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<VertretungVollzug> vertretung; + @XmlElement(name = "Rechtstatsachen", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<RechtstatsachenVollzug> rechtstatsachen; + @XmlElement(name = "Branche", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<Branche> branche; + @XmlElement(name = "PersonenDaten") + protected List<PersonenDatenZusatzdatenTyp> personenDaten; + @XmlElement(name = "Vollzug", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<Vollzug> vollzug; + + /** + * Gets the value of the aendDat property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getAendDat() { + return aendDat; + } + + /** + * Sets the value of the aendDat property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setAendDat(XMLGregorianCalendar value) { + this.aendDat = value; + } + + /** + * Gets the value of the bestandszeitraum property. + * + * <p> + * 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 <CODE>set</CODE> method for the bestandszeitraum property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBestandszeitraum().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link BestandszeitraumVollzug } + * + * + */ + public List<BestandszeitraumVollzug> getBestandszeitraum() { + if (bestandszeitraum == null) { + bestandszeitraum = new ArrayList<BestandszeitraumVollzug>(); + } + return this.bestandszeitraum; + } + + /** + * Gets the value of the bestandsnachweis property. + * + * <p> + * 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 <CODE>set</CODE> method for the bestandsnachweis property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBestandsnachweis().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link BestandsnachweisVollzug } + * + * + */ + public List<BestandsnachweisVollzug> getBestandsnachweis() { + if (bestandsnachweis == null) { + bestandsnachweis = new ArrayList<BestandsnachweisVollzug>(); + } + return this.bestandsnachweis; + } + + /** + * Gets the value of the vertretung property. + * + * <p> + * 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 <CODE>set</CODE> method for the vertretung property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getVertretung().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link VertretungVollzug } + * + * + */ + public List<VertretungVollzug> getVertretung() { + if (vertretung == null) { + vertretung = new ArrayList<VertretungVollzug>(); + } + return this.vertretung; + } + + /** + * Gets the value of the rechtstatsachen property. + * + * <p> + * 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 <CODE>set</CODE> method for the rechtstatsachen property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRechtstatsachen().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link RechtstatsachenVollzug } + * + * + */ + public List<RechtstatsachenVollzug> getRechtstatsachen() { + if (rechtstatsachen == null) { + rechtstatsachen = new ArrayList<RechtstatsachenVollzug>(); + } + return this.rechtstatsachen; + } + + /** + * Gets the value of the branche property. + * + * <p> + * 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 <CODE>set</CODE> method for the branche property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBranche().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Branche } + * + * + */ + public List<Branche> getBranche() { + if (branche == null) { + branche = new ArrayList<Branche>(); + } + return this.branche; + } + + /** + * Gets the value of the personenDaten property. + * + * <p> + * 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 <CODE>set</CODE> method for the personenDaten property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getPersonenDaten().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonenDatenZusatzdatenTyp } + * + * + */ + public List<PersonenDatenZusatzdatenTyp> getPersonenDaten() { + if (personenDaten == null) { + personenDaten = new ArrayList<PersonenDatenZusatzdatenTyp>(); + } + return this.personenDaten; + } + + /** + * Gets the value of the vollzug property. + * + * <p> + * 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 <CODE>set</CODE> method for the vollzug property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getVollzug().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Vollzug } + * + * + */ + public List<Vollzug> getVollzug() { + if (vollzug == null) { + vollzug = new ArrayList<Vollzug>(); + } + return this.vollzug; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/pd/PersonenDatenZusatzdatenTyp.java b/src/main/java/at/gv/util/xsd/ersb/pd/PersonenDatenZusatzdatenTyp.java new file mode 100644 index 0000000..4ab3f2a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/pd/PersonenDatenZusatzdatenTyp.java @@ -0,0 +1,160 @@ + +package at.gv.util.xsd.ersb.pd; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Container um eine Person und ihre Adressen zu + * speichern + * + * <p>Java class for PersonenDatenZusatzdatenTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonenDatenZusatzdatenTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> + * <sequence> + * <choice minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}NichtNatuerlichePerson"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}NatuerlichePerson"/> + * </choice> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}TypisiertePostAdresse" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Zusatzdaten" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}ZusatzdatenPersonenTyp" minOccurs="0"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonenDatenZusatzdatenTyp", propOrder = { + "nichtNatuerlichePerson", + "natuerlichePerson", + "typisiertePostAdresse", + "zusatzdaten" +}) +public class PersonenDatenZusatzdatenTyp + extends AbstractPersonType +{ + + @XmlElement(name = "NichtNatuerlichePerson") + protected NichtNatuerlichePersonTyp nichtNatuerlichePerson; + @XmlElement(name = "NatuerlichePerson") + protected NatuerlichePersonTyp natuerlichePerson; + @XmlElement(name = "TypisiertePostAdresse") + protected List<TypisiertePostAdresseTyp> typisiertePostAdresse; + @XmlElement(name = "Zusatzdaten") + protected ZusatzdatenPersonenTyp zusatzdaten; + + /** + * Gets the value of the nichtNatuerlichePerson property. + * + * @return + * possible object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public NichtNatuerlichePersonTyp getNichtNatuerlichePerson() { + return nichtNatuerlichePerson; + } + + /** + * Sets the value of the nichtNatuerlichePerson property. + * + * @param value + * allowed object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public void setNichtNatuerlichePerson(NichtNatuerlichePersonTyp value) { + this.nichtNatuerlichePerson = value; + } + + /** + * Gets the value of the natuerlichePerson property. + * + * @return + * possible object is + * {@link NatuerlichePersonTyp } + * + */ + public NatuerlichePersonTyp getNatuerlichePerson() { + return natuerlichePerson; + } + + /** + * Sets the value of the natuerlichePerson property. + * + * @param value + * allowed object is + * {@link NatuerlichePersonTyp } + * + */ + public void setNatuerlichePerson(NatuerlichePersonTyp value) { + this.natuerlichePerson = value; + } + + /** + * Gets the value of the typisiertePostAdresse property. + * + * <p> + * 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 <CODE>set</CODE> method for the typisiertePostAdresse property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTypisiertePostAdresse().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TypisiertePostAdresseTyp } + * + * + */ + public List<TypisiertePostAdresseTyp> getTypisiertePostAdresse() { + if (typisiertePostAdresse == null) { + typisiertePostAdresse = new ArrayList<TypisiertePostAdresseTyp>(); + } + return this.typisiertePostAdresse; + } + + /** + * Gets the value of the zusatzdaten property. + * + * @return + * possible object is + * {@link ZusatzdatenPersonenTyp } + * + */ + public ZusatzdatenPersonenTyp getZusatzdaten() { + return zusatzdaten; + } + + /** + * Sets the value of the zusatzdaten property. + * + * @param value + * allowed object is + * {@link ZusatzdatenPersonenTyp } + * + */ + public void setZusatzdaten(ZusatzdatenPersonenTyp value) { + this.zusatzdaten = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/pd/PersonenNameTyp.java b/src/main/java/at/gv/util/xsd/ersb/pd/PersonenNameTyp.java new file mode 100644 index 0000000..7ebdb8e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/pd/PersonenNameTyp.java @@ -0,0 +1,415 @@ + +package at.gv.util.xsd.ersb.pd; + +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.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * entspricht NameType + * + * <p>Java class for PersonenNameTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonenNameTyp"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Vorname" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Familienname"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primaer" default="undefiniert"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="wahr"/> + * <enumeration value="falsch"/> + * <enumeration value="undefiniert"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Affix" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="typ"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="akademischerGrad"/> + * <enumeration value="Adelstitel"/> + * <enumeration value="FamiliennamenAffix"/> + * <enumeration value="Anrede"/> + * <enumeration value="Generation"/> + * <enumeration value="Qualifikation"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonenNameTyp", propOrder = { + "vorname", + "familienname", + "affix" +}) +public class PersonenNameTyp { + + @XmlElement(name = "Vorname", required = true) + protected String vorname; + @XmlElement(name = "Familienname", required = true) + protected PersonenNameTyp.Familienname familienname; + @XmlElement(name = "Affix") + protected List<PersonenNameTyp.Affix> affix; + + /** + * Gets the value of the vorname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVorname() { + return vorname; + } + + /** + * Sets the value of the vorname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVorname(String value) { + this.vorname = value; + } + + /** + * Gets the value of the familienname property. + * + * @return + * possible object is + * {@link PersonenNameTyp.Familienname } + * + */ + public PersonenNameTyp.Familienname getFamilienname() { + return familienname; + } + + /** + * Sets the value of the familienname property. + * + * @param value + * allowed object is + * {@link PersonenNameTyp.Familienname } + * + */ + public void setFamilienname(PersonenNameTyp.Familienname value) { + this.familienname = value; + } + + /** + * Gets the value of the affix property. + * + * <p> + * 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 <CODE>set</CODE> method for the affix property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAffix().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonenNameTyp.Affix } + * + * + */ + public List<PersonenNameTyp.Affix> getAffix() { + if (affix == null) { + affix = new ArrayList<PersonenNameTyp.Affix>(); + } + return this.affix; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="typ"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="akademischerGrad"/> + * <enumeration value="Adelstitel"/> + * <enumeration value="FamiliennamenAffix"/> + * <enumeration value="Anrede"/> + * <enumeration value="Generation"/> + * <enumeration value="Qualifikation"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Affix { + + @XmlValue + protected String value; + @XmlAttribute(name = "typ") + protected String typ; + @XmlAttribute(name = "position") + protected String position; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the typ property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTyp() { + return typ; + } + + /** + * Sets the value of the typ property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTyp(String value) { + this.typ = value; + } + + /** + * Gets the value of the position property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPosition() { + return position; + } + + /** + * Sets the value of the position property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPosition(String value) { + this.position = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primaer" default="undefiniert"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="wahr"/> + * <enumeration value="falsch"/> + * <enumeration value="undefiniert"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Familienname { + + @XmlValue + protected String value; + @XmlAttribute(name = "primaer") + protected String primaer; + @XmlAttribute(name = "prefix") + protected String prefix; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the primaer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrimaer() { + if (primaer == null) { + return "undefiniert"; + } else { + return primaer; + } + } + + /** + * Sets the value of the primaer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrimaer(String value) { + this.primaer = value; + } + + /** + * Gets the value of the prefix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrefix() { + return prefix; + } + + /** + * Sets the value of the prefix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrefix(String value) { + this.prefix = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/pd/PostAdresseTyp.java b/src/main/java/at/gv/util/xsd/ersb/pd/PostAdresseTyp.java new file mode 100644 index 0000000..687d327 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/pd/PostAdresseTyp.java @@ -0,0 +1,477 @@ + +package at.gv.util.xsd.ersb.pd; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +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; + + +/** + * entspricht PostalAddressType + * + * <p>Java class for PostAdresseTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PostAdresseTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractAddressType"> + * <sequence> + * <element name="Staatscode" minOccurs="0"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <pattern value="[A-Z]{3}"/> + * </restriction> + * </simpleType> + * </element> + * <element name="Postleitzahl" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Gemeinde" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Gemeindekennziffer" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * <element name="Ortschaft" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Zustelladresse" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Strassenname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Orientierungsnummer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="AdressRegisterEintrag" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Adresscode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7"/> + * <element name="Subcode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string3" minOccurs="0"/> + * <element name="Objektnummer" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PostAdresseTyp", propOrder = { + "staatscode", + "postleitzahl", + "gemeinde", + "gemeindekennziffer", + "ortschaft", + "zustelladresse" +}) +public class PostAdresseTyp + extends AbstractAddressType +{ + + @XmlElement(name = "Staatscode") + protected String staatscode; + @XmlElement(name = "Postleitzahl") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String postleitzahl; + @XmlElement(name = "Gemeinde") + protected String gemeinde; + @XmlElement(name = "Gemeindekennziffer") + protected Object gemeindekennziffer; + @XmlElement(name = "Ortschaft") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String ortschaft; + @XmlElement(name = "Zustelladresse") + protected PostAdresseTyp.Zustelladresse zustelladresse; + + /** + * Gets the value of the staatscode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStaatscode() { + return staatscode; + } + + /** + * Sets the value of the staatscode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStaatscode(String value) { + this.staatscode = value; + } + + /** + * Gets the value of the postleitzahl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostleitzahl() { + return postleitzahl; + } + + /** + * Sets the value of the postleitzahl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostleitzahl(String value) { + this.postleitzahl = value; + } + + /** + * Gets the value of the gemeinde property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGemeinde() { + return gemeinde; + } + + /** + * Sets the value of the gemeinde property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGemeinde(String value) { + this.gemeinde = value; + } + + /** + * Gets the value of the gemeindekennziffer property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getGemeindekennziffer() { + return gemeindekennziffer; + } + + /** + * Sets the value of the gemeindekennziffer property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setGemeindekennziffer(Object value) { + this.gemeindekennziffer = value; + } + + /** + * Gets the value of the ortschaft property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrtschaft() { + return ortschaft; + } + + /** + * Sets the value of the ortschaft property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrtschaft(String value) { + this.ortschaft = value; + } + + /** + * Gets the value of the zustelladresse property. + * + * @return + * possible object is + * {@link PostAdresseTyp.Zustelladresse } + * + */ + public PostAdresseTyp.Zustelladresse getZustelladresse() { + return zustelladresse; + } + + /** + * Sets the value of the zustelladresse property. + * + * @param value + * allowed object is + * {@link PostAdresseTyp.Zustelladresse } + * + */ + public void setZustelladresse(PostAdresseTyp.Zustelladresse value) { + this.zustelladresse = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Strassenname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Orientierungsnummer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="AdressRegisterEintrag" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Adresscode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7"/> + * <element name="Subcode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string3" minOccurs="0"/> + * <element name="Objektnummer" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "strassenname", + "orientierungsnummer", + "adressRegisterEintrag" + }) + public static class Zustelladresse { + + @XmlElement(name = "Strassenname") + protected String strassenname; + @XmlElement(name = "Orientierungsnummer") + protected String orientierungsnummer; + @XmlElement(name = "AdressRegisterEintrag") + protected PostAdresseTyp.Zustelladresse.AdressRegisterEintrag adressRegisterEintrag; + + /** + * Gets the value of the strassenname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStrassenname() { + return strassenname; + } + + /** + * Sets the value of the strassenname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStrassenname(String value) { + this.strassenname = value; + } + + /** + * Gets the value of the orientierungsnummer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrientierungsnummer() { + return orientierungsnummer; + } + + /** + * Sets the value of the orientierungsnummer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrientierungsnummer(String value) { + this.orientierungsnummer = value; + } + + /** + * Gets the value of the adressRegisterEintrag property. + * + * @return + * possible object is + * {@link PostAdresseTyp.Zustelladresse.AdressRegisterEintrag } + * + */ + public PostAdresseTyp.Zustelladresse.AdressRegisterEintrag getAdressRegisterEintrag() { + return adressRegisterEintrag; + } + + /** + * Sets the value of the adressRegisterEintrag property. + * + * @param value + * allowed object is + * {@link PostAdresseTyp.Zustelladresse.AdressRegisterEintrag } + * + */ + public void setAdressRegisterEintrag(PostAdresseTyp.Zustelladresse.AdressRegisterEintrag value) { + this.adressRegisterEintrag = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Adresscode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7"/> + * <element name="Subcode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string3" minOccurs="0"/> + * <element name="Objektnummer" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "adresscode", + "subcode", + "objektnummer" + }) + public static class AdressRegisterEintrag { + + @XmlElement(name = "Adresscode", required = true) + protected String adresscode; + @XmlElement(name = "Subcode") + protected String subcode; + @XmlElement(name = "Objektnummer") + protected String objektnummer; + + /** + * Gets the value of the adresscode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdresscode() { + return adresscode; + } + + /** + * Sets the value of the adresscode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdresscode(String value) { + this.adresscode = value; + } + + /** + * Gets the value of the subcode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSubcode() { + return subcode; + } + + /** + * Sets the value of the subcode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSubcode(String value) { + this.subcode = value; + } + + /** + * Gets the value of the objektnummer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getObjektnummer() { + return objektnummer; + } + + /** + * Sets the value of the objektnummer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setObjektnummer(String value) { + this.objektnummer = value; + } + + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/pd/TypisiertePostAdresseTyp.java b/src/main/java/at/gv/util/xsd/ersb/pd/TypisiertePostAdresseTyp.java new file mode 100644 index 0000000..c015e23 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/pd/TypisiertePostAdresseTyp.java @@ -0,0 +1,156 @@ + +package at.gv.util.xsd.ersb.pd; + +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.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.simpletypes.AdressTyp; + + +/** + * entspricht TypedPostalAddressType + * + * + * <p>Java class for TypisiertePostAdresseTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TypisiertePostAdresseTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractAddressType"> + * <sequence minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PostAdresse"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Typ"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TypisiertePostAdresseTyp", propOrder = { + "postAdresse", + "typ" +}) +public class TypisiertePostAdresseTyp + extends AbstractAddressType +{ + + @XmlElement(name = "PostAdresse") + protected PostAdresseTyp postAdresse; + @XmlElement(name = "Typ", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected AdressTyp typ; + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the postAdresse property. + * + * @return + * possible object is + * {@link PostAdresseTyp } + * + */ + public PostAdresseTyp getPostAdresse() { + return postAdresse; + } + + /** + * Sets the value of the postAdresse property. + * + * @param value + * allowed object is + * {@link PostAdresseTyp } + * + */ + public void setPostAdresse(PostAdresseTyp value) { + this.postAdresse = value; + } + + /** + * Gets the value of the typ property. + * + * @return + * possible object is + * {@link AdressTyp } + * + */ + public AdressTyp getTyp() { + return typ; + } + + /** + * Sets the value of the typ property. + * + * @param value + * allowed object is + * {@link AdressTyp } + * + */ + public void setTyp(AdressTyp value) { + this.typ = value; + } + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/pd/ZusatzdatenPersonenTyp.java b/src/main/java/at/gv/util/xsd/ersb/pd/ZusatzdatenPersonenTyp.java new file mode 100644 index 0000000..e32e639 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/pd/ZusatzdatenPersonenTyp.java @@ -0,0 +1,133 @@ + +package at.gv.util.xsd.ersb.pd; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.basicTypes.FunktionVollzug; +import at.gv.util.xsd.ersb.basicTypes.RechtstatsachenVollzug; +import at.gv.util.xsd.ersb.simpletypes.EvbStatusTyp; + + +/** + * <p>Java class for ZusatzdatenPersonenTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ZusatzdatenPersonenTyp"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}EvbStatus" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Funktion" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtstatsachen" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ZusatzdatenPersonenTyp", propOrder = { + "evbStatus", + "funktion", + "rechtstatsachen" +}) +public class ZusatzdatenPersonenTyp { + + @XmlElement(name = "EvbStatus", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected EvbStatusTyp evbStatus; + @XmlElement(name = "Funktion", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<FunktionVollzug> funktion; + @XmlElement(name = "Rechtstatsachen", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<RechtstatsachenVollzug> rechtstatsachen; + + /** + * Gets the value of the evbStatus property. + * + * @return + * possible object is + * {@link EvbStatusTyp } + * + */ + public EvbStatusTyp getEvbStatus() { + return evbStatus; + } + + /** + * Sets the value of the evbStatus property. + * + * @param value + * allowed object is + * {@link EvbStatusTyp } + * + */ + public void setEvbStatus(EvbStatusTyp value) { + this.evbStatus = value; + } + + /** + * Gets the value of the funktion property. + * + * <p> + * 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 <CODE>set</CODE> method for the funktion property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFunktion().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link FunktionVollzug } + * + * + */ + public List<FunktionVollzug> getFunktion() { + if (funktion == null) { + funktion = new ArrayList<FunktionVollzug>(); + } + return this.funktion; + } + + /** + * Gets the value of the rechtstatsachen property. + * + * <p> + * 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 <CODE>set</CODE> method for the rechtstatsachen property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRechtstatsachen().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link RechtstatsachenVollzug } + * + * + */ + public List<RechtstatsachenVollzug> getRechtstatsachen() { + if (rechtstatsachen == null) { + rechtstatsachen = new ArrayList<RechtstatsachenVollzug>(); + } + return this.rechtstatsachen; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/pd/package-info.java b/src/main/java/at/gv/util/xsd/ersb/pd/package-info.java new file mode 100644 index 0000000..e8a8396 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/pd/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.ersb.pd; diff --git a/src/main/java/at/gv/util/xsd/ersb/personendata1/AbstractAddressType.java b/src/main/java/at/gv/util/xsd/ersb/personendata1/AbstractAddressType.java new file mode 100644 index 0000000..4ad2edc --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/personendata1/AbstractAddressType.java @@ -0,0 +1,72 @@ + +package at.gv.util.xsd.ersb.personendata1; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +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; + + +/** + * Struktur des Abstrakten Address Elements + * + * <p>Java class for AbstractAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractAddressType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractAddressType") +@XmlSeeAlso({ + PostAdresseTyp.class, + TypisiertePostAdresseTyp.class +}) +public class AbstractAddressType { + + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/personendata1/AbstractPersonType.java b/src/main/java/at/gv/util/xsd/ersb/personendata1/AbstractPersonType.java new file mode 100644 index 0000000..433b4a8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/personendata1/AbstractPersonType.java @@ -0,0 +1,113 @@ + +package at.gv.util.xsd.ersb.personendata1; + +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.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; + + +/** + * main structure of person data + * + * <p>Java class for AbstractPersonType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractPersonType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice minOccurs="0"> + * <element name="Identification" type="{http://statistik.at/namespace/ersb/persondata/1#}IdentificationType" maxOccurs="unbounded" minOccurs="0"/> + * </choice> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractPersonType", propOrder = { + "identification" +}) +@XmlSeeAlso({ + NatuerlichePersonTyp.class, + PersonenDatenTyp.class, + NichtNatuerlichePersonTyp.class, + PersonenDatenZusatzdatenTyp.class +}) +public class AbstractPersonType { + + @XmlElement(name = "Identification") + protected List<IdentificationType> identification; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the identification property. + * + * <p> + * 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 <CODE>set</CODE> method for the identification property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getIdentification().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link IdentificationType } + * + * + */ + public List<IdentificationType> getIdentification() { + if (identification == null) { + identification = new ArrayList<IdentificationType>(); + } + return this.identification; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/personendata1/IdentificationType.java b/src/main/java/at/gv/util/xsd/ersb/personendata1/IdentificationType.java new file mode 100644 index 0000000..e170204 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/personendata1/IdentificationType.java @@ -0,0 +1,305 @@ + +package at.gv.util.xsd.ersb.personendata1; + +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.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * Container für beliebige Identifikationsmerkmale, besteht aus Type und Value Unterelementen, aus technischen Gründen nur auf Englisch verfügbar + * + * <p>Java class for IdentificationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="IdentificationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Value"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element ref="{http://statistik.at/namespace/ersb/1#}Beginn" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ersb/1#}Ende" minOccurs="0"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ersb/1#}ErsbAttributes"/> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IdentificationType", propOrder = { + "value", + "type", + "beginn", + "ende" +}) +public class IdentificationType { + + @XmlElement(name = "Value", required = true) + protected IdentificationType.Value value; + @XmlElement(name = "Type", required = true) + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlElement(name = "Beginn", namespace = "http://statistik.at/namespace/ersb/1#") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar beginn; + @XmlElement(name = "Ende", namespace = "http://statistik.at/namespace/ersb/1#") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar ende; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "aktion", namespace = "http://statistik.at/namespace/ersb/1#") + protected String aktion; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link IdentificationType.Value } + * + */ + public IdentificationType.Value getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link IdentificationType.Value } + * + */ + public void setValue(IdentificationType.Value value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the beginn property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getBeginn() { + return beginn; + } + + /** + * Sets the value of the beginn property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setBeginn(XMLGregorianCalendar value) { + this.beginn = value; + } + + /** + * Gets the value of the ende property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getEnde() { + return ende; + } + + /** + * Sets the value of the ende property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setEnde(XMLGregorianCalendar value) { + this.ende = value; + } + + /** + * 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; + } + + /** + * Gets the value of the aktion property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAktion() { + return aktion; + } + + /** + * Sets the value of the aktion property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAktion(String value) { + this.aktion = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Value { + + @XmlValue + protected String value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/personendata1/NatuerlichePersonTyp.java b/src/main/java/at/gv/util/xsd/ersb/personendata1/NatuerlichePersonTyp.java new file mode 100644 index 0000000..c1c5fee --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/personendata1/NatuerlichePersonTyp.java @@ -0,0 +1,122 @@ + +package at.gv.util.xsd.ersb.personendata1; + +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.XmlType; + + +/** + * entspricht PhysicalPersonType + * + * <p>Java class for NatuerlichePersonTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="NatuerlichePersonTyp"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ersb/persondata/1#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element ref="{http://statistik.at/namespace/ersb/persondata/1#}PersonenName" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ersb/persondata/1#}Geburtsdatum" minOccurs="0"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ersb/1#}ErsbAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NatuerlichePersonTyp", propOrder = { + "personenName", + "geburtsdatum" +}) +public class NatuerlichePersonTyp + extends AbstractPersonType +{ + + @XmlElement(name = "PersonenName") + protected PersonenNameTyp personenName; + @XmlElement(name = "Geburtsdatum") + protected String geburtsdatum; + @XmlAttribute(name = "aktion", namespace = "http://statistik.at/namespace/ersb/1#") + protected String aktion; + + /** + * Gets the value of the personenName property. + * + * @return + * possible object is + * {@link PersonenNameTyp } + * + */ + public PersonenNameTyp getPersonenName() { + return personenName; + } + + /** + * Sets the value of the personenName property. + * + * @param value + * allowed object is + * {@link PersonenNameTyp } + * + */ + public void setPersonenName(PersonenNameTyp value) { + this.personenName = value; + } + + /** + * Gets the value of the geburtsdatum property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGeburtsdatum() { + return geburtsdatum; + } + + /** + * Sets the value of the geburtsdatum property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGeburtsdatum(String value) { + this.geburtsdatum = value; + } + + /** + * Gets the value of the aktion property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAktion() { + return aktion; + } + + /** + * Sets the value of the aktion property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAktion(String value) { + this.aktion = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/personendata1/NichtNatuerlichePersonTyp.java b/src/main/java/at/gv/util/xsd/ersb/personendata1/NichtNatuerlichePersonTyp.java new file mode 100644 index 0000000..04796d9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/personendata1/NichtNatuerlichePersonTyp.java @@ -0,0 +1,126 @@ + +package at.gv.util.xsd.ersb.personendata1; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.RechtsformErsb; +import at.gv.util.xsd.ersb.UntNameErsb; + + +/** + * entspricht CorporateBodyType + * + * <p>Java class for NichtNatuerlichePersonTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="NichtNatuerlichePersonTyp"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ersb/persondata/1#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element name="VollerName" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Rechtsform" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ersb/1#}UntName" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ersb/1#}Rechtsform" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ersb/1#}ErsbAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NichtNatuerlichePersonTyp", propOrder = { + "rest" +}) +public class NichtNatuerlichePersonTyp + extends AbstractPersonType +{ + + @XmlElementRefs({ + @XmlElementRef(name = "UntName", namespace = "http://statistik.at/namespace/ersb/1#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "VollerName", namespace = "http://statistik.at/namespace/ersb/persondata/1#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "Rechtsform", namespace = "http://statistik.at/namespace/ersb/1#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "Rechtsform", namespace = "http://statistik.at/namespace/ersb/persondata/1#", type = JAXBElement.class, required = false) + }) + protected List<JAXBElement<?>> rest; + @XmlAttribute(name = "aktion", namespace = "http://statistik.at/namespace/ersb/1#") + protected String aktion; + + /** + * Gets the rest of the content model. + * + * <p> + * You are getting this "catch-all" property because of the following reason: + * The field name "Rechtsform" is used by two different parts of a schema. See: + * line 268 of file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ERsB/1.1/PersonData_Ersb.xsd + * line 260 of file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ERsB/1.1/PersonData_Ersb.xsd + * <p> + * To get rid of this property, apply a property customization to one + * of both of the following declarations to change their names: + * Gets the value of the rest property. + * + * <p> + * 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 <CODE>set</CODE> method for the rest property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRest().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link UntNameErsb }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link RechtsformErsb }{@code >} + * + * + */ + public List<JAXBElement<?>> getRest() { + if (rest == null) { + rest = new ArrayList<JAXBElement<?>>(); + } + return this.rest; + } + + /** + * Gets the value of the aktion property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAktion() { + return aktion; + } + + /** + * Sets the value of the aktion property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAktion(String value) { + this.aktion = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/personendata1/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ersb/personendata1/ObjectFactory.java new file mode 100644 index 0000000..144a931 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/personendata1/ObjectFactory.java @@ -0,0 +1,286 @@ + +package at.gv.util.xsd.ersb.personendata1; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ersb.personendata1 package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _PostAdresse_QNAME = new QName("http://statistik.at/namespace/ersb/persondata/1#", "PostAdresse"); + private final static QName _AbstractPersonData_QNAME = new QName("http://statistik.at/namespace/ersb/persondata/1#", "AbstractPersonData"); + private final static QName _NichtNatuerlichePerson_QNAME = new QName("http://statistik.at/namespace/ersb/persondata/1#", "NichtNatuerlichePerson"); + private final static QName _Person_QNAME = new QName("http://statistik.at/namespace/ersb/persondata/1#", "Person"); + private final static QName _Address_QNAME = new QName("http://statistik.at/namespace/ersb/persondata/1#", "Address"); + private final static QName _PersonenName_QNAME = new QName("http://statistik.at/namespace/ersb/persondata/1#", "PersonenName"); + private final static QName _TypisiertePostAdresse_QNAME = new QName("http://statistik.at/namespace/ersb/persondata/1#", "TypisiertePostAdresse"); + private final static QName _PersonenDaten_QNAME = new QName("http://statistik.at/namespace/ersb/persondata/1#", "PersonenDaten"); + private final static QName _Geburtsdatum_QNAME = new QName("http://statistik.at/namespace/ersb/persondata/1#", "Geburtsdatum"); + private final static QName _NatuerlichePerson_QNAME = new QName("http://statistik.at/namespace/ersb/persondata/1#", "NatuerlichePerson"); + private final static QName _NichtNatuerlichePersonTypVollerName_QNAME = new QName("http://statistik.at/namespace/ersb/persondata/1#", "VollerName"); + private final static QName _NichtNatuerlichePersonTypRechtsform_QNAME = new QName("http://statistik.at/namespace/ersb/persondata/1#", "Rechtsform"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ersb.personendata1 + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link IdentificationType } + * + */ + public IdentificationType createIdentificationType() { + return new IdentificationType(); + } + + /** + * Create an instance of {@link PersonenDatenZusatzdatenTyp } + * + */ + public PersonenDatenZusatzdatenTyp createPersonenDatenZusatzdatenTyp() { + return new PersonenDatenZusatzdatenTyp(); + } + + /** + * Create an instance of {@link PersonenNameTyp } + * + */ + public PersonenNameTyp createPersonenNameTyp() { + return new PersonenNameTyp(); + } + + /** + * Create an instance of {@link PostAdresseTyp } + * + */ + public PostAdresseTyp createPostAdresseTyp() { + return new PostAdresseTyp(); + } + + /** + * Create an instance of {@link PersonenDatenTyp } + * + */ + public PersonenDatenTyp createPersonenDatenTyp() { + return new PersonenDatenTyp(); + } + + /** + * Create an instance of {@link NatuerlichePersonTyp } + * + */ + public NatuerlichePersonTyp createNatuerlichePersonTyp() { + return new NatuerlichePersonTyp(); + } + + /** + * Create an instance of {@link AbstractPersonType } + * + */ + public AbstractPersonType createAbstractPersonType() { + return new AbstractPersonType(); + } + + /** + * Create an instance of {@link AbstractAddressType } + * + */ + public AbstractAddressType createAbstractAddressType() { + return new AbstractAddressType(); + } + + /** + * Create an instance of {@link TypisiertePostAdresseTyp } + * + */ + public TypisiertePostAdresseTyp createTypisiertePostAdresseTyp() { + return new TypisiertePostAdresseTyp(); + } + + /** + * Create an instance of {@link NichtNatuerlichePersonTyp } + * + */ + public NichtNatuerlichePersonTyp createNichtNatuerlichePersonTyp() { + return new NichtNatuerlichePersonTyp(); + } + + /** + * Create an instance of {@link IdentificationType.Value } + * + */ + public IdentificationType.Value createIdentificationTypeValue() { + return new IdentificationType.Value(); + } + + /** + * Create an instance of {@link PersonenDatenZusatzdatenTyp.Zusatzdaten } + * + */ + public PersonenDatenZusatzdatenTyp.Zusatzdaten createPersonenDatenZusatzdatenTypZusatzdaten() { + return new PersonenDatenZusatzdatenTyp.Zusatzdaten(); + } + + /** + * Create an instance of {@link PersonenNameTyp.Familienname } + * + */ + public PersonenNameTyp.Familienname createPersonenNameTypFamilienname() { + return new PersonenNameTyp.Familienname(); + } + + /** + * Create an instance of {@link PersonenNameTyp.Affix } + * + */ + public PersonenNameTyp.Affix createPersonenNameTypAffix() { + return new PersonenNameTyp.Affix(); + } + + /** + * Create an instance of {@link PostAdresseTyp.Zustelladresse } + * + */ + public PostAdresseTyp.Zustelladresse createPostAdresseTypZustelladresse() { + return new PostAdresseTyp.Zustelladresse(); + } + + /** + * Create an instance of {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public PersonenDatenTyp.Zusatzdaten createPersonenDatenTypZusatzdaten() { + return new PersonenDatenTyp.Zusatzdaten(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PostAdresseTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/persondata/1#", name = "PostAdresse", substitutionHeadNamespace = "http://statistik.at/namespace/ersb/persondata/1#", substitutionHeadName = "Address") + public JAXBElement<PostAdresseTyp> createPostAdresse(PostAdresseTyp value) { + return new JAXBElement<PostAdresseTyp>(_PostAdresse_QNAME, PostAdresseTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/persondata/1#", name = "AbstractPersonData") + public JAXBElement<AbstractPersonType> createAbstractPersonData(AbstractPersonType value) { + return new JAXBElement<AbstractPersonType>(_AbstractPersonData_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link NichtNatuerlichePersonTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/persondata/1#", name = "NichtNatuerlichePerson", substitutionHeadNamespace = "http://statistik.at/namespace/ersb/persondata/1#", substitutionHeadName = "Person") + public JAXBElement<NichtNatuerlichePersonTyp> createNichtNatuerlichePerson(NichtNatuerlichePersonTyp value) { + return new JAXBElement<NichtNatuerlichePersonTyp>(_NichtNatuerlichePerson_QNAME, NichtNatuerlichePersonTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/persondata/1#", name = "Person") + public JAXBElement<AbstractPersonType> createPerson(AbstractPersonType value) { + return new JAXBElement<AbstractPersonType>(_Person_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/persondata/1#", name = "Address") + public JAXBElement<AbstractAddressType> createAddress(AbstractAddressType value) { + return new JAXBElement<AbstractAddressType>(_Address_QNAME, AbstractAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonenNameTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/persondata/1#", name = "PersonenName") + public JAXBElement<PersonenNameTyp> createPersonenName(PersonenNameTyp value) { + return new JAXBElement<PersonenNameTyp>(_PersonenName_QNAME, PersonenNameTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TypisiertePostAdresseTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/persondata/1#", name = "TypisiertePostAdresse", substitutionHeadNamespace = "http://statistik.at/namespace/ersb/persondata/1#", substitutionHeadName = "Address") + public JAXBElement<TypisiertePostAdresseTyp> createTypisiertePostAdresse(TypisiertePostAdresseTyp value) { + return new JAXBElement<TypisiertePostAdresseTyp>(_TypisiertePostAdresse_QNAME, TypisiertePostAdresseTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonenDatenTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/persondata/1#", name = "PersonenDaten", substitutionHeadNamespace = "http://statistik.at/namespace/ersb/persondata/1#", substitutionHeadName = "AbstractPersonData") + public JAXBElement<PersonenDatenTyp> createPersonenDaten(PersonenDatenTyp value) { + return new JAXBElement<PersonenDatenTyp>(_PersonenDaten_QNAME, PersonenDatenTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/persondata/1#", name = "Geburtsdatum") + public JAXBElement<String> createGeburtsdatum(String value) { + return new JAXBElement<String>(_Geburtsdatum_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link NatuerlichePersonTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/persondata/1#", name = "NatuerlichePerson", substitutionHeadNamespace = "http://statistik.at/namespace/ersb/persondata/1#", substitutionHeadName = "Person") + public JAXBElement<NatuerlichePersonTyp> createNatuerlichePerson(NatuerlichePersonTyp value) { + return new JAXBElement<NatuerlichePersonTyp>(_NatuerlichePerson_QNAME, NatuerlichePersonTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/persondata/1#", name = "VollerName", scope = NichtNatuerlichePersonTyp.class) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createNichtNatuerlichePersonTypVollerName(String value) { + return new JAXBElement<String>(_NichtNatuerlichePersonTypVollerName_QNAME, String.class, NichtNatuerlichePersonTyp.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ersb/persondata/1#", name = "Rechtsform", scope = NichtNatuerlichePersonTyp.class) + public JAXBElement<String> createNichtNatuerlichePersonTypRechtsform(String value) { + return new JAXBElement<String>(_NichtNatuerlichePersonTypRechtsform_QNAME, String.class, NichtNatuerlichePersonTyp.class, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/personendata1/PersonenDatenTyp.java b/src/main/java/at/gv/util/xsd/ersb/personendata1/PersonenDatenTyp.java new file mode 100644 index 0000000..20b3a42 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/personendata1/PersonenDatenTyp.java @@ -0,0 +1,339 @@ + +package at.gv.util.xsd.ersb.personendata1; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.BestandsnachweisErsb; +import at.gv.util.xsd.ersb.BestandszeitraumErsb; +import at.gv.util.xsd.ersb.RechtstatsachenErsb; +import at.gv.util.xsd.ersb.VertretungErsb; + + +/** + * Container um eine Person und ihre Adressen zu speichern + * + * <p>Java class for PersonenDatenTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonenDatenTyp"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ersb/persondata/1#}AbstractPersonType"> + * <sequence> + * <element ref="{http://statistik.at/namespace/ersb/persondata/1#}NichtNatuerlichePerson"/> + * <element ref="{http://statistik.at/namespace/ersb/persondata/1#}TypisiertePostAdresse" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Zusatzdaten" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element ref="{http://statistik.at/namespace/ersb/1#}Bestandszeitraum" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ersb/1#}Bestandsnachweis" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ersb/1#}Vertretung" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ersb/1#}Rechtstatsachen" maxOccurs="unbounded" minOccurs="0"/> + * <element name="PersonenDaten" type="{http://statistik.at/namespace/ersb/persondata/1#}PersonenDatenZusatzdatenTyp" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonenDatenTyp", propOrder = { + "nichtNatuerlichePerson", + "typisiertePostAdresse", + "zusatzdaten" +}) +public class PersonenDatenTyp + extends AbstractPersonType +{ + + @XmlElement(name = "NichtNatuerlichePerson", required = true) + protected NichtNatuerlichePersonTyp nichtNatuerlichePerson; + @XmlElement(name = "TypisiertePostAdresse") + protected List<TypisiertePostAdresseTyp> typisiertePostAdresse; + @XmlElement(name = "Zusatzdaten") + protected PersonenDatenTyp.Zusatzdaten zusatzdaten; + + /** + * Gets the value of the nichtNatuerlichePerson property. + * + * @return + * possible object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public NichtNatuerlichePersonTyp getNichtNatuerlichePerson() { + return nichtNatuerlichePerson; + } + + /** + * Sets the value of the nichtNatuerlichePerson property. + * + * @param value + * allowed object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public void setNichtNatuerlichePerson(NichtNatuerlichePersonTyp value) { + this.nichtNatuerlichePerson = value; + } + + /** + * Gets the value of the typisiertePostAdresse property. + * + * <p> + * 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 <CODE>set</CODE> method for the typisiertePostAdresse property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTypisiertePostAdresse().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TypisiertePostAdresseTyp } + * + * + */ + public List<TypisiertePostAdresseTyp> getTypisiertePostAdresse() { + if (typisiertePostAdresse == null) { + typisiertePostAdresse = new ArrayList<TypisiertePostAdresseTyp>(); + } + return this.typisiertePostAdresse; + } + + /** + * Gets the value of the zusatzdaten property. + * + * @return + * possible object is + * {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public PersonenDatenTyp.Zusatzdaten getZusatzdaten() { + return zusatzdaten; + } + + /** + * Sets the value of the zusatzdaten property. + * + * @param value + * allowed object is + * {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public void setZusatzdaten(PersonenDatenTyp.Zusatzdaten value) { + this.zusatzdaten = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element ref="{http://statistik.at/namespace/ersb/1#}Bestandszeitraum" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ersb/1#}Bestandsnachweis" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ersb/1#}Vertretung" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ersb/1#}Rechtstatsachen" maxOccurs="unbounded" minOccurs="0"/> + * <element name="PersonenDaten" type="{http://statistik.at/namespace/ersb/persondata/1#}PersonenDatenZusatzdatenTyp" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "bestandszeitraum", + "bestandsnachweis", + "vertretung", + "rechtstatsachen", + "personenDaten" + }) + public static class Zusatzdaten { + + @XmlElement(name = "Bestandszeitraum", namespace = "http://statistik.at/namespace/ersb/1#") + protected List<BestandszeitraumErsb> bestandszeitraum; + @XmlElement(name = "Bestandsnachweis", namespace = "http://statistik.at/namespace/ersb/1#") + protected List<BestandsnachweisErsb> bestandsnachweis; + @XmlElement(name = "Vertretung", namespace = "http://statistik.at/namespace/ersb/1#") + protected List<VertretungErsb> vertretung; + @XmlElement(name = "Rechtstatsachen", namespace = "http://statistik.at/namespace/ersb/1#") + protected List<RechtstatsachenErsb> rechtstatsachen; + @XmlElement(name = "PersonenDaten") + protected List<PersonenDatenZusatzdatenTyp> personenDaten; + + /** + * Gets the value of the bestandszeitraum property. + * + * <p> + * 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 <CODE>set</CODE> method for the bestandszeitraum property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBestandszeitraum().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link BestandszeitraumErsb } + * + * + */ + public List<BestandszeitraumErsb> getBestandszeitraum() { + if (bestandszeitraum == null) { + bestandszeitraum = new ArrayList<BestandszeitraumErsb>(); + } + return this.bestandszeitraum; + } + + /** + * Gets the value of the bestandsnachweis property. + * + * <p> + * 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 <CODE>set</CODE> method for the bestandsnachweis property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBestandsnachweis().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link BestandsnachweisErsb } + * + * + */ + public List<BestandsnachweisErsb> getBestandsnachweis() { + if (bestandsnachweis == null) { + bestandsnachweis = new ArrayList<BestandsnachweisErsb>(); + } + return this.bestandsnachweis; + } + + /** + * Gets the value of the vertretung property. + * + * <p> + * 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 <CODE>set</CODE> method for the vertretung property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getVertretung().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link VertretungErsb } + * + * + */ + public List<VertretungErsb> getVertretung() { + if (vertretung == null) { + vertretung = new ArrayList<VertretungErsb>(); + } + return this.vertretung; + } + + /** + * Gets the value of the rechtstatsachen property. + * + * <p> + * 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 <CODE>set</CODE> method for the rechtstatsachen property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRechtstatsachen().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link RechtstatsachenErsb } + * + * + */ + public List<RechtstatsachenErsb> getRechtstatsachen() { + if (rechtstatsachen == null) { + rechtstatsachen = new ArrayList<RechtstatsachenErsb>(); + } + return this.rechtstatsachen; + } + + /** + * Gets the value of the personenDaten property. + * + * <p> + * 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 <CODE>set</CODE> method for the personenDaten property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getPersonenDaten().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonenDatenZusatzdatenTyp } + * + * + */ + public List<PersonenDatenZusatzdatenTyp> getPersonenDaten() { + if (personenDaten == null) { + personenDaten = new ArrayList<PersonenDatenZusatzdatenTyp>(); + } + return this.personenDaten; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/personendata1/PersonenDatenZusatzdatenTyp.java b/src/main/java/at/gv/util/xsd/ersb/personendata1/PersonenDatenZusatzdatenTyp.java new file mode 100644 index 0000000..809b0c1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/personendata1/PersonenDatenZusatzdatenTyp.java @@ -0,0 +1,295 @@ + +package at.gv.util.xsd.ersb.personendata1; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.FunktionErsb; +import at.gv.util.xsd.ersb.RechtstatsachenErsb; +import at.gv.util.xsd.ersb.simpletypes.EvbStatusTyp; + + +/** + * Container um eine Person und ihre Adressen zu speichern + * + * <p>Java class for PersonenDatenZusatzdatenTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonenDatenZusatzdatenTyp"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ersb/persondata/1#}AbstractPersonType"> + * <sequence> + * <choice minOccurs="0"> + * <element ref="{http://statistik.at/namespace/ersb/persondata/1#}NichtNatuerlichePerson"/> + * <element ref="{http://statistik.at/namespace/ersb/persondata/1#}NatuerlichePerson"/> + * </choice> + * <element ref="{http://statistik.at/namespace/ersb/persondata/1#}TypisiertePostAdresse" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Zusatzdaten" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}EvbStatus" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ersb/1#}Funktion" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ersb/1#}Rechtstatsachen" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonenDatenZusatzdatenTyp", propOrder = { + "nichtNatuerlichePerson", + "natuerlichePerson", + "typisiertePostAdresse", + "zusatzdaten" +}) +public class PersonenDatenZusatzdatenTyp + extends AbstractPersonType +{ + + @XmlElement(name = "NichtNatuerlichePerson") + protected NichtNatuerlichePersonTyp nichtNatuerlichePerson; + @XmlElement(name = "NatuerlichePerson") + protected NatuerlichePersonTyp natuerlichePerson; + @XmlElement(name = "TypisiertePostAdresse") + protected List<TypisiertePostAdresseTyp> typisiertePostAdresse; + @XmlElement(name = "Zusatzdaten") + protected PersonenDatenZusatzdatenTyp.Zusatzdaten zusatzdaten; + + /** + * Gets the value of the nichtNatuerlichePerson property. + * + * @return + * possible object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public NichtNatuerlichePersonTyp getNichtNatuerlichePerson() { + return nichtNatuerlichePerson; + } + + /** + * Sets the value of the nichtNatuerlichePerson property. + * + * @param value + * allowed object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public void setNichtNatuerlichePerson(NichtNatuerlichePersonTyp value) { + this.nichtNatuerlichePerson = value; + } + + /** + * Gets the value of the natuerlichePerson property. + * + * @return + * possible object is + * {@link NatuerlichePersonTyp } + * + */ + public NatuerlichePersonTyp getNatuerlichePerson() { + return natuerlichePerson; + } + + /** + * Sets the value of the natuerlichePerson property. + * + * @param value + * allowed object is + * {@link NatuerlichePersonTyp } + * + */ + public void setNatuerlichePerson(NatuerlichePersonTyp value) { + this.natuerlichePerson = value; + } + + /** + * Gets the value of the typisiertePostAdresse property. + * + * <p> + * 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 <CODE>set</CODE> method for the typisiertePostAdresse property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTypisiertePostAdresse().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TypisiertePostAdresseTyp } + * + * + */ + public List<TypisiertePostAdresseTyp> getTypisiertePostAdresse() { + if (typisiertePostAdresse == null) { + typisiertePostAdresse = new ArrayList<TypisiertePostAdresseTyp>(); + } + return this.typisiertePostAdresse; + } + + /** + * Gets the value of the zusatzdaten property. + * + * @return + * possible object is + * {@link PersonenDatenZusatzdatenTyp.Zusatzdaten } + * + */ + public PersonenDatenZusatzdatenTyp.Zusatzdaten getZusatzdaten() { + return zusatzdaten; + } + + /** + * Sets the value of the zusatzdaten property. + * + * @param value + * allowed object is + * {@link PersonenDatenZusatzdatenTyp.Zusatzdaten } + * + */ + public void setZusatzdaten(PersonenDatenZusatzdatenTyp.Zusatzdaten value) { + this.zusatzdaten = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}EvbStatus" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ersb/1#}Funktion" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ersb/1#}Rechtstatsachen" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "evbStatus", + "funktion", + "rechtstatsachen" + }) + public static class Zusatzdaten { + + @XmlElement(name = "EvbStatus", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected EvbStatusTyp evbStatus; + @XmlElement(name = "Funktion", namespace = "http://statistik.at/namespace/ersb/1#") + protected List<FunktionErsb> funktion; + @XmlElement(name = "Rechtstatsachen", namespace = "http://statistik.at/namespace/ersb/1#") + protected List<RechtstatsachenErsb> rechtstatsachen; + + /** + * Gets the value of the evbStatus property. + * + * @return + * possible object is + * {@link EvbStatusTyp } + * + */ + public EvbStatusTyp getEvbStatus() { + return evbStatus; + } + + /** + * Sets the value of the evbStatus property. + * + * @param value + * allowed object is + * {@link EvbStatusTyp } + * + */ + public void setEvbStatus(EvbStatusTyp value) { + this.evbStatus = value; + } + + /** + * Gets the value of the funktion property. + * + * <p> + * 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 <CODE>set</CODE> method for the funktion property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFunktion().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link FunktionErsb } + * + * + */ + public List<FunktionErsb> getFunktion() { + if (funktion == null) { + funktion = new ArrayList<FunktionErsb>(); + } + return this.funktion; + } + + /** + * Gets the value of the rechtstatsachen property. + * + * <p> + * 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 <CODE>set</CODE> method for the rechtstatsachen property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRechtstatsachen().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link RechtstatsachenErsb } + * + * + */ + public List<RechtstatsachenErsb> getRechtstatsachen() { + if (rechtstatsachen == null) { + rechtstatsachen = new ArrayList<RechtstatsachenErsb>(); + } + return this.rechtstatsachen; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/personendata1/PersonenNameTyp.java b/src/main/java/at/gv/util/xsd/ersb/personendata1/PersonenNameTyp.java new file mode 100644 index 0000000..0b75a94 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/personendata1/PersonenNameTyp.java @@ -0,0 +1,415 @@ + +package at.gv.util.xsd.ersb.personendata1; + +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.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * entspricht NameType + * + * <p>Java class for PersonenNameTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonenNameTyp"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Vorname" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Familienname"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primaer" default="undefiniert"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="wahr"/> + * <enumeration value="falsch"/> + * <enumeration value="undefiniert"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Affix" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="typ"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="akademischerGrad"/> + * <enumeration value="Adelstitel"/> + * <enumeration value="FamiliennamenAffix"/> + * <enumeration value="Anrede"/> + * <enumeration value="Generation"/> + * <enumeration value="Qualifikation"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonenNameTyp", propOrder = { + "vorname", + "familienname", + "affix" +}) +public class PersonenNameTyp { + + @XmlElement(name = "Vorname", required = true) + protected String vorname; + @XmlElement(name = "Familienname", required = true) + protected PersonenNameTyp.Familienname familienname; + @XmlElement(name = "Affix") + protected List<PersonenNameTyp.Affix> affix; + + /** + * Gets the value of the vorname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVorname() { + return vorname; + } + + /** + * Sets the value of the vorname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVorname(String value) { + this.vorname = value; + } + + /** + * Gets the value of the familienname property. + * + * @return + * possible object is + * {@link PersonenNameTyp.Familienname } + * + */ + public PersonenNameTyp.Familienname getFamilienname() { + return familienname; + } + + /** + * Sets the value of the familienname property. + * + * @param value + * allowed object is + * {@link PersonenNameTyp.Familienname } + * + */ + public void setFamilienname(PersonenNameTyp.Familienname value) { + this.familienname = value; + } + + /** + * Gets the value of the affix property. + * + * <p> + * 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 <CODE>set</CODE> method for the affix property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAffix().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonenNameTyp.Affix } + * + * + */ + public List<PersonenNameTyp.Affix> getAffix() { + if (affix == null) { + affix = new ArrayList<PersonenNameTyp.Affix>(); + } + return this.affix; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="typ"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="akademischerGrad"/> + * <enumeration value="Adelstitel"/> + * <enumeration value="FamiliennamenAffix"/> + * <enumeration value="Anrede"/> + * <enumeration value="Generation"/> + * <enumeration value="Qualifikation"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Affix { + + @XmlValue + protected String value; + @XmlAttribute(name = "typ") + protected String typ; + @XmlAttribute(name = "position") + protected String position; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the typ property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTyp() { + return typ; + } + + /** + * Sets the value of the typ property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTyp(String value) { + this.typ = value; + } + + /** + * Gets the value of the position property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPosition() { + return position; + } + + /** + * Sets the value of the position property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPosition(String value) { + this.position = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primaer" default="undefiniert"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="wahr"/> + * <enumeration value="falsch"/> + * <enumeration value="undefiniert"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Familienname { + + @XmlValue + protected String value; + @XmlAttribute(name = "primaer") + protected String primaer; + @XmlAttribute(name = "prefix") + protected String prefix; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the primaer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrimaer() { + if (primaer == null) { + return "undefiniert"; + } else { + return primaer; + } + } + + /** + * Sets the value of the primaer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrimaer(String value) { + this.primaer = value; + } + + /** + * Gets the value of the prefix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrefix() { + return prefix; + } + + /** + * Sets the value of the prefix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrefix(String value) { + this.prefix = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/personendata1/PostAdresseTyp.java b/src/main/java/at/gv/util/xsd/ersb/personendata1/PostAdresseTyp.java new file mode 100644 index 0000000..701aafd --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/personendata1/PostAdresseTyp.java @@ -0,0 +1,375 @@ + +package at.gv.util.xsd.ersb.personendata1; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +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; + + +/** + * entspricht PostalAddressType + * + * <p>Java class for PostAdresseTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PostAdresseTyp"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ersb/persondata/1#}AbstractAddressType"> + * <sequence> + * <element name="Staatscode" minOccurs="0"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <pattern value="[A-Z]{3}"/> + * </restriction> + * </simpleType> + * </element> + * <element name="Postleitzahl" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Gemeinde" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Gemeindekennziffer" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * <element name="Ortschaft" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Zustelladresse" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Strassenname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Orientierungsnummer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Gebaeude" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Nutzungseinheit" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PostAdresseTyp", propOrder = { + "staatscode", + "postleitzahl", + "gemeinde", + "gemeindekennziffer", + "ortschaft", + "zustelladresse" +}) +public class PostAdresseTyp + extends AbstractAddressType +{ + + @XmlElement(name = "Staatscode") + protected String staatscode; + @XmlElement(name = "Postleitzahl") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String postleitzahl; + @XmlElement(name = "Gemeinde") + protected String gemeinde; + @XmlElement(name = "Gemeindekennziffer") + protected Object gemeindekennziffer; + @XmlElement(name = "Ortschaft") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String ortschaft; + @XmlElement(name = "Zustelladresse") + protected PostAdresseTyp.Zustelladresse zustelladresse; + + /** + * Gets the value of the staatscode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStaatscode() { + return staatscode; + } + + /** + * Sets the value of the staatscode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStaatscode(String value) { + this.staatscode = value; + } + + /** + * Gets the value of the postleitzahl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostleitzahl() { + return postleitzahl; + } + + /** + * Sets the value of the postleitzahl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostleitzahl(String value) { + this.postleitzahl = value; + } + + /** + * Gets the value of the gemeinde property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGemeinde() { + return gemeinde; + } + + /** + * Sets the value of the gemeinde property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGemeinde(String value) { + this.gemeinde = value; + } + + /** + * Gets the value of the gemeindekennziffer property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getGemeindekennziffer() { + return gemeindekennziffer; + } + + /** + * Sets the value of the gemeindekennziffer property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setGemeindekennziffer(Object value) { + this.gemeindekennziffer = value; + } + + /** + * Gets the value of the ortschaft property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrtschaft() { + return ortschaft; + } + + /** + * Sets the value of the ortschaft property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrtschaft(String value) { + this.ortschaft = value; + } + + /** + * Gets the value of the zustelladresse property. + * + * @return + * possible object is + * {@link PostAdresseTyp.Zustelladresse } + * + */ + public PostAdresseTyp.Zustelladresse getZustelladresse() { + return zustelladresse; + } + + /** + * Sets the value of the zustelladresse property. + * + * @param value + * allowed object is + * {@link PostAdresseTyp.Zustelladresse } + * + */ + public void setZustelladresse(PostAdresseTyp.Zustelladresse value) { + this.zustelladresse = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Strassenname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Orientierungsnummer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Gebaeude" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Nutzungseinheit" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "strassenname", + "orientierungsnummer", + "gebaeude", + "nutzungseinheit" + }) + public static class Zustelladresse { + + @XmlElement(name = "Strassenname") + protected String strassenname; + @XmlElement(name = "Orientierungsnummer") + protected String orientierungsnummer; + @XmlElement(name = "Gebaeude") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String gebaeude; + @XmlElement(name = "Nutzungseinheit") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String nutzungseinheit; + + /** + * Gets the value of the strassenname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStrassenname() { + return strassenname; + } + + /** + * Sets the value of the strassenname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStrassenname(String value) { + this.strassenname = value; + } + + /** + * Gets the value of the orientierungsnummer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrientierungsnummer() { + return orientierungsnummer; + } + + /** + * Sets the value of the orientierungsnummer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrientierungsnummer(String value) { + this.orientierungsnummer = value; + } + + /** + * Gets the value of the gebaeude property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGebaeude() { + return gebaeude; + } + + /** + * Sets the value of the gebaeude property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGebaeude(String value) { + this.gebaeude = value; + } + + /** + * Gets the value of the nutzungseinheit property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNutzungseinheit() { + return nutzungseinheit; + } + + /** + * Sets the value of the nutzungseinheit property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNutzungseinheit(String value) { + this.nutzungseinheit = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/personendata1/TypisiertePostAdresseTyp.java b/src/main/java/at/gv/util/xsd/ersb/personendata1/TypisiertePostAdresseTyp.java new file mode 100644 index 0000000..ac6cf74 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/personendata1/TypisiertePostAdresseTyp.java @@ -0,0 +1,123 @@ + +package at.gv.util.xsd.ersb.personendata1; + +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.XmlType; +import at.gv.util.xsd.ersb.simpletypes.AdressTyp; + + +/** + * entspricht TypedPostalAddressType + * + * <p>Java class for TypisiertePostAdresseTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TypisiertePostAdresseTyp"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ersb/persondata/1#}AbstractAddressType"> + * <sequence minOccurs="0"> + * <element ref="{http://statistik.at/namespace/ersb/persondata/1#}PostAdresse"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Typ"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ersb/1#}ErsbAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TypisiertePostAdresseTyp", propOrder = { + "postAdresse", + "typ" +}) +public class TypisiertePostAdresseTyp + extends AbstractAddressType +{ + + @XmlElement(name = "PostAdresse") + protected PostAdresseTyp postAdresse; + @XmlElement(name = "Typ", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected AdressTyp typ; + @XmlAttribute(name = "aktion", namespace = "http://statistik.at/namespace/ersb/1#") + protected String aktion; + + /** + * Gets the value of the postAdresse property. + * + * @return + * possible object is + * {@link PostAdresseTyp } + * + */ + public PostAdresseTyp getPostAdresse() { + return postAdresse; + } + + /** + * Sets the value of the postAdresse property. + * + * @param value + * allowed object is + * {@link PostAdresseTyp } + * + */ + public void setPostAdresse(PostAdresseTyp value) { + this.postAdresse = value; + } + + /** + * Gets the value of the typ property. + * + * @return + * possible object is + * {@link AdressTyp } + * + */ + public AdressTyp getTyp() { + return typ; + } + + /** + * Sets the value of the typ property. + * + * @param value + * allowed object is + * {@link AdressTyp } + * + */ + public void setTyp(AdressTyp value) { + this.typ = value; + } + + /** + * Gets the value of the aktion property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAktion() { + return aktion; + } + + /** + * Sets the value of the aktion property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAktion(String value) { + this.aktion = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/personendata1/package-info.java b/src/main/java/at/gv/util/xsd/ersb/personendata1/package-info.java new file mode 100644 index 0000000..5aaa079 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/personendata1/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://statistik.at/namespace/ersb/persondata/1#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.ersb.personendata1; diff --git a/src/main/java/at/gv/util/xsd/ersb/simpletypes/AdressTyp.java b/src/main/java/at/gv/util/xsd/ersb/simpletypes/AdressTyp.java new file mode 100644 index 0000000..8a18224 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/simpletypes/AdressTyp.java @@ -0,0 +1,38 @@ + +package at.gv.util.xsd.ersb.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for AdressTyp. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="AdressTyp"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="SITZ"/> + * <enumeration value="ZUSTELLADRESSE"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "AdressTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") +@XmlEnum +public enum AdressTyp { + + SITZ, + ZUSTELLADRESSE; + + public String value() { + return name(); + } + + public static AdressTyp fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/simpletypes/ErgebnisVollzugStatusTyp.java b/src/main/java/at/gv/util/xsd/ersb/simpletypes/ErgebnisVollzugStatusTyp.java new file mode 100644 index 0000000..efd8a6a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/simpletypes/ErgebnisVollzugStatusTyp.java @@ -0,0 +1,38 @@ + +package at.gv.util.xsd.ersb.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ErgebnisVollzugStatusTyp. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="ErgebnisVollzugStatusTyp"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="V"/> + * <enumeration value="AZV"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "ErgebnisVollzugStatusTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") +@XmlEnum +public enum ErgebnisVollzugStatusTyp { + + V, + AZV; + + public String value() { + return name(); + } + + public static ErgebnisVollzugStatusTyp fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/simpletypes/EvbStatusTyp.java b/src/main/java/at/gv/util/xsd/ersb/simpletypes/EvbStatusTyp.java new file mode 100644 index 0000000..ee6243a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/simpletypes/EvbStatusTyp.java @@ -0,0 +1,40 @@ + +package at.gv.util.xsd.ersb.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for EvbStatusTyp. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="EvbStatusTyp"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="J"/> + * <enumeration value="N"/> + * <enumeration value="U"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "EvbStatusTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") +@XmlEnum +public enum EvbStatusTyp { + + J, + N, + U; + + public String value() { + return name(); + } + + public static EvbStatusTyp fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/simpletypes/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ersb/simpletypes/ObjectFactory.java new file mode 100644 index 0000000..1a040d6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/simpletypes/ObjectFactory.java @@ -0,0 +1,32 @@ + +package at.gv.util.xsd.ersb.simpletypes; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ersb.simpletypes package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ersb.simpletypes + * + */ + public ObjectFactory() { + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/simpletypes/OenaceArtTyp.java b/src/main/java/at/gv/util/xsd/ersb/simpletypes/OenaceArtTyp.java new file mode 100644 index 0000000..5719141 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/simpletypes/OenaceArtTyp.java @@ -0,0 +1,38 @@ + +package at.gv.util.xsd.ersb.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for OenaceArtTyp. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="OenaceArtTyp"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="H"/> + * <enumeration value="N"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "OenaceArtTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") +@XmlEnum +public enum OenaceArtTyp { + + H, + N; + + public String value() { + return name(); + } + + public static OenaceArtTyp fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ersb/simpletypes/VollzugStatusTyp.java b/src/main/java/at/gv/util/xsd/ersb/simpletypes/VollzugStatusTyp.java new file mode 100644 index 0000000..67810e0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ersb/simpletypes/VollzugStatusTyp.java @@ -0,0 +1,40 @@ + +package at.gv.util.xsd.ersb.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for VollzugStatusTyp. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="VollzugStatusTyp"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="A"/> + * <enumeration value="V"/> + * <enumeration value="Z"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "VollzugStatusTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") +@XmlEnum +public enum VollzugStatusTyp { + + A, + V, + Z; + + public String value() { + return name(); + } + + public static VollzugStatusTyp fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/Issued.java b/src/main/java/at/gv/util/xsd/mandate/Issued.java new file mode 100644 index 0000000..f496565 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/Issued.java @@ -0,0 +1,134 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +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; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Place" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="Date" type="{http://reference.e-government.gv.at/namespace/mandates/20040701#}DateType"/> + * <element name="Time" type="{http://www.w3.org/2001/XMLSchema}time" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "place", + "date", + "time" +}) +@XmlRootElement(name = "Issued") +public class Issued { + + @XmlElement(name = "Place", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String place; + @XmlElement(name = "Date", required = true) + protected String date; + @XmlElement(name = "Time") + @XmlSchemaType(name = "time") + protected XMLGregorianCalendar time; + + /** + * Gets the value of the place property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlace() { + return place; + } + + /** + * Sets the value of the place property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlace(String value) { + this.place = value; + } + + /** + * Gets the value of the date property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDate() { + return date; + } + + /** + * Sets the value of the date property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDate(String value) { + this.date = value; + } + + /** + * Gets the value of the time property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTime() { + return time; + } + + /** + * Sets the value of the time property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setTime(XMLGregorianCalendar value) { + this.time = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/Mandate.java b/src/main/java/at/gv/util/xsd/mandate/Mandate.java new file mode 100644 index 0000000..71e2a4f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/Mandate.java @@ -0,0 +1,346 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate; + +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.XmlRootElement; +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; +import at.gv.util.xsd.mandate.persondata.PhysicalPersonType; +import at.gv.util.xsd.mandate.xsd.SignatureType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}Annotation" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}StatusInformationService" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}Representative"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}Mandator"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}Intermediary" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}Issued"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}Properties" minOccurs="0"/> + * <choice maxOccurs="unbounded"> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}SimpleMandateContent"/> + * </choice> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/> + * </sequence> + * <attribute name="MandateID" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "annotation", + "statusInformationService", + "representative", + "mandator", + "intermediary", + "issued", + "properties", + "simpleMandateContent", + "signature" +}) +@XmlRootElement(name = "Mandate") +public class Mandate { + + @XmlElement(name = "Annotation") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String annotation; + @XmlElement(name = "StatusInformationService") + @XmlSchemaType(name = "anyURI") + protected String statusInformationService; + @XmlElement(name = "Representative", required = true) + protected Representative representative; + @XmlElement(name = "Mandator", required = true) + protected Mandator mandator; + @XmlElement(name = "Intermediary") + protected List<PhysicalPersonType> intermediary; + @XmlElement(name = "Issued", required = true) + protected Issued issued; + @XmlElement(name = "Properties") + protected PropertiesType properties; + @XmlElement(name = "SimpleMandateContent") + protected List<SimpleMandateContentType> simpleMandateContent; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureType signature; + @XmlAttribute(name = "MandateID", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String mandateID; + + /** + * Gets the value of the annotation property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAnnotation() { + return annotation; + } + + /** + * Sets the value of the annotation property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAnnotation(String value) { + this.annotation = value; + } + + /** + * Gets the value of the statusInformationService property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStatusInformationService() { + return statusInformationService; + } + + /** + * Sets the value of the statusInformationService property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStatusInformationService(String value) { + this.statusInformationService = value; + } + + /** + * Gets the value of the representative property. + * + * @return + * possible object is + * {@link Representative } + * + */ + public Representative getRepresentative() { + return representative; + } + + /** + * Sets the value of the representative property. + * + * @param value + * allowed object is + * {@link Representative } + * + */ + public void setRepresentative(Representative value) { + this.representative = value; + } + + /** + * Gets the value of the mandator property. + * + * @return + * possible object is + * {@link Mandator } + * + */ + public Mandator getMandator() { + return mandator; + } + + /** + * Sets the value of the mandator property. + * + * @param value + * allowed object is + * {@link Mandator } + * + */ + public void setMandator(Mandator value) { + this.mandator = value; + } + + /** + * Gets the value of the intermediary property. + * + * <p> + * 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 <CODE>set</CODE> method for the intermediary property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getIntermediary().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PhysicalPersonType } + * + * + */ + public List<PhysicalPersonType> getIntermediary() { + if (intermediary == null) { + intermediary = new ArrayList<PhysicalPersonType>(); + } + return this.intermediary; + } + + /** + * Gets the value of the issued property. + * + * @return + * possible object is + * {@link Issued } + * + */ + public Issued getIssued() { + return issued; + } + + /** + * Sets the value of the issued property. + * + * @param value + * allowed object is + * {@link Issued } + * + */ + public void setIssued(Issued value) { + this.issued = value; + } + + /** + * Gets the value of the properties property. + * + * @return + * possible object is + * {@link PropertiesType } + * + */ + public PropertiesType getProperties() { + return properties; + } + + /** + * Sets the value of the properties property. + * + * @param value + * allowed object is + * {@link PropertiesType } + * + */ + public void setProperties(PropertiesType value) { + this.properties = value; + } + + /** + * Gets the value of the simpleMandateContent property. + * + * <p> + * 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 <CODE>set</CODE> method for the simpleMandateContent property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSimpleMandateContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link SimpleMandateContentType } + * + * + */ + public List<SimpleMandateContentType> getSimpleMandateContent() { + if (simpleMandateContent == null) { + simpleMandateContent = new ArrayList<SimpleMandateContentType>(); + } + return this.simpleMandateContent; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the mandateID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMandateID() { + return mandateID; + } + + /** + * Sets the value of the mandateID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMandateID(String value) { + this.mandateID = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/Mandator.java b/src/main/java/at/gv/util/xsd/mandate/Mandator.java new file mode 100644 index 0000000..8e0cca4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/Mandator.java @@ -0,0 +1,101 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.mandate.persondata.CorporateBodyType; +import at.gv.util.xsd.mandate.persondata.PhysicalPersonType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CorporateBody"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "physicalPerson", + "corporateBody" +}) +@XmlRootElement(name = "Mandator") +public class Mandator { + + @XmlElement(name = "PhysicalPerson", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#") + protected PhysicalPersonType physicalPerson; + @XmlElement(name = "CorporateBody", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#") + protected CorporateBodyType corporateBody; + + /** + * Gets the value of the physicalPerson property. + * + * @return + * possible object is + * {@link PhysicalPersonType } + * + */ + public PhysicalPersonType getPhysicalPerson() { + return physicalPerson; + } + + /** + * Sets the value of the physicalPerson property. + * + * @param value + * allowed object is + * {@link PhysicalPersonType } + * + */ + public void setPhysicalPerson(PhysicalPersonType value) { + this.physicalPerson = value; + } + + /** + * Gets the value of the corporateBody property. + * + * @return + * possible object is + * {@link CorporateBodyType } + * + */ + public CorporateBodyType getCorporateBody() { + return corporateBody; + } + + /** + * Sets the value of the corporateBody property. + * + * @param value + * allowed object is + * {@link CorporateBodyType } + * + */ + public void setCorporateBody(CorporateBodyType value) { + this.corporateBody = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mandate/ObjectFactory.java new file mode 100644 index 0000000..e1dde1a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/ObjectFactory.java @@ -0,0 +1,286 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; +import at.gv.util.xsd.mandate.persondata.PhysicalPersonType; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.mandate package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Intermediary_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/20040701#", "Intermediary"); + private final static QName _ParameterisedDescription_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/20040701#", "ParameterisedDescription"); + private final static QName _ParameterisedText_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/20040701#", "ParameterisedText"); + private final static QName _TextualDescription_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/20040701#", "TextualDescription"); + private final static QName _Annotation_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/20040701#", "Annotation"); + private final static QName _AnyConstraints_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/20040701#", "AnyConstraints"); + private final static QName _ValidFrom_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/20040701#", "ValidFrom"); + private final static QName _SimpleMandateContent_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/20040701#", "SimpleMandateContent"); + private final static QName _StatusInformationService_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/20040701#", "StatusInformationService"); + private final static QName _Properties_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/20040701#", "Properties"); + private final static QName _ValidTo_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/20040701#", "ValidTo"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mandate + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link SetParameter } + * + */ + public SetParameter createSetParameter() { + return new SetParameter(); + } + + /** + * Create an instance of {@link PasteParameter } + * + */ + public PasteParameter createPasteParameter() { + return new PasteParameter(); + } + + /** + * Create an instance of {@link SimpleMandateContentType.TimeConstraint } + * + */ + public SimpleMandateContentType.TimeConstraint createSimpleMandateContentTypeTimeConstraint() { + return new SimpleMandateContentType.TimeConstraint(); + } + + /** + * Create an instance of {@link SimpleMandateContentType.CollectiveConstraint } + * + */ + public SimpleMandateContentType.CollectiveConstraint createSimpleMandateContentTypeCollectiveConstraint() { + return new SimpleMandateContentType.CollectiveConstraint(); + } + + /** + * Create an instance of {@link SimpleMandateContentType.References } + * + */ + public SimpleMandateContentType.References createSimpleMandateContentTypeReferences() { + return new SimpleMandateContentType.References(); + } + + /** + * Create an instance of {@link PropertiesType } + * + */ + public PropertiesType createPropertiesType() { + return new PropertiesType(); + } + + /** + * Create an instance of {@link ParameterDefinition } + * + */ + public ParameterDefinition createParameterDefinition() { + return new ParameterDefinition(); + } + + /** + * Create an instance of {@link SimpleMandateContentType.References.MandateID } + * + */ + public SimpleMandateContentType.References.MandateID createSimpleMandateContentTypeReferencesMandateID() { + return new SimpleMandateContentType.References.MandateID(); + } + + /** + * Create an instance of {@link ParameterisedTextType } + * + */ + public ParameterisedTextType createParameterisedTextType() { + return new ParameterisedTextType(); + } + + /** + * Create an instance of {@link SimpleMandateContentType } + * + */ + public SimpleMandateContentType createSimpleMandateContentType() { + return new SimpleMandateContentType(); + } + + /** + * Create an instance of {@link Mandator } + * + */ + public Mandator createMandator() { + return new Mandator(); + } + + /** + * Create an instance of {@link SimpleMandateContentType.TransactionLimit } + * + */ + public SimpleMandateContentType.TransactionLimit createSimpleMandateContentTypeTransactionLimit() { + return new SimpleMandateContentType.TransactionLimit(); + } + + /** + * Create an instance of {@link Representative } + * + */ + public Representative createRepresentative() { + return new Representative(); + } + + /** + * Create an instance of {@link Issued } + * + */ + public Issued createIssued() { + return new Issued(); + } + + /** + * Create an instance of {@link ParameterisedDescriptionType } + * + */ + public ParameterisedDescriptionType createParameterisedDescriptionType() { + return new ParameterisedDescriptionType(); + } + + /** + * Create an instance of {@link Mandate } + * + */ + public Mandate createMandate() { + return new Mandate(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", name = "Intermediary") + public JAXBElement<PhysicalPersonType> createIntermediary(PhysicalPersonType value) { + return new JAXBElement<PhysicalPersonType>(_Intermediary_QNAME, PhysicalPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ParameterisedDescriptionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", name = "ParameterisedDescription") + public JAXBElement<ParameterisedDescriptionType> createParameterisedDescription(ParameterisedDescriptionType value) { + return new JAXBElement<ParameterisedDescriptionType>(_ParameterisedDescription_QNAME, ParameterisedDescriptionType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ParameterisedTextType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", name = "ParameterisedText") + public JAXBElement<ParameterisedTextType> createParameterisedText(ParameterisedTextType value) { + return new JAXBElement<ParameterisedTextType>(_ParameterisedText_QNAME, ParameterisedTextType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", name = "TextualDescription") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createTextualDescription(String value) { + return new JAXBElement<String>(_TextualDescription_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", name = "Annotation") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createAnnotation(String value) { + return new JAXBElement<String>(_Annotation_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", name = "AnyConstraints") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createAnyConstraints(String value) { + return new JAXBElement<String>(_AnyConstraints_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", name = "ValidFrom") + public JAXBElement<String> createValidFrom(String value) { + return new JAXBElement<String>(_ValidFrom_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SimpleMandateContentType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", name = "SimpleMandateContent") + public JAXBElement<SimpleMandateContentType> createSimpleMandateContent(SimpleMandateContentType value) { + return new JAXBElement<SimpleMandateContentType>(_SimpleMandateContent_QNAME, SimpleMandateContentType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", name = "StatusInformationService") + public JAXBElement<String> createStatusInformationService(String value) { + return new JAXBElement<String>(_StatusInformationService_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PropertiesType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", name = "Properties") + public JAXBElement<PropertiesType> createProperties(PropertiesType value) { + return new JAXBElement<PropertiesType>(_Properties_QNAME, PropertiesType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", name = "ValidTo") + public JAXBElement<String> createValidTo(String value) { + return new JAXBElement<String>(_ValidTo_QNAME, String.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/ParameterDefinition.java b/src/main/java/at/gv/util/xsd/mandate/ParameterDefinition.java new file mode 100644 index 0000000..5a5d097 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/ParameterDefinition.java @@ -0,0 +1,78 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}SetParameter"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "setParameter" +}) +@XmlRootElement(name = "ParameterDefinition") +public class ParameterDefinition { + + @XmlElement(name = "SetParameter") + protected List<SetParameter> setParameter; + + /** + * Gets the value of the setParameter property. + * + * <p> + * 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 <CODE>set</CODE> method for the setParameter property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSetParameter().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link SetParameter } + * + * + */ + public List<SetParameter> getSetParameter() { + if (setParameter == null) { + setParameter = new ArrayList<SetParameter>(); + } + return this.setParameter; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/ParameterisedDescriptionType.java b/src/main/java/at/gv/util/xsd/mandate/ParameterisedDescriptionType.java new file mode 100644 index 0000000..02b0bd8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/ParameterisedDescriptionType.java @@ -0,0 +1,99 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * complex type for a parameterised description + * + * <p>Java class for ParameterisedDescriptionType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ParameterisedDescriptionType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}ParameterisedText"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}ParameterDefinition"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ParameterisedDescriptionType", propOrder = { + "parameterisedText", + "parameterDefinition" +}) +public class ParameterisedDescriptionType { + + @XmlElement(name = "ParameterisedText", required = true) + protected ParameterisedTextType parameterisedText; + @XmlElement(name = "ParameterDefinition", required = true) + protected ParameterDefinition parameterDefinition; + + /** + * Gets the value of the parameterisedText property. + * + * @return + * possible object is + * {@link ParameterisedTextType } + * + */ + public ParameterisedTextType getParameterisedText() { + return parameterisedText; + } + + /** + * Sets the value of the parameterisedText property. + * + * @param value + * allowed object is + * {@link ParameterisedTextType } + * + */ + public void setParameterisedText(ParameterisedTextType value) { + this.parameterisedText = value; + } + + /** + * Gets the value of the parameterDefinition property. + * + * @return + * possible object is + * {@link ParameterDefinition } + * + */ + public ParameterDefinition getParameterDefinition() { + return parameterDefinition; + } + + /** + * Sets the value of the parameterDefinition property. + * + * @param value + * allowed object is + * {@link ParameterDefinition } + * + */ + public void setParameterDefinition(ParameterDefinition value) { + this.parameterDefinition = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/ParameterisedTextType.java b/src/main/java/at/gv/util/xsd/mandate/ParameterisedTextType.java new file mode 100644 index 0000000..12964ef --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/ParameterisedTextType.java @@ -0,0 +1,81 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate; + +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.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlType; + + +/** + * complex type for describing a parameterised text + * + * <p>Java class for ParameterisedTextType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ParameterisedTextType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}PasteParameter"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ParameterisedTextType", propOrder = { + "content" +}) +public class ParameterisedTextType { + + @XmlElementRef(name = "PasteParameter", namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", type = PasteParameter.class) + @XmlMixed + protected List<Object> content; + + /** + * complex type for describing a parameterised text Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link PasteParameter } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/PasteParameter.java b/src/main/java/at/gv/util/xsd/mandate/PasteParameter.java new file mode 100644 index 0000000..8957b24 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/PasteParameter.java @@ -0,0 +1,72 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +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; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "PasteParameter") +public class PasteParameter { + + @XmlAttribute(name = "Name") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String name; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/PropertiesType.java b/src/main/java/at/gv/util/xsd/mandate/PropertiesType.java new file mode 100644 index 0000000..b55ebfa --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/PropertiesType.java @@ -0,0 +1,109 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * complex type for describing arbitrary properties of mandates + * + * <p>Java class for PropertiesType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PropertiesType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="SubstitutionAllowed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PropertiesType", propOrder = { + "substitutionAllowed", + "any" +}) +public class PropertiesType { + + @XmlElement(name = "SubstitutionAllowed", defaultValue = "false") + protected Boolean substitutionAllowed; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the substitutionAllowed property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isSubstitutionAllowed() { + return substitutionAllowed; + } + + /** + * Sets the value of the substitutionAllowed property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setSubstitutionAllowed(Boolean value) { + this.substitutionAllowed = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/Representative.java b/src/main/java/at/gv/util/xsd/mandate/Representative.java new file mode 100644 index 0000000..6548c74 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/Representative.java @@ -0,0 +1,101 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.mandate.persondata.CorporateBodyType; +import at.gv.util.xsd.mandate.persondata.PhysicalPersonType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CorporateBody"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "physicalPerson", + "corporateBody" +}) +@XmlRootElement(name = "Representative") +public class Representative { + + @XmlElement(name = "PhysicalPerson", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#") + protected PhysicalPersonType physicalPerson; + @XmlElement(name = "CorporateBody", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#") + protected CorporateBodyType corporateBody; + + /** + * Gets the value of the physicalPerson property. + * + * @return + * possible object is + * {@link PhysicalPersonType } + * + */ + public PhysicalPersonType getPhysicalPerson() { + return physicalPerson; + } + + /** + * Sets the value of the physicalPerson property. + * + * @param value + * allowed object is + * {@link PhysicalPersonType } + * + */ + public void setPhysicalPerson(PhysicalPersonType value) { + this.physicalPerson = value; + } + + /** + * Gets the value of the corporateBody property. + * + * @return + * possible object is + * {@link CorporateBodyType } + * + */ + public CorporateBodyType getCorporateBody() { + return corporateBody; + } + + /** + * Sets the value of the corporateBody property. + * + * @param value + * allowed object is + * {@link CorporateBodyType } + * + */ + public void setCorporateBody(CorporateBodyType value) { + this.corporateBody = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/SetParameter.java b/src/main/java/at/gv/util/xsd/mandate/SetParameter.java new file mode 100644 index 0000000..ab53276 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/SetParameter.java @@ -0,0 +1,103 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>token"> + * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "value" +}) +@XmlRootElement(name = "SetParameter") +public class SetParameter { + + @XmlValue + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String value; + @XmlAttribute(name = "Name") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String name; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/SimpleMandateContentType.java b/src/main/java/at/gv/util/xsd/mandate/SimpleMandateContentType.java new file mode 100644 index 0000000..d440fce --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/SimpleMandateContentType.java @@ -0,0 +1,605 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import at.gv.util.xsd.mandate.persondata.CorporateBodyType; +import at.gv.util.xsd.mandate.persondata.PhysicalPersonType; + + +/** + * complex type for describing the mandate using some textual descriptions + * + * <p>Java class for SimpleMandateContentType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SimpleMandateContentType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <choice maxOccurs="unbounded"> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}TextualDescription"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}ParameterisedDescription"/> + * </choice> + * <element name="References" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="MandateID"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>token"> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <group ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}ConstraintsGroup"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SimpleMandateContentType", propOrder = { + "textualDescriptionOrParameterisedDescription", + "references", + "timeConstraint", + "collectiveConstraint", + "transactionLimit", + "anyConstraints" +}) +public class SimpleMandateContentType { + + @XmlElementRefs({ + @XmlElementRef(name = "TextualDescription", namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", type = JAXBElement.class), + @XmlElementRef(name = "ParameterisedDescription", namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", type = JAXBElement.class) + }) + protected List<JAXBElement<?>> textualDescriptionOrParameterisedDescription; + @XmlElement(name = "References") + protected SimpleMandateContentType.References references; + @XmlElement(name = "TimeConstraint") + protected SimpleMandateContentType.TimeConstraint timeConstraint; + @XmlElement(name = "CollectiveConstraint") + protected SimpleMandateContentType.CollectiveConstraint collectiveConstraint; + @XmlElement(name = "TransactionLimit") + protected SimpleMandateContentType.TransactionLimit transactionLimit; + @XmlElement(name = "AnyConstraints") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected List<String> anyConstraints; + + /** + * Gets the value of the textualDescriptionOrParameterisedDescription property. + * + * <p> + * 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 <CODE>set</CODE> method for the textualDescriptionOrParameterisedDescription property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTextualDescriptionOrParameterisedDescription().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link ParameterisedDescriptionType }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<JAXBElement<?>> getTextualDescriptionOrParameterisedDescription() { + if (textualDescriptionOrParameterisedDescription == null) { + textualDescriptionOrParameterisedDescription = new ArrayList<JAXBElement<?>>(); + } + return this.textualDescriptionOrParameterisedDescription; + } + + /** + * Gets the value of the references property. + * + * @return + * possible object is + * {@link SimpleMandateContentType.References } + * + */ + public SimpleMandateContentType.References getReferences() { + return references; + } + + /** + * Sets the value of the references property. + * + * @param value + * allowed object is + * {@link SimpleMandateContentType.References } + * + */ + public void setReferences(SimpleMandateContentType.References value) { + this.references = value; + } + + /** + * Gets the value of the timeConstraint property. + * + * @return + * possible object is + * {@link SimpleMandateContentType.TimeConstraint } + * + */ + public SimpleMandateContentType.TimeConstraint getTimeConstraint() { + return timeConstraint; + } + + /** + * Sets the value of the timeConstraint property. + * + * @param value + * allowed object is + * {@link SimpleMandateContentType.TimeConstraint } + * + */ + public void setTimeConstraint(SimpleMandateContentType.TimeConstraint value) { + this.timeConstraint = value; + } + + /** + * Gets the value of the collectiveConstraint property. + * + * @return + * possible object is + * {@link SimpleMandateContentType.CollectiveConstraint } + * + */ + public SimpleMandateContentType.CollectiveConstraint getCollectiveConstraint() { + return collectiveConstraint; + } + + /** + * Sets the value of the collectiveConstraint property. + * + * @param value + * allowed object is + * {@link SimpleMandateContentType.CollectiveConstraint } + * + */ + public void setCollectiveConstraint(SimpleMandateContentType.CollectiveConstraint value) { + this.collectiveConstraint = value; + } + + /** + * Gets the value of the transactionLimit property. + * + * @return + * possible object is + * {@link SimpleMandateContentType.TransactionLimit } + * + */ + public SimpleMandateContentType.TransactionLimit getTransactionLimit() { + return transactionLimit; + } + + /** + * Sets the value of the transactionLimit property. + * + * @param value + * allowed object is + * {@link SimpleMandateContentType.TransactionLimit } + * + */ + public void setTransactionLimit(SimpleMandateContentType.TransactionLimit value) { + this.transactionLimit = value; + } + + /** + * Gets the value of the anyConstraints property. + * + * <p> + * 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 <CODE>set</CODE> method for the anyConstraints property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAnyConstraints().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getAnyConstraints() { + if (anyConstraints == null) { + anyConstraints = new ArrayList<String>(); + } + return this.anyConstraints; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CorporateBody"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}AnyConstraints"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "physicalPersonOrCorporateBodyOrAnyConstraints" + }) + public static class CollectiveConstraint { + + @XmlElementRefs({ + @XmlElementRef(name = "AnyConstraints", namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", type = JAXBElement.class), + @XmlElementRef(name = "CorporateBody", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class), + @XmlElementRef(name = "PhysicalPerson", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class) + }) + protected List<JAXBElement<?>> physicalPersonOrCorporateBodyOrAnyConstraints; + + /** + * Gets the value of the physicalPersonOrCorporateBodyOrAnyConstraints property. + * + * <p> + * 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 <CODE>set</CODE> method for the physicalPersonOrCorporateBodyOrAnyConstraints property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getPhysicalPersonOrCorporateBodyOrAnyConstraints().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * + * + */ + public List<JAXBElement<?>> getPhysicalPersonOrCorporateBodyOrAnyConstraints() { + if (physicalPersonOrCorporateBodyOrAnyConstraints == null) { + physicalPersonOrCorporateBodyOrAnyConstraints = new ArrayList<JAXBElement<?>>(); + } + return this.physicalPersonOrCorporateBodyOrAnyConstraints; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="MandateID"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>token"> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mandateID" + }) + public static class References { + + @XmlElement(name = "MandateID", required = true) + protected List<SimpleMandateContentType.References.MandateID> mandateID; + + /** + * Gets the value of the mandateID property. + * + * <p> + * 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 <CODE>set</CODE> method for the mandateID property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMandateID().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link SimpleMandateContentType.References.MandateID } + * + * + */ + public List<SimpleMandateContentType.References.MandateID> getMandateID() { + if (mandateID == null) { + mandateID = new ArrayList<SimpleMandateContentType.References.MandateID>(); + } + return this.mandateID; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>token"> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class MandateID { + + @XmlValue + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}ValidFrom" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}ValidTo" minOccurs="0"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "validFrom", + "validTo" + }) + public static class TimeConstraint { + + @XmlElement(name = "ValidFrom") + protected String validFrom; + @XmlElement(name = "ValidTo") + protected String validTo; + + /** + * Gets the value of the validFrom property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValidFrom() { + return validFrom; + } + + /** + * Sets the value of the validFrom property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValidFrom(String value) { + this.validFrom = value; + } + + /** + * Gets the value of the validTo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValidTo() { + return validTo; + } + + /** + * Sets the value of the validTo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValidTo(String value) { + this.validTo = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Amount" type="{http://www.w3.org/2001/XMLSchema}float"/> + * <element name="Currency" type="{http://www.w3.org/2001/XMLSchema}token"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "amount", + "currency" + }) + public static class TransactionLimit { + + @XmlElement(name = "Amount") + protected float amount; + @XmlElement(name = "Currency", required = true, defaultValue = "EUR") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String currency; + + /** + * Gets the value of the amount property. + * + */ + public float getAmount() { + return amount; + } + + /** + * Sets the value of the amount property. + * + */ + public void setAmount(float value) { + this.amount = value; + } + + /** + * Gets the value of the currency property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCurrency() { + return currency; + } + + /** + * Sets the value of the currency property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCurrency(String value) { + this.currency = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/package-info.java b/src/main/java/at/gv/util/xsd/mandate/package-info.java new file mode 100644 index 0000000..181c9e0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/package-info.java @@ -0,0 +1,9 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mandate; diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/AbstractAddressType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/AbstractAddressType.java new file mode 100644 index 0000000..07fa941 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/AbstractAddressType.java @@ -0,0 +1,144 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +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 javax.xml.namespace.QName; + + +/** + * main structure of address data + * + * <p>Java class for AbstractAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractAddressType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element name="Identification" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}IdentificationType" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='##other'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractAddressType", propOrder = { + "identification" +}) +@XmlSeeAlso({ + TelephoneAddressType.class, + InternetAddressType.class, + TypedPostalAddressType.class +}) +public abstract class AbstractAddressType { + + @XmlElement(name = "Identification") + protected List<IdentificationType> identification; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Gets the value of the identification property. + * + * <p> + * 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 <CODE>set</CODE> method for the identification property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getIdentification().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link IdentificationType } + * + * + */ + public List<IdentificationType> getIdentification() { + if (identification == null) { + identification = new ArrayList<IdentificationType>(); + } + return this.identification; + } + + /** + * 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; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/AbstractPersonType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/AbstractPersonType.java new file mode 100644 index 0000000..3709df1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/AbstractPersonType.java @@ -0,0 +1,144 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +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 javax.xml.namespace.QName; + + +/** + * main structure of person data + * + * <p>Java class for AbstractPersonType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractPersonType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element name="Identification" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}IdentificationType" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='##other'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractPersonType", propOrder = { + "identification" +}) +@XmlSeeAlso({ + PhysicalPersonType.class, + CorporateBodyType.class, + PersonDataType.class +}) +public abstract class AbstractPersonType { + + @XmlElement(name = "Identification") + protected List<IdentificationType> identification; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Gets the value of the identification property. + * + * <p> + * 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 <CODE>set</CODE> method for the identification property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getIdentification().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link IdentificationType } + * + * + */ + public List<IdentificationType> getIdentification() { + if (identification == null) { + identification = new ArrayList<IdentificationType>(); + } + return this.identification; + } + + /** + * 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; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/CorporateBodyType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/CorporateBodyType.java new file mode 100644 index 0000000..3755ba3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/CorporateBodyType.java @@ -0,0 +1,245 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +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; +import org.w3c.dom.Element; + + +/** + * juridical person, organisation + * + * <p>Java class for CorporateBodyType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CorporateBodyType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/> + * <element name="FullName" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="AlternativeName" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/> + * <element name="LegalForm" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <element name="Organisation" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CorporateBodyType", propOrder = { + "type", + "fullName", + "alternativeName", + "legalForm", + "organisation", + "any" +}) +public class CorporateBodyType + extends AbstractPersonType +{ + + @XmlElement(name = "Type") + @XmlSchemaType(name = "anyURI") + protected List<String> type; + @XmlElement(name = "FullName") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String fullName; + @XmlElement(name = "AlternativeName") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected List<String> alternativeName; + @XmlElement(name = "LegalForm") + @XmlSchemaType(name = "anyURI") + protected String legalForm; + @XmlElement(name = "Organisation") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String organisation; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the type property. + * + * <p> + * 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 <CODE>set</CODE> method for the type property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getType().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getType() { + if (type == null) { + type = new ArrayList<String>(); + } + return this.type; + } + + /** + * Gets the value of the fullName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFullName() { + return fullName; + } + + /** + * Sets the value of the fullName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFullName(String value) { + this.fullName = value; + } + + /** + * Gets the value of the alternativeName property. + * + * <p> + * 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 <CODE>set</CODE> method for the alternativeName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAlternativeName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getAlternativeName() { + if (alternativeName == null) { + alternativeName = new ArrayList<String>(); + } + return this.alternativeName; + } + + /** + * Gets the value of the legalForm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLegalForm() { + return legalForm; + } + + /** + * Sets the value of the legalForm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLegalForm(String value) { + this.legalForm = value; + } + + /** + * Gets the value of the organisation property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrganisation() { + return organisation; + } + + /** + * Sets the value of the organisation property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrganisation(String value) { + this.organisation = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/DefinedAlternativeNameTypeType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/DefinedAlternativeNameTypeType.java new file mode 100644 index 0000000..d4a3bfe --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/DefinedAlternativeNameTypeType.java @@ -0,0 +1,67 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DefinedAlternativeNameTypeType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="DefinedAlternativeNameTypeType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="ArtistName"/> + * <enumeration value="NickName"/> + * <enumeration value="FormerName"/> + * <enumeration value="Alias"/> + * <enumeration value="MaidenName"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "DefinedAlternativeNameTypeType") +@XmlEnum +public enum DefinedAlternativeNameTypeType { + + @XmlEnumValue("ArtistName") + ARTIST_NAME("ArtistName"), + @XmlEnumValue("NickName") + NICK_NAME("NickName"), + @XmlEnumValue("FormerName") + FORMER_NAME("FormerName"), + @XmlEnumValue("Alias") + ALIAS("Alias"), + @XmlEnumValue("MaidenName") + MAIDEN_NAME("MaidenName"); + private final String value; + + DefinedAlternativeNameTypeType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static DefinedAlternativeNameTypeType fromValue(String v) { + for (DefinedAlternativeNameTypeType c: DefinedAlternativeNameTypeType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/DefinedRelationType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/DefinedRelationType.java new file mode 100644 index 0000000..1a85c3e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/DefinedRelationType.java @@ -0,0 +1,79 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DefinedRelationType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="DefinedRelationType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="family:Parent"/> + * <enumeration value="family:Child"/> + * <enumeration value="family:Sibling"/> + * <enumeration value="family:Grandparent"/> + * <enumeration value="family:Grandchild"/> + * <enumeration value="family:Spouse"/> + * <enumeration value="function:LegalGuardian"/> + * <enumeration value="function:IsGuardedBy"/> + * <enumeration value="function:Cohabitant"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "DefinedRelationType") +@XmlEnum +public enum DefinedRelationType { + + @XmlEnumValue("family:Parent") + FAMILY_PARENT("family:Parent"), + @XmlEnumValue("family:Child") + FAMILY_CHILD("family:Child"), + @XmlEnumValue("family:Sibling") + FAMILY_SIBLING("family:Sibling"), + @XmlEnumValue("family:Grandparent") + FAMILY_GRANDPARENT("family:Grandparent"), + @XmlEnumValue("family:Grandchild") + FAMILY_GRANDCHILD("family:Grandchild"), + @XmlEnumValue("family:Spouse") + FAMILY_SPOUSE("family:Spouse"), + @XmlEnumValue("function:LegalGuardian") + FUNCTION_LEGAL_GUARDIAN("function:LegalGuardian"), + @XmlEnumValue("function:IsGuardedBy") + FUNCTION_IS_GUARDED_BY("function:IsGuardedBy"), + @XmlEnumValue("function:Cohabitant") + FUNCTION_COHABITANT("function:Cohabitant"); + private final String value; + + DefinedRelationType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static DefinedRelationType fromValue(String v) { + for (DefinedRelationType c: DefinedRelationType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/IdentificationType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/IdentificationType.java new file mode 100644 index 0000000..ca99462 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/IdentificationType.java @@ -0,0 +1,318 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; +import org.w3c.dom.Element; + + +/** + * unique identifier + * + * <p>Java class for IdentificationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="IdentificationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Value"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="Authority" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='##other'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IdentificationType", propOrder = { + "value", + "type", + "authority", + "any" +}) +public class IdentificationType { + + @XmlElement(name = "Value", required = true) + protected IdentificationType.Value value; + @XmlElement(name = "Type", required = true) + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlElement(name = "Authority") + @XmlSchemaType(name = "anyURI") + protected String authority; + @XmlAnyElement(lax = true) + protected List<Object> any; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link IdentificationType.Value } + * + */ + public IdentificationType.Value getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link IdentificationType.Value } + * + */ + public void setValue(IdentificationType.Value value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the authority property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAuthority() { + return authority; + } + + /** + * Sets the value of the authority property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAuthority(String value) { + this.authority = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + + /** + * 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; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Value { + + @XmlValue + protected String value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/InternetAddressType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/InternetAddressType.java new file mode 100644 index 0000000..4905bfa --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/InternetAddressType.java @@ -0,0 +1,143 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.mandate.xsd.KeyInfoType; +import org.w3c.dom.Element; + + +/** + * internet based communication + * + * <p>Java class for InternetAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InternetAddressType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> + * <sequence minOccurs="0"> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> + * <element name="Address" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InternetAddressType", propOrder = { + "keyInfo", + "address", + "any" +}) +public class InternetAddressType + extends AbstractAddressType +{ + + @XmlElement(name = "KeyInfo", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected KeyInfoType keyInfo; + @XmlElement(name = "Address") + @XmlSchemaType(name = "anyURI") + protected String address; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * certificate for secure communication + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Sets the value of the keyInfo property. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Gets the value of the address property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAddress() { + return address; + } + + /** + * Sets the value of the address property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAddress(String value) { + this.address = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/MaritalStatusType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/MaritalStatusType.java new file mode 100644 index 0000000..5939054 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/MaritalStatusType.java @@ -0,0 +1,64 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for MaritalStatusType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="MaritalStatusType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> + * <enumeration value="single"/> + * <enumeration value="married"/> + * <enumeration value="divorced"/> + * <enumeration value="widowed"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "MaritalStatusType") +@XmlEnum +public enum MaritalStatusType { + + @XmlEnumValue("single") + SINGLE("single"), + @XmlEnumValue("married") + MARRIED("married"), + @XmlEnumValue("divorced") + DIVORCED("divorced"), + @XmlEnumValue("widowed") + WIDOWED("widowed"); + private final String value; + + MaritalStatusType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static MaritalStatusType fromValue(String v) { + for (MaritalStatusType c: MaritalStatusType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/MobileTelcomNumberType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/MobileTelcomNumberType.java new file mode 100644 index 0000000..5d3778e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/MobileTelcomNumberType.java @@ -0,0 +1,67 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for MobileTelcomNumberType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="MobileTelcomNumberType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}TelcomNumberType"> + * <attribute name="smsEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "MobileTelcomNumberType") +public class MobileTelcomNumberType + extends TelcomNumberType +{ + + @XmlAttribute + protected Boolean smsEnabled; + + /** + * Gets the value of the smsEnabled property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isSmsEnabled() { + return smsEnabled; + } + + /** + * Sets the value of the smsEnabled property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setSmsEnabled(Boolean value) { + this.smsEnabled = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mandate/persondata/ObjectFactory.java new file mode 100644 index 0000000..9d34c43 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/ObjectFactory.java @@ -0,0 +1,420 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.mandate.persondata package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _TypedPostalAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "TypedPostalAddress"); + private final static QName _Extension_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Extension"); + private final static QName _Mobile_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Mobile"); + private final static QName _AreaCityCode_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "AreaCityCode"); + private final static QName _TTYTDD_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "TTYTDD"); + private final static QName _PersonName_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PersonName"); + private final static QName _InternetAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "InternetAddress"); + private final static QName _InternationalCountryCode_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "InternationalCountryCode"); + private final static QName _Pager_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Pager"); + private final static QName _PersonData_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PersonData"); + private final static QName _SubscriberNumber_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "SubscriberNumber"); + private final static QName _NationalNumber_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "NationalNumber"); + private final static QName _PhysicalPerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PhysicalPerson"); + private final static QName _CorporateBody_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CorporateBody"); + private final static QName _Telephone_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Telephone"); + private final static QName _Address_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Address"); + private final static QName _Person_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Person"); + private final static QName _Fax_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Fax"); + private final static QName _PostalAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PostalAddress"); + private final static QName _TelephoneAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "TelephoneAddress"); + private final static QName _FormattedNumber_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "FormattedNumber"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mandate.persondata + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link PostalAddressType.Recipient } + * + */ + public PostalAddressType.Recipient createPostalAddressTypeRecipient() { + return new PostalAddressType.Recipient(); + } + + /** + * Create an instance of {@link IdentificationType } + * + */ + public IdentificationType createIdentificationType() { + return new IdentificationType(); + } + + /** + * Create an instance of {@link TypedPostalAddressType } + * + */ + public TypedPostalAddressType createTypedPostalAddressType() { + return new TypedPostalAddressType(); + } + + /** + * Create an instance of {@link PersonNameType.FamilyName } + * + */ + public PersonNameType.FamilyName createPersonNameTypeFamilyName() { + return new PersonNameType.FamilyName(); + } + + /** + * Create an instance of {@link PhysicalPersonType.AlternativeName } + * + */ + public PhysicalPersonType.AlternativeName createPhysicalPersonTypeAlternativeName() { + return new PhysicalPersonType.AlternativeName(); + } + + /** + * Create an instance of {@link PersonDataType.AdditionalData } + * + */ + public PersonDataType.AdditionalData createPersonDataTypeAdditionalData() { + return new PersonDataType.AdditionalData(); + } + + /** + * Create an instance of {@link TelcomNumberListType } + * + */ + public TelcomNumberListType createTelcomNumberListType() { + return new TelcomNumberListType(); + } + + /** + * Create an instance of {@link TelcomNumberType } + * + */ + public TelcomNumberType createTelcomNumberType() { + return new TelcomNumberType(); + } + + /** + * Create an instance of {@link PhysicalPersonType } + * + */ + public PhysicalPersonType createPhysicalPersonType() { + return new PhysicalPersonType(); + } + + /** + * Create an instance of {@link PersonNameType } + * + */ + public PersonNameType createPersonNameType() { + return new PersonNameType(); + } + + /** + * Create an instance of {@link PersonNameType.FormattedName } + * + */ + public PersonNameType.FormattedName createPersonNameTypeFormattedName() { + return new PersonNameType.FormattedName(); + } + + /** + * Create an instance of {@link TelephoneAddressType } + * + */ + public TelephoneAddressType createTelephoneAddressType() { + return new TelephoneAddressType(); + } + + /** + * Create an instance of {@link PersonNameType.Affix } + * + */ + public PersonNameType.Affix createPersonNameTypeAffix() { + return new PersonNameType.Affix(); + } + + /** + * Create an instance of {@link PostalAddressType } + * + */ + public PostalAddressType createPostalAddressType() { + return new PostalAddressType(); + } + + /** + * Create an instance of {@link PostalAddressType.DeliveryAddress } + * + */ + public PostalAddressType.DeliveryAddress createPostalAddressTypeDeliveryAddress() { + return new PostalAddressType.DeliveryAddress(); + } + + /** + * Create an instance of {@link PhysicalPersonType.RelatedPerson } + * + */ + public PhysicalPersonType.RelatedPerson createPhysicalPersonTypeRelatedPerson() { + return new PhysicalPersonType.RelatedPerson(); + } + + /** + * Create an instance of {@link CorporateBodyType } + * + */ + public CorporateBodyType createCorporateBodyType() { + return new CorporateBodyType(); + } + + /** + * Create an instance of {@link IdentificationType.Value } + * + */ + public IdentificationType.Value createIdentificationTypeValue() { + return new IdentificationType.Value(); + } + + /** + * Create an instance of {@link PersonDataType } + * + */ + public PersonDataType createPersonDataType() { + return new PersonDataType(); + } + + /** + * Create an instance of {@link MobileTelcomNumberType } + * + */ + public MobileTelcomNumberType createMobileTelcomNumberType() { + return new MobileTelcomNumberType(); + } + + /** + * Create an instance of {@link InternetAddressType } + * + */ + public InternetAddressType createInternetAddressType() { + return new InternetAddressType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TypedPostalAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "TypedPostalAddress") + public JAXBElement<TypedPostalAddressType> createTypedPostalAddress(TypedPostalAddressType value) { + return new JAXBElement<TypedPostalAddressType>(_TypedPostalAddress_QNAME, TypedPostalAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Extension") + public JAXBElement<String> createExtension(String value) { + return new JAXBElement<String>(_Extension_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link MobileTelcomNumberType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Mobile") + public JAXBElement<MobileTelcomNumberType> createMobile(MobileTelcomNumberType value) { + return new JAXBElement<MobileTelcomNumberType>(_Mobile_QNAME, MobileTelcomNumberType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "AreaCityCode") + public JAXBElement<String> createAreaCityCode(String value) { + return new JAXBElement<String>(_AreaCityCode_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TelcomNumberType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "TTYTDD") + public JAXBElement<TelcomNumberType> createTTYTDD(TelcomNumberType value) { + return new JAXBElement<TelcomNumberType>(_TTYTDD_QNAME, TelcomNumberType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonNameType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PersonName") + public JAXBElement<PersonNameType> createPersonName(PersonNameType value) { + return new JAXBElement<PersonNameType>(_PersonName_QNAME, PersonNameType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link InternetAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "InternetAddress") + public JAXBElement<InternetAddressType> createInternetAddress(InternetAddressType value) { + return new JAXBElement<InternetAddressType>(_InternetAddress_QNAME, InternetAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "InternationalCountryCode") + public JAXBElement<String> createInternationalCountryCode(String value) { + return new JAXBElement<String>(_InternationalCountryCode_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TelcomNumberType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Pager") + public JAXBElement<TelcomNumberType> createPager(TelcomNumberType value) { + return new JAXBElement<TelcomNumberType>(_Pager_QNAME, TelcomNumberType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PersonData") + public JAXBElement<PersonDataType> createPersonData(PersonDataType value) { + return new JAXBElement<PersonDataType>(_PersonData_QNAME, PersonDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "SubscriberNumber") + public JAXBElement<String> createSubscriberNumber(String value) { + return new JAXBElement<String>(_SubscriberNumber_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "NationalNumber") + public JAXBElement<String> createNationalNumber(String value) { + return new JAXBElement<String>(_NationalNumber_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PhysicalPerson") + public JAXBElement<PhysicalPersonType> createPhysicalPerson(PhysicalPersonType value) { + return new JAXBElement<PhysicalPersonType>(_PhysicalPerson_QNAME, PhysicalPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "CorporateBody") + public JAXBElement<CorporateBodyType> createCorporateBody(CorporateBodyType value) { + return new JAXBElement<CorporateBodyType>(_CorporateBody_QNAME, CorporateBodyType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TelcomNumberType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Telephone") + public JAXBElement<TelcomNumberType> createTelephone(TelcomNumberType value) { + return new JAXBElement<TelcomNumberType>(_Telephone_QNAME, TelcomNumberType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Address") + public JAXBElement<AbstractAddressType> createAddress(AbstractAddressType value) { + return new JAXBElement<AbstractAddressType>(_Address_QNAME, AbstractAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Person") + public JAXBElement<AbstractPersonType> createPerson(AbstractPersonType value) { + return new JAXBElement<AbstractPersonType>(_Person_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TelcomNumberType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Fax") + public JAXBElement<TelcomNumberType> createFax(TelcomNumberType value) { + return new JAXBElement<TelcomNumberType>(_Fax_QNAME, TelcomNumberType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PostalAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PostalAddress") + public JAXBElement<PostalAddressType> createPostalAddress(PostalAddressType value) { + return new JAXBElement<PostalAddressType>(_PostalAddress_QNAME, PostalAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TelephoneAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "TelephoneAddress") + public JAXBElement<TelephoneAddressType> createTelephoneAddress(TelephoneAddressType value) { + return new JAXBElement<TelephoneAddressType>(_TelephoneAddress_QNAME, TelephoneAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "FormattedNumber") + public JAXBElement<String> createFormattedNumber(String value) { + return new JAXBElement<String>(_FormattedNumber_QNAME, String.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/PersonDataType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/PersonDataType.java new file mode 100644 index 0000000..a125020 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/PersonDataType.java @@ -0,0 +1,247 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.mandate.xsd.SignatureType; +import org.w3c.dom.Element; + + +/** + * signed person datastructure. The first Identification elements (from the base type) denote the record as such (e.g. database key for this record) - not to be mistaken for identifiers of the person or of an address (they have their own Identification elements). + * + * <p>Java class for PersonDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonDataType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Person"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Address" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" maxOccurs="unbounded" minOccurs="0"/> + * <element name="AdditionalData" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonDataType", propOrder = { + "person", + "address", + "signature", + "additionalData" +}) +public class PersonDataType + extends AbstractPersonType +{ + + @XmlElement(name = "Person", required = true) + protected AbstractPersonType person; + @XmlElement(name = "Address") + protected List<AbstractAddressType> address; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected List<SignatureType> signature; + @XmlElement(name = "AdditionalData") + protected PersonDataType.AdditionalData additionalData; + + /** + * Gets the value of the person property. + * + * @return + * possible object is + * {@link AbstractPersonType } + * + */ + public AbstractPersonType getPerson() { + return person; + } + + /** + * Sets the value of the person property. + * + * @param value + * allowed object is + * {@link AbstractPersonType } + * + */ + public void setPerson(AbstractPersonType value) { + this.person = value; + } + + /** + * Gets the value of the address property. + * + * <p> + * 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 <CODE>set</CODE> method for the address property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAddress().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link AbstractAddressType } + * + * + */ + public List<AbstractAddressType> getAddress() { + if (address == null) { + address = new ArrayList<AbstractAddressType>(); + } + return this.address; + } + + /** + * one or more electronic signatures applied on fields above Gets the value of the signature property. + * + * <p> + * 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 <CODE>set</CODE> method for the signature property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSignature().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link SignatureType } + * + * + */ + public List<SignatureType> getSignature() { + if (signature == null) { + signature = new ArrayList<SignatureType>(); + } + return this.signature; + } + + /** + * Gets the value of the additionalData property. + * + * @return + * possible object is + * {@link PersonDataType.AdditionalData } + * + */ + public PersonDataType.AdditionalData getAdditionalData() { + return additionalData; + } + + /** + * Sets the value of the additionalData property. + * + * @param value + * allowed object is + * {@link PersonDataType.AdditionalData } + * + */ + public void setAdditionalData(PersonDataType.AdditionalData value) { + this.additionalData = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "content" + }) + public static class AdditionalData { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/PersonNameType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/PersonNameType.java new file mode 100644 index 0000000..6b4954b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/PersonNameType.java @@ -0,0 +1,620 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +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.XmlValue; + + +/** + * <p>Java class for PersonNameType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonNameType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FormattedName" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="type" default="presentation"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="presentation"/> + * <enumeration value="legal"/> + * <enumeration value="sortOrder"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="LegalName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="PreferredGivenName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="MiddleName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="FamilyName" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primary" default="undefined"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="true"/> + * <enumeration value="false"/> + * <enumeration value="undefined"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Affix" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="type" use="required"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="academicGrade"/> + * <enumeration value="aristocraticPrefix"/> + * <enumeration value="aristocraticTitle"/> + * <enumeration value="familyNamePrefix"/> + * <enumeration value="familyNameSuffix"/> + * <enumeration value="formOfAddress"/> + * <enumeration value="generation"/> + * <enumeration value="qualification"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonNameType", propOrder = { + "formattedName", + "legalName", + "givenName", + "preferredGivenName", + "middleName", + "familyName", + "affix" +}) +@XmlSeeAlso({ + at.gv.util.xsd.mandate.persondata.PhysicalPersonType.AlternativeName.class +}) +public class PersonNameType { + + @XmlElement(name = "FormattedName") + protected List<PersonNameType.FormattedName> formattedName; + @XmlElement(name = "LegalName") + protected String legalName; + @XmlElement(name = "GivenName") + protected List<String> givenName; + @XmlElement(name = "PreferredGivenName") + protected String preferredGivenName; + @XmlElement(name = "MiddleName") + protected String middleName; + @XmlElement(name = "FamilyName") + protected List<PersonNameType.FamilyName> familyName; + @XmlElement(name = "Affix") + protected List<PersonNameType.Affix> affix; + + /** + * Gets the value of the formattedName property. + * + * <p> + * 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 <CODE>set</CODE> method for the formattedName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFormattedName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonNameType.FormattedName } + * + * + */ + public List<PersonNameType.FormattedName> getFormattedName() { + if (formattedName == null) { + formattedName = new ArrayList<PersonNameType.FormattedName>(); + } + return this.formattedName; + } + + /** + * Gets the value of the legalName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLegalName() { + return legalName; + } + + /** + * Sets the value of the legalName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLegalName(String value) { + this.legalName = value; + } + + /** + * Gets the value of the givenName property. + * + * <p> + * 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 <CODE>set</CODE> method for the givenName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getGivenName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getGivenName() { + if (givenName == null) { + givenName = new ArrayList<String>(); + } + return this.givenName; + } + + /** + * Gets the value of the preferredGivenName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPreferredGivenName() { + return preferredGivenName; + } + + /** + * Sets the value of the preferredGivenName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPreferredGivenName(String value) { + this.preferredGivenName = value; + } + + /** + * Gets the value of the middleName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMiddleName() { + return middleName; + } + + /** + * Sets the value of the middleName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMiddleName(String value) { + this.middleName = value; + } + + /** + * Gets the value of the familyName property. + * + * <p> + * 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 <CODE>set</CODE> method for the familyName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFamilyName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonNameType.FamilyName } + * + * + */ + public List<PersonNameType.FamilyName> getFamilyName() { + if (familyName == null) { + familyName = new ArrayList<PersonNameType.FamilyName>(); + } + return this.familyName; + } + + /** + * Gets the value of the affix property. + * + * <p> + * 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 <CODE>set</CODE> method for the affix property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAffix().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonNameType.Affix } + * + * + */ + public List<PersonNameType.Affix> getAffix() { + if (affix == null) { + affix = new ArrayList<PersonNameType.Affix>(); + } + return this.affix; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="type" use="required"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="academicGrade"/> + * <enumeration value="aristocraticPrefix"/> + * <enumeration value="aristocraticTitle"/> + * <enumeration value="familyNamePrefix"/> + * <enumeration value="familyNameSuffix"/> + * <enumeration value="formOfAddress"/> + * <enumeration value="generation"/> + * <enumeration value="qualification"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Affix { + + @XmlValue + protected String value; + @XmlAttribute(required = true) + protected String type; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primary" default="undefined"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="true"/> + * <enumeration value="false"/> + * <enumeration value="undefined"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class FamilyName { + + @XmlValue + protected String value; + @XmlAttribute + protected String primary; + @XmlAttribute + protected String prefix; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the primary property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrimary() { + if (primary == null) { + return "undefined"; + } else { + return primary; + } + } + + /** + * Sets the value of the primary property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrimary(String value) { + this.primary = value; + } + + /** + * Gets the value of the prefix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrefix() { + return prefix; + } + + /** + * Sets the value of the prefix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrefix(String value) { + this.prefix = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="type" default="presentation"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="presentation"/> + * <enumeration value="legal"/> + * <enumeration value="sortOrder"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class FormattedName { + + @XmlValue + protected String value; + @XmlAttribute + protected String type; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "presentation"; + } else { + return type; + } + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/PhysicalPersonType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/PhysicalPersonType.java new file mode 100644 index 0000000..a9cf97a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/PhysicalPersonType.java @@ -0,0 +1,550 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +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; +import org.w3c.dom.Element; + + +/** + * physical person + * + * <p>Java class for PhysicalPersonType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PhysicalPersonType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element name="Name" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType" minOccurs="0"/> + * <element name="AlternativeName" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType"> + * <attribute name="Type" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AlternativeNameTypeType" /> + * </extension> + * </complexContent> + * </complexType> + * </element> + * <element name="MaritalStatus" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}MaritalStatusType" minOccurs="0"/> + * <element name="Sex" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}SexType" minOccurs="0"/> + * <element name="DateOfBirth" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}DateOfBirthType" minOccurs="0"/> + * <element name="PlaceOfBirth" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="CountryOfBirth" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Nationality" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Confession" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="relatedPerson" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="TypeOfRelation" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}RelationType" maxOccurs="unbounded"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Person"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PhysicalPersonType", propOrder = { + "name", + "alternativeName", + "maritalStatus", + "sex", + "dateOfBirth", + "placeOfBirth", + "countryOfBirth", + "nationality", + "confession", + "relatedPerson", + "any" +}) +public class PhysicalPersonType + extends AbstractPersonType +{ + + @XmlElement(name = "Name") + protected PersonNameType name; + @XmlElement(name = "AlternativeName") + protected List<PhysicalPersonType.AlternativeName> alternativeName; + @XmlElement(name = "MaritalStatus") + protected MaritalStatusType maritalStatus; + @XmlElement(name = "Sex") + protected SexType sex; + @XmlElement(name = "DateOfBirth") + protected String dateOfBirth; + @XmlElement(name = "PlaceOfBirth") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String placeOfBirth; + @XmlElement(name = "CountryOfBirth") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String countryOfBirth; + @XmlElement(name = "Nationality") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected List<String> nationality; + @XmlElement(name = "Confession") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String confession; + protected List<PhysicalPersonType.RelatedPerson> relatedPerson; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link PersonNameType } + * + */ + public PersonNameType getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link PersonNameType } + * + */ + public void setName(PersonNameType value) { + this.name = value; + } + + /** + * Gets the value of the alternativeName property. + * + * <p> + * 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 <CODE>set</CODE> method for the alternativeName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAlternativeName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PhysicalPersonType.AlternativeName } + * + * + */ + public List<PhysicalPersonType.AlternativeName> getAlternativeName() { + if (alternativeName == null) { + alternativeName = new ArrayList<PhysicalPersonType.AlternativeName>(); + } + return this.alternativeName; + } + + /** + * Gets the value of the maritalStatus property. + * + * @return + * possible object is + * {@link MaritalStatusType } + * + */ + public MaritalStatusType getMaritalStatus() { + return maritalStatus; + } + + /** + * Sets the value of the maritalStatus property. + * + * @param value + * allowed object is + * {@link MaritalStatusType } + * + */ + public void setMaritalStatus(MaritalStatusType value) { + this.maritalStatus = value; + } + + /** + * Gets the value of the sex property. + * + * @return + * possible object is + * {@link SexType } + * + */ + public SexType getSex() { + return sex; + } + + /** + * Sets the value of the sex property. + * + * @param value + * allowed object is + * {@link SexType } + * + */ + public void setSex(SexType value) { + this.sex = value; + } + + /** + * Gets the value of the dateOfBirth property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDateOfBirth() { + return dateOfBirth; + } + + /** + * Sets the value of the dateOfBirth property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDateOfBirth(String value) { + this.dateOfBirth = value; + } + + /** + * Gets the value of the placeOfBirth property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlaceOfBirth() { + return placeOfBirth; + } + + /** + * Sets the value of the placeOfBirth property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlaceOfBirth(String value) { + this.placeOfBirth = value; + } + + /** + * Gets the value of the countryOfBirth property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryOfBirth() { + return countryOfBirth; + } + + /** + * Sets the value of the countryOfBirth property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryOfBirth(String value) { + this.countryOfBirth = value; + } + + /** + * Gets the value of the nationality property. + * + * <p> + * 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 <CODE>set</CODE> method for the nationality property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getNationality().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getNationality() { + if (nationality == null) { + nationality = new ArrayList<String>(); + } + return this.nationality; + } + + /** + * Gets the value of the confession property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getConfession() { + return confession; + } + + /** + * Sets the value of the confession property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setConfession(String value) { + this.confession = value; + } + + /** + * Gets the value of the relatedPerson property. + * + * <p> + * 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 <CODE>set</CODE> method for the relatedPerson property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRelatedPerson().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PhysicalPersonType.RelatedPerson } + * + * + */ + public List<PhysicalPersonType.RelatedPerson> getRelatedPerson() { + if (relatedPerson == null) { + relatedPerson = new ArrayList<PhysicalPersonType.RelatedPerson>(); + } + return this.relatedPerson; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType"> + * <attribute name="Type" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AlternativeNameTypeType" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class AlternativeName + extends PersonNameType + { + + @XmlAttribute(name = "Type") + protected String type; + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="TypeOfRelation" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}RelationType" maxOccurs="unbounded"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Person"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "typeOfRelation", + "person" + }) + public static class RelatedPerson { + + @XmlElement(name = "TypeOfRelation", required = true) + protected List<String> typeOfRelation; + @XmlElement(name = "Person", required = true) + protected AbstractPersonType person; + + /** + * Gets the value of the typeOfRelation property. + * + * <p> + * 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 <CODE>set</CODE> method for the typeOfRelation property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTypeOfRelation().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getTypeOfRelation() { + if (typeOfRelation == null) { + typeOfRelation = new ArrayList<String>(); + } + return this.typeOfRelation; + } + + /** + * Gets the value of the person property. + * + * @return + * possible object is + * {@link AbstractPersonType } + * + */ + public AbstractPersonType getPerson() { + return person; + } + + /** + * Sets the value of the person property. + * + * @param value + * allowed object is + * {@link AbstractPersonType } + * + */ + public void setPerson(AbstractPersonType value) { + this.person = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/PostalAddressType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/PostalAddressType.java new file mode 100644 index 0000000..5f5b595 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/PostalAddressType.java @@ -0,0 +1,611 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +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.XmlType; + + +/** + * <p>Java class for PostalAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PostalAddressType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="CountryCode" minOccurs="0"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <pattern value="[A-Z]{2}"/> + * </restriction> + * </simpleType> + * </element> + * <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Region" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DeliveryAddress" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="AddressLine" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PostOfficeBox" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Recipient" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PersonName" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType" minOccurs="0"/> + * <element name="AdditionalText" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Organization" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="OrganizationName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <attribute name="type" default="undefined"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="postOfficeBoxAddress"/> + * <enumeration value="streetAddress"/> + * <enumeration value="militaryAddress"/> + * <enumeration value="undefined"/> + * </restriction> + * </simpleType> + * </attribute> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PostalAddressType", propOrder = { + "countryCode", + "postalCode", + "region", + "municipality", + "deliveryAddress", + "recipient" +}) +public class PostalAddressType { + + @XmlElement(name = "CountryCode") + protected String countryCode; + @XmlElement(name = "PostalCode") + protected String postalCode; + @XmlElement(name = "Region") + protected List<String> region; + @XmlElement(name = "Municipality") + protected String municipality; + @XmlElement(name = "DeliveryAddress") + protected PostalAddressType.DeliveryAddress deliveryAddress; + @XmlElement(name = "Recipient") + protected List<PostalAddressType.Recipient> recipient; + @XmlAttribute + protected String type; + + /** + * Gets the value of the countryCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryCode() { + return countryCode; + } + + /** + * Sets the value of the countryCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryCode(String value) { + this.countryCode = value; + } + + /** + * Gets the value of the postalCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostalCode() { + return postalCode; + } + + /** + * Sets the value of the postalCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostalCode(String value) { + this.postalCode = value; + } + + /** + * Gets the value of the region property. + * + * <p> + * 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 <CODE>set</CODE> method for the region property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRegion().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getRegion() { + if (region == null) { + region = new ArrayList<String>(); + } + return this.region; + } + + /** + * Gets the value of the municipality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMunicipality() { + return municipality; + } + + /** + * Sets the value of the municipality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMunicipality(String value) { + this.municipality = value; + } + + /** + * Gets the value of the deliveryAddress property. + * + * @return + * possible object is + * {@link PostalAddressType.DeliveryAddress } + * + */ + public PostalAddressType.DeliveryAddress getDeliveryAddress() { + return deliveryAddress; + } + + /** + * Sets the value of the deliveryAddress property. + * + * @param value + * allowed object is + * {@link PostalAddressType.DeliveryAddress } + * + */ + public void setDeliveryAddress(PostalAddressType.DeliveryAddress value) { + this.deliveryAddress = value; + } + + /** + * Gets the value of the recipient property. + * + * <p> + * 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 <CODE>set</CODE> method for the recipient property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRecipient().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PostalAddressType.Recipient } + * + * + */ + public List<PostalAddressType.Recipient> getRecipient() { + if (recipient == null) { + recipient = new ArrayList<PostalAddressType.Recipient>(); + } + return this.recipient; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "undefined"; + } else { + return type; + } + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="AddressLine" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PostOfficeBox" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "addressLine", + "streetName", + "buildingNumber", + "unit", + "postOfficeBox" + }) + public static class DeliveryAddress { + + @XmlElement(name = "AddressLine") + protected List<String> addressLine; + @XmlElement(name = "StreetName") + protected String streetName; + @XmlElement(name = "BuildingNumber") + protected String buildingNumber; + @XmlElement(name = "Unit") + protected String unit; + @XmlElement(name = "PostOfficeBox") + protected String postOfficeBox; + + /** + * Gets the value of the addressLine property. + * + * <p> + * 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 <CODE>set</CODE> method for the addressLine property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAddressLine().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getAddressLine() { + if (addressLine == null) { + addressLine = new ArrayList<String>(); + } + return this.addressLine; + } + + /** + * Gets the value of the streetName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStreetName() { + return streetName; + } + + /** + * Sets the value of the streetName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStreetName(String value) { + this.streetName = value; + } + + /** + * Gets the value of the buildingNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBuildingNumber() { + return buildingNumber; + } + + /** + * Sets the value of the buildingNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBuildingNumber(String value) { + this.buildingNumber = value; + } + + /** + * Gets the value of the unit property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUnit() { + return unit; + } + + /** + * Sets the value of the unit property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUnit(String value) { + this.unit = value; + } + + /** + * Gets the value of the postOfficeBox property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostOfficeBox() { + return postOfficeBox; + } + + /** + * Sets the value of the postOfficeBox property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostOfficeBox(String value) { + this.postOfficeBox = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PersonName" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType" minOccurs="0"/> + * <element name="AdditionalText" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Organization" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="OrganizationName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "personName", + "additionalText", + "organization", + "organizationName" + }) + public static class Recipient { + + @XmlElement(name = "PersonName") + protected PersonNameType personName; + @XmlElement(name = "AdditionalText") + protected List<String> additionalText; + @XmlElement(name = "Organization") + protected String organization; + @XmlElement(name = "OrganizationName") + protected String organizationName; + + /** + * Gets the value of the personName property. + * + * @return + * possible object is + * {@link PersonNameType } + * + */ + public PersonNameType getPersonName() { + return personName; + } + + /** + * Sets the value of the personName property. + * + * @param value + * allowed object is + * {@link PersonNameType } + * + */ + public void setPersonName(PersonNameType value) { + this.personName = value; + } + + /** + * Gets the value of the additionalText property. + * + * <p> + * 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 <CODE>set</CODE> method for the additionalText property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAdditionalText().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getAdditionalText() { + if (additionalText == null) { + additionalText = new ArrayList<String>(); + } + return this.additionalText; + } + + /** + * Gets the value of the organization property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrganization() { + return organization; + } + + /** + * Sets the value of the organization property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrganization(String value) { + this.organization = value; + } + + /** + * Gets the value of the organizationName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrganizationName() { + return organizationName; + } + + /** + * Sets the value of the organizationName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrganizationName(String value) { + this.organizationName = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/SexType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/SexType.java new file mode 100644 index 0000000..f82288b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/SexType.java @@ -0,0 +1,61 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SexType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="SexType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> + * <enumeration value="male"/> + * <enumeration value="female"/> + * <enumeration value="unknown"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "SexType") +@XmlEnum +public enum SexType { + + @XmlEnumValue("male") + MALE("male"), + @XmlEnumValue("female") + FEMALE("female"), + @XmlEnumValue("unknown") + UNKNOWN("unknown"); + private final String value; + + SexType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static SexType fromValue(String v) { + for (SexType c: SexType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/TelcomNumberListType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/TelcomNumberListType.java new file mode 100644 index 0000000..db63cbb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/TelcomNumberListType.java @@ -0,0 +1,181 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TelcomNumberListType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TelcomNumberListType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Telephone" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Mobile" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Fax" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Pager" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}TTYTDD" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TelcomNumberListType", propOrder = { + "telephone", + "mobile", + "fax", + "pager", + "ttytdd" +}) +public class TelcomNumberListType { + + @XmlElement(name = "Telephone") + protected TelcomNumberType telephone; + @XmlElement(name = "Mobile") + protected MobileTelcomNumberType mobile; + @XmlElement(name = "Fax") + protected TelcomNumberType fax; + @XmlElement(name = "Pager") + protected TelcomNumberType pager; + @XmlElement(name = "TTYTDD") + protected TelcomNumberType ttytdd; + + /** + * Gets the value of the telephone property. + * + * @return + * possible object is + * {@link TelcomNumberType } + * + */ + public TelcomNumberType getTelephone() { + return telephone; + } + + /** + * Sets the value of the telephone property. + * + * @param value + * allowed object is + * {@link TelcomNumberType } + * + */ + public void setTelephone(TelcomNumberType value) { + this.telephone = value; + } + + /** + * Gets the value of the mobile property. + * + * @return + * possible object is + * {@link MobileTelcomNumberType } + * + */ + public MobileTelcomNumberType getMobile() { + return mobile; + } + + /** + * Sets the value of the mobile property. + * + * @param value + * allowed object is + * {@link MobileTelcomNumberType } + * + */ + public void setMobile(MobileTelcomNumberType value) { + this.mobile = value; + } + + /** + * Gets the value of the fax property. + * + * @return + * possible object is + * {@link TelcomNumberType } + * + */ + public TelcomNumberType getFax() { + return fax; + } + + /** + * Sets the value of the fax property. + * + * @param value + * allowed object is + * {@link TelcomNumberType } + * + */ + public void setFax(TelcomNumberType value) { + this.fax = value; + } + + /** + * Gets the value of the pager property. + * + * @return + * possible object is + * {@link TelcomNumberType } + * + */ + public TelcomNumberType getPager() { + return pager; + } + + /** + * Sets the value of the pager property. + * + * @param value + * allowed object is + * {@link TelcomNumberType } + * + */ + public void setPager(TelcomNumberType value) { + this.pager = value; + } + + /** + * Gets the value of the ttytdd property. + * + * @return + * possible object is + * {@link TelcomNumberType } + * + */ + public TelcomNumberType getTTYTDD() { + return ttytdd; + } + + /** + * Sets the value of the ttytdd property. + * + * @param value + * allowed object is + * {@link TelcomNumberType } + * + */ + public void setTTYTDD(TelcomNumberType value) { + this.ttytdd = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/TelcomNumberType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/TelcomNumberType.java new file mode 100644 index 0000000..70a4530 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/TelcomNumberType.java @@ -0,0 +1,209 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TelcomNumberType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TelcomNumberType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}FormattedNumber"/> + * <group ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}TelcomNumberGroup"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TelcomNumberType", propOrder = { + "formattedNumber", + "internationalCountryCode", + "nationalNumber", + "areaCityCode", + "subscriberNumber", + "extension" +}) +@XmlSeeAlso({ + MobileTelcomNumberType.class +}) +public class TelcomNumberType { + + @XmlElement(name = "FormattedNumber") + protected String formattedNumber; + @XmlElement(name = "InternationalCountryCode") + protected String internationalCountryCode; + @XmlElement(name = "NationalNumber") + protected String nationalNumber; + @XmlElement(name = "AreaCityCode") + protected String areaCityCode; + @XmlElement(name = "SubscriberNumber") + protected String subscriberNumber; + @XmlElement(name = "Extension") + protected String extension; + + /** + * Gets the value of the formattedNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFormattedNumber() { + return formattedNumber; + } + + /** + * Sets the value of the formattedNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFormattedNumber(String value) { + this.formattedNumber = value; + } + + /** + * Gets the value of the internationalCountryCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInternationalCountryCode() { + return internationalCountryCode; + } + + /** + * Sets the value of the internationalCountryCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInternationalCountryCode(String value) { + this.internationalCountryCode = value; + } + + /** + * Gets the value of the nationalNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNationalNumber() { + return nationalNumber; + } + + /** + * Sets the value of the nationalNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNationalNumber(String value) { + this.nationalNumber = value; + } + + /** + * Gets the value of the areaCityCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAreaCityCode() { + return areaCityCode; + } + + /** + * Sets the value of the areaCityCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAreaCityCode(String value) { + this.areaCityCode = value; + } + + /** + * Gets the value of the subscriberNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSubscriberNumber() { + return subscriberNumber; + } + + /** + * Sets the value of the subscriberNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSubscriberNumber(String value) { + this.subscriberNumber = value; + } + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setExtension(String value) { + this.extension = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/TelephoneAddressType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/TelephoneAddressType.java new file mode 100644 index 0000000..d256e0a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/TelephoneAddressType.java @@ -0,0 +1,147 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * phone numbers + * + * <p>Java class for TelephoneAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TelephoneAddressType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> + * <sequence minOccurs="0"> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Number" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}TelcomNumberType"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TelephoneAddressType", propOrder = { + "type", + "number", + "any" +}) +public class TelephoneAddressType + extends AbstractAddressType +{ + + @XmlElement(name = "Type") + @XmlSchemaType(name = "anyURI") + protected List<String> type; + @XmlElement(name = "Number") + protected TelcomNumberType number; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the type property. + * + * <p> + * 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 <CODE>set</CODE> method for the type property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getType().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getType() { + if (type == null) { + type = new ArrayList<String>(); + } + return this.type; + } + + /** + * Gets the value of the number property. + * + * @return + * possible object is + * {@link TelcomNumberType } + * + */ + public TelcomNumberType getNumber() { + return number; + } + + /** + * Sets the value of the number property. + * + * @param value + * allowed object is + * {@link TelcomNumberType } + * + */ + public void setNumber(TelcomNumberType value) { + this.number = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/TypedPostalAddressType.java b/src/main/java/at/gv/util/xsd/mandate/persondata/TypedPostalAddressType.java new file mode 100644 index 0000000..b97a8d9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/TypedPostalAddressType.java @@ -0,0 +1,142 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.persondata; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * postal address + * + * <p>Java class for TypedPostalAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TypedPostalAddressType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> + * <sequence minOccurs="0"> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PostalAddress"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TypedPostalAddressType", propOrder = { + "type", + "postalAddress", + "any" +}) +public class TypedPostalAddressType + extends AbstractAddressType +{ + + @XmlElement(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlElement(name = "PostalAddress") + protected PostalAddressType postalAddress; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the postalAddress property. + * + * @return + * possible object is + * {@link PostalAddressType } + * + */ + public PostalAddressType getPostalAddress() { + return postalAddress; + } + + /** + * Sets the value of the postalAddress property. + * + * @param value + * allowed object is + * {@link PostalAddressType } + * + */ + public void setPostalAddress(PostalAddressType value) { + this.postalAddress = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/persondata/package-info.java b/src/main/java/at/gv/util/xsd/mandate/persondata/package-info.java new file mode 100644 index 0000000..d82c954 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/persondata/package-info.java @@ -0,0 +1,9 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mandate.persondata; diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/CanonicalizationMethodType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/CanonicalizationMethodType.java new file mode 100644 index 0000000..72420ae --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/CanonicalizationMethodType.java @@ -0,0 +1,109 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CanonicalizationMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CanonicalizationMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CanonicalizationMethodType", propOrder = { + "content" +}) +public class CanonicalizationMethodType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/DSAKeyValueType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/DSAKeyValueType.java new file mode 100644 index 0000000..056f4d4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/DSAKeyValueType.java @@ -0,0 +1,241 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <sequence minOccurs="0"> + * <element name="P" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="Q" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * <element name="J" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <element name="G" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <element name="Y" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <sequence minOccurs="0"> + * <element name="Seed" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="PgenCounter" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DSAKeyValueType", propOrder = { + "p", + "q", + "j", + "g", + "y", + "seed", + "pgenCounter" +}) +public class DSAKeyValueType { + + @XmlElement(name = "P") + protected String p; + @XmlElement(name = "Q") + protected String q; + @XmlElement(name = "J") + protected String j; + @XmlElement(name = "G") + protected String g; + @XmlElement(name = "Y", required = true) + protected String y; + @XmlElement(name = "Seed") + protected String seed; + @XmlElement(name = "PgenCounter") + protected String pgenCounter; + + /** + * Gets the value of the p property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getP() { + return p; + } + + /** + * Sets the value of the p property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setP(String value) { + this.p = value; + } + + /** + * Gets the value of the q property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQ() { + return q; + } + + /** + * Sets the value of the q property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQ(String value) { + this.q = value; + } + + /** + * Gets the value of the j property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getJ() { + return j; + } + + /** + * Sets the value of the j property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setJ(String value) { + this.j = value; + } + + /** + * Gets the value of the g property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getG() { + return g; + } + + /** + * Sets the value of the g property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setG(String value) { + this.g = value; + } + + /** + * Gets the value of the y property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getY() { + return y; + } + + /** + * Sets the value of the y property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setY(String value) { + this.y = value; + } + + /** + * Gets the value of the seed property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSeed() { + return seed; + } + + /** + * Sets the value of the seed property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSeed(String value) { + this.seed = value; + } + + /** + * Gets the value of the pgenCounter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPgenCounter() { + return pgenCounter; + } + + /** + * Sets the value of the pgenCounter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPgenCounter(String value) { + this.pgenCounter = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/DigestMethodType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/DigestMethodType.java new file mode 100644 index 0000000..d179fec --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/DigestMethodType.java @@ -0,0 +1,111 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for DigestMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DigestMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DigestMethodType", propOrder = { + "content" +}) +public class DigestMethodType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/KeyInfoType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/KeyInfoType.java new file mode 100644 index 0000000..8c604b8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/KeyInfoType.java @@ -0,0 +1,142 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for KeyInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="KeyInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyName"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}RetrievalMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}X509Data"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}PGPData"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SPKIData"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}MgmtData"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyInfoType", propOrder = { + "content" +}) +public class KeyInfoType { + + @XmlElementRefs({ + @XmlElementRef(name = "PGPData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "MgmtData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509Data", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "KeyName", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "SPKIData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "KeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "RetrievalMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link PGPDataType }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Element } + * {@link Object } + * {@link JAXBElement }{@code <}{@link X509DataType }{@code >} + * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link SPKIDataType }{@code >} + * {@link JAXBElement }{@code <}{@link KeyValueType }{@code >} + * {@link JAXBElement }{@code <}{@link RetrievalMethodType }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/KeyValueType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/KeyValueType.java new file mode 100644 index 0000000..af77ce1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/KeyValueType.java @@ -0,0 +1,92 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for KeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="KeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DSAKeyValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}RSAKeyValue"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyValueType", propOrder = { + "content" +}) +public class KeyValueType { + + @XmlElementRefs({ + @XmlElementRef(name = "RSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "DSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link JAXBElement }{@code <}{@link DSAKeyValueType }{@code >} + * {@link JAXBElement }{@code <}{@link RSAKeyValueType }{@code >} + * {@link Element } + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/ManifestType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/ManifestType.java new file mode 100644 index 0000000..a35c7ca --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/ManifestType.java @@ -0,0 +1,111 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +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.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; + + +/** + * <p>Java class for ManifestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ManifestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ManifestType", propOrder = { + "reference" +}) +public class ManifestType { + + @XmlElement(name = "Reference", required = true) + protected List<ReferenceType> reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the reference property. + * + * <p> + * 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 <CODE>set</CODE> method for the reference property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReference().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ReferenceType } + * + * + */ + public List<ReferenceType> getReference() { + if (reference == null) { + reference = new ArrayList<ReferenceType>(); + } + return this.reference; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mandate/xsd/ObjectFactory.java new file mode 100644 index 0000000..ebe7c21 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/ObjectFactory.java @@ -0,0 +1,559 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +import java.math.BigInteger; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.mandate.xsd package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _X509DataTypeX509IssuerSerial_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509IssuerSerial"); + private final static QName _X509DataTypeX509Certificate_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Certificate"); + private final static QName _X509DataTypeX509SKI_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SKI"); + private final static QName _X509DataTypeX509SubjectName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SubjectName"); + private final static QName _X509DataTypeX509CRL_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509CRL"); + private final static QName _PGPData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPData"); + private final static QName _SPKIData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKIData"); + private final static QName _RetrievalMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RetrievalMethod"); + private final static QName _CanonicalizationMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "CanonicalizationMethod"); + private final static QName _SignatureProperty_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperty"); + private final static QName _Manifest_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Manifest"); + private final static QName _Transforms_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transforms"); + private final static QName _SignatureMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureMethod"); + private final static QName _KeyInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyInfo"); + private final static QName _DigestMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestMethod"); + private final static QName _MgmtData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "MgmtData"); + private final static QName _Reference_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Reference"); + private final static QName _RSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RSAKeyValue"); + private final static QName _Signature_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Signature"); + private final static QName _DSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DSAKeyValue"); + private final static QName _SignedInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignedInfo"); + private final static QName _Object_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Object"); + private final static QName _SignatureValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureValue"); + private final static QName _Transform_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transform"); + private final static QName _X509Data_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Data"); + private final static QName _DigestValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestValue"); + private final static QName _SignatureProperties_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperties"); + private final static QName _KeyName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyName"); + private final static QName _KeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyValue"); + private final static QName _SPKIDataTypeSPKISexp_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKISexp"); + private final static QName _SignatureMethodTypeHMACOutputLength_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "HMACOutputLength"); + private final static QName _PGPDataTypePGPKeyID_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyID"); + private final static QName _PGPDataTypePGPKeyPacket_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyPacket"); + private final static QName _TransformTypeXPath_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "XPath"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mandate.xsd + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link DigestMethodType } + * + */ + public DigestMethodType createDigestMethodType() { + return new DigestMethodType(); + } + + /** + * Create an instance of {@link RetrievalMethodType } + * + */ + public RetrievalMethodType createRetrievalMethodType() { + return new RetrievalMethodType(); + } + + /** + * Create an instance of {@link SignaturePropertiesType } + * + */ + public SignaturePropertiesType createSignaturePropertiesType() { + return new SignaturePropertiesType(); + } + + /** + * Create an instance of {@link DSAKeyValueType } + * + */ + public DSAKeyValueType createDSAKeyValueType() { + return new DSAKeyValueType(); + } + + /** + * Create an instance of {@link SPKIDataType } + * + */ + public SPKIDataType createSPKIDataType() { + return new SPKIDataType(); + } + + /** + * Create an instance of {@link SignedInfoType } + * + */ + public SignedInfoType createSignedInfoType() { + return new SignedInfoType(); + } + + /** + * Create an instance of {@link X509IssuerSerialType } + * + */ + public X509IssuerSerialType createX509IssuerSerialType() { + return new X509IssuerSerialType(); + } + + /** + * Create an instance of {@link X509DataType } + * + */ + public X509DataType createX509DataType() { + return new X509DataType(); + } + + /** + * Create an instance of {@link ObjectType } + * + */ + public ObjectType createObjectType() { + return new ObjectType(); + } + + /** + * Create an instance of {@link ReferenceType } + * + */ + public ReferenceType createReferenceType() { + return new ReferenceType(); + } + + /** + * Create an instance of {@link SignatureValueType } + * + */ + public SignatureValueType createSignatureValueType() { + return new SignatureValueType(); + } + + /** + * Create an instance of {@link CanonicalizationMethodType } + * + */ + public CanonicalizationMethodType createCanonicalizationMethodType() { + return new CanonicalizationMethodType(); + } + + /** + * Create an instance of {@link SignaturePropertyType } + * + */ + public SignaturePropertyType createSignaturePropertyType() { + return new SignaturePropertyType(); + } + + /** + * Create an instance of {@link KeyValueType } + * + */ + public KeyValueType createKeyValueType() { + return new KeyValueType(); + } + + /** + * Create an instance of {@link SignatureType } + * + */ + public SignatureType createSignatureType() { + return new SignatureType(); + } + + /** + * Create an instance of {@link SignatureMethodType } + * + */ + public SignatureMethodType createSignatureMethodType() { + return new SignatureMethodType(); + } + + /** + * Create an instance of {@link ManifestType } + * + */ + public ManifestType createManifestType() { + return new ManifestType(); + } + + /** + * Create an instance of {@link TransformType } + * + */ + public TransformType createTransformType() { + return new TransformType(); + } + + /** + * Create an instance of {@link RSAKeyValueType } + * + */ + public RSAKeyValueType createRSAKeyValueType() { + return new RSAKeyValueType(); + } + + /** + * Create an instance of {@link KeyInfoType } + * + */ + public KeyInfoType createKeyInfoType() { + return new KeyInfoType(); + } + + /** + * Create an instance of {@link PGPDataType } + * + */ + public PGPDataType createPGPDataType() { + return new PGPDataType(); + } + + /** + * Create an instance of {@link TransformsType } + * + */ + public TransformsType createTransformsType() { + return new TransformsType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509IssuerSerial", scope = X509DataType.class) + public JAXBElement<X509IssuerSerialType> createX509DataTypeX509IssuerSerial(X509IssuerSerialType value) { + return new JAXBElement<X509IssuerSerialType>(_X509DataTypeX509IssuerSerial_QNAME, X509IssuerSerialType.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Certificate", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509Certificate(String value) { + return new JAXBElement<String>(_X509DataTypeX509Certificate_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SKI", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509SKI(String value) { + return new JAXBElement<String>(_X509DataTypeX509SKI_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SubjectName", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509SubjectName(String value) { + return new JAXBElement<String>(_X509DataTypeX509SubjectName_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509CRL", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509CRL(String value) { + return new JAXBElement<String>(_X509DataTypeX509CRL_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PGPDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPData") + public JAXBElement<PGPDataType> createPGPData(PGPDataType value) { + return new JAXBElement<PGPDataType>(_PGPData_QNAME, PGPDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SPKIDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKIData") + public JAXBElement<SPKIDataType> createSPKIData(SPKIDataType value) { + return new JAXBElement<SPKIDataType>(_SPKIData_QNAME, SPKIDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RetrievalMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RetrievalMethod") + public JAXBElement<RetrievalMethodType> createRetrievalMethod(RetrievalMethodType value) { + return new JAXBElement<RetrievalMethodType>(_RetrievalMethod_QNAME, RetrievalMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CanonicalizationMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "CanonicalizationMethod") + public JAXBElement<CanonicalizationMethodType> createCanonicalizationMethod(CanonicalizationMethodType value) { + return new JAXBElement<CanonicalizationMethodType>(_CanonicalizationMethod_QNAME, CanonicalizationMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignaturePropertyType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperty") + public JAXBElement<SignaturePropertyType> createSignatureProperty(SignaturePropertyType value) { + return new JAXBElement<SignaturePropertyType>(_SignatureProperty_QNAME, SignaturePropertyType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ManifestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Manifest") + public JAXBElement<ManifestType> createManifest(ManifestType value) { + return new JAXBElement<ManifestType>(_Manifest_QNAME, ManifestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TransformsType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transforms") + public JAXBElement<TransformsType> createTransforms(TransformsType value) { + return new JAXBElement<TransformsType>(_Transforms_QNAME, TransformsType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureMethod") + public JAXBElement<SignatureMethodType> createSignatureMethod(SignatureMethodType value) { + return new JAXBElement<SignatureMethodType>(_SignatureMethod_QNAME, SignatureMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyInfo") + public JAXBElement<KeyInfoType> createKeyInfo(KeyInfoType value) { + return new JAXBElement<KeyInfoType>(_KeyInfo_QNAME, KeyInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DigestMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestMethod") + public JAXBElement<DigestMethodType> createDigestMethod(DigestMethodType value) { + return new JAXBElement<DigestMethodType>(_DigestMethod_QNAME, DigestMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "MgmtData") + public JAXBElement<String> createMgmtData(String value) { + return new JAXBElement<String>(_MgmtData_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Reference") + public JAXBElement<ReferenceType> createReference(ReferenceType value) { + return new JAXBElement<ReferenceType>(_Reference_QNAME, ReferenceType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RSAKeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RSAKeyValue") + public JAXBElement<RSAKeyValueType> createRSAKeyValue(RSAKeyValueType value) { + return new JAXBElement<RSAKeyValueType>(_RSAKeyValue_QNAME, RSAKeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Signature") + public JAXBElement<SignatureType> createSignature(SignatureType value) { + return new JAXBElement<SignatureType>(_Signature_QNAME, SignatureType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DSAKeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DSAKeyValue") + public JAXBElement<DSAKeyValueType> createDSAKeyValue(DSAKeyValueType value) { + return new JAXBElement<DSAKeyValueType>(_DSAKeyValue_QNAME, DSAKeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignedInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignedInfo") + public JAXBElement<SignedInfoType> createSignedInfo(SignedInfoType value) { + return new JAXBElement<SignedInfoType>(_SignedInfo_QNAME, SignedInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ObjectType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Object") + public JAXBElement<ObjectType> createObject(ObjectType value) { + return new JAXBElement<ObjectType>(_Object_QNAME, ObjectType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureValue") + public JAXBElement<SignatureValueType> createSignatureValue(SignatureValueType value) { + return new JAXBElement<SignatureValueType>(_SignatureValue_QNAME, SignatureValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TransformType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transform") + public JAXBElement<TransformType> createTransform(TransformType value) { + return new JAXBElement<TransformType>(_Transform_QNAME, TransformType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link X509DataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Data") + public JAXBElement<X509DataType> createX509Data(X509DataType value) { + return new JAXBElement<X509DataType>(_X509Data_QNAME, X509DataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestValue") + public JAXBElement<String> createDigestValue(String value) { + return new JAXBElement<String>(_DigestValue_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignaturePropertiesType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperties") + public JAXBElement<SignaturePropertiesType> createSignatureProperties(SignaturePropertiesType value) { + return new JAXBElement<SignaturePropertiesType>(_SignatureProperties_QNAME, SignaturePropertiesType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyName") + public JAXBElement<String> createKeyName(String value) { + return new JAXBElement<String>(_KeyName_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyValue") + public JAXBElement<KeyValueType> createKeyValue(KeyValueType value) { + return new JAXBElement<KeyValueType>(_KeyValue_QNAME, KeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKISexp", scope = SPKIDataType.class) + public JAXBElement<String> createSPKIDataTypeSPKISexp(String value) { + return new JAXBElement<String>(_SPKIDataTypeSPKISexp_QNAME, String.class, SPKIDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "HMACOutputLength", scope = SignatureMethodType.class) + public JAXBElement<BigInteger> createSignatureMethodTypeHMACOutputLength(BigInteger value) { + return new JAXBElement<BigInteger>(_SignatureMethodTypeHMACOutputLength_QNAME, BigInteger.class, SignatureMethodType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyID", scope = PGPDataType.class) + public JAXBElement<String> createPGPDataTypePGPKeyID(String value) { + return new JAXBElement<String>(_PGPDataTypePGPKeyID_QNAME, String.class, PGPDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyPacket", scope = PGPDataType.class) + public JAXBElement<String> createPGPDataTypePGPKeyPacket(String value) { + return new JAXBElement<String>(_PGPDataTypePGPKeyPacket_QNAME, String.class, PGPDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "XPath", scope = TransformType.class) + public JAXBElement<String> createTransformTypeXPath(String value) { + return new JAXBElement<String>(_TransformTypeXPath_QNAME, String.class, TransformType.class, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/ObjectType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/ObjectType.java new file mode 100644 index 0000000..8f2a2dd --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/ObjectType.java @@ -0,0 +1,171 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for ObjectType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ObjectType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ObjectType", propOrder = { + "content" +}) +public class ObjectType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "MimeType") + protected String mimeType; + @XmlAttribute(name = "Encoding") + @XmlSchemaType(name = "anyURI") + protected String encoding; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * 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; + } + + /** + * Gets the value of the mimeType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMimeType() { + return mimeType; + } + + /** + * Sets the value of the mimeType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMimeType(String value) { + this.mimeType = value; + } + + /** + * Gets the value of the encoding property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncoding() { + return encoding; + } + + /** + * Sets the value of the encoding property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncoding(String value) { + this.encoding = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/PGPDataType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/PGPDataType.java new file mode 100644 index 0000000..2c635c2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/PGPDataType.java @@ -0,0 +1,105 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for PGPDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PGPDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="PGPKeyID" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="PGPKeyPacket" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <sequence> + * <element name="PGPKeyPacket" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PGPDataType", propOrder = { + "content" +}) +public class PGPDataType { + + @XmlElementRefs({ + @XmlElementRef(name = "PGPKeyPacket", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "PGPKeyID", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the rest of the content model. + * + * <p> + * You are getting this "catch-all" property because of the following reason: + * The field name "PGPKeyPacket" is used by two different parts of a schema. See: + * line 190 of file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/mandate/W3C-XMLDSig.xsd + * line 186 of file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/mandate/W3C-XMLDSig.xsd + * <p> + * To get rid of this property, apply a property customization to one + * of both of the following declarations to change their names: + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * {@link Element } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/RSAKeyValueType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/RSAKeyValueType.java new file mode 100644 index 0000000..c5a353d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/RSAKeyValueType.java @@ -0,0 +1,97 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Modulus" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="Exponent" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RSAKeyValueType", propOrder = { + "modulus", + "exponent" +}) +public class RSAKeyValueType { + + @XmlElement(name = "Modulus", required = true) + protected String modulus; + @XmlElement(name = "Exponent", required = true) + protected String exponent; + + /** + * Gets the value of the modulus property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModulus() { + return modulus; + } + + /** + * Sets the value of the modulus property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModulus(String value) { + this.modulus = value; + } + + /** + * Gets the value of the exponent property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getExponent() { + return exponent; + } + + /** + * Sets the value of the exponent property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setExponent(String value) { + this.exponent = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/ReferenceType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/ReferenceType.java new file mode 100644 index 0000000..27dae59 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/ReferenceType.java @@ -0,0 +1,216 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +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.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; + + +/** + * <p>Java class for ReferenceType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ReferenceType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestValue"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferenceType", propOrder = { + "transforms", + "digestMethod", + "digestValue" +}) +public class ReferenceType { + + @XmlElement(name = "Transforms") + protected TransformsType transforms; + @XmlElement(name = "DigestMethod", required = true) + protected DigestMethodType digestMethod; + @XmlElement(name = "DigestValue", required = true) + protected String digestValue; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "URI") + @XmlSchemaType(name = "anyURI") + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the digestMethod property. + * + * @return + * possible object is + * {@link DigestMethodType } + * + */ + public DigestMethodType getDigestMethod() { + return digestMethod; + } + + /** + * Sets the value of the digestMethod property. + * + * @param value + * allowed object is + * {@link DigestMethodType } + * + */ + public void setDigestMethod(DigestMethodType value) { + this.digestMethod = value; + } + + /** + * Gets the value of the digestValue property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDigestValue() { + return digestValue; + } + + /** + * Sets the value of the digestValue property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDigestValue(String value) { + this.digestValue = value; + } + + /** + * 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; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/RetrievalMethodType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/RetrievalMethodType.java new file mode 100644 index 0000000..fa7aae7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/RetrievalMethodType.java @@ -0,0 +1,127 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RetrievalMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RetrievalMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Transforms" type="{http://www.w3.org/2000/09/xmldsig#}TransformsType" minOccurs="0"/> + * </sequence> + * <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RetrievalMethodType", propOrder = { + "transforms" +}) +public class RetrievalMethodType { + + @XmlElement(name = "Transforms") + protected TransformsType transforms; + @XmlAttribute(name = "URI") + @XmlSchemaType(name = "anyURI") + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/SPKIDataType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/SPKIDataType.java new file mode 100644 index 0000000..9487399 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/SPKIDataType.java @@ -0,0 +1,83 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for SPKIDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SPKIDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="SPKISexp" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other' minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SPKIDataType", propOrder = { + "spkiSexpAndAny" +}) +public class SPKIDataType { + + @XmlElementRef(name = "SPKISexp", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlAnyElement(lax = true) + protected List<Object> spkiSexpAndAny; + + /** + * Gets the value of the spkiSexpAndAny property. + * + * <p> + * 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 <CODE>set</CODE> method for the spkiSexpAndAny property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSPKISexpAndAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Element } + * + * + */ + public List<Object> getSPKISexpAndAny() { + if (spkiSexpAndAny == null) { + spkiSexpAndAny = new ArrayList<Object>(); + } + return this.spkiSexpAndAny; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/SignatureMethodType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/SignatureMethodType.java new file mode 100644 index 0000000..9d89fb2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/SignatureMethodType.java @@ -0,0 +1,115 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SignatureMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="HMACOutputLength" type="{http://www.w3.org/2000/09/xmldsig#}HMACOutputLengthType" minOccurs="0"/> + * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureMethodType", propOrder = { + "content" +}) +public class SignatureMethodType { + + @XmlElementRef(name = "HMACOutputLength", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * {@link Object } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/SignaturePropertiesType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/SignaturePropertiesType.java new file mode 100644 index 0000000..30a1ced --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/SignaturePropertiesType.java @@ -0,0 +1,111 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +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.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; + + +/** + * <p>Java class for SignaturePropertiesType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignaturePropertiesType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureProperty" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignaturePropertiesType", propOrder = { + "signatureProperty" +}) +public class SignaturePropertiesType { + + @XmlElement(name = "SignatureProperty", required = true) + protected List<SignaturePropertyType> signatureProperty; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the signatureProperty property. + * + * <p> + * 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 <CODE>set</CODE> method for the signatureProperty property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSignatureProperty().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link SignaturePropertyType } + * + * + */ + public List<SignaturePropertyType> getSignatureProperty() { + if (signatureProperty == null) { + signatureProperty = new ArrayList<SignaturePropertyType>(); + } + return this.signatureProperty; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/SignaturePropertyType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/SignaturePropertyType.java new file mode 100644 index 0000000..b941405 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/SignaturePropertyType.java @@ -0,0 +1,144 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for SignaturePropertyType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignaturePropertyType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <any processContents='lax' namespace='##other'/> + * </choice> + * <attribute name="Target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignaturePropertyType", propOrder = { + "content" +}) +public class SignaturePropertyType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Target", required = true) + @XmlSchemaType(name = "anyURI") + protected String target; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the target property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTarget() { + return target; + } + + /** + * Sets the value of the target property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTarget(String value) { + this.target = value; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/SignatureType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/SignatureType.java new file mode 100644 index 0000000..dcf98c2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/SignatureType.java @@ -0,0 +1,195 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +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.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; + + +/** + * <p>Java class for SignatureType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignedInfo"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Object" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureType", propOrder = { + "signedInfo", + "signatureValue", + "keyInfo", + "object" +}) +public class SignatureType { + + @XmlElement(name = "SignedInfo", required = true) + protected SignedInfoType signedInfo; + @XmlElement(name = "SignatureValue", required = true) + protected SignatureValueType signatureValue; + @XmlElement(name = "KeyInfo") + protected KeyInfoType keyInfo; + @XmlElement(name = "Object") + protected List<ObjectType> object; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the signedInfo property. + * + * @return + * possible object is + * {@link SignedInfoType } + * + */ + public SignedInfoType getSignedInfo() { + return signedInfo; + } + + /** + * Sets the value of the signedInfo property. + * + * @param value + * allowed object is + * {@link SignedInfoType } + * + */ + public void setSignedInfo(SignedInfoType value) { + this.signedInfo = value; + } + + /** + * Gets the value of the signatureValue property. + * + * @return + * possible object is + * {@link SignatureValueType } + * + */ + public SignatureValueType getSignatureValue() { + return signatureValue; + } + + /** + * Sets the value of the signatureValue property. + * + * @param value + * allowed object is + * {@link SignatureValueType } + * + */ + public void setSignatureValue(SignatureValueType value) { + this.signatureValue = value; + } + + /** + * Gets the value of the keyInfo property. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Sets the value of the keyInfo property. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Gets the value of the object property. + * + * <p> + * 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 <CODE>set</CODE> method for the object property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getObject().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ObjectType } + * + * + */ + public List<ObjectType> getObject() { + if (object == null) { + object = new ArrayList<ObjectType>(); + } + return this.object; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/SignatureValueType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/SignatureValueType.java new file mode 100644 index 0000000..3ae93cf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/SignatureValueType.java @@ -0,0 +1,101 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for SignatureValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureValueType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2000/09/xmldsig#>CryptoBinary"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureValueType", propOrder = { + "value" +}) +public class SignatureValueType { + + @XmlValue + protected String value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/SignedInfoType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/SignedInfoType.java new file mode 100644 index 0000000..147612f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/SignedInfoType.java @@ -0,0 +1,167 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +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.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; + + +/** + * <p>Java class for SignedInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignedInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignedInfoType", propOrder = { + "canonicalizationMethod", + "signatureMethod", + "reference" +}) +public class SignedInfoType { + + @XmlElement(name = "CanonicalizationMethod", required = true) + protected CanonicalizationMethodType canonicalizationMethod; + @XmlElement(name = "SignatureMethod", required = true) + protected SignatureMethodType signatureMethod; + @XmlElement(name = "Reference", required = true) + protected List<ReferenceType> reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * 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 signatureMethod property. + * + * @return + * possible object is + * {@link SignatureMethodType } + * + */ + public SignatureMethodType getSignatureMethod() { + return signatureMethod; + } + + /** + * Sets the value of the signatureMethod property. + * + * @param value + * allowed object is + * {@link SignatureMethodType } + * + */ + public void setSignatureMethod(SignatureMethodType value) { + this.signatureMethod = value; + } + + /** + * Gets the value of the reference property. + * + * <p> + * 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 <CODE>set</CODE> method for the reference property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReference().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ReferenceType } + * + * + */ + public List<ReferenceType> getReference() { + if (reference == null) { + reference = new ArrayList<ReferenceType>(); + } + return this.reference; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/TransformType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/TransformType.java new file mode 100644 index 0000000..3f3d11c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/TransformType.java @@ -0,0 +1,116 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for TransformType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TransformType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax' namespace='##other'/> + * <element name="XPath" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </choice> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformType", propOrder = { + "content" +}) +public class TransformType { + + @XmlElementRef(name = "XPath", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/TransformsType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/TransformsType.java new file mode 100644 index 0000000..1218e6b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/TransformsType.java @@ -0,0 +1,76 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TransformsType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TransformsType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transform" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformsType", propOrder = { + "transform" +}) +public class TransformsType { + + @XmlElement(name = "Transform", required = true) + protected List<TransformType> transform; + + /** + * Gets the value of the transform property. + * + * <p> + * 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 <CODE>set</CODE> method for the transform property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTransform().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TransformType } + * + * + */ + public List<TransformType> getTransform() { + if (transform == null) { + transform = new ArrayList<TransformType>(); + } + return this.transform; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/X509DataType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/X509DataType.java new file mode 100644 index 0000000..2eeb851 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/X509DataType.java @@ -0,0 +1,100 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for X509DataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="X509DataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <choice> + * <element name="X509IssuerSerial" type="{http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType"/> + * <element name="X509SKI" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="X509SubjectName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="X509Certificate" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="X509CRL" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509DataType", propOrder = { + "x509IssuerSerialOrX509SKIOrX509SubjectName" +}) +public class X509DataType { + + @XmlElementRefs({ + @XmlElementRef(name = "X509CRL", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509Certificate", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509SKI", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509IssuerSerial", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509SubjectName", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlAnyElement(lax = true) + protected List<Object> x509IssuerSerialOrX509SKIOrX509SubjectName; + + /** + * Gets the value of the x509IssuerSerialOrX509SKIOrX509SubjectName property. + * + * <p> + * 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 <CODE>set</CODE> method for the x509IssuerSerialOrX509SKIOrX509SubjectName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getX509IssuerSerialOrX509SKIOrX509SubjectName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Element } + * {@link Object } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<Object> getX509IssuerSerialOrX509SKIOrX509SubjectName() { + if (x509IssuerSerialOrX509SKIOrX509SubjectName == null) { + x509IssuerSerialOrX509SKIOrX509SubjectName = new ArrayList<Object>(); + } + return this.x509IssuerSerialOrX509SKIOrX509SubjectName; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/X509IssuerSerialType.java b/src/main/java/at/gv/util/xsd/mandate/xsd/X509IssuerSerialType.java new file mode 100644 index 0000000..761d408 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/X509IssuerSerialType.java @@ -0,0 +1,98 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + + +package at.gv.util.xsd.mandate.xsd; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for X509IssuerSerialType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="X509IssuerSerialType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="X509IssuerName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="X509SerialNumber" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509IssuerSerialType", propOrder = { + "x509IssuerName", + "x509SerialNumber" +}) +public class X509IssuerSerialType { + + @XmlElement(name = "X509IssuerName", required = true) + protected String x509IssuerName; + @XmlElement(name = "X509SerialNumber", required = true) + protected BigInteger x509SerialNumber; + + /** + * Gets the value of the x509IssuerName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getX509IssuerName() { + return x509IssuerName; + } + + /** + * Sets the value of the x509IssuerName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setX509IssuerName(String value) { + this.x509IssuerName = value; + } + + /** + * Gets the value of the x509SerialNumber property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getX509SerialNumber() { + return x509SerialNumber; + } + + /** + * Sets the value of the x509SerialNumber property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setX509SerialNumber(BigInteger value) { + this.x509SerialNumber = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mandate/xsd/package-info.java b/src/main/java/at/gv/util/xsd/mandate/xsd/package-info.java new file mode 100644 index 0000000..3851a5c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mandate/xsd/package-info.java @@ -0,0 +1,9 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.03 at 09:49:34 AM MEZ +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2000/09/xmldsig#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mandate.xsd; diff --git a/src/main/java/at/gv/util/xsd/mis/MandateIdentifiers.java b/src/main/java/at/gv/util/xsd/mis/MandateIdentifiers.java new file mode 100644 index 0000000..7aa6dcd --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/MandateIdentifiers.java @@ -0,0 +1,71 @@ + +package at.gv.util.xsd.mis; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="MandateIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "mandateIdentifier" +}) +@XmlRootElement(name = "MandateIdentifiers") +public class MandateIdentifiers { + + @XmlElement(name = "MandateIdentifier", required = true) + protected List<String> mandateIdentifier; + + /** + * Gets the value of the mandateIdentifier property. + * + * <p> + * 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 <CODE>set</CODE> method for the mandateIdentifier property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMandateIdentifier().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getMandateIdentifier() { + if (mandateIdentifier == null) { + mandateIdentifier = new ArrayList<String>(); + } + return this.mandateIdentifier; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/MandateIssueRequestType.java b/src/main/java/at/gv/util/xsd/mis/MandateIssueRequestType.java new file mode 100644 index 0000000..aef6e1b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/MandateIssueRequestType.java @@ -0,0 +1,428 @@ + +package at.gv.util.xsd.mis; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +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; + + +/** + * <p>Java class for MandateIssueRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="MandateIssueRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="IdentityLink" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="X509SignatureCertificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> + * <element name="OAFriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="RedirectURL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="ReferenceValue"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> + * <minLength value="10"/> + * <maxLength value="100"/> + * </restriction> + * </simpleType> + * </element> + * <element name="Filters" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd}MandateIdentifiers" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Target" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <element name="SessionID" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "MandateIssueRequestType", propOrder = { + "identityLink", + "x509SignatureCertificate", + "oaFriendlyName", + "redirectURL", + "referenceValue", + "filters", + "target", + "sessionID" +}) +public class MandateIssueRequestType { + + @XmlElement(name = "IdentityLink") + protected byte[] identityLink; + @XmlElement(name = "X509SignatureCertificate") + protected byte[] x509SignatureCertificate; + @XmlElement(name = "OAFriendlyName") + protected String oaFriendlyName; + @XmlElement(name = "RedirectURL") + @XmlSchemaType(name = "anyURI") + protected String redirectURL; + @XmlElement(name = "ReferenceValue") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String referenceValue; + @XmlElement(name = "Filters") + protected MandateIssueRequestType.Filters filters; + @XmlElement(name = "Target") + protected MandateIssueRequestType.Target target; + @XmlElement(name = "SessionID") + protected String sessionID; + + /** + * Gets the value of the identityLink property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getIdentityLink() { + return identityLink; + } + + /** + * Sets the value of the identityLink property. + * + * @param value + * allowed object is + * byte[] + */ + public void setIdentityLink(byte[] value) { + this.identityLink = value; + } + + /** + * Gets the value of the x509SignatureCertificate property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getX509SignatureCertificate() { + return x509SignatureCertificate; + } + + /** + * Sets the value of the x509SignatureCertificate property. + * + * @param value + * allowed object is + * byte[] + */ + public void setX509SignatureCertificate(byte[] value) { + this.x509SignatureCertificate = value; + } + + /** + * Gets the value of the oaFriendlyName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOAFriendlyName() { + return oaFriendlyName; + } + + /** + * Sets the value of the oaFriendlyName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOAFriendlyName(String value) { + this.oaFriendlyName = value; + } + + /** + * Gets the value of the redirectURL property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRedirectURL() { + return redirectURL; + } + + /** + * Sets the value of the redirectURL property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRedirectURL(String value) { + this.redirectURL = value; + } + + /** + * Gets the value of the referenceValue property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReferenceValue() { + return referenceValue; + } + + /** + * Sets the value of the referenceValue property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReferenceValue(String value) { + this.referenceValue = value; + } + + /** + * Gets the value of the filters property. + * + * @return + * possible object is + * {@link MandateIssueRequestType.Filters } + * + */ + public MandateIssueRequestType.Filters getFilters() { + return filters; + } + + /** + * Sets the value of the filters property. + * + * @param value + * allowed object is + * {@link MandateIssueRequestType.Filters } + * + */ + public void setFilters(MandateIssueRequestType.Filters value) { + this.filters = value; + } + + /** + * Gets the value of the target property. + * + * @return + * possible object is + * {@link MandateIssueRequestType.Target } + * + */ + public MandateIssueRequestType.Target getTarget() { + return target; + } + + /** + * Sets the value of the target property. + * + * @param value + * allowed object is + * {@link MandateIssueRequestType.Target } + * + */ + public void setTarget(MandateIssueRequestType.Target value) { + this.target = value; + } + + /** + * Gets the value of the sessionID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSessionID() { + return sessionID; + } + + /** + * Sets the value of the sessionID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSessionID(String value) { + this.sessionID = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd}MandateIdentifiers" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mandateIdentifiers" + }) + public static class Filters { + + @XmlElement(name = "MandateIdentifiers") + protected MandateIdentifiers mandateIdentifiers; + + /** + * Gets the value of the mandateIdentifiers property. + * + * @return + * possible object is + * {@link MandateIdentifiers } + * + */ + public MandateIdentifiers getMandateIdentifiers() { + return mandateIdentifiers; + } + + /** + * Sets the value of the mandateIdentifiers property. + * + * @param value + * allowed object is + * {@link MandateIdentifiers } + * + */ + public void setMandateIdentifiers(MandateIdentifiers value) { + this.mandateIdentifiers = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "type", + "value" + }) + public static class Target { + + @XmlElement(name = "Type", required = true) + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlElement(name = "Value") + protected String value; + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/MandateIssueResponseType.java b/src/main/java/at/gv/util/xsd/mis/MandateIssueResponseType.java new file mode 100644 index 0000000..7e55bec --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/MandateIssueResponseType.java @@ -0,0 +1,442 @@ + +package at.gv.util.xsd.mis; + +import java.math.BigInteger; +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for MandateIssueResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="MandateIssueResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="SessionID" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="GuiRedirectURL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * </sequence> + * <element name="Mandates"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Mandate" maxOccurs="unbounded"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> + * <attribute name="ProfessionalRepresentative" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="OWbPK" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Error"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * <element name="Text" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "MandateIssueResponseType", propOrder = { + "sessionID", + "guiRedirectURL", + "mandates", + "error" +}) +public class MandateIssueResponseType { + + @XmlElement(name = "SessionID") + protected String sessionID; + @XmlElement(name = "GuiRedirectURL") + @XmlSchemaType(name = "anyURI") + protected String guiRedirectURL; + @XmlElement(name = "Mandates") + protected MandateIssueResponseType.Mandates mandates; + @XmlElement(name = "Error") + protected MandateIssueResponseType.Error error; + + /** + * Gets the value of the sessionID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSessionID() { + return sessionID; + } + + /** + * Sets the value of the sessionID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSessionID(String value) { + this.sessionID = value; + } + + /** + * Gets the value of the guiRedirectURL property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGuiRedirectURL() { + return guiRedirectURL; + } + + /** + * Sets the value of the guiRedirectURL property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGuiRedirectURL(String value) { + this.guiRedirectURL = value; + } + + /** + * Gets the value of the mandates property. + * + * @return + * possible object is + * {@link MandateIssueResponseType.Mandates } + * + */ + public MandateIssueResponseType.Mandates getMandates() { + return mandates; + } + + /** + * Sets the value of the mandates property. + * + * @param value + * allowed object is + * {@link MandateIssueResponseType.Mandates } + * + */ + public void setMandates(MandateIssueResponseType.Mandates value) { + this.mandates = value; + } + + /** + * Gets the value of the error property. + * + * @return + * possible object is + * {@link MandateIssueResponseType.Error } + * + */ + public MandateIssueResponseType.Error getError() { + return error; + } + + /** + * Sets the value of the error property. + * + * @param value + * allowed object is + * {@link MandateIssueResponseType.Error } + * + */ + public void setError(MandateIssueResponseType.Error value) { + this.error = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * <element name="Text" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "code", + "text" + }) + public static class Error { + + @XmlElement(name = "Code", required = true) + @XmlSchemaType(name = "positiveInteger") + protected BigInteger code; + @XmlElement(name = "Text", required = true) + protected String text; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the text property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getText() { + return text; + } + + /** + * Sets the value of the text property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setText(String value) { + this.text = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Mandate" maxOccurs="unbounded"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> + * <attribute name="ProfessionalRepresentative" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="OWbPK" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mandate" + }) + public static class Mandates { + + @XmlElement(name = "Mandate", required = true) + protected List<MandateIssueResponseType.Mandates.Mandate> mandate; + + /** + * Gets the value of the mandate property. + * + * <p> + * 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 <CODE>set</CODE> method for the mandate property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMandate().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link MandateIssueResponseType.Mandates.Mandate } + * + * + */ + public List<MandateIssueResponseType.Mandates.Mandate> getMandate() { + if (mandate == null) { + mandate = new ArrayList<MandateIssueResponseType.Mandates.Mandate>(); + } + return this.mandate; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> + * <attribute name="ProfessionalRepresentative" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="OWbPK" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Mandate { + + @XmlValue + protected byte[] value; + @XmlAttribute(name = "ProfessionalRepresentative") + protected String professionalRepresentative; + @XmlAttribute(name = "OWbPK") + protected String oWbPK; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * byte[] + */ + public void setValue(byte[] value) { + this.value = value; + } + + /** + * Gets the value of the professionalRepresentative property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProfessionalRepresentative() { + return professionalRepresentative; + } + + /** + * Sets the value of the professionalRepresentative property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProfessionalRepresentative(String value) { + this.professionalRepresentative = value; + } + + /** + * Gets the value of the oWbPK property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOWbPK() { + return oWbPK; + } + + /** + * Sets the value of the oWbPK property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOWbPK(String value) { + this.oWbPK = value; + } + + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mis/ObjectFactory.java new file mode 100644 index 0000000..415559b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/ObjectFactory.java @@ -0,0 +1,119 @@ + +package at.gv.util.xsd.mis; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.mis package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _MandateIssueRequest_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd", "MandateIssueRequest"); + private final static QName _MandateIssueResponse_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd", "MandateIssueResponse"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mis + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link MandateIssueResponseType } + * + */ + public MandateIssueResponseType createMandateIssueResponseType() { + return new MandateIssueResponseType(); + } + + /** + * Create an instance of {@link MandateIssueResponseType.Mandates } + * + */ + public MandateIssueResponseType.Mandates createMandateIssueResponseTypeMandates() { + return new MandateIssueResponseType.Mandates(); + } + + /** + * Create an instance of {@link MandateIssueRequestType } + * + */ + public MandateIssueRequestType createMandateIssueRequestType() { + return new MandateIssueRequestType(); + } + + /** + * Create an instance of {@link MandateIdentifiers } + * + */ + public MandateIdentifiers createMandateIdentifiers() { + return new MandateIdentifiers(); + } + + /** + * Create an instance of {@link MandateIssueResponseType.Error } + * + */ + public MandateIssueResponseType.Error createMandateIssueResponseTypeError() { + return new MandateIssueResponseType.Error(); + } + + /** + * Create an instance of {@link MandateIssueResponseType.Mandates.Mandate } + * + */ + public MandateIssueResponseType.Mandates.Mandate createMandateIssueResponseTypeMandatesMandate() { + return new MandateIssueResponseType.Mandates.Mandate(); + } + + /** + * Create an instance of {@link MandateIssueRequestType.Filters } + * + */ + public MandateIssueRequestType.Filters createMandateIssueRequestTypeFilters() { + return new MandateIssueRequestType.Filters(); + } + + /** + * Create an instance of {@link MandateIssueRequestType.Target } + * + */ + public MandateIssueRequestType.Target createMandateIssueRequestTypeTarget() { + return new MandateIssueRequestType.Target(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link MandateIssueRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd", name = "MandateIssueRequest") + public JAXBElement<MandateIssueRequestType> createMandateIssueRequest(MandateIssueRequestType value) { + return new JAXBElement<MandateIssueRequestType>(_MandateIssueRequest_QNAME, MandateIssueRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link MandateIssueResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd", name = "MandateIssueResponse") + public JAXBElement<MandateIssueResponseType> createMandateIssueResponse(MandateIssueResponseType value) { + return new JAXBElement<MandateIssueResponseType>(_MandateIssueResponse_QNAME, MandateIssueResponseType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/package-info.java b/src/main/java/at/gv/util/xsd/mis/package-info.java new file mode 100644 index 0000000..e6bcf80 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mis; diff --git a/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesRequest.java b/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesRequest.java new file mode 100644 index 0000000..edc96a9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesRequest.java @@ -0,0 +1,253 @@ + +package at.gv.util.xsd.mis.usp; + +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.XmlRootElement; +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; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Identification" type="{http://reference.e-government.gv.at/namespace/mandates/mis/usp/1.0.2/xsd}IdentificationType"/> + * <element name="MandateFilters" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="MandateFilter" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <attribute name="RequestId" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * <attribute name="Timestamp" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> + * <attribute name="ApplicationId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "identification", + "mandateFilters" +}) +@XmlRootElement(name = "GetMandatesRequest") +public class GetMandatesRequest { + + @XmlElement(name = "Identification", required = true) + protected IdentificationType identification; + @XmlElement(name = "MandateFilters") + protected GetMandatesRequest.MandateFilters mandateFilters; + @XmlAttribute(name = "RequestId", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String requestId; + @XmlAttribute(name = "Timestamp", required = true) + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar timestamp; + @XmlAttribute(name = "ApplicationId", required = true) + protected String applicationId; + + /** + * Gets the value of the identification property. + * + * @return + * possible object is + * {@link IdentificationType } + * + */ + public IdentificationType getIdentification() { + return identification; + } + + /** + * Sets the value of the identification property. + * + * @param value + * allowed object is + * {@link IdentificationType } + * + */ + public void setIdentification(IdentificationType value) { + this.identification = value; + } + + /** + * Gets the value of the mandateFilters property. + * + * @return + * possible object is + * {@link GetMandatesRequest.MandateFilters } + * + */ + public GetMandatesRequest.MandateFilters getMandateFilters() { + return mandateFilters; + } + + /** + * Sets the value of the mandateFilters property. + * + * @param value + * allowed object is + * {@link GetMandatesRequest.MandateFilters } + * + */ + public void setMandateFilters(GetMandatesRequest.MandateFilters value) { + this.mandateFilters = value; + } + + /** + * Gets the value of the requestId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRequestId() { + return requestId; + } + + /** + * Sets the value of the requestId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRequestId(String value) { + this.requestId = value; + } + + /** + * Gets the value of the timestamp property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTimestamp() { + return timestamp; + } + + /** + * Sets the value of the timestamp property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setTimestamp(XMLGregorianCalendar value) { + this.timestamp = value; + } + + /** + * Gets the value of the applicationId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getApplicationId() { + return applicationId; + } + + /** + * Sets the value of the applicationId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setApplicationId(String value) { + this.applicationId = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="MandateFilter" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mandateFilter" + }) + public static class MandateFilters { + + @XmlElement(name = "MandateFilter", required = true) + protected List<String> mandateFilter; + + /** + * Gets the value of the mandateFilter property. + * + * <p> + * 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 <CODE>set</CODE> method for the mandateFilter property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMandateFilter().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getMandateFilter() { + if (mandateFilter == null) { + mandateFilter = new ArrayList<String>(); + } + return this.mandateFilter; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesResponse.java b/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesResponse.java new file mode 100644 index 0000000..016aff0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesResponse.java @@ -0,0 +1,361 @@ + +package at.gv.util.xsd.mis.usp; + +import java.math.BigInteger; +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.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="Mandates"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <element name="Mandate"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> + * <attribute name="MandateFilter" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <sequence> + * <element name="Error"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "mandates", + "error" +}) +@XmlRootElement(name = "GetMandatesResponse") +public class GetMandatesResponse { + + @XmlElement(name = "Mandates") + protected GetMandatesResponse.Mandates mandates; + @XmlElement(name = "Error") + protected GetMandatesResponse.Error error; + + /** + * Gets the value of the mandates property. + * + * @return + * possible object is + * {@link GetMandatesResponse.Mandates } + * + */ + public GetMandatesResponse.Mandates getMandates() { + return mandates; + } + + /** + * Sets the value of the mandates property. + * + * @param value + * allowed object is + * {@link GetMandatesResponse.Mandates } + * + */ + public void setMandates(GetMandatesResponse.Mandates value) { + this.mandates = value; + } + + /** + * Gets the value of the error property. + * + * @return + * possible object is + * {@link GetMandatesResponse.Error } + * + */ + public GetMandatesResponse.Error getError() { + return error; + } + + /** + * Sets the value of the error property. + * + * @param value + * allowed object is + * {@link GetMandatesResponse.Error } + * + */ + public void setError(GetMandatesResponse.Error value) { + this.error = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "code", + "info" + }) + public static class Error { + + @XmlElement(name = "Code", required = true) + @XmlSchemaType(name = "positiveInteger") + protected BigInteger code; + @XmlElement(name = "Info", required = true) + protected String info; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfo(String value) { + this.info = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <element name="Mandate"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> + * <attribute name="MandateFilter" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mandate" + }) + public static class Mandates { + + @XmlElement(name = "Mandate") + protected List<GetMandatesResponse.Mandates.Mandate> mandate; + + /** + * Gets the value of the mandate property. + * + * <p> + * 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 <CODE>set</CODE> method for the mandate property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMandate().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link GetMandatesResponse.Mandates.Mandate } + * + * + */ + public List<GetMandatesResponse.Mandates.Mandate> getMandate() { + if (mandate == null) { + mandate = new ArrayList<GetMandatesResponse.Mandates.Mandate>(); + } + return this.mandate; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> + * <attribute name="MandateFilter" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Mandate { + + @XmlValue + protected byte[] value; + @XmlAttribute(name = "MandateFilter") + @XmlSchemaType(name = "anySimpleType") + protected String mandateFilter; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * byte[] + */ + public void setValue(byte[] value) { + this.value = ((byte[]) value); + } + + /** + * Gets the value of the mandateFilter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMandateFilter() { + return mandateFilter; + } + + /** + * Sets the value of the mandateFilter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMandateFilter(String value) { + this.mandateFilter = value; + } + + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp/IdentificationType.java b/src/main/java/at/gv/util/xsd/mis/usp/IdentificationType.java new file mode 100644 index 0000000..69cbb1d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp/IdentificationType.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.mis.usp; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for IdentificationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="IdentificationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IdentificationType", propOrder = { + "value", + "type" +}) +public class IdentificationType { + + @XmlElement(name = "Value", required = true) + protected String value; + @XmlElement(name = "Type", required = true) + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mis/usp/ObjectFactory.java new file mode 100644 index 0000000..3098483 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp/ObjectFactory.java @@ -0,0 +1,88 @@ + +package at.gv.util.xsd.mis.usp; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.mis.usp package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mis.usp + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link GetMandatesResponse.Mandates.Mandate } + * + */ + public GetMandatesResponse.Mandates.Mandate createGetMandatesResponseMandatesMandate() { + return new GetMandatesResponse.Mandates.Mandate(); + } + + /** + * Create an instance of {@link GetMandatesResponse.Error } + * + */ + public GetMandatesResponse.Error createGetMandatesResponseError() { + return new GetMandatesResponse.Error(); + } + + /** + * Create an instance of {@link GetMandatesResponse.Mandates } + * + */ + public GetMandatesResponse.Mandates createGetMandatesResponseMandates() { + return new GetMandatesResponse.Mandates(); + } + + /** + * Create an instance of {@link GetMandatesResponse } + * + */ + public GetMandatesResponse createGetMandatesResponse() { + return new GetMandatesResponse(); + } + + /** + * Create an instance of {@link IdentificationType } + * + */ + public IdentificationType createIdentificationType() { + return new IdentificationType(); + } + + /** + * Create an instance of {@link GetMandatesRequest } + * + */ + public GetMandatesRequest createGetMandatesRequest() { + return new GetMandatesRequest(); + } + + /** + * Create an instance of {@link GetMandatesRequest.MandateFilters } + * + */ + public GetMandatesRequest.MandateFilters createGetMandatesRequestMandateFilters() { + return new GetMandatesRequest.MandateFilters(); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp/package-info.java b/src/main/java/at/gv/util/xsd/mis/usp/package-info.java new file mode 100644 index 0000000..2d58dba --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/mandates/mis/usp/1.0.2/xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mis.usp; diff --git a/src/main/java/at/gv/util/xsd/misstork/MisStorkError.java b/src/main/java/at/gv/util/xsd/misstork/MisStorkError.java new file mode 100644 index 0000000..e56e7ce --- /dev/null +++ b/src/main/java/at/gv/util/xsd/misstork/MisStorkError.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.misstork; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}anyType"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}anyType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "errorCode", + "info" +}) +@XmlRootElement(name = "MisStorkError") +public class MisStorkError { + + @XmlElement(name = "ErrorCode", required = true) + protected Object errorCode; + @XmlElement(name = "Info", required = true) + protected Object info; + + /** + * Gets the value of the errorCode property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getErrorCode() { + return errorCode; + } + + /** + * Sets the value of the errorCode property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setErrorCode(Object value) { + this.errorCode = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setInfo(Object value) { + this.info = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/misstork/MisStorkRequest.java b/src/main/java/at/gv/util/xsd/misstork/MisStorkRequest.java new file mode 100644 index 0000000..0c5675b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/misstork/MisStorkRequest.java @@ -0,0 +1,410 @@ + +package at.gv.util.xsd.misstork; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import at.gv.util.xsd.mis.MandateIdentifiers; +import at.gv.util.xsd.persondata.CorporateBodyType; +import at.gv.util.xsd.persondata.PhysicalPersonType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="StorkMandateType" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * <element ref="{http://reference.e-government.gv.at/namespace/misstork/20131126/xsd}MandatorType"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd}MandateIdentifiers" minOccurs="0"/> + * </sequence> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/misstork/20131126/xsd}ReferenceValue"/> + * <element name="MISMandateType" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Mandator"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * </sequence> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CorporateBody"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Representative"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "storkMandateType", + "mandatorType", + "mandateIdentifiers", + "referenceValue", + "misMandateType", + "mandator", + "representative" +}) +@XmlRootElement(name = "MisStorkRequest") +public class MisStorkRequest { + + @XmlElement(name = "StorkMandateType") + protected BigInteger storkMandateType; + @XmlElement(name = "MandatorType") + protected String mandatorType; + @XmlElement(name = "MandateIdentifiers", namespace = "http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd") + protected MandateIdentifiers mandateIdentifiers; + @XmlElement(name = "ReferenceValue") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String referenceValue; + @XmlElement(name = "MISMandateType") + protected String misMandateType; + @XmlElement(name = "Mandator") + protected MisStorkRequest.Mandator mandator; + @XmlElement(name = "Representative") + protected MisStorkRequest.Representative representative; + + /** + * Gets the value of the storkMandateType property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getStorkMandateType() { + return storkMandateType; + } + + /** + * Sets the value of the storkMandateType property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setStorkMandateType(BigInteger value) { + this.storkMandateType = value; + } + + /** + * Gets the value of the mandatorType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMandatorType() { + return mandatorType; + } + + /** + * Sets the value of the mandatorType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMandatorType(String value) { + this.mandatorType = value; + } + + /** + * Gets the value of the mandateIdentifiers property. + * + * @return + * possible object is + * {@link MandateIdentifiers } + * + */ + public MandateIdentifiers getMandateIdentifiers() { + return mandateIdentifiers; + } + + /** + * Sets the value of the mandateIdentifiers property. + * + * @param value + * allowed object is + * {@link MandateIdentifiers } + * + */ + public void setMandateIdentifiers(MandateIdentifiers value) { + this.mandateIdentifiers = value; + } + + /** + * Gets the value of the referenceValue property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReferenceValue() { + return referenceValue; + } + + /** + * Sets the value of the referenceValue property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReferenceValue(String value) { + this.referenceValue = value; + } + + /** + * Gets the value of the misMandateType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMISMandateType() { + return misMandateType; + } + + /** + * Sets the value of the misMandateType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMISMandateType(String value) { + this.misMandateType = value; + } + + /** + * Gets the value of the mandator property. + * + * @return + * possible object is + * {@link MisStorkRequest.Mandator } + * + */ + public MisStorkRequest.Mandator getMandator() { + return mandator; + } + + /** + * Sets the value of the mandator property. + * + * @param value + * allowed object is + * {@link MisStorkRequest.Mandator } + * + */ + public void setMandator(MisStorkRequest.Mandator value) { + this.mandator = value; + } + + /** + * Gets the value of the representative property. + * + * @return + * possible object is + * {@link MisStorkRequest.Representative } + * + */ + public MisStorkRequest.Representative getRepresentative() { + return representative; + } + + /** + * Sets the value of the representative property. + * + * @param value + * allowed object is + * {@link MisStorkRequest.Representative } + * + */ + public void setRepresentative(MisStorkRequest.Representative value) { + this.representative = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * </sequence> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CorporateBody"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "physicalPerson", + "corporateBody" + }) + public static class Mandator { + + @XmlElement(name = "PhysicalPerson", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#") + protected PhysicalPersonType physicalPerson; + @XmlElement(name = "CorporateBody", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#") + protected CorporateBodyType corporateBody; + + /** + * Gets the value of the physicalPerson property. + * + * @return + * possible object is + * {@link PhysicalPersonType } + * + */ + public PhysicalPersonType getPhysicalPerson() { + return physicalPerson; + } + + /** + * Sets the value of the physicalPerson property. + * + * @param value + * allowed object is + * {@link PhysicalPersonType } + * + */ + public void setPhysicalPerson(PhysicalPersonType value) { + this.physicalPerson = value; + } + + /** + * Gets the value of the corporateBody property. + * + * @return + * possible object is + * {@link CorporateBodyType } + * + */ + public CorporateBodyType getCorporateBody() { + return corporateBody; + } + + /** + * Sets the value of the corporateBody property. + * + * @param value + * allowed object is + * {@link CorporateBodyType } + * + */ + public void setCorporateBody(CorporateBodyType value) { + this.corporateBody = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "physicalPerson" + }) + public static class Representative { + + @XmlElement(name = "PhysicalPerson", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", required = true) + protected PhysicalPersonType physicalPerson; + + /** + * Gets the value of the physicalPerson property. + * + * @return + * possible object is + * {@link PhysicalPersonType } + * + */ + public PhysicalPersonType getPhysicalPerson() { + return physicalPerson; + } + + /** + * Sets the value of the physicalPerson property. + * + * @param value + * allowed object is + * {@link PhysicalPersonType } + * + */ + public void setPhysicalPerson(PhysicalPersonType value) { + this.physicalPerson = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/misstork/MisStorkResponse.java b/src/main/java/at/gv/util/xsd/misstork/MisStorkResponse.java new file mode 100644 index 0000000..4059843 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/misstork/MisStorkResponse.java @@ -0,0 +1,162 @@ + +package at.gv.util.xsd.misstork; + +import java.math.BigInteger; +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="MISMandateType" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element ref="{http://reference.e-government.gv.at/namespace/misstork/20131126/xsd}ReferenceValue"/> + * <element name="ERsBMandateType" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> + * </sequence> + * <sequence> + * <element name="Mandate" type="{http://www.w3.org/2001/XMLSchema}base64Binary" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "misMandateType", + "referenceValue", + "eRsBMandateType", + "mandate" +}) +@XmlRootElement(name = "MisStorkResponse") +public class MisStorkResponse { + + @XmlElement(name = "MISMandateType") + protected String misMandateType; + @XmlElement(name = "ReferenceValue") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String referenceValue; + @XmlElement(name = "ERsBMandateType") + protected BigInteger eRsBMandateType; + @XmlElement(name = "Mandate") + protected List<byte[]> mandate; + + /** + * Gets the value of the misMandateType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMISMandateType() { + return misMandateType; + } + + /** + * Sets the value of the misMandateType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMISMandateType(String value) { + this.misMandateType = value; + } + + /** + * Gets the value of the referenceValue property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReferenceValue() { + return referenceValue; + } + + /** + * Sets the value of the referenceValue property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReferenceValue(String value) { + this.referenceValue = value; + } + + /** + * Gets the value of the eRsBMandateType property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getERsBMandateType() { + return eRsBMandateType; + } + + /** + * Sets the value of the eRsBMandateType property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setERsBMandateType(BigInteger value) { + this.eRsBMandateType = value; + } + + /** + * Gets the value of the mandate property. + * + * <p> + * 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 <CODE>set</CODE> method for the mandate property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMandate().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * byte[] + * + */ + public List<byte[]> getMandate() { + if (mandate == null) { + mandate = new ArrayList<byte[]>(); + } + return this.mandate; + } + +} diff --git a/src/main/java/at/gv/util/xsd/misstork/ObjectFactory.java b/src/main/java/at/gv/util/xsd/misstork/ObjectFactory.java new file mode 100644 index 0000000..6cacbc4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/misstork/ObjectFactory.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.misstork; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.misstork package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _ReferenceValue_QNAME = new QName("http://reference.e-government.gv.at/namespace/misstork/20131126/xsd", "ReferenceValue"); + private final static QName _MandatorType_QNAME = new QName("http://reference.e-government.gv.at/namespace/misstork/20131126/xsd", "MandatorType"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.misstork + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link MisStorkRequest } + * + */ + public MisStorkRequest createMisStorkRequest() { + return new MisStorkRequest(); + } + + /** + * Create an instance of {@link MisStorkResponse } + * + */ + public MisStorkResponse createMisStorkResponse() { + return new MisStorkResponse(); + } + + /** + * Create an instance of {@link MisStorkError } + * + */ + public MisStorkError createMisStorkError() { + return new MisStorkError(); + } + + /** + * Create an instance of {@link MisStorkRequest.Mandator } + * + */ + public MisStorkRequest.Mandator createMisStorkRequestMandator() { + return new MisStorkRequest.Mandator(); + } + + /** + * Create an instance of {@link MisStorkRequest.Representative } + * + */ + public MisStorkRequest.Representative createMisStorkRequestRepresentative() { + return new MisStorkRequest.Representative(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/misstork/20131126/xsd", name = "ReferenceValue") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createReferenceValue(String value) { + return new JAXBElement<String>(_ReferenceValue_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/misstork/20131126/xsd", name = "MandatorType") + public JAXBElement<String> createMandatorType(String value) { + return new JAXBElement<String>(_MandatorType_QNAME, String.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/misstork/package-info.java b/src/main/java/at/gv/util/xsd/misstork/package-info.java new file mode 100644 index 0000000..f729eb3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/misstork/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/misstork/20131126/xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.misstork; diff --git a/src/main/java/at/gv/util/xsd/mms/GetMandatesRequest.java b/src/main/java/at/gv/util/xsd/mms/GetMandatesRequest.java new file mode 100644 index 0000000..9baf069 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mms/GetMandatesRequest.java @@ -0,0 +1,164 @@ + +package at.gv.util.xsd.mms; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ssPIN" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="MandateIdentifiers" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="MandateIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "ssPIN", + "mandateIdentifiers" +}) +@XmlRootElement(name = "GetMandatesRequest") +public class GetMandatesRequest { + + @XmlElement(required = true) + protected String ssPIN; + @XmlElement(name = "MandateIdentifiers") + protected GetMandatesRequest.MandateIdentifiers mandateIdentifiers; + + /** + * Gets the value of the ssPIN property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSsPIN() { + return ssPIN; + } + + /** + * Sets the value of the ssPIN property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSsPIN(String value) { + this.ssPIN = value; + } + + /** + * Gets the value of the mandateIdentifiers property. + * + * @return + * possible object is + * {@link GetMandatesRequest.MandateIdentifiers } + * + */ + public GetMandatesRequest.MandateIdentifiers getMandateIdentifiers() { + return mandateIdentifiers; + } + + /** + * Sets the value of the mandateIdentifiers property. + * + * @param value + * allowed object is + * {@link GetMandatesRequest.MandateIdentifiers } + * + */ + public void setMandateIdentifiers(GetMandatesRequest.MandateIdentifiers value) { + this.mandateIdentifiers = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="MandateIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mandateIdentifier" + }) + public static class MandateIdentifiers { + + @XmlElement(name = "MandateIdentifier", required = true) + protected List<String> mandateIdentifier; + + /** + * Gets the value of the mandateIdentifier property. + * + * <p> + * 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 <CODE>set</CODE> method for the mandateIdentifier property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMandateIdentifier().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getMandateIdentifier() { + if (mandateIdentifier == null) { + mandateIdentifier = new ArrayList<String>(); + } + return this.mandateIdentifier; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mms/GetMandatesResponse.java b/src/main/java/at/gv/util/xsd/mms/GetMandatesResponse.java new file mode 100644 index 0000000..03a236a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mms/GetMandatesResponse.java @@ -0,0 +1,291 @@ + +package at.gv.util.xsd.mms; + +import java.math.BigInteger; +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="ssPIN" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Mandates"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="Mandate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <sequence> + * <element name="ErrorResponse"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "ssPIN", + "mandates", + "errorResponse" +}) +@XmlRootElement(name = "GetMandatesResponse") +public class GetMandatesResponse { + + protected String ssPIN; + @XmlElement(name = "Mandates") + protected GetMandatesResponse.Mandates mandates; + @XmlElement(name = "ErrorResponse") + protected GetMandatesResponse.ErrorResponse errorResponse; + + /** + * Gets the value of the ssPIN property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSsPIN() { + return ssPIN; + } + + /** + * Sets the value of the ssPIN property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSsPIN(String value) { + this.ssPIN = value; + } + + /** + * Gets the value of the mandates property. + * + * @return + * possible object is + * {@link GetMandatesResponse.Mandates } + * + */ + public GetMandatesResponse.Mandates getMandates() { + return mandates; + } + + /** + * Sets the value of the mandates property. + * + * @param value + * allowed object is + * {@link GetMandatesResponse.Mandates } + * + */ + public void setMandates(GetMandatesResponse.Mandates value) { + this.mandates = value; + } + + /** + * Gets the value of the errorResponse property. + * + * @return + * possible object is + * {@link GetMandatesResponse.ErrorResponse } + * + */ + public GetMandatesResponse.ErrorResponse getErrorResponse() { + return errorResponse; + } + + /** + * Sets the value of the errorResponse property. + * + * @param value + * allowed object is + * {@link GetMandatesResponse.ErrorResponse } + * + */ + public void setErrorResponse(GetMandatesResponse.ErrorResponse value) { + this.errorResponse = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "code", + "info" + }) + public static class ErrorResponse { + + @XmlElement(name = "Code", required = true) + @XmlSchemaType(name = "positiveInteger") + protected BigInteger code; + @XmlElement(name = "Info", required = true) + protected String info; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfo(String value) { + this.info = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="Mandate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mandate" + }) + public static class Mandates { + + @XmlElement(name = "Mandate", required = true) + protected List<byte[]> mandate; + + /** + * Gets the value of the mandate property. + * + * <p> + * 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 <CODE>set</CODE> method for the mandate property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMandate().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * byte[] + * + */ + public List<byte[]> getMandate() { + if (mandate == null) { + mandate = new ArrayList<byte[]>(); + } + return this.mandate; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mms/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mms/ObjectFactory.java new file mode 100644 index 0000000..dbb7f62 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mms/ObjectFactory.java @@ -0,0 +1,72 @@ + +package at.gv.util.xsd.mms; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.mms package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mms + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link GetMandatesRequest } + * + */ + public GetMandatesRequest createGetMandatesRequest() { + return new GetMandatesRequest(); + } + + /** + * Create an instance of {@link GetMandatesRequest.MandateIdentifiers } + * + */ + public GetMandatesRequest.MandateIdentifiers createGetMandatesRequestMandateIdentifiers() { + return new GetMandatesRequest.MandateIdentifiers(); + } + + /** + * Create an instance of {@link GetMandatesResponse.ErrorResponse } + * + */ + public GetMandatesResponse.ErrorResponse createGetMandatesResponseErrorResponse() { + return new GetMandatesResponse.ErrorResponse(); + } + + /** + * Create an instance of {@link GetMandatesResponse.Mandates } + * + */ + public GetMandatesResponse.Mandates createGetMandatesResponseMandates() { + return new GetMandatesResponse.Mandates(); + } + + /** + * Create an instance of {@link GetMandatesResponse } + * + */ + public GetMandatesResponse createGetMandatesResponse() { + return new GetMandatesResponse(); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mms/package-info.java b/src/main/java/at/gv/util/xsd/mms/package-info.java new file mode 100644 index 0000000..a781218 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mms/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/mandates/mms/1.0/xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mms; diff --git a/src/main/java/at/gv/util/xsd/moaspss/AllSignatoriesType.java b/src/main/java/at/gv/util/xsd/moaspss/AllSignatoriesType.java new file mode 100644 index 0000000..47278c8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/AllSignatoriesType.java @@ -0,0 +1,48 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for AllSignatoriesType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="AllSignatoriesType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="all"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "AllSignatoriesType") +@XmlEnum +public enum AllSignatoriesType { + + @XmlEnumValue("all") + ALL("all"); + private final String value; + + AllSignatoriesType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static AllSignatoriesType fromValue(String v) { + for (AllSignatoriesType c: AllSignatoriesType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/AnyChildrenType.java b/src/main/java/at/gv/util/xsd/moaspss/AnyChildrenType.java new file mode 100644 index 0000000..84943f1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/AnyChildrenType.java @@ -0,0 +1,80 @@ + +package at.gv.util.xsd.moaspss; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for AnyChildrenType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AnyChildrenType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AnyChildrenType", propOrder = { + "content" +}) +@XmlSeeAlso({ + ReferencesCheckResultInfoType.class, + XMLContentType.class, + ManifestRefsCheckResultInfoType.class +}) +public class AnyChildrenType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/CMSContentBaseType.java b/src/main/java/at/gv/util/xsd/moaspss/CMSContentBaseType.java new file mode 100644 index 0000000..ee60f0c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/CMSContentBaseType.java @@ -0,0 +1,35 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CMSContentBaseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CMSContentBaseType"> + * <complexContent> + * <restriction base="{http://reference.e-government.gv.at/namespace/moa/20020822#}ContentOptionalRefType"> + * <choice minOccurs="0"> + * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CMSContentBaseType") +public class CMSContentBaseType + extends ContentOptionalRefType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/CMSDataObjectOptionalMetaType.java b/src/main/java/at/gv/util/xsd/moaspss/CMSDataObjectOptionalMetaType.java new file mode 100644 index 0000000..9bd6204 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/CMSDataObjectOptionalMetaType.java @@ -0,0 +1,90 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CMSDataObjectOptionalMetaType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CMSDataObjectOptionalMetaType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="MetaInfo" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}MetaInfoType" minOccurs="0"/> + * <element name="Content" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}CMSContentBaseType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CMSDataObjectOptionalMetaType", propOrder = { + "metaInfo", + "content" +}) +public class CMSDataObjectOptionalMetaType { + + @XmlElement(name = "MetaInfo") + protected MetaInfoType metaInfo; + @XmlElement(name = "Content", required = true) + protected CMSContentBaseType content; + + /** + * Gets the value of the metaInfo property. + * + * @return + * possible object is + * {@link MetaInfoType } + * + */ + public MetaInfoType getMetaInfo() { + return metaInfo; + } + + /** + * Sets the value of the metaInfo property. + * + * @param value + * allowed object is + * {@link MetaInfoType } + * + */ + public void setMetaInfo(MetaInfoType value) { + this.metaInfo = value; + } + + /** + * Gets the value of the content property. + * + * @return + * possible object is + * {@link CMSContentBaseType } + * + */ + public CMSContentBaseType getContent() { + return content; + } + + /** + * Sets the value of the content property. + * + * @param value + * allowed object is + * {@link CMSContentBaseType } + * + */ + public void setContent(CMSContentBaseType value) { + this.content = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/CheckResultType.java b/src/main/java/at/gv/util/xsd/moaspss/CheckResultType.java new file mode 100644 index 0000000..9240325 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/CheckResultType.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.moaspss; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CheckResultType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CheckResultType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/> + * <element name="Info" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}AnyChildrenType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CheckResultType", propOrder = { + "code", + "info" +}) +@XmlSeeAlso({ + ManifestRefsCheckResultType.class, + ReferencesCheckResultType.class +}) +public class CheckResultType { + + @XmlElement(name = "Code", required = true) + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger code; + @XmlElement(name = "Info") + protected AnyChildrenType info; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link AnyChildrenType } + * + */ + public AnyChildrenType getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link AnyChildrenType } + * + */ + public void setInfo(AnyChildrenType value) { + this.info = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/ContentBaseType.java b/src/main/java/at/gv/util/xsd/moaspss/ContentBaseType.java new file mode 100644 index 0000000..9089d53 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/ContentBaseType.java @@ -0,0 +1,123 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ContentBaseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ContentBaseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice minOccurs="0"> + * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="XMLContent" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}XMLContentType"/> + * <element name="LocRefContent" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ContentBaseType", propOrder = { + "base64Content", + "xmlContent", + "locRefContent" +}) +@XmlSeeAlso({ + ContentExLocRefBaseType.class, + ContentOptionalRefType.class +}) +public class ContentBaseType { + + @XmlElement(name = "Base64Content") + protected byte[] base64Content; + @XmlElement(name = "XMLContent") + protected XMLContentType xmlContent; + @XmlElement(name = "LocRefContent") + @XmlSchemaType(name = "anyURI") + protected String locRefContent; + + /** + * Gets the value of the base64Content property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getBase64Content() { + return base64Content; + } + + /** + * Sets the value of the base64Content property. + * + * @param value + * allowed object is + * byte[] + */ + public void setBase64Content(byte[] value) { + this.base64Content = ((byte[]) value); + } + + /** + * Gets the value of the xmlContent property. + * + * @return + * possible object is + * {@link XMLContentType } + * + */ + public XMLContentType getXMLContent() { + return xmlContent; + } + + /** + * Sets the value of the xmlContent property. + * + * @param value + * allowed object is + * {@link XMLContentType } + * + */ + public void setXMLContent(XMLContentType value) { + this.xmlContent = value; + } + + /** + * Gets the value of the locRefContent property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLocRefContent() { + return locRefContent; + } + + /** + * Sets the value of the locRefContent property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLocRefContent(String value) { + this.locRefContent = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/ContentExLocRefBaseType.java b/src/main/java/at/gv/util/xsd/moaspss/ContentExLocRefBaseType.java new file mode 100644 index 0000000..7533231 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/ContentExLocRefBaseType.java @@ -0,0 +1,40 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ContentExLocRefBaseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ContentExLocRefBaseType"> + * <complexContent> + * <restriction base="{http://reference.e-government.gv.at/namespace/moa/20020822#}ContentBaseType"> + * <choice minOccurs="0"> + * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="XMLContent" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}XMLContentType"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ContentExLocRefBaseType") +@XmlSeeAlso({ + InputDataType.class +}) +public class ContentExLocRefBaseType + extends ContentBaseType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/ContentOptionalRefType.java b/src/main/java/at/gv/util/xsd/moaspss/ContentOptionalRefType.java new file mode 100644 index 0000000..fb40e2f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/ContentOptionalRefType.java @@ -0,0 +1,68 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ContentOptionalRefType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ContentOptionalRefType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/moa/20020822#}ContentBaseType"> + * <attribute name="Reference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ContentOptionalRefType") +@XmlSeeAlso({ + CMSContentBaseType.class, + ContentRequiredRefType.class, + at.gv.util.xsd.moaspss.DataObjectInfoType.DataObject.class +}) +public class ContentOptionalRefType + extends ContentBaseType +{ + + @XmlAttribute(name = "Reference") + @XmlSchemaType(name = "anyURI") + protected String reference; + + /** + * Gets the value of the reference property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReference() { + return reference; + } + + /** + * Sets the value of the reference property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReference(String value) { + this.reference = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/ContentRequiredRefType.java b/src/main/java/at/gv/util/xsd/moaspss/ContentRequiredRefType.java new file mode 100644 index 0000000..fbc3967 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/ContentRequiredRefType.java @@ -0,0 +1,38 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ContentRequiredRefType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ContentRequiredRefType"> + * <complexContent> + * <restriction base="{http://reference.e-government.gv.at/namespace/moa/20020822#}ContentOptionalRefType"> + * <choice minOccurs="0"> + * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="XMLContent" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}XMLContentType"/> + * <element name="LocRefContent" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * </choice> + * <attribute name="Reference" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ContentRequiredRefType") +public class ContentRequiredRefType + extends ContentOptionalRefType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/CreateSignatureEnvironmentProfile.java b/src/main/java/at/gv/util/xsd/moaspss/CreateSignatureEnvironmentProfile.java new file mode 100644 index 0000000..44d6ebb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/CreateSignatureEnvironmentProfile.java @@ -0,0 +1,99 @@ + +package at.gv.util.xsd.moaspss; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="CreateSignatureLocation" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}CreateSignatureLocationType"/> + * <element name="Supplement" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}XMLDataObjectAssociationType" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "createSignatureLocation", + "supplement" +}) +@XmlRootElement(name = "CreateSignatureEnvironmentProfile") +public class CreateSignatureEnvironmentProfile { + + @XmlElement(name = "CreateSignatureLocation", required = true) + protected CreateSignatureLocationType createSignatureLocation; + @XmlElement(name = "Supplement") + protected List<XMLDataObjectAssociationType> supplement; + + /** + * Gets the value of the createSignatureLocation property. + * + * @return + * possible object is + * {@link CreateSignatureLocationType } + * + */ + public CreateSignatureLocationType getCreateSignatureLocation() { + return createSignatureLocation; + } + + /** + * Sets the value of the createSignatureLocation property. + * + * @param value + * allowed object is + * {@link CreateSignatureLocationType } + * + */ + public void setCreateSignatureLocation(CreateSignatureLocationType value) { + this.createSignatureLocation = value; + } + + /** + * Gets the value of the supplement property. + * + * <p> + * 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 <CODE>set</CODE> method for the supplement property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSupplement().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link XMLDataObjectAssociationType } + * + * + */ + public List<XMLDataObjectAssociationType> getSupplement() { + if (supplement == null) { + supplement = new ArrayList<XMLDataObjectAssociationType>(); + } + return this.supplement; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/CreateSignatureLocationType.java b/src/main/java/at/gv/util/xsd/moaspss/CreateSignatureLocationType.java new file mode 100644 index 0000000..99189c3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/CreateSignatureLocationType.java @@ -0,0 +1,93 @@ + +package at.gv.util.xsd.moaspss; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for CreateSignatureLocationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CreateSignatureLocationType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>token"> + * <attribute name="Index" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CreateSignatureLocationType", propOrder = { + "value" +}) +public class CreateSignatureLocationType { + + @XmlValue + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String value; + @XmlAttribute(name = "Index", required = true) + protected BigInteger index; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the index property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getIndex() { + return index; + } + + /** + * Sets the value of the index property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setIndex(BigInteger value) { + this.index = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/CreateTransformsInfoProfile.java b/src/main/java/at/gv/util/xsd/moaspss/CreateTransformsInfoProfile.java new file mode 100644 index 0000000..736988d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/CreateTransformsInfoProfile.java @@ -0,0 +1,99 @@ + +package at.gv.util.xsd.moaspss; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="CreateTransformsInfo" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}TransformsInfoType"/> + * <element ref="{http://reference.e-government.gv.at/namespace/moa/20020822#}Supplement" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "createTransformsInfo", + "supplement" +}) +@XmlRootElement(name = "CreateTransformsInfoProfile") +public class CreateTransformsInfoProfile { + + @XmlElement(name = "CreateTransformsInfo", required = true) + protected TransformsInfoType createTransformsInfo; + @XmlElement(name = "Supplement") + protected List<XMLDataObjectAssociationType> supplement; + + /** + * Gets the value of the createTransformsInfo property. + * + * @return + * possible object is + * {@link TransformsInfoType } + * + */ + public TransformsInfoType getCreateTransformsInfo() { + return createTransformsInfo; + } + + /** + * Sets the value of the createTransformsInfo property. + * + * @param value + * allowed object is + * {@link TransformsInfoType } + * + */ + public void setCreateTransformsInfo(TransformsInfoType value) { + this.createTransformsInfo = value; + } + + /** + * Gets the value of the supplement property. + * + * <p> + * 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 <CODE>set</CODE> method for the supplement property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSupplement().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link XMLDataObjectAssociationType } + * + * + */ + public List<XMLDataObjectAssociationType> getSupplement() { + if (supplement == null) { + supplement = new ArrayList<XMLDataObjectAssociationType>(); + } + return this.supplement; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/CreateXMLSignatureRequest.java b/src/main/java/at/gv/util/xsd/moaspss/CreateXMLSignatureRequest.java new file mode 100644 index 0000000..ed5f54f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/CreateXMLSignatureRequest.java @@ -0,0 +1,34 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/moa/20020822#}CreateXMLSignatureRequestType"> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "CreateXMLSignatureRequest") +public class CreateXMLSignatureRequest + extends CreateXMLSignatureRequestType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/CreateXMLSignatureRequestType.java b/src/main/java/at/gv/util/xsd/moaspss/CreateXMLSignatureRequestType.java new file mode 100644 index 0000000..5a0cf5e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/CreateXMLSignatureRequestType.java @@ -0,0 +1,450 @@ + +package at.gv.util.xsd.moaspss; + +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; + + +/** + * <p>Java class for CreateXMLSignatureRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <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> + * </pre> + * + * + */ +@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<CreateXMLSignatureRequestType.SingleSignatureInfo> 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. + * + * <p> + * 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 <CODE>set</CODE> method for the singleSignatureInfo property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSingleSignatureInfo().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link CreateXMLSignatureRequestType.SingleSignatureInfo } + * + * + */ + public List<CreateXMLSignatureRequestType.SingleSignatureInfo> getSingleSignatureInfo() { + if (singleSignatureInfo == null) { + singleSignatureInfo = new ArrayList<CreateXMLSignatureRequestType.SingleSignatureInfo>(); + } + return this.singleSignatureInfo; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <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> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "dataObjectInfo", + "createSignatureInfo" + }) + public static class SingleSignatureInfo { + + @XmlElement(name = "DataObjectInfo", required = true) + protected List<CreateXMLSignatureRequestType.SingleSignatureInfo.DataObjectInfo> dataObjectInfo; + @XmlElement(name = "CreateSignatureInfo") + protected CreateXMLSignatureRequestType.SingleSignatureInfo.CreateSignatureInfo createSignatureInfo; + @XmlAttribute(name = "SecurityLayerConformity") + protected Boolean securityLayerConformity; + + /** + * Gets the value of the dataObjectInfo property. + * + * <p> + * 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 <CODE>set</CODE> method for the dataObjectInfo property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getDataObjectInfo().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link CreateXMLSignatureRequestType.SingleSignatureInfo.DataObjectInfo } + * + * + */ + public List<CreateXMLSignatureRequestType.SingleSignatureInfo.DataObjectInfo> getDataObjectInfo() { + if (dataObjectInfo == null) { + dataObjectInfo = new ArrayList<CreateXMLSignatureRequestType.SingleSignatureInfo.DataObjectInfo>(); + } + 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; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <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> + * </pre> + * + * + */ + @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; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <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> + * </pre> + * + * + */ + @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; + } + + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/CreateXMLSignatureResponseType.java b/src/main/java/at/gv/util/xsd/moaspss/CreateXMLSignatureResponseType.java new file mode 100644 index 0000000..972b64e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/CreateXMLSignatureResponseType.java @@ -0,0 +1,144 @@ + +package at.gv.util.xsd.moaspss; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlElements; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for CreateXMLSignatureResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CreateXMLSignatureResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <element name="SignatureEnvironment"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element ref="{http://reference.e-government.gv.at/namespace/moa/20020822#}ErrorResponse"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CreateXMLSignatureResponseType", propOrder = { + "signatureEnvironmentOrErrorResponse" +}) +public class CreateXMLSignatureResponseType { + + @XmlElements({ + @XmlElement(name = "ErrorResponse", type = ErrorResponseType.class), + @XmlElement(name = "SignatureEnvironment", type = CreateXMLSignatureResponseType.SignatureEnvironment.class) + }) + protected List<Object> signatureEnvironmentOrErrorResponse; + + /** + * Gets the value of the signatureEnvironmentOrErrorResponse property. + * + * <p> + * 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 <CODE>set</CODE> method for the signatureEnvironmentOrErrorResponse property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSignatureEnvironmentOrErrorResponse().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ErrorResponseType } + * {@link CreateXMLSignatureResponseType.SignatureEnvironment } + * + * + */ + public List<Object> getSignatureEnvironmentOrErrorResponse() { + if (signatureEnvironmentOrErrorResponse == null) { + signatureEnvironmentOrErrorResponse = new ArrayList<Object>(); + } + return this.signatureEnvironmentOrErrorResponse; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class SignatureEnvironment { + + @XmlAnyElement(lax = true) + protected Object any; + + /** + * Gets the value of the any property. + * + * @return + * possible object is + * {@link Element } + * {@link Object } + * + */ + public Object getAny() { + return any; + } + + /** + * Sets the value of the any property. + * + * @param value + * allowed object is + * {@link Element } + * {@link Object } + * + */ + public void setAny(Object value) { + this.any = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/DataObjectInfoType.java b/src/main/java/at/gv/util/xsd/moaspss/DataObjectInfoType.java new file mode 100644 index 0000000..da97f75 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/DataObjectInfoType.java @@ -0,0 +1,195 @@ + +package at.gv.util.xsd.moaspss; + +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; + + +/** + * <p>Java class for DataObjectInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DataObjectInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DataObject"> + * <complexType> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/moa/20020822#}ContentOptionalRefType"> + * </extension> + * </complexContent> + * </complexType> + * </element> + * <choice> + * <element ref="{http://reference.e-government.gv.at/namespace/moa/20020822#}CreateTransformsInfoProfile"/> + * <element name="CreateTransformsInfoProfileID" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}ProfileIdentifierType"/> + * </choice> + * </sequence> + * <attribute name="Structure" use="required"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="detached"/> + * <enumeration value="enveloping"/> + * </restriction> + * </simpleType> + * </attribute> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DataObjectInfoType", propOrder = { + "dataObject", + "createTransformsInfoProfile", + "createTransformsInfoProfileID" +}) +@XmlSeeAlso({ + at.gv.util.xsd.moaspss.CreateXMLSignatureRequestType.SingleSignatureInfo.DataObjectInfo.class +}) +public class DataObjectInfoType { + + @XmlElement(name = "DataObject", required = true) + protected DataObjectInfoType.DataObject dataObject; + @XmlElement(name = "CreateTransformsInfoProfile") + protected CreateTransformsInfoProfile createTransformsInfoProfile; + @XmlElement(name = "CreateTransformsInfoProfileID") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String createTransformsInfoProfileID; + @XmlAttribute(name = "Structure", required = true) + protected String structure; + + /** + * Gets the value of the dataObject property. + * + * @return + * possible object is + * {@link DataObjectInfoType.DataObject } + * + */ + public DataObjectInfoType.DataObject getDataObject() { + return dataObject; + } + + /** + * Sets the value of the dataObject property. + * + * @param value + * allowed object is + * {@link DataObjectInfoType.DataObject } + * + */ + public void setDataObject(DataObjectInfoType.DataObject value) { + this.dataObject = value; + } + + /** + * Gets the value of the createTransformsInfoProfile property. + * + * @return + * possible object is + * {@link CreateTransformsInfoProfile } + * + */ + public CreateTransformsInfoProfile getCreateTransformsInfoProfile() { + return createTransformsInfoProfile; + } + + /** + * Sets the value of the createTransformsInfoProfile property. + * + * @param value + * allowed object is + * {@link CreateTransformsInfoProfile } + * + */ + public void setCreateTransformsInfoProfile(CreateTransformsInfoProfile value) { + this.createTransformsInfoProfile = value; + } + + /** + * Gets the value of the createTransformsInfoProfileID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCreateTransformsInfoProfileID() { + return createTransformsInfoProfileID; + } + + /** + * Sets the value of the createTransformsInfoProfileID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCreateTransformsInfoProfileID(String value) { + this.createTransformsInfoProfileID = value; + } + + /** + * Gets the value of the structure property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStructure() { + return structure; + } + + /** + * Sets the value of the structure property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStructure(String value) { + this.structure = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/moa/20020822#}ContentOptionalRefType"> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class DataObject + extends ContentOptionalRefType + { + + + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/ErrorResponseType.java b/src/main/java/at/gv/util/xsd/moaspss/ErrorResponseType.java new file mode 100644 index 0000000..08e644f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/ErrorResponseType.java @@ -0,0 +1,91 @@ + +package at.gv.util.xsd.moaspss; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ErrorResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ErrorResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ErrorResponseType", propOrder = { + "errorCode", + "info" +}) +public class ErrorResponseType { + + @XmlElement(name = "ErrorCode", required = true) + protected BigInteger errorCode; + @XmlElement(name = "Info", required = true) + protected String info; + + /** + * Gets the value of the errorCode property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getErrorCode() { + return errorCode; + } + + /** + * Sets the value of the errorCode property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setErrorCode(BigInteger value) { + this.errorCode = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfo(String value) { + this.info = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/FinalDataMetaInfoType.java b/src/main/java/at/gv/util/xsd/moaspss/FinalDataMetaInfoType.java new file mode 100644 index 0000000..6b41bd2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/FinalDataMetaInfoType.java @@ -0,0 +1,66 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for FinalDataMetaInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FinalDataMetaInfoType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/moa/20020822#}MetaInfoType"> + * <sequence> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FinalDataMetaInfoType", propOrder = { + "type" +}) +public class FinalDataMetaInfoType + extends MetaInfoType +{ + + @XmlElement(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/InputDataType.java b/src/main/java/at/gv/util/xsd/moaspss/InputDataType.java new file mode 100644 index 0000000..27f3c14 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/InputDataType.java @@ -0,0 +1,104 @@ + +package at.gv.util.xsd.moaspss; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +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; + + +/** + * <p>Java class for InputDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InputDataType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/moa/20020822#}ContentExLocRefBaseType"> + * <attribute name="PartOf" default="SignedInfo"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> + * <enumeration value="SignedInfo"/> + * <enumeration value="XMLDSIGManifest"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="ReferringSigReference" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InputDataType") +public class InputDataType + extends ContentExLocRefBaseType +{ + + @XmlAttribute(name = "PartOf") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String partOf; + @XmlAttribute(name = "ReferringSigReference") + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger referringSigReference; + + /** + * Gets the value of the partOf property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPartOf() { + if (partOf == null) { + return "SignedInfo"; + } else { + return partOf; + } + } + + /** + * Sets the value of the partOf property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPartOf(String value) { + this.partOf = value; + } + + /** + * Gets the value of the referringSigReference property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getReferringSigReference() { + return referringSigReference; + } + + /** + * Sets the value of the referringSigReference property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setReferringSigReference(BigInteger value) { + this.referringSigReference = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/KeyStorageType.java b/src/main/java/at/gv/util/xsd/moaspss/KeyStorageType.java new file mode 100644 index 0000000..39cd4ed --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/KeyStorageType.java @@ -0,0 +1,51 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for KeyStorageType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="KeyStorageType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="Software"/> + * <enumeration value="Hardware"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "KeyStorageType") +@XmlEnum +public enum KeyStorageType { + + @XmlEnumValue("Software") + SOFTWARE("Software"), + @XmlEnumValue("Hardware") + HARDWARE("Hardware"); + private final String value; + + KeyStorageType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static KeyStorageType fromValue(String v) { + for (KeyStorageType c: KeyStorageType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/ManifestRefsCheckResultInfoType.java b/src/main/java/at/gv/util/xsd/moaspss/ManifestRefsCheckResultInfoType.java new file mode 100644 index 0000000..94a1e9b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/ManifestRefsCheckResultInfoType.java @@ -0,0 +1,37 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ManifestRefsCheckResultInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ManifestRefsCheckResultInfoType"> + * <complexContent> + * <restriction base="{http://reference.e-government.gv.at/namespace/moa/20020822#}AnyChildrenType"> + * <sequence> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * <element name="FailedReference" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" maxOccurs="unbounded" minOccurs="0"/> + * <element name="ReferringSigReference" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ManifestRefsCheckResultInfoType") +public class ManifestRefsCheckResultInfoType + extends AnyChildrenType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/ManifestRefsCheckResultType.java b/src/main/java/at/gv/util/xsd/moaspss/ManifestRefsCheckResultType.java new file mode 100644 index 0000000..9d95616 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/ManifestRefsCheckResultType.java @@ -0,0 +1,36 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ManifestRefsCheckResultType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ManifestRefsCheckResultType"> + * <complexContent> + * <restriction base="{http://reference.e-government.gv.at/namespace/moa/20020822#}CheckResultType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/> + * <element name="Info" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}ManifestRefsCheckResultInfoType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ManifestRefsCheckResultType") +public class ManifestRefsCheckResultType + extends CheckResultType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/MetaInfoType.java b/src/main/java/at/gv/util/xsd/moaspss/MetaInfoType.java new file mode 100644 index 0000000..492780c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/MetaInfoType.java @@ -0,0 +1,135 @@ + +package at.gv.util.xsd.moaspss; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +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; + + +/** + * <p>Java class for MetaInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="MetaInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="MimeType" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}MimeTypeType"/> + * <element name="Description" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "MetaInfoType", propOrder = { + "mimeType", + "description", + "any" +}) +@XmlSeeAlso({ + FinalDataMetaInfoType.class +}) +public class MetaInfoType { + + @XmlElement(name = "MimeType", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String mimeType; + @XmlElement(name = "Description") + @XmlSchemaType(name = "anyURI") + protected String description; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the mimeType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMimeType() { + return mimeType; + } + + /** + * Sets the value of the mimeType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMimeType(String value) { + this.mimeType = value; + } + + /** + * Gets the value of the description property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDescription() { + return description; + } + + /** + * Sets the value of the description property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDescription(String value) { + this.description = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/ObjectFactory.java b/src/main/java/at/gv/util/xsd/moaspss/ObjectFactory.java new file mode 100644 index 0000000..3825695 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/ObjectFactory.java @@ -0,0 +1,501 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + +import at.gv.util.xsd.xmldsig.KeyInfoType; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.zustellung.util.xsd.moaspss package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _CreateXMLSignatureResponse_QNAME = new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "CreateXMLSignatureResponse"); + private final static QName _VerifyCMSSignatureResponse_QNAME = new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "VerifyCMSSignatureResponse"); + private final static QName _SupplementProfile_QNAME = new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "SupplementProfile"); + private final static QName _PublicAuthority_QNAME = new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "PublicAuthority"); + private final static QName _QualifiedCertificate_QNAME = new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "QualifiedCertificate"); + private final static QName _VerifyXMLSignatureRequest_QNAME = new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "VerifyXMLSignatureRequest"); + private final static QName _ErrorResponse_QNAME = new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "ErrorResponse"); + private final static QName _VerifyXMLSignatureResponse_QNAME = new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "VerifyXMLSignatureResponse"); + private final static QName _Supplement_QNAME = new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "Supplement"); + private final static QName _VerifyCMSSignatureResponseTypeSignerInfo_QNAME = new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "SignerInfo"); + private final static QName _VerifyCMSSignatureResponseTypeCertificateCheck_QNAME = new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "CertificateCheck"); + private final static QName _VerifyCMSSignatureResponseTypeSignatureCheck_QNAME = new QName("http://reference.e-government.gv.at/namespace/moa/20020822#", "SignatureCheck"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.zustellung.util.xsd.moaspss + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link InputDataType } + * + */ + public InputDataType createInputDataType() { + return new InputDataType(); + } + + /** + * Create an instance of {@link ManifestRefsCheckResultType } + * + */ + public ManifestRefsCheckResultType createManifestRefsCheckResultType() { + return new ManifestRefsCheckResultType(); + } + + /** + * Create an instance of {@link VerifyXMLSignatureRequestType } + * + */ + public VerifyXMLSignatureRequestType createVerifyXMLSignatureRequestType() { + return new VerifyXMLSignatureRequestType(); + } + + /** + * Create an instance of {@link CheckResultType } + * + */ + public CheckResultType createCheckResultType() { + return new CheckResultType(); + } + + /** + * Create an instance of {@link TransformParameterType.Hash } + * + */ + public TransformParameterType.Hash createTransformParameterTypeHash() { + return new TransformParameterType.Hash(); + } + + /** + * Create an instance of {@link ContentExLocRefBaseType } + * + */ + public ContentExLocRefBaseType createContentExLocRefBaseType() { + return new ContentExLocRefBaseType(); + } + + /** + * Create an instance of {@link CMSDataObjectOptionalMetaType } + * + */ + public CMSDataObjectOptionalMetaType createCMSDataObjectOptionalMetaType() { + return new CMSDataObjectOptionalMetaType(); + } + + /** + * Create an instance of {@link CreateXMLSignatureRequest } + * + */ + public CreateXMLSignatureRequest createCreateXMLSignatureRequest() { + return new CreateXMLSignatureRequest(); + } + + /** + * Create an instance of {@link ContentBaseType } + * + */ + public ContentBaseType createContentBaseType() { + return new ContentBaseType(); + } + + /** + * Create an instance of {@link CreateXMLSignatureRequestType.SingleSignatureInfo.CreateSignatureInfo } + * + */ + public CreateXMLSignatureRequestType.SingleSignatureInfo.CreateSignatureInfo createCreateXMLSignatureRequestTypeSingleSignatureInfoCreateSignatureInfo() { + return new CreateXMLSignatureRequestType.SingleSignatureInfo.CreateSignatureInfo(); + } + + /** + * Create an instance of {@link TransformsInfoType } + * + */ + public TransformsInfoType createTransformsInfoType() { + return new TransformsInfoType(); + } + + /** + * Create an instance of {@link TransformParameterType } + * + */ + public TransformParameterType createTransformParameterType() { + return new TransformParameterType(); + } + + /** + * Create an instance of {@link CreateXMLSignatureResponseType } + * + */ + public CreateXMLSignatureResponseType createCreateXMLSignatureResponseType() { + return new CreateXMLSignatureResponseType(); + } + + /** + * Create an instance of {@link CreateXMLSignatureResponseType.SignatureEnvironment } + * + */ + public CreateXMLSignatureResponseType.SignatureEnvironment createCreateXMLSignatureResponseTypeSignatureEnvironment() { + return new CreateXMLSignatureResponseType.SignatureEnvironment(); + } + + /** + * Create an instance of {@link CMSContentBaseType } + * + */ + public CMSContentBaseType createCMSContentBaseType() { + return new CMSContentBaseType(); + } + + /** + * Create an instance of {@link VerifyCMSSignatureRequestType } + * + */ + public VerifyCMSSignatureRequestType createVerifyCMSSignatureRequestType() { + return new VerifyCMSSignatureRequestType(); + } + + /** + * Create an instance of {@link PublicAuthorityType } + * + */ + public PublicAuthorityType createPublicAuthorityType() { + return new PublicAuthorityType(); + } + + /** + * Create an instance of {@link DataObjectInfoType } + * + */ + public DataObjectInfoType createDataObjectInfoType() { + return new DataObjectInfoType(); + } + + /** + * Create an instance of {@link VerifyXMLSignatureRequestType.SignatureManifestCheckParams } + * + */ + public VerifyXMLSignatureRequestType.SignatureManifestCheckParams createVerifyXMLSignatureRequestTypeSignatureManifestCheckParams() { + return new VerifyXMLSignatureRequestType.SignatureManifestCheckParams(); + } + + /** + * Create an instance of {@link VerifyTransformsInfoProfile } + * + */ + public VerifyTransformsInfoProfile createVerifyTransformsInfoProfile() { + return new VerifyTransformsInfoProfile(); + } + + /** + * Create an instance of {@link VerifyXMLSignatureResponseType } + * + */ + public VerifyXMLSignatureResponseType createVerifyXMLSignatureResponseType() { + return new VerifyXMLSignatureResponseType(); + } + + /** + * Create an instance of {@link DataObjectInfoType.DataObject } + * + */ + public DataObjectInfoType.DataObject createDataObjectInfoTypeDataObject() { + return new DataObjectInfoType.DataObject(); + } + + /** + * Create an instance of {@link CreateXMLSignatureRequestType.SingleSignatureInfo.DataObjectInfo } + * + */ + public CreateXMLSignatureRequestType.SingleSignatureInfo.DataObjectInfo createCreateXMLSignatureRequestTypeSingleSignatureInfoDataObjectInfo() { + return new CreateXMLSignatureRequestType.SingleSignatureInfo.DataObjectInfo(); + } + + /** + * Create an instance of {@link VerifyXMLSignatureRequestType.VerifySignatureInfo } + * + */ + public VerifyXMLSignatureRequestType.VerifySignatureInfo createVerifyXMLSignatureRequestTypeVerifySignatureInfo() { + return new VerifyXMLSignatureRequestType.VerifySignatureInfo(); + } + + /** + * Create an instance of {@link FinalDataMetaInfoType } + * + */ + public FinalDataMetaInfoType createFinalDataMetaInfoType() { + return new FinalDataMetaInfoType(); + } + + /** + * Create an instance of {@link CreateSignatureEnvironmentProfile } + * + */ + public CreateSignatureEnvironmentProfile createCreateSignatureEnvironmentProfile() { + return new CreateSignatureEnvironmentProfile(); + } + + /** + * Create an instance of {@link ReferencesCheckResultInfoType } + * + */ + public ReferencesCheckResultInfoType createReferencesCheckResultInfoType() { + return new ReferencesCheckResultInfoType(); + } + + /** + * Create an instance of {@link CreateXMLSignatureRequestType } + * + */ + public CreateXMLSignatureRequestType createCreateXMLSignatureRequestType() { + return new CreateXMLSignatureRequestType(); + } + + /** + * Create an instance of {@link ContentOptionalRefType } + * + */ + public ContentOptionalRefType createContentOptionalRefType() { + return new ContentOptionalRefType(); + } + + /** + * Create an instance of {@link ErrorResponseType } + * + */ + public ErrorResponseType createErrorResponseType() { + return new ErrorResponseType(); + } + + /** + * Create an instance of {@link AnyChildrenType } + * + */ + public AnyChildrenType createAnyChildrenType() { + return new AnyChildrenType(); + } + + /** + * Create an instance of {@link CreateTransformsInfoProfile } + * + */ + public CreateTransformsInfoProfile createCreateTransformsInfoProfile() { + return new CreateTransformsInfoProfile(); + } + + /** + * Create an instance of {@link MetaInfoType } + * + */ + public MetaInfoType createMetaInfoType() { + return new MetaInfoType(); + } + + /** + * Create an instance of {@link CreateXMLSignatureRequestType.SingleSignatureInfo } + * + */ + public CreateXMLSignatureRequestType.SingleSignatureInfo createCreateXMLSignatureRequestTypeSingleSignatureInfo() { + return new CreateXMLSignatureRequestType.SingleSignatureInfo(); + } + + /** + * Create an instance of {@link ContentRequiredRefType } + * + */ + public ContentRequiredRefType createContentRequiredRefType() { + return new ContentRequiredRefType(); + } + + /** + * Create an instance of {@link VerifyTransformsDataType } + * + */ + public VerifyTransformsDataType createVerifyTransformsDataType() { + return new VerifyTransformsDataType(); + } + + /** + * Create an instance of {@link ReferencesCheckResultType } + * + */ + public ReferencesCheckResultType createReferencesCheckResultType() { + return new ReferencesCheckResultType(); + } + + /** + * Create an instance of {@link XMLDataObjectAssociationType } + * + */ + public XMLDataObjectAssociationType createXMLDataObjectAssociationType() { + return new XMLDataObjectAssociationType(); + } + + /** + * Create an instance of {@link VerifyCMSSignatureResponseType } + * + */ + public VerifyCMSSignatureResponseType createVerifyCMSSignatureResponseType() { + return new VerifyCMSSignatureResponseType(); + } + + /** + * Create an instance of {@link CreateSignatureLocationType } + * + */ + public CreateSignatureLocationType createCreateSignatureLocationType() { + return new CreateSignatureLocationType(); + } + + /** + * Create an instance of {@link XMLContentType } + * + */ + public XMLContentType createXMLContentType() { + return new XMLContentType(); + } + + /** + * Create an instance of {@link ManifestRefsCheckResultInfoType } + * + */ + public ManifestRefsCheckResultInfoType createManifestRefsCheckResultInfoType() { + return new ManifestRefsCheckResultInfoType(); + } + + /** + * Create an instance of {@link VerifyCMSSignatureRequest } + * + */ + public VerifyCMSSignatureRequest createVerifyCMSSignatureRequest() { + return new VerifyCMSSignatureRequest(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CreateXMLSignatureResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", name = "CreateXMLSignatureResponse") + public JAXBElement<CreateXMLSignatureResponseType> createCreateXMLSignatureResponse(CreateXMLSignatureResponseType value) { + return new JAXBElement<CreateXMLSignatureResponseType>(_CreateXMLSignatureResponse_QNAME, CreateXMLSignatureResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VerifyCMSSignatureResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", name = "VerifyCMSSignatureResponse") + public JAXBElement<VerifyCMSSignatureResponseType> createVerifyCMSSignatureResponse(VerifyCMSSignatureResponseType value) { + return new JAXBElement<VerifyCMSSignatureResponseType>(_VerifyCMSSignatureResponse_QNAME, VerifyCMSSignatureResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLDataObjectAssociationType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", name = "SupplementProfile") + public JAXBElement<XMLDataObjectAssociationType> createSupplementProfile(XMLDataObjectAssociationType value) { + return new JAXBElement<XMLDataObjectAssociationType>(_SupplementProfile_QNAME, XMLDataObjectAssociationType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PublicAuthorityType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", name = "PublicAuthority") + public JAXBElement<PublicAuthorityType> createPublicAuthority(PublicAuthorityType value) { + return new JAXBElement<PublicAuthorityType>(_PublicAuthority_QNAME, PublicAuthorityType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", name = "QualifiedCertificate") + public JAXBElement<Object> createQualifiedCertificate(Object value) { + return new JAXBElement<Object>(_QualifiedCertificate_QNAME, Object.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VerifyXMLSignatureRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", name = "VerifyXMLSignatureRequest") + public JAXBElement<VerifyXMLSignatureRequestType> createVerifyXMLSignatureRequest(VerifyXMLSignatureRequestType value) { + return new JAXBElement<VerifyXMLSignatureRequestType>(_VerifyXMLSignatureRequest_QNAME, VerifyXMLSignatureRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ErrorResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", name = "ErrorResponse") + public JAXBElement<ErrorResponseType> createErrorResponse(ErrorResponseType value) { + return new JAXBElement<ErrorResponseType>(_ErrorResponse_QNAME, ErrorResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VerifyXMLSignatureResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", name = "VerifyXMLSignatureResponse") + public JAXBElement<VerifyXMLSignatureResponseType> createVerifyXMLSignatureResponse(VerifyXMLSignatureResponseType value) { + return new JAXBElement<VerifyXMLSignatureResponseType>(_VerifyXMLSignatureResponse_QNAME, VerifyXMLSignatureResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLDataObjectAssociationType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", name = "Supplement") + public JAXBElement<XMLDataObjectAssociationType> createSupplement(XMLDataObjectAssociationType value) { + return new JAXBElement<XMLDataObjectAssociationType>(_Supplement_QNAME, XMLDataObjectAssociationType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", name = "SignerInfo", scope = VerifyCMSSignatureResponseType.class) + public JAXBElement<KeyInfoType> createVerifyCMSSignatureResponseTypeSignerInfo(KeyInfoType value) { + return new JAXBElement<KeyInfoType>(_VerifyCMSSignatureResponseTypeSignerInfo_QNAME, KeyInfoType.class, VerifyCMSSignatureResponseType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CheckResultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", name = "CertificateCheck", scope = VerifyCMSSignatureResponseType.class) + public JAXBElement<CheckResultType> createVerifyCMSSignatureResponseTypeCertificateCheck(CheckResultType value) { + return new JAXBElement<CheckResultType>(_VerifyCMSSignatureResponseTypeCertificateCheck_QNAME, CheckResultType.class, VerifyCMSSignatureResponseType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CheckResultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", name = "SignatureCheck", scope = VerifyCMSSignatureResponseType.class) + public JAXBElement<CheckResultType> createVerifyCMSSignatureResponseTypeSignatureCheck(CheckResultType value) { + return new JAXBElement<CheckResultType>(_VerifyCMSSignatureResponseTypeSignatureCheck_QNAME, CheckResultType.class, VerifyCMSSignatureResponseType.class, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/PublicAuthorityType.java b/src/main/java/at/gv/util/xsd/moaspss/PublicAuthorityType.java new file mode 100644 index 0000000..12e20c4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/PublicAuthorityType.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for PublicAuthorityType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PublicAuthorityType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PublicAuthorityType", propOrder = { + "code" +}) +public class PublicAuthorityType { + + @XmlElement(name = "Code") + protected String code; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCode(String value) { + this.code = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/ReferencesCheckResultInfoType.java b/src/main/java/at/gv/util/xsd/moaspss/ReferencesCheckResultInfoType.java new file mode 100644 index 0000000..8673241 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/ReferencesCheckResultInfoType.java @@ -0,0 +1,36 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ReferencesCheckResultInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ReferencesCheckResultInfoType"> + * <complexContent> + * <restriction base="{http://reference.e-government.gv.at/namespace/moa/20020822#}AnyChildrenType"> + * <sequence> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * <element name="FailedReference" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferencesCheckResultInfoType") +public class ReferencesCheckResultInfoType + extends AnyChildrenType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/ReferencesCheckResultType.java b/src/main/java/at/gv/util/xsd/moaspss/ReferencesCheckResultType.java new file mode 100644 index 0000000..4ea8f43 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/ReferencesCheckResultType.java @@ -0,0 +1,36 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ReferencesCheckResultType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ReferencesCheckResultType"> + * <complexContent> + * <restriction base="{http://reference.e-government.gv.at/namespace/moa/20020822#}CheckResultType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/> + * <element name="Info" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}ReferencesCheckResultInfoType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferencesCheckResultType") +public class ReferencesCheckResultType + extends CheckResultType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/TransformParameterType.java b/src/main/java/at/gv/util/xsd/moaspss/TransformParameterType.java new file mode 100644 index 0000000..36c8d1b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/TransformParameterType.java @@ -0,0 +1,214 @@ + +package at.gv.util.xsd.moaspss; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + +import at.gv.util.xsd.xmldsig.DigestMethodType; + + +/** + * <p>Java class for TransformParameterType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TransformParameterType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice minOccurs="0"> + * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="Hash"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestValue"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </choice> + * <attribute name="URI" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformParameterType", propOrder = { + "base64Content", + "hash" +}) +public class TransformParameterType { + + @XmlElement(name = "Base64Content") + protected byte[] base64Content; + @XmlElement(name = "Hash") + protected TransformParameterType.Hash hash; + @XmlAttribute(name = "URI", required = true) + @XmlSchemaType(name = "anyURI") + protected String uri; + + /** + * Gets the value of the base64Content property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getBase64Content() { + return base64Content; + } + + /** + * Sets the value of the base64Content property. + * + * @param value + * allowed object is + * byte[] + */ + public void setBase64Content(byte[] value) { + this.base64Content = ((byte[]) value); + } + + /** + * Gets the value of the hash property. + * + * @return + * possible object is + * {@link TransformParameterType.Hash } + * + */ + public TransformParameterType.Hash getHash() { + return hash; + } + + /** + * Sets the value of the hash property. + * + * @param value + * allowed object is + * {@link TransformParameterType.Hash } + * + */ + public void setHash(TransformParameterType.Hash value) { + this.hash = value; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestValue"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "digestMethod", + "digestValue" + }) + public static class Hash { + + @XmlElement(name = "DigestMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected DigestMethodType digestMethod; + @XmlElement(name = "DigestValue", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected String digestValue; + + /** + * Gets the value of the digestMethod property. + * + * @return + * possible object is + * {@link DigestMethodType } + * + */ + public DigestMethodType getDigestMethod() { + return digestMethod; + } + + /** + * Sets the value of the digestMethod property. + * + * @param value + * allowed object is + * {@link DigestMethodType } + * + */ + public void setDigestMethod(DigestMethodType value) { + this.digestMethod = value; + } + + /** + * Gets the value of the digestValue property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDigestValue() { + return digestValue; + } + + /** + * Sets the value of the digestValue property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDigestValue(String value) { + this.digestValue = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/TransformsInfoType.java b/src/main/java/at/gv/util/xsd/moaspss/TransformsInfoType.java new file mode 100644 index 0000000..3d4ae7e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/TransformsInfoType.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + +import at.gv.util.xsd.xmldsig.TransformsType; + + +/** + * <p>Java class for TransformsInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TransformsInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/> + * <element name="FinalDataMetaInfo" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}FinalDataMetaInfoType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformsInfoType", propOrder = { + "transforms", + "finalDataMetaInfo" +}) +public class TransformsInfoType { + + @XmlElement(name = "Transforms", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected TransformsType transforms; + @XmlElement(name = "FinalDataMetaInfo", required = true) + protected FinalDataMetaInfoType finalDataMetaInfo; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the finalDataMetaInfo property. + * + * @return + * possible object is + * {@link FinalDataMetaInfoType } + * + */ + public FinalDataMetaInfoType getFinalDataMetaInfo() { + return finalDataMetaInfo; + } + + /** + * Sets the value of the finalDataMetaInfo property. + * + * @param value + * allowed object is + * {@link FinalDataMetaInfoType } + * + */ + public void setFinalDataMetaInfo(FinalDataMetaInfoType value) { + this.finalDataMetaInfo = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/VerifyCMSSignatureRequest.java b/src/main/java/at/gv/util/xsd/moaspss/VerifyCMSSignatureRequest.java new file mode 100644 index 0000000..bfb406c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/VerifyCMSSignatureRequest.java @@ -0,0 +1,69 @@ + +package at.gv.util.xsd.moaspss; + +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.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/moa/20020822#}VerifyCMSSignatureRequestType"> + * <attribute name="Signatories" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}SignatoriesType" default="1" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "VerifyCMSSignatureRequest") +public class VerifyCMSSignatureRequest + extends VerifyCMSSignatureRequestType +{ + + @XmlAttribute(name = "Signatories") + protected List<String> signatories; + + /** + * Gets the value of the signatories property. + * + * <p> + * 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 <CODE>set</CODE> method for the signatories property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSignatories().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getSignatories() { + if (signatories == null) { + signatories = new ArrayList<String>(); + } + return this.signatories; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/VerifyCMSSignatureRequestType.java b/src/main/java/at/gv/util/xsd/moaspss/VerifyCMSSignatureRequestType.java new file mode 100644 index 0000000..c9a073e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/VerifyCMSSignatureRequestType.java @@ -0,0 +1,155 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +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 javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for VerifyCMSSignatureRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VerifyCMSSignatureRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> + * <element name="CMSSignature" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="DataObject" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}CMSDataObjectOptionalMetaType" minOccurs="0"/> + * <element name="TrustProfileID" type="{http://www.w3.org/2001/XMLSchema}token"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VerifyCMSSignatureRequestType", propOrder = { + "dateTime", + "cmsSignature", + "dataObject", + "trustProfileID" +}) +@XmlSeeAlso({ + VerifyCMSSignatureRequest.class +}) +public class VerifyCMSSignatureRequestType { + + @XmlElement(name = "DateTime") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar dateTime; + @XmlElement(name = "CMSSignature", required = true) + protected byte[] cmsSignature; + @XmlElement(name = "DataObject") + protected CMSDataObjectOptionalMetaType dataObject; + @XmlElement(name = "TrustProfileID", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String trustProfileID; + + /** + * Gets the value of the dateTime property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getDateTime() { + return dateTime; + } + + /** + * Sets the value of the dateTime property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setDateTime(XMLGregorianCalendar value) { + this.dateTime = value; + } + + /** + * Gets the value of the cmsSignature property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getCMSSignature() { + return cmsSignature; + } + + /** + * Sets the value of the cmsSignature property. + * + * @param value + * allowed object is + * byte[] + */ + public void setCMSSignature(byte[] value) { + this.cmsSignature = ((byte[]) value); + } + + /** + * Gets the value of the dataObject property. + * + * @return + * possible object is + * {@link CMSDataObjectOptionalMetaType } + * + */ + public CMSDataObjectOptionalMetaType getDataObject() { + return dataObject; + } + + /** + * Sets the value of the dataObject property. + * + * @param value + * allowed object is + * {@link CMSDataObjectOptionalMetaType } + * + */ + public void setDataObject(CMSDataObjectOptionalMetaType value) { + this.dataObject = value; + } + + /** + * Gets the value of the trustProfileID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTrustProfileID() { + return trustProfileID; + } + + /** + * Sets the value of the trustProfileID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTrustProfileID(String value) { + this.trustProfileID = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/VerifyCMSSignatureResponseType.java b/src/main/java/at/gv/util/xsd/moaspss/VerifyCMSSignatureResponseType.java new file mode 100644 index 0000000..3b767a4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/VerifyCMSSignatureResponseType.java @@ -0,0 +1,81 @@ + +package at.gv.util.xsd.moaspss; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; + +import at.gv.util.xsd.xmldsig.KeyInfoType; + + +/** + * <p>Java class for VerifyCMSSignatureResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VerifyCMSSignatureResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="SignerInfo" type="{http://www.w3.org/2000/09/xmldsig#}KeyInfoType"/> + * <element name="SignatureCheck" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}CheckResultType"/> + * <element name="CertificateCheck" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}CheckResultType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VerifyCMSSignatureResponseType", propOrder = { + "signerInfoAndSignatureCheckAndCertificateCheck" +}) +public class VerifyCMSSignatureResponseType { + + @XmlElementRefs({ + @XmlElementRef(name = "SignatureCheck", namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", type = JAXBElement.class), + @XmlElementRef(name = "CertificateCheck", namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", type = JAXBElement.class), + @XmlElementRef(name = "SignerInfo", namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", type = JAXBElement.class) + }) + protected List<JAXBElement<?>> signerInfoAndSignatureCheckAndCertificateCheck; + + /** + * Gets the value of the signerInfoAndSignatureCheckAndCertificateCheck property. + * + * <p> + * 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 <CODE>set</CODE> method for the signerInfoAndSignatureCheckAndCertificateCheck property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSignerInfoAndSignatureCheckAndCertificateCheck().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >} + * {@link JAXBElement }{@code <}{@link CheckResultType }{@code >} + * {@link JAXBElement }{@code <}{@link CheckResultType }{@code >} + * + * + */ + public List<JAXBElement<?>> getSignerInfoAndSignatureCheckAndCertificateCheck() { + if (signerInfoAndSignatureCheckAndCertificateCheck == null) { + signerInfoAndSignatureCheckAndCertificateCheck = new ArrayList<JAXBElement<?>>(); + } + return this.signerInfoAndSignatureCheckAndCertificateCheck; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/VerifyTransformsDataType.java b/src/main/java/at/gv/util/xsd/moaspss/VerifyTransformsDataType.java new file mode 100644 index 0000000..c234244 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/VerifyTransformsDataType.java @@ -0,0 +1,75 @@ + +package at.gv.util.xsd.moaspss; + +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.XmlElement; +import javax.xml.bind.annotation.XmlElements; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for VerifyTransformsDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VerifyTransformsDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <element ref="{http://reference.e-government.gv.at/namespace/moa/20020822#}VerifyTransformsInfoProfile"/> + * <element name="VerifyTransformsInfoProfileID" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VerifyTransformsDataType", propOrder = { + "verifyTransformsInfoProfileOrVerifyTransformsInfoProfileID" +}) +public class VerifyTransformsDataType { + + @XmlElements({ + @XmlElement(name = "VerifyTransformsInfoProfileID", type = String.class), + @XmlElement(name = "VerifyTransformsInfoProfile", type = VerifyTransformsInfoProfile.class) + }) + protected List<Object> verifyTransformsInfoProfileOrVerifyTransformsInfoProfileID; + + /** + * Gets the value of the verifyTransformsInfoProfileOrVerifyTransformsInfoProfileID property. + * + * <p> + * 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 <CODE>set</CODE> method for the verifyTransformsInfoProfileOrVerifyTransformsInfoProfileID property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getVerifyTransformsInfoProfileOrVerifyTransformsInfoProfileID().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link VerifyTransformsInfoProfile } + * + * + */ + public List<Object> getVerifyTransformsInfoProfileOrVerifyTransformsInfoProfileID() { + if (verifyTransformsInfoProfileOrVerifyTransformsInfoProfileID == null) { + verifyTransformsInfoProfileOrVerifyTransformsInfoProfileID = new ArrayList<Object>(); + } + return this.verifyTransformsInfoProfileOrVerifyTransformsInfoProfileID; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/VerifyTransformsInfoProfile.java b/src/main/java/at/gv/util/xsd/moaspss/VerifyTransformsInfoProfile.java new file mode 100644 index 0000000..7352231 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/VerifyTransformsInfoProfile.java @@ -0,0 +1,101 @@ + +package at.gv.util.xsd.moaspss; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + +import at.gv.util.xsd.xmldsig.TransformsType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/> + * <element name="TransformParameter" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}TransformParameterType" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "transforms", + "transformParameter" +}) +@XmlRootElement(name = "VerifyTransformsInfoProfile") +public class VerifyTransformsInfoProfile { + + @XmlElement(name = "Transforms", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected TransformsType transforms; + @XmlElement(name = "TransformParameter") + protected List<TransformParameterType> transformParameter; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the transformParameter property. + * + * <p> + * 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 <CODE>set</CODE> method for the transformParameter property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTransformParameter().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TransformParameterType } + * + * + */ + public List<TransformParameterType> getTransformParameter() { + if (transformParameter == null) { + transformParameter = new ArrayList<TransformParameterType>(); + } + return this.transformParameter; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/VerifyXMLSignatureRequestType.java b/src/main/java/at/gv/util/xsd/moaspss/VerifyXMLSignatureRequestType.java new file mode 100644 index 0000000..323aa4a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/VerifyXMLSignatureRequestType.java @@ -0,0 +1,423 @@ + +package at.gv.util.xsd.moaspss; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for VerifyXMLSignatureRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VerifyXMLSignatureRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> + * <element name="VerifySignatureInfo"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="VerifySignatureEnvironment" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}ContentOptionalRefType"/> + * <element name="VerifySignatureLocation" type="{http://www.w3.org/2001/XMLSchema}token"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/moa/20020822#}SupplementProfile"/> + * <element name="SupplementProfileID" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </choice> + * <element name="SignatureManifestCheckParams" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ReferenceInfo" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}VerifyTransformsDataType" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="ReturnReferenceInputData" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="ReturnHashInputData" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * <element name="TrustProfileID" type="{http://www.w3.org/2001/XMLSchema}token"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VerifyXMLSignatureRequestType", propOrder = { + "dateTime", + "verifySignatureInfo", + "supplementProfileOrSupplementProfileID", + "signatureManifestCheckParams", + "returnHashInputData", + "trustProfileID" +}) +public class VerifyXMLSignatureRequestType { + + @XmlElement(name = "DateTime") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar dateTime; + @XmlElement(name = "VerifySignatureInfo", required = true) + protected VerifyXMLSignatureRequestType.VerifySignatureInfo verifySignatureInfo; + @XmlElements({ + @XmlElement(name = "SupplementProfile", type = XMLDataObjectAssociationType.class), + @XmlElement(name = "SupplementProfileID", type = String.class) + }) + protected List<Object> supplementProfileOrSupplementProfileID; + @XmlElement(name = "SignatureManifestCheckParams") + protected VerifyXMLSignatureRequestType.SignatureManifestCheckParams signatureManifestCheckParams; + @XmlElement(name = "ReturnHashInputData") + protected Object returnHashInputData; + @XmlElement(name = "TrustProfileID", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String trustProfileID; + + /** + * Gets the value of the dateTime property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getDateTime() { + return dateTime; + } + + /** + * Sets the value of the dateTime property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setDateTime(XMLGregorianCalendar value) { + this.dateTime = value; + } + + /** + * Gets the value of the verifySignatureInfo property. + * + * @return + * possible object is + * {@link VerifyXMLSignatureRequestType.VerifySignatureInfo } + * + */ + public VerifyXMLSignatureRequestType.VerifySignatureInfo getVerifySignatureInfo() { + return verifySignatureInfo; + } + + /** + * Sets the value of the verifySignatureInfo property. + * + * @param value + * allowed object is + * {@link VerifyXMLSignatureRequestType.VerifySignatureInfo } + * + */ + public void setVerifySignatureInfo(VerifyXMLSignatureRequestType.VerifySignatureInfo value) { + this.verifySignatureInfo = value; + } + + /** + * Gets the value of the supplementProfileOrSupplementProfileID property. + * + * <p> + * 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 <CODE>set</CODE> method for the supplementProfileOrSupplementProfileID property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSupplementProfileOrSupplementProfileID().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link XMLDataObjectAssociationType } + * {@link String } + * + * + */ + public List<Object> getSupplementProfileOrSupplementProfileID() { + if (supplementProfileOrSupplementProfileID == null) { + supplementProfileOrSupplementProfileID = new ArrayList<Object>(); + } + return this.supplementProfileOrSupplementProfileID; + } + + /** + * Gets the value of the signatureManifestCheckParams property. + * + * @return + * possible object is + * {@link VerifyXMLSignatureRequestType.SignatureManifestCheckParams } + * + */ + public VerifyXMLSignatureRequestType.SignatureManifestCheckParams getSignatureManifestCheckParams() { + return signatureManifestCheckParams; + } + + /** + * Sets the value of the signatureManifestCheckParams property. + * + * @param value + * allowed object is + * {@link VerifyXMLSignatureRequestType.SignatureManifestCheckParams } + * + */ + public void setSignatureManifestCheckParams(VerifyXMLSignatureRequestType.SignatureManifestCheckParams value) { + this.signatureManifestCheckParams = value; + } + + /** + * Gets the value of the returnHashInputData property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getReturnHashInputData() { + return returnHashInputData; + } + + /** + * Sets the value of the returnHashInputData property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setReturnHashInputData(Object value) { + this.returnHashInputData = value; + } + + /** + * Gets the value of the trustProfileID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTrustProfileID() { + return trustProfileID; + } + + /** + * Sets the value of the trustProfileID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTrustProfileID(String value) { + this.trustProfileID = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ReferenceInfo" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}VerifyTransformsDataType" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="ReturnReferenceInputData" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "referenceInfo" + }) + public static class SignatureManifestCheckParams { + + @XmlElement(name = "ReferenceInfo", required = true) + protected List<VerifyTransformsDataType> referenceInfo; + @XmlAttribute(name = "ReturnReferenceInputData") + protected Boolean returnReferenceInputData; + + /** + * Gets the value of the referenceInfo property. + * + * <p> + * 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 <CODE>set</CODE> method for the referenceInfo property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReferenceInfo().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link VerifyTransformsDataType } + * + * + */ + public List<VerifyTransformsDataType> getReferenceInfo() { + if (referenceInfo == null) { + referenceInfo = new ArrayList<VerifyTransformsDataType>(); + } + return this.referenceInfo; + } + + /** + * Gets the value of the returnReferenceInputData property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean isReturnReferenceInputData() { + if (returnReferenceInputData == null) { + return true; + } else { + return returnReferenceInputData; + } + } + + /** + * Sets the value of the returnReferenceInputData property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setReturnReferenceInputData(Boolean value) { + this.returnReferenceInputData = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="VerifySignatureEnvironment" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}ContentOptionalRefType"/> + * <element name="VerifySignatureLocation" type="{http://www.w3.org/2001/XMLSchema}token"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "verifySignatureEnvironment", + "verifySignatureLocation" + }) + public static class VerifySignatureInfo { + + @XmlElement(name = "VerifySignatureEnvironment", required = true) + protected ContentOptionalRefType verifySignatureEnvironment; + @XmlElement(name = "VerifySignatureLocation", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String verifySignatureLocation; + + /** + * Gets the value of the verifySignatureEnvironment property. + * + * @return + * possible object is + * {@link ContentOptionalRefType } + * + */ + public ContentOptionalRefType getVerifySignatureEnvironment() { + return verifySignatureEnvironment; + } + + /** + * Sets the value of the verifySignatureEnvironment property. + * + * @param value + * allowed object is + * {@link ContentOptionalRefType } + * + */ + public void setVerifySignatureEnvironment(ContentOptionalRefType value) { + this.verifySignatureEnvironment = value; + } + + /** + * Gets the value of the verifySignatureLocation property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerifySignatureLocation() { + return verifySignatureLocation; + } + + /** + * Sets the value of the verifySignatureLocation property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerifySignatureLocation(String value) { + this.verifySignatureLocation = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/VerifyXMLSignatureResponseType.java b/src/main/java/at/gv/util/xsd/moaspss/VerifyXMLSignatureResponseType.java new file mode 100644 index 0000000..2c68f71 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/VerifyXMLSignatureResponseType.java @@ -0,0 +1,249 @@ + +package at.gv.util.xsd.moaspss; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + +import at.gv.util.xsd.xmldsig.KeyInfoType; + + +/** + * <p>Java class for VerifyXMLSignatureResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VerifyXMLSignatureResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="SignerInfo" type="{http://www.w3.org/2000/09/xmldsig#}KeyInfoType"/> + * <element name="HashInputData" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}InputDataType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="ReferenceInputData" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}InputDataType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="SignatureCheck" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}ReferencesCheckResultType"/> + * <element name="SignatureManifestCheck" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}ReferencesCheckResultType" minOccurs="0"/> + * <element name="XMLDSIGManifestCheck" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}ManifestRefsCheckResultType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="CertificateCheck" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}CheckResultType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VerifyXMLSignatureResponseType", propOrder = { + "signerInfo", + "hashInputData", + "referenceInputData", + "signatureCheck", + "signatureManifestCheck", + "xmldsigManifestCheck", + "certificateCheck" +}) +public class VerifyXMLSignatureResponseType { + + @XmlElement(name = "SignerInfo", required = true) + protected KeyInfoType signerInfo; + @XmlElement(name = "HashInputData") + protected List<InputDataType> hashInputData; + @XmlElement(name = "ReferenceInputData") + protected List<InputDataType> referenceInputData; + @XmlElement(name = "SignatureCheck", required = true) + protected ReferencesCheckResultType signatureCheck; + @XmlElement(name = "SignatureManifestCheck") + protected ReferencesCheckResultType signatureManifestCheck; + @XmlElement(name = "XMLDSIGManifestCheck") + protected List<ManifestRefsCheckResultType> xmldsigManifestCheck; + @XmlElement(name = "CertificateCheck", required = true) + protected CheckResultType certificateCheck; + + /** + * Gets the value of the signerInfo property. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getSignerInfo() { + return signerInfo; + } + + /** + * Sets the value of the signerInfo property. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setSignerInfo(KeyInfoType value) { + this.signerInfo = value; + } + + /** + * Gets the value of the hashInputData property. + * + * <p> + * 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 <CODE>set</CODE> method for the hashInputData property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getHashInputData().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link InputDataType } + * + * + */ + public List<InputDataType> getHashInputData() { + if (hashInputData == null) { + hashInputData = new ArrayList<InputDataType>(); + } + return this.hashInputData; + } + + /** + * Gets the value of the referenceInputData property. + * + * <p> + * 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 <CODE>set</CODE> method for the referenceInputData property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReferenceInputData().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link InputDataType } + * + * + */ + public List<InputDataType> getReferenceInputData() { + if (referenceInputData == null) { + referenceInputData = new ArrayList<InputDataType>(); + } + return this.referenceInputData; + } + + /** + * Gets the value of the signatureCheck property. + * + * @return + * possible object is + * {@link ReferencesCheckResultType } + * + */ + public ReferencesCheckResultType getSignatureCheck() { + return signatureCheck; + } + + /** + * Sets the value of the signatureCheck property. + * + * @param value + * allowed object is + * {@link ReferencesCheckResultType } + * + */ + public void setSignatureCheck(ReferencesCheckResultType value) { + this.signatureCheck = value; + } + + /** + * Gets the value of the signatureManifestCheck property. + * + * @return + * possible object is + * {@link ReferencesCheckResultType } + * + */ + public ReferencesCheckResultType getSignatureManifestCheck() { + return signatureManifestCheck; + } + + /** + * Sets the value of the signatureManifestCheck property. + * + * @param value + * allowed object is + * {@link ReferencesCheckResultType } + * + */ + public void setSignatureManifestCheck(ReferencesCheckResultType value) { + this.signatureManifestCheck = value; + } + + /** + * Gets the value of the xmldsigManifestCheck property. + * + * <p> + * 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 <CODE>set</CODE> method for the xmldsigManifestCheck property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getXMLDSIGManifestCheck().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ManifestRefsCheckResultType } + * + * + */ + public List<ManifestRefsCheckResultType> getXMLDSIGManifestCheck() { + if (xmldsigManifestCheck == null) { + xmldsigManifestCheck = new ArrayList<ManifestRefsCheckResultType>(); + } + return this.xmldsigManifestCheck; + } + + /** + * Gets the value of the certificateCheck property. + * + * @return + * possible object is + * {@link CheckResultType } + * + */ + public CheckResultType getCertificateCheck() { + return certificateCheck; + } + + /** + * Sets the value of the certificateCheck property. + * + * @param value + * allowed object is + * {@link CheckResultType } + * + */ + public void setCertificateCheck(CheckResultType value) { + this.certificateCheck = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/XMLContentType.java b/src/main/java/at/gv/util/xsd/moaspss/XMLContentType.java new file mode 100644 index 0000000..b6a1b58 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/XMLContentType.java @@ -0,0 +1,63 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for XMLContentType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="XMLContentType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/moa/20020822#}AnyChildrenType"> + * <attribute ref="{http://www.w3.org/XML/1998/namespace}space"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "XMLContentType") +public class XMLContentType + extends AnyChildrenType +{ + + @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String space; + + /** + * Gets the value of the space property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSpace() { + return space; + } + + /** + * Sets the value of the space property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSpace(String value) { + this.space = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/XMLDataObjectAssociationType.java b/src/main/java/at/gv/util/xsd/moaspss/XMLDataObjectAssociationType.java new file mode 100644 index 0000000..96c5212 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/XMLDataObjectAssociationType.java @@ -0,0 +1,90 @@ + +package at.gv.util.xsd.moaspss; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for XMLDataObjectAssociationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="XMLDataObjectAssociationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="MetaInfo" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}MetaInfoType" minOccurs="0"/> + * <element name="Content" type="{http://reference.e-government.gv.at/namespace/moa/20020822#}ContentRequiredRefType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "XMLDataObjectAssociationType", propOrder = { + "metaInfo", + "content" +}) +public class XMLDataObjectAssociationType { + + @XmlElement(name = "MetaInfo") + protected MetaInfoType metaInfo; + @XmlElement(name = "Content", required = true) + protected ContentRequiredRefType content; + + /** + * Gets the value of the metaInfo property. + * + * @return + * possible object is + * {@link MetaInfoType } + * + */ + public MetaInfoType getMetaInfo() { + return metaInfo; + } + + /** + * Sets the value of the metaInfo property. + * + * @param value + * allowed object is + * {@link MetaInfoType } + * + */ + public void setMetaInfo(MetaInfoType value) { + this.metaInfo = value; + } + + /** + * Gets the value of the content property. + * + * @return + * possible object is + * {@link ContentRequiredRefType } + * + */ + public ContentRequiredRefType getContent() { + return content; + } + + /** + * Sets the value of the content property. + * + * @param value + * allowed object is + * {@link ContentRequiredRefType } + * + */ + public void setContent(ContentRequiredRefType value) { + this.content = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/moaspss/package-info.java b/src/main/java/at/gv/util/xsd/moaspss/package-info.java new file mode 100644 index 0000000..7562004 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/moaspss/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/moa/20020822#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.moaspss; diff --git a/src/main/java/at/gv/util/xsd/mzs/DeliveryNotificationACKType.java b/src/main/java/at/gv/util/xsd/mzs/DeliveryNotificationACKType.java new file mode 100644 index 0000000..8c50261 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/DeliveryNotificationACKType.java @@ -0,0 +1,93 @@ + +package at.gv.util.xsd.mzs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for DeliveryNotificationACKType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DeliveryNotificationACKType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}AppDeliveryID"/> + * <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}MZSDeliveryID"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DeliveryNotificationACKType", propOrder = { + "appDeliveryID", + "mzsDeliveryID" +}) +public class DeliveryNotificationACKType { + + @XmlElement(name = "AppDeliveryID", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String appDeliveryID; + @XmlElement(name = "MZSDeliveryID", required = true) + protected String mzsDeliveryID; + + /** + * Gets the value of the appDeliveryID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAppDeliveryID() { + return appDeliveryID; + } + + /** + * Sets the value of the appDeliveryID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAppDeliveryID(String value) { + this.appDeliveryID = value; + } + + /** + * Gets the value of the mzsDeliveryID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMZSDeliveryID() { + return mzsDeliveryID; + } + + /** + * Sets the value of the mzsDeliveryID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMZSDeliveryID(String value) { + this.mzsDeliveryID = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/DeliveryNotificationType.java b/src/main/java/at/gv/util/xsd/mzs/DeliveryNotificationType.java new file mode 100644 index 0000000..4a1c75d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/DeliveryNotificationType.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.mzs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DeliveryNotificationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DeliveryNotificationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}Success"/> + * <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}Error"/> + * <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}DeliveryStatement"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DeliveryNotificationType", propOrder = { + "success", + "error", + "deliveryStatement" +}) +public class DeliveryNotificationType { + + @XmlElement(name = "Success") + protected SuccessType success; + @XmlElement(name = "Error") + protected ErrorType error; + @XmlElement(name = "DeliveryStatement") + protected DeliveryStatementType deliveryStatement; + + /** + * Gets the value of the success property. + * + * @return + * possible object is + * {@link SuccessType } + * + */ + public SuccessType getSuccess() { + return success; + } + + /** + * Sets the value of the success property. + * + * @param value + * allowed object is + * {@link SuccessType } + * + */ + public void setSuccess(SuccessType value) { + this.success = value; + } + + /** + * Gets the value of the error property. + * + * @return + * possible object is + * {@link ErrorType } + * + */ + public ErrorType getError() { + return error; + } + + /** + * Sets the value of the error property. + * + * @param value + * allowed object is + * {@link ErrorType } + * + */ + public void setError(ErrorType value) { + this.error = value; + } + + /** + * Gets the value of the deliveryStatement property. + * + * @return + * possible object is + * {@link DeliveryStatementType } + * + */ + public DeliveryStatementType getDeliveryStatement() { + return deliveryStatement; + } + + /** + * Sets the value of the deliveryStatement property. + * + * @param value + * allowed object is + * {@link DeliveryStatementType } + * + */ + public void setDeliveryStatement(DeliveryStatementType value) { + this.deliveryStatement = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/DeliveryRequestType.java b/src/main/java/at/gv/util/xsd/mzs/DeliveryRequestType.java new file mode 100644 index 0000000..822cd86 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/DeliveryRequestType.java @@ -0,0 +1,2401 @@ + +package at.gv.util.xsd.mzs; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import at.gv.util.xsd.mzs.persondata.AbstractAddressType; +import at.gv.util.xsd.mzs.persondata.AbstractPersonType; +import at.gv.util.xsd.mzs.persondata.CorporateBodyType; +import at.gv.util.xsd.mzs.persondata.InternetAddressType; +import at.gv.util.xsd.mzs.persondata.PersonDataType; +import at.gv.util.xsd.mzs.persondata.PhysicalPersonType; +import at.gv.util.xsd.mzs.persondata.PostalAddressType; +import at.gv.util.xsd.mzs.persondata.TelephoneAddressType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for DeliveryRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DeliveryRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Server" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ZUSEUrlID" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="X509" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Sender"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <choice> + * <element name="ProfileID" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Person"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Address" maxOccurs="unbounded" minOccurs="0"/> + * <choice> + * <element name="WebserviceURL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="EMailAddress" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </choice> + * </sequence> + * </choice> + * <sequence> + * <element name="SignatureKeyID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}Receiver"/> + * <element name="MetaData"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}AppDeliveryID"/> + * <element name="DeliveryQuality"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="RSa"/> + * <enumeration value="RSa+"/> + * <enumeration value="nonRSa"/> + * <enumeration value="nonRSa+"/> + * <enumeration value="R"/> + * <enumeration value="R+"/> + * <enumeration value="RS"/> + * <enumeration value="RS+"/> + * </restriction> + * </simpleType> + * </element> + * <element name="RequiresEncryption" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="PrivateDelivery" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="DocumentClass" minOccurs="0"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> + * <maxLength value="255"/> + * <minLength value="1"/> + * </restriction> + * </simpleType> + * </element> + * <element name="DualDelivery" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DualDeliveryServer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PrintParameter" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="profile" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="MailBody" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="MimeType" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="XMLDocument" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="XMLContent"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <choice> + * <element name="XMLProfileID" type="{http://www.w3.org/2001/XMLSchema}anyType"/> + * <sequence> + * <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="ResultingMIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="SignatureXPath"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Index" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="SignatureStylesheet"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="XMLContent"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="PreviewStylesheet" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="XMLContent"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Payload" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="BinaryDocument"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="DocumentReference"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="MD5Checksum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <attribute name="sync" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DeliveryRequestType", propOrder = { + "server", + "sender", + "receiver", + "metaData", + "xmlDocument", + "payload" +}) +public class DeliveryRequestType { + + @XmlElement(name = "Server") + protected DeliveryRequestType.Server server; + @XmlElement(name = "Sender", required = true) + protected DeliveryRequestType.Sender sender; + @XmlElement(name = "Receiver", required = true) + protected PersonDataType receiver; + @XmlElement(name = "MetaData", required = true) + protected DeliveryRequestType.MetaData metaData; + @XmlElement(name = "XMLDocument") + protected DeliveryRequestType.XMLDocument xmlDocument; + @XmlElement(name = "Payload") + protected List<DeliveryRequestType.Payload> payload; + @XmlAttribute + protected Boolean sync; + + /** + * Gets the value of the server property. + * + * @return + * possible object is + * {@link DeliveryRequestType.Server } + * + */ + public DeliveryRequestType.Server getServer() { + return server; + } + + /** + * Sets the value of the server property. + * + * @param value + * allowed object is + * {@link DeliveryRequestType.Server } + * + */ + public void setServer(DeliveryRequestType.Server value) { + this.server = value; + } + + /** + * Gets the value of the sender property. + * + * @return + * possible object is + * {@link DeliveryRequestType.Sender } + * + */ + public DeliveryRequestType.Sender getSender() { + return sender; + } + + /** + * Sets the value of the sender property. + * + * @param value + * allowed object is + * {@link DeliveryRequestType.Sender } + * + */ + public void setSender(DeliveryRequestType.Sender value) { + this.sender = value; + } + + /** + * Gets the value of the receiver property. + * + * @return + * possible object is + * {@link PersonDataType } + * + */ + public PersonDataType getReceiver() { + return receiver; + } + + /** + * Sets the value of the receiver property. + * + * @param value + * allowed object is + * {@link PersonDataType } + * + */ + public void setReceiver(PersonDataType value) { + this.receiver = value; + } + + /** + * Gets the value of the metaData property. + * + * @return + * possible object is + * {@link DeliveryRequestType.MetaData } + * + */ + public DeliveryRequestType.MetaData getMetaData() { + return metaData; + } + + /** + * Sets the value of the metaData property. + * + * @param value + * allowed object is + * {@link DeliveryRequestType.MetaData } + * + */ + public void setMetaData(DeliveryRequestType.MetaData value) { + this.metaData = value; + } + + /** + * Gets the value of the xmlDocument property. + * + * @return + * possible object is + * {@link DeliveryRequestType.XMLDocument } + * + */ + public DeliveryRequestType.XMLDocument getXMLDocument() { + return xmlDocument; + } + + /** + * Sets the value of the xmlDocument property. + * + * @param value + * allowed object is + * {@link DeliveryRequestType.XMLDocument } + * + */ + public void setXMLDocument(DeliveryRequestType.XMLDocument value) { + this.xmlDocument = value; + } + + /** + * Gets the value of the payload property. + * + * <p> + * 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 <CODE>set</CODE> method for the payload property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getPayload().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link DeliveryRequestType.Payload } + * + * + */ + public List<DeliveryRequestType.Payload> getPayload() { + if (payload == null) { + payload = new ArrayList<DeliveryRequestType.Payload>(); + } + return this.payload; + } + + /** + * Gets the value of the sync property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isSync() { + return sync; + } + + /** + * Sets the value of the sync property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setSync(Boolean value) { + this.sync = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}AppDeliveryID"/> + * <element name="DeliveryQuality"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="RSa"/> + * <enumeration value="RSa+"/> + * <enumeration value="nonRSa"/> + * <enumeration value="nonRSa+"/> + * <enumeration value="R"/> + * <enumeration value="R+"/> + * <enumeration value="RS"/> + * <enumeration value="RS+"/> + * </restriction> + * </simpleType> + * </element> + * <element name="RequiresEncryption" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="PrivateDelivery" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="DocumentClass" minOccurs="0"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> + * <maxLength value="255"/> + * <minLength value="1"/> + * </restriction> + * </simpleType> + * </element> + * <element name="DualDelivery" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DualDeliveryServer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PrintParameter" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="profile" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="MailBody" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="MimeType" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "appDeliveryID", + "deliveryQuality", + "requiresEncryption", + "privateDelivery", + "documentClass", + "dualDelivery", + "mailBody" + }) + public static class MetaData { + + @XmlElement(name = "AppDeliveryID", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String appDeliveryID; + @XmlElement(name = "DeliveryQuality", required = true) + protected String deliveryQuality; + @XmlElement(name = "RequiresEncryption") + protected boolean requiresEncryption; + @XmlElement(name = "PrivateDelivery") + protected Boolean privateDelivery; + @XmlElement(name = "DocumentClass") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String documentClass; + @XmlElement(name = "DualDelivery") + protected DeliveryRequestType.MetaData.DualDelivery dualDelivery; + @XmlElement(name = "MailBody") + protected DeliveryRequestType.MetaData.MailBody mailBody; + + /** + * Gets the value of the appDeliveryID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAppDeliveryID() { + return appDeliveryID; + } + + /** + * Sets the value of the appDeliveryID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAppDeliveryID(String value) { + this.appDeliveryID = value; + } + + /** + * Gets the value of the deliveryQuality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDeliveryQuality() { + return deliveryQuality; + } + + /** + * Sets the value of the deliveryQuality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDeliveryQuality(String value) { + this.deliveryQuality = value; + } + + /** + * Gets the value of the requiresEncryption property. + * + */ + public boolean isRequiresEncryption() { + return requiresEncryption; + } + + /** + * Sets the value of the requiresEncryption property. + * + */ + public void setRequiresEncryption(boolean value) { + this.requiresEncryption = value; + } + + /** + * Gets the value of the privateDelivery property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isPrivateDelivery() { + return privateDelivery; + } + + /** + * Sets the value of the privateDelivery property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setPrivateDelivery(Boolean value) { + this.privateDelivery = value; + } + + /** + * Gets the value of the documentClass property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDocumentClass() { + return documentClass; + } + + /** + * Sets the value of the documentClass property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDocumentClass(String value) { + this.documentClass = value; + } + + /** + * Gets the value of the dualDelivery property. + * + * @return + * possible object is + * {@link DeliveryRequestType.MetaData.DualDelivery } + * + */ + public DeliveryRequestType.MetaData.DualDelivery getDualDelivery() { + return dualDelivery; + } + + /** + * Sets the value of the dualDelivery property. + * + * @param value + * allowed object is + * {@link DeliveryRequestType.MetaData.DualDelivery } + * + */ + public void setDualDelivery(DeliveryRequestType.MetaData.DualDelivery value) { + this.dualDelivery = value; + } + + /** + * Gets the value of the mailBody property. + * + * @return + * possible object is + * {@link DeliveryRequestType.MetaData.MailBody } + * + */ + public DeliveryRequestType.MetaData.MailBody getMailBody() { + return mailBody; + } + + /** + * Sets the value of the mailBody property. + * + * @param value + * allowed object is + * {@link DeliveryRequestType.MetaData.MailBody } + * + */ + public void setMailBody(DeliveryRequestType.MetaData.MailBody value) { + this.mailBody = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DualDeliveryServer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PrintParameter" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="profile" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "dualDeliveryServer", + "printParameter" + }) + public static class DualDelivery { + + @XmlElement(name = "DualDeliveryServer") + protected String dualDeliveryServer; + @XmlElement(name = "PrintParameter") + protected DeliveryRequestType.MetaData.DualDelivery.PrintParameter printParameter; + + /** + * Gets the value of the dualDeliveryServer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDualDeliveryServer() { + return dualDeliveryServer; + } + + /** + * Sets the value of the dualDeliveryServer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDualDeliveryServer(String value) { + this.dualDeliveryServer = value; + } + + /** + * Gets the value of the printParameter property. + * + * @return + * possible object is + * {@link DeliveryRequestType.MetaData.DualDelivery.PrintParameter } + * + */ + public DeliveryRequestType.MetaData.DualDelivery.PrintParameter getPrintParameter() { + return printParameter; + } + + /** + * Sets the value of the printParameter property. + * + * @param value + * allowed object is + * {@link DeliveryRequestType.MetaData.DualDelivery.PrintParameter } + * + */ + public void setPrintParameter(DeliveryRequestType.MetaData.DualDelivery.PrintParameter value) { + this.printParameter = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="profile" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class PrintParameter { + + @XmlAnyElement + protected List<Element> any; + @XmlAttribute + @XmlSchemaType(name = "anyURI") + protected String profile; + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Element } + * + * + */ + public List<Element> getAny() { + if (any == null) { + any = new ArrayList<Element>(); + } + return this.any; + } + + /** + * Gets the value of the profile property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProfile() { + return profile; + } + + /** + * Sets the value of the profile property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProfile(String value) { + this.profile = value; + } + + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="MimeType" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mimeType", + "content" + }) + public static class MailBody { + + @XmlElement(name = "MimeType", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String mimeType; + @XmlElement(name = "Content", required = true) + protected byte[] content; + + /** + * Gets the value of the mimeType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMimeType() { + return mimeType; + } + + /** + * Sets the value of the mimeType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMimeType(String value) { + this.mimeType = value; + } + + /** + * Gets the value of the content property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getContent() { + return content; + } + + /** + * Sets the value of the content property. + * + * @param value + * allowed object is + * byte[] + */ + public void setContent(byte[] value) { + this.content = ((byte[]) value); + } + + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="BinaryDocument"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="DocumentReference"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="MD5Checksum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "binaryDocument", + "documentReference" + }) + public static class Payload { + + @XmlElement(name = "BinaryDocument") + protected DeliveryRequestType.Payload.BinaryDocument binaryDocument; + @XmlElement(name = "DocumentReference") + protected DeliveryRequestType.Payload.DocumentReference documentReference; + + /** + * Gets the value of the binaryDocument property. + * + * @return + * possible object is + * {@link DeliveryRequestType.Payload.BinaryDocument } + * + */ + public DeliveryRequestType.Payload.BinaryDocument getBinaryDocument() { + return binaryDocument; + } + + /** + * Sets the value of the binaryDocument property. + * + * @param value + * allowed object is + * {@link DeliveryRequestType.Payload.BinaryDocument } + * + */ + public void setBinaryDocument(DeliveryRequestType.Payload.BinaryDocument value) { + this.binaryDocument = value; + } + + /** + * Gets the value of the documentReference property. + * + * @return + * possible object is + * {@link DeliveryRequestType.Payload.DocumentReference } + * + */ + public DeliveryRequestType.Payload.DocumentReference getDocumentReference() { + return documentReference; + } + + /** + * Sets the value of the documentReference property. + * + * @param value + * allowed object is + * {@link DeliveryRequestType.Payload.DocumentReference } + * + */ + public void setDocumentReference(DeliveryRequestType.Payload.DocumentReference value) { + this.documentReference = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "base64Content", + "fileName", + "mimeType" + }) + public static class BinaryDocument { + + @XmlElement(name = "Base64Content", required = true) + protected byte[] base64Content; + @XmlElement(name = "FileName", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String fileName; + @XmlElement(name = "MIMEType", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String mimeType; + + /** + * Gets the value of the base64Content property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getBase64Content() { + return base64Content; + } + + /** + * Sets the value of the base64Content property. + * + * @param value + * allowed object is + * byte[] + */ + public void setBase64Content(byte[] value) { + this.base64Content = ((byte[]) value); + } + + /** + * Gets the value of the fileName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFileName() { + return fileName; + } + + /** + * Sets the value of the fileName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFileName(String value) { + this.fileName = value; + } + + /** + * Gets the value of the mimeType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMIMEType() { + return mimeType; + } + + /** + * Sets the value of the mimeType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMIMEType(String value) { + this.mimeType = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="MD5Checksum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "url", + "fileName", + "mimeType", + "md5Checksum" + }) + public static class DocumentReference { + + @XmlElement(name = "URL", required = true) + @XmlSchemaType(name = "anyURI") + protected String url; + @XmlElement(name = "FileName", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String fileName; + @XmlElement(name = "MIMEType", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String mimeType; + @XmlElement(name = "MD5Checksum") + protected String md5Checksum; + + /** + * Gets the value of the url property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURL() { + return url; + } + + /** + * Sets the value of the url property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURL(String value) { + this.url = value; + } + + /** + * Gets the value of the fileName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFileName() { + return fileName; + } + + /** + * Sets the value of the fileName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFileName(String value) { + this.fileName = value; + } + + /** + * Gets the value of the mimeType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMIMEType() { + return mimeType; + } + + /** + * Sets the value of the mimeType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMIMEType(String value) { + this.mimeType = value; + } + + /** + * Gets the value of the md5Checksum property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMD5Checksum() { + return md5Checksum; + } + + /** + * Sets the value of the md5Checksum property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMD5Checksum(String value) { + this.md5Checksum = value; + } + + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <choice> + * <element name="ProfileID" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Person"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Address" maxOccurs="unbounded" minOccurs="0"/> + * <choice> + * <element name="WebserviceURL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="EMailAddress" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </choice> + * </sequence> + * </choice> + * <sequence> + * <element name="SignatureKeyID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "profileID", + "person", + "address", + "webserviceURL", + "eMailAddress", + "signatureKeyID" + }) + public static class Sender { + + @XmlElement(name = "ProfileID") + protected String profileID; + @XmlElementRef(name = "Person", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class) + protected JAXBElement<? extends AbstractPersonType> person; + @XmlElementRef(name = "Address", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class) + protected List<JAXBElement<? extends AbstractAddressType>> address; + @XmlElement(name = "WebserviceURL") + @XmlSchemaType(name = "anyURI") + protected String webserviceURL; + @XmlElement(name = "EMailAddress") + protected String eMailAddress; + @XmlElement(name = "SignatureKeyID") + protected String signatureKeyID; + + /** + * Gets the value of the profileID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProfileID() { + return profileID; + } + + /** + * Sets the value of the profileID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProfileID(String value) { + this.profileID = value; + } + + /** + * Gets the value of the person property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * + */ + public JAXBElement<? extends AbstractPersonType> getPerson() { + return person; + } + + /** + * Sets the value of the person property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * + */ + public void setPerson(JAXBElement<? extends AbstractPersonType> value) { + this.person = ((JAXBElement<? extends AbstractPersonType> ) value); + } + + /** + * Gets the value of the address property. + * + * <p> + * 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 <CODE>set</CODE> method for the address property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAddress().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link PostalAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link TelephoneAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link InternetAddressType }{@code >} + * + * + */ + public List<JAXBElement<? extends AbstractAddressType>> getAddress() { + if (address == null) { + address = new ArrayList<JAXBElement<? extends AbstractAddressType>>(); + } + return this.address; + } + + /** + * Gets the value of the webserviceURL property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getWebserviceURL() { + return webserviceURL; + } + + /** + * Sets the value of the webserviceURL property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setWebserviceURL(String value) { + this.webserviceURL = value; + } + + /** + * Gets the value of the eMailAddress property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEMailAddress() { + return eMailAddress; + } + + /** + * Sets the value of the eMailAddress property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEMailAddress(String value) { + this.eMailAddress = value; + } + + /** + * Gets the value of the signatureKeyID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSignatureKeyID() { + return signatureKeyID; + } + + /** + * Sets the value of the signatureKeyID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSignatureKeyID(String value) { + this.signatureKeyID = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ZUSEUrlID" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="X509" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "zuseUrlID", + "x509" + }) + public static class Server { + + @XmlElement(name = "ZUSEUrlID", required = true) + @XmlSchemaType(name = "anyURI") + protected String zuseUrlID; + @XmlElement(name = "X509") + protected byte[] x509; + + /** + * Gets the value of the zuseUrlID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getZUSEUrlID() { + return zuseUrlID; + } + + /** + * Sets the value of the zuseUrlID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setZUSEUrlID(String value) { + this.zuseUrlID = value; + } + + /** + * Gets the value of the x509 property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getX509() { + return x509; + } + + /** + * Sets the value of the x509 property. + * + * @param value + * allowed object is + * byte[] + */ + public void setX509(byte[] value) { + this.x509 = ((byte[]) value); + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="XMLContent"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <choice> + * <element name="XMLProfileID" type="{http://www.w3.org/2001/XMLSchema}anyType"/> + * <sequence> + * <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="ResultingMIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="SignatureXPath"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Index" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="SignatureStylesheet"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="XMLContent"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="PreviewStylesheet" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="XMLContent"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xmlContent", + "xmlProfileID", + "fileName", + "mimeType", + "resultingMIMEType", + "signatureXPath", + "signatureStylesheet", + "previewStylesheet" + }) + public static class XMLDocument { + + @XmlElement(name = "XMLContent", required = true) + protected DeliveryRequestType.XMLDocument.XMLContent xmlContent; + @XmlElement(name = "XMLProfileID") + protected Object xmlProfileID; + @XmlElement(name = "FileName") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String fileName; + @XmlElement(name = "MIMEType") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String mimeType; + @XmlElement(name = "ResultingMIMEType") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String resultingMIMEType; + @XmlElement(name = "SignatureXPath") + protected DeliveryRequestType.XMLDocument.SignatureXPath signatureXPath; + @XmlElement(name = "SignatureStylesheet") + protected DeliveryRequestType.XMLDocument.SignatureStylesheet signatureStylesheet; + @XmlElement(name = "PreviewStylesheet") + protected DeliveryRequestType.XMLDocument.PreviewStylesheet previewStylesheet; + + /** + * Gets the value of the xmlContent property. + * + * @return + * possible object is + * {@link DeliveryRequestType.XMLDocument.XMLContent } + * + */ + public DeliveryRequestType.XMLDocument.XMLContent getXMLContent() { + return xmlContent; + } + + /** + * Sets the value of the xmlContent property. + * + * @param value + * allowed object is + * {@link DeliveryRequestType.XMLDocument.XMLContent } + * + */ + public void setXMLContent(DeliveryRequestType.XMLDocument.XMLContent value) { + this.xmlContent = value; + } + + /** + * Gets the value of the xmlProfileID property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getXMLProfileID() { + return xmlProfileID; + } + + /** + * Sets the value of the xmlProfileID property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setXMLProfileID(Object value) { + this.xmlProfileID = value; + } + + /** + * Gets the value of the fileName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFileName() { + return fileName; + } + + /** + * Sets the value of the fileName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFileName(String value) { + this.fileName = value; + } + + /** + * Gets the value of the mimeType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMIMEType() { + return mimeType; + } + + /** + * Sets the value of the mimeType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMIMEType(String value) { + this.mimeType = value; + } + + /** + * Gets the value of the resultingMIMEType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getResultingMIMEType() { + return resultingMIMEType; + } + + /** + * Sets the value of the resultingMIMEType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setResultingMIMEType(String value) { + this.resultingMIMEType = value; + } + + /** + * Gets the value of the signatureXPath property. + * + * @return + * possible object is + * {@link DeliveryRequestType.XMLDocument.SignatureXPath } + * + */ + public DeliveryRequestType.XMLDocument.SignatureXPath getSignatureXPath() { + return signatureXPath; + } + + /** + * Sets the value of the signatureXPath property. + * + * @param value + * allowed object is + * {@link DeliveryRequestType.XMLDocument.SignatureXPath } + * + */ + public void setSignatureXPath(DeliveryRequestType.XMLDocument.SignatureXPath value) { + this.signatureXPath = value; + } + + /** + * Gets the value of the signatureStylesheet property. + * + * @return + * possible object is + * {@link DeliveryRequestType.XMLDocument.SignatureStylesheet } + * + */ + public DeliveryRequestType.XMLDocument.SignatureStylesheet getSignatureStylesheet() { + return signatureStylesheet; + } + + /** + * Sets the value of the signatureStylesheet property. + * + * @param value + * allowed object is + * {@link DeliveryRequestType.XMLDocument.SignatureStylesheet } + * + */ + public void setSignatureStylesheet(DeliveryRequestType.XMLDocument.SignatureStylesheet value) { + this.signatureStylesheet = value; + } + + /** + * Gets the value of the previewStylesheet property. + * + * @return + * possible object is + * {@link DeliveryRequestType.XMLDocument.PreviewStylesheet } + * + */ + public DeliveryRequestType.XMLDocument.PreviewStylesheet getPreviewStylesheet() { + return previewStylesheet; + } + + /** + * Sets the value of the previewStylesheet property. + * + * @param value + * allowed object is + * {@link DeliveryRequestType.XMLDocument.PreviewStylesheet } + * + */ + public void setPreviewStylesheet(DeliveryRequestType.XMLDocument.PreviewStylesheet value) { + this.previewStylesheet = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="XMLContent"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "fileName", + "xmlContent" + }) + public static class PreviewStylesheet { + + @XmlElement(name = "FileName", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String fileName; + @XmlElement(name = "XMLContent", required = true) + protected DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent xmlContent; + + /** + * Gets the value of the fileName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFileName() { + return fileName; + } + + /** + * Sets the value of the fileName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFileName(String value) { + this.fileName = value; + } + + /** + * Gets the value of the xmlContent property. + * + * @return + * possible object is + * {@link DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent } + * + */ + public DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent getXMLContent() { + return xmlContent; + } + + /** + * Sets the value of the xmlContent property. + * + * @param value + * allowed object is + * {@link DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent } + * + */ + public void setXMLContent(DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent value) { + this.xmlContent = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class XMLContent { + + @XmlAnyElement(lax = true) + protected Object any; + + /** + * Gets the value of the any property. + * + * @return + * possible object is + * {@link Element } + * {@link Object } + * + */ + public Object getAny() { + return any; + } + + /** + * Sets the value of the any property. + * + * @param value + * allowed object is + * {@link Element } + * {@link Object } + * + */ + public void setAny(Object value) { + this.any = value; + } + + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="XMLContent"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xmlContent" + }) + public static class SignatureStylesheet { + + @XmlElement(name = "XMLContent", required = true) + protected DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent xmlContent; + + /** + * Gets the value of the xmlContent property. + * + * @return + * possible object is + * {@link DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent } + * + */ + public DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent getXMLContent() { + return xmlContent; + } + + /** + * Sets the value of the xmlContent property. + * + * @param value + * allowed object is + * {@link DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent } + * + */ + public void setXMLContent(DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent value) { + this.xmlContent = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class XMLContent { + + @XmlAnyElement(lax = true) + protected Object any; + + /** + * Gets the value of the any property. + * + * @return + * possible object is + * {@link Element } + * {@link Object } + * + */ + public Object getAny() { + return any; + } + + /** + * Sets the value of the any property. + * + * @param value + * allowed object is + * {@link Element } + * {@link Object } + * + */ + public void setAny(Object value) { + this.any = value; + } + + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Index" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class SignatureXPath { + + @XmlValue + protected String value; + @XmlAttribute(name = "Index", required = true) + protected BigInteger index; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the index property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getIndex() { + return index; + } + + /** + * Sets the value of the index property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setIndex(BigInteger value) { + this.index = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class XMLContent { + + @XmlAnyElement(lax = true) + protected Object any; + + /** + * Gets the value of the any property. + * + * @return + * possible object is + * {@link Element } + * {@link Object } + * + */ + public Object getAny() { + return any; + } + + /** + * Sets the value of the any property. + * + * @param value + * allowed object is + * {@link Element } + * {@link Object } + * + */ + public void setAny(Object value) { + this.any = value; + } + + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/DeliveryResponseType.java b/src/main/java/at/gv/util/xsd/mzs/DeliveryResponseType.java new file mode 100644 index 0000000..0a206d3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/DeliveryResponseType.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.mzs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DeliveryResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DeliveryResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}PartialSuccess"/> + * <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}Success"/> + * <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}Error"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DeliveryResponseType", propOrder = { + "partialSuccess", + "success", + "error" +}) +public class DeliveryResponseType { + + @XmlElement(name = "PartialSuccess") + protected PartialSuccessType partialSuccess; + @XmlElement(name = "Success") + protected SuccessType success; + @XmlElement(name = "Error") + protected ErrorType error; + + /** + * Gets the value of the partialSuccess property. + * + * @return + * possible object is + * {@link PartialSuccessType } + * + */ + public PartialSuccessType getPartialSuccess() { + return partialSuccess; + } + + /** + * Sets the value of the partialSuccess property. + * + * @param value + * allowed object is + * {@link PartialSuccessType } + * + */ + public void setPartialSuccess(PartialSuccessType value) { + this.partialSuccess = value; + } + + /** + * Gets the value of the success property. + * + * @return + * possible object is + * {@link SuccessType } + * + */ + public SuccessType getSuccess() { + return success; + } + + /** + * Sets the value of the success property. + * + * @param value + * allowed object is + * {@link SuccessType } + * + */ + public void setSuccess(SuccessType value) { + this.success = value; + } + + /** + * Gets the value of the error property. + * + * @return + * possible object is + * {@link ErrorType } + * + */ + public ErrorType getError() { + return error; + } + + /** + * Sets the value of the error property. + * + * @param value + * allowed object is + * {@link ErrorType } + * + */ + public void setError(ErrorType value) { + this.error = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/DeliveryStatementType.java b/src/main/java/at/gv/util/xsd/mzs/DeliveryStatementType.java new file mode 100644 index 0000000..432e9dc --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/DeliveryStatementType.java @@ -0,0 +1,128 @@ + +package at.gv.util.xsd.mzs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +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; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for DeliveryStatementType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DeliveryStatementType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}MessageType"> + * <sequence> + * <element name="DeliveryServer" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="ZSDeliveryID" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="Timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DeliveryStatementType", propOrder = { + "deliveryServer", + "zsDeliveryID", + "timestamp" +}) +public class DeliveryStatementType + extends MessageType +{ + + @XmlElement(name = "DeliveryServer", required = true) + @XmlSchemaType(name = "anyURI") + protected String deliveryServer; + @XmlElement(name = "ZSDeliveryID", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String zsDeliveryID; + @XmlElement(name = "Timestamp", required = true) + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar timestamp; + + /** + * Gets the value of the deliveryServer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDeliveryServer() { + return deliveryServer; + } + + /** + * Sets the value of the deliveryServer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDeliveryServer(String value) { + this.deliveryServer = value; + } + + /** + * Gets the value of the zsDeliveryID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getZSDeliveryID() { + return zsDeliveryID; + } + + /** + * Sets the value of the zsDeliveryID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setZSDeliveryID(String value) { + this.zsDeliveryID = value; + } + + /** + * Gets the value of the timestamp property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTimestamp() { + return timestamp; + } + + /** + * Sets the value of the timestamp property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setTimestamp(XMLGregorianCalendar value) { + this.timestamp = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/ErrorType.java b/src/main/java/at/gv/util/xsd/mzs/ErrorType.java new file mode 100644 index 0000000..9b4d000 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/ErrorType.java @@ -0,0 +1,123 @@ + +package at.gv.util.xsd.mzs; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ErrorType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ErrorType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}MessageType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * <element name="Text" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="DocumentReference" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ErrorType", propOrder = { + "code", + "text", + "documentReference" +}) +public class ErrorType + extends MessageType +{ + + @XmlElement(name = "Code", required = true) + protected BigInteger code; + @XmlElement(name = "Text", required = true) + protected String text; + @XmlElement(name = "DocumentReference") + @XmlSchemaType(name = "anyURI") + protected String documentReference; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the text property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getText() { + return text; + } + + /** + * Sets the value of the text property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setText(String value) { + this.text = value; + } + + /** + * Gets the value of the documentReference property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDocumentReference() { + return documentReference; + } + + /** + * Sets the value of the documentReference property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDocumentReference(String value) { + this.documentReference = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/MessageType.java b/src/main/java/at/gv/util/xsd/mzs/MessageType.java new file mode 100644 index 0000000..a153d49 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/MessageType.java @@ -0,0 +1,102 @@ + +package at.gv.util.xsd.mzs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +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; + + +/** + * abstract message type + * + * <p>Java class for MessageType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="MessageType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}AppDeliveryID"/> + * <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}MZSDeliveryID"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "MessageType", propOrder = { + "appDeliveryID", + "mzsDeliveryID" +}) +@XmlSeeAlso({ + PartialSuccessType.class, + SuccessType.class, + DeliveryStatementType.class, + ErrorType.class +}) +public class MessageType { + + @XmlElement(name = "AppDeliveryID", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String appDeliveryID; + @XmlElement(name = "MZSDeliveryID", required = true) + protected String mzsDeliveryID; + + /** + * Gets the value of the appDeliveryID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAppDeliveryID() { + return appDeliveryID; + } + + /** + * Sets the value of the appDeliveryID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAppDeliveryID(String value) { + this.appDeliveryID = value; + } + + /** + * Gets the value of the mzsDeliveryID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMZSDeliveryID() { + return mzsDeliveryID; + } + + /** + * Sets the value of the mzsDeliveryID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMZSDeliveryID(String value) { + this.mzsDeliveryID = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mzs/ObjectFactory.java new file mode 100644 index 0000000..b035226 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/ObjectFactory.java @@ -0,0 +1,349 @@ + +package at.gv.util.xsd.mzs; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; +import at.gv.util.xsd.mzs.persondata.PersonDataType; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.mzs package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _DeliveryRequest_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "DeliveryRequest"); + private final static QName _DeliveryResponse_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "DeliveryResponse"); + private final static QName _Receiver_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "Receiver"); + private final static QName _MZSDeliveryID_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "MZSDeliveryID"); + private final static QName _AppDeliveryID_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "AppDeliveryID"); + private final static QName _PartialSuccess_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "PartialSuccess"); + private final static QName _DeliveryNotificationACK_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "DeliveryNotificationACK"); + private final static QName _DeliveryNotification_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "DeliveryNotification"); + private final static QName _DeliveryStatement_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "DeliveryStatement"); + private final static QName _Success_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "Success"); + private final static QName _Error_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "Error"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mzs + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link DeliveryRequestType.XMLDocument } + * + */ + public DeliveryRequestType.XMLDocument createDeliveryRequestTypeXMLDocument() { + return new DeliveryRequestType.XMLDocument(); + } + + /** + * Create an instance of {@link DeliveryResponseType } + * + */ + public DeliveryResponseType createDeliveryResponseType() { + return new DeliveryResponseType(); + } + + /** + * Create an instance of {@link DeliveryRequestType.Payload } + * + */ + public DeliveryRequestType.Payload createDeliveryRequestTypePayload() { + return new DeliveryRequestType.Payload(); + } + + /** + * Create an instance of {@link DeliveryRequestType.MetaData.DualDelivery.PrintParameter } + * + */ + public DeliveryRequestType.MetaData.DualDelivery.PrintParameter createDeliveryRequestTypeMetaDataDualDeliveryPrintParameter() { + return new DeliveryRequestType.MetaData.DualDelivery.PrintParameter(); + } + + /** + * Create an instance of {@link SuccessType } + * + */ + public SuccessType createSuccessType() { + return new SuccessType(); + } + + /** + * Create an instance of {@link DeliveryRequestType.Sender } + * + */ + public DeliveryRequestType.Sender createDeliveryRequestTypeSender() { + return new DeliveryRequestType.Sender(); + } + + /** + * Create an instance of {@link MessageType } + * + */ + public MessageType createMessageType() { + return new MessageType(); + } + + /** + * Create an instance of {@link PartialSuccessType } + * + */ + public PartialSuccessType createPartialSuccessType() { + return new PartialSuccessType(); + } + + /** + * Create an instance of {@link DeliveryRequestType.MetaData } + * + */ + public DeliveryRequestType.MetaData createDeliveryRequestTypeMetaData() { + return new DeliveryRequestType.MetaData(); + } + + /** + * Create an instance of {@link DeliveryRequestType } + * + */ + public DeliveryRequestType createDeliveryRequestType() { + return new DeliveryRequestType(); + } + + /** + * Create an instance of {@link DeliveryRequestType.Server } + * + */ + public DeliveryRequestType.Server createDeliveryRequestTypeServer() { + return new DeliveryRequestType.Server(); + } + + /** + * Create an instance of {@link DeliveryRequestType.MetaData.MailBody } + * + */ + public DeliveryRequestType.MetaData.MailBody createDeliveryRequestTypeMetaDataMailBody() { + return new DeliveryRequestType.MetaData.MailBody(); + } + + /** + * Create an instance of {@link DeliveryNotificationACKType } + * + */ + public DeliveryNotificationACKType createDeliveryNotificationACKType() { + return new DeliveryNotificationACKType(); + } + + /** + * Create an instance of {@link DeliveryStatementType } + * + */ + public DeliveryStatementType createDeliveryStatementType() { + return new DeliveryStatementType(); + } + + /** + * Create an instance of {@link DeliveryRequestType.XMLDocument.PreviewStylesheet } + * + */ + public DeliveryRequestType.XMLDocument.PreviewStylesheet createDeliveryRequestTypeXMLDocumentPreviewStylesheet() { + return new DeliveryRequestType.XMLDocument.PreviewStylesheet(); + } + + /** + * Create an instance of {@link ErrorType } + * + */ + public ErrorType createErrorType() { + return new ErrorType(); + } + + /** + * Create an instance of {@link DeliveryRequestType.XMLDocument.SignatureXPath } + * + */ + public DeliveryRequestType.XMLDocument.SignatureXPath createDeliveryRequestTypeXMLDocumentSignatureXPath() { + return new DeliveryRequestType.XMLDocument.SignatureXPath(); + } + + /** + * Create an instance of {@link DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent } + * + */ + public DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent createDeliveryRequestTypeXMLDocumentPreviewStylesheetXMLContent() { + return new DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent(); + } + + /** + * Create an instance of {@link DeliveryRequestType.XMLDocument.XMLContent } + * + */ + public DeliveryRequestType.XMLDocument.XMLContent createDeliveryRequestTypeXMLDocumentXMLContent() { + return new DeliveryRequestType.XMLDocument.XMLContent(); + } + + /** + * Create an instance of {@link DeliveryRequestType.MetaData.DualDelivery } + * + */ + public DeliveryRequestType.MetaData.DualDelivery createDeliveryRequestTypeMetaDataDualDelivery() { + return new DeliveryRequestType.MetaData.DualDelivery(); + } + + /** + * Create an instance of {@link DeliveryRequestType.Payload.DocumentReference } + * + */ + public DeliveryRequestType.Payload.DocumentReference createDeliveryRequestTypePayloadDocumentReference() { + return new DeliveryRequestType.Payload.DocumentReference(); + } + + /** + * Create an instance of {@link DeliveryRequestType.XMLDocument.SignatureStylesheet } + * + */ + public DeliveryRequestType.XMLDocument.SignatureStylesheet createDeliveryRequestTypeXMLDocumentSignatureStylesheet() { + return new DeliveryRequestType.XMLDocument.SignatureStylesheet(); + } + + /** + * Create an instance of {@link DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent } + * + */ + public DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent createDeliveryRequestTypeXMLDocumentSignatureStylesheetXMLContent() { + return new DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent(); + } + + /** + * Create an instance of {@link DeliveryNotificationType } + * + */ + public DeliveryNotificationType createDeliveryNotificationType() { + return new DeliveryNotificationType(); + } + + /** + * Create an instance of {@link DeliveryRequestType.Payload.BinaryDocument } + * + */ + public DeliveryRequestType.Payload.BinaryDocument createDeliveryRequestTypePayloadBinaryDocument() { + return new DeliveryRequestType.Payload.BinaryDocument(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DeliveryRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "DeliveryRequest") + public JAXBElement<DeliveryRequestType> createDeliveryRequest(DeliveryRequestType value) { + return new JAXBElement<DeliveryRequestType>(_DeliveryRequest_QNAME, DeliveryRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DeliveryResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "DeliveryResponse") + public JAXBElement<DeliveryResponseType> createDeliveryResponse(DeliveryResponseType value) { + return new JAXBElement<DeliveryResponseType>(_DeliveryResponse_QNAME, DeliveryResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "Receiver") + public JAXBElement<PersonDataType> createReceiver(PersonDataType value) { + return new JAXBElement<PersonDataType>(_Receiver_QNAME, PersonDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "MZSDeliveryID") + public JAXBElement<String> createMZSDeliveryID(String value) { + return new JAXBElement<String>(_MZSDeliveryID_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "AppDeliveryID") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createAppDeliveryID(String value) { + return new JAXBElement<String>(_AppDeliveryID_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PartialSuccessType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "PartialSuccess") + public JAXBElement<PartialSuccessType> createPartialSuccess(PartialSuccessType value) { + return new JAXBElement<PartialSuccessType>(_PartialSuccess_QNAME, PartialSuccessType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DeliveryNotificationACKType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "DeliveryNotificationACK") + public JAXBElement<DeliveryNotificationACKType> createDeliveryNotificationACK(DeliveryNotificationACKType value) { + return new JAXBElement<DeliveryNotificationACKType>(_DeliveryNotificationACK_QNAME, DeliveryNotificationACKType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DeliveryNotificationType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "DeliveryNotification") + public JAXBElement<DeliveryNotificationType> createDeliveryNotification(DeliveryNotificationType value) { + return new JAXBElement<DeliveryNotificationType>(_DeliveryNotification_QNAME, DeliveryNotificationType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DeliveryStatementType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "DeliveryStatement") + public JAXBElement<DeliveryStatementType> createDeliveryStatement(DeliveryStatementType value) { + return new JAXBElement<DeliveryStatementType>(_DeliveryStatement_QNAME, DeliveryStatementType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SuccessType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "Success") + public JAXBElement<SuccessType> createSuccess(SuccessType value) { + return new JAXBElement<SuccessType>(_Success_QNAME, SuccessType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ErrorType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "Error") + public JAXBElement<ErrorType> createError(ErrorType value) { + return new JAXBElement<ErrorType>(_Error_QNAME, ErrorType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/PartialSuccessType.java b/src/main/java/at/gv/util/xsd/mzs/PartialSuccessType.java new file mode 100644 index 0000000..609c250 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/PartialSuccessType.java @@ -0,0 +1,32 @@ + +package at.gv.util.xsd.mzs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for PartialSuccessType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PartialSuccessType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}MessageType"> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PartialSuccessType") +public class PartialSuccessType + extends MessageType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/SuccessType.java b/src/main/java/at/gv/util/xsd/mzs/SuccessType.java new file mode 100644 index 0000000..fc7514b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/SuccessType.java @@ -0,0 +1,32 @@ + +package at.gv.util.xsd.mzs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SuccessType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SuccessType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}MessageType"> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SuccessType") +public class SuccessType + extends MessageType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/package-info.java b/src/main/java/at/gv/util/xsd/mzs/package-info.java new file mode 100644 index 0000000..bb5f820 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mzs; diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/AbstractAddressType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/AbstractAddressType.java new file mode 100644 index 0000000..0d1a732 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/AbstractAddressType.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.mzs.persondata; + +import java.util.HashMap; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +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 javax.xml.namespace.QName; + + +/** + * main structure of address data + * + * <p>Java class for AbstractAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractAddressType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='##other'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractAddressType") +@XmlSeeAlso({ + PostalAddressType.class, + TelephoneAddressType.class, + InternetAddressType.class +}) +public class AbstractAddressType { + + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * 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; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/AbstractPersonType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/AbstractPersonType.java new file mode 100644 index 0000000..00cba22 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/AbstractPersonType.java @@ -0,0 +1,136 @@ + +package at.gv.util.xsd.mzs.persondata; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +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 javax.xml.namespace.QName; + + +/** + * main structure of person data + * + * <p>Java class for AbstractPersonType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractPersonType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice minOccurs="0"> + * <element name="Identification" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}IdentificationType" maxOccurs="unbounded" minOccurs="0"/> + * </choice> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='##other'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractPersonType", propOrder = { + "identification" +}) +@XmlSeeAlso({ + PhysicalPersonType.class, + CorporateBodyType.class +}) +public class AbstractPersonType { + + @XmlElement(name = "Identification") + protected List<IdentificationType> identification; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Gets the value of the identification property. + * + * <p> + * 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 <CODE>set</CODE> method for the identification property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getIdentification().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link IdentificationType } + * + * + */ + public List<IdentificationType> getIdentification() { + if (identification == null) { + identification = new ArrayList<IdentificationType>(); + } + return this.identification; + } + + /** + * 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; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/CorporateBodyType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/CorporateBodyType.java new file mode 100644 index 0000000..4f2710b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/CorporateBodyType.java @@ -0,0 +1,102 @@ + +package at.gv.util.xsd.mzs.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +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; + + +/** + * juridical person, organisation + * + * <p>Java class for CorporateBodyType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CorporateBodyType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element name="FullName" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="Organization" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CorporateBodyType", propOrder = { + "fullName", + "organization" +}) +public class CorporateBodyType + extends AbstractPersonType +{ + + @XmlElement(name = "FullName") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String fullName; + @XmlElement(name = "Organization") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String organization; + + /** + * Gets the value of the fullName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFullName() { + return fullName; + } + + /** + * Sets the value of the fullName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFullName(String value) { + this.fullName = value; + } + + /** + * Gets the value of the organization property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrganization() { + return organization; + } + + /** + * Sets the value of the organization property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrganization(String value) { + this.organization = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/IdentificationType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/IdentificationType.java new file mode 100644 index 0000000..81816d5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/IdentificationType.java @@ -0,0 +1,244 @@ + +package at.gv.util.xsd.mzs.persondata; + +import java.util.HashMap; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; + + +/** + * unique identifier + * + * <p>Java class for IdentificationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="IdentificationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Value"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='##other'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IdentificationType", propOrder = { + "value", + "type" +}) +public class IdentificationType { + + @XmlElement(name = "Value", required = true) + protected IdentificationType.Value value; + @XmlElement(name = "Type", required = true) + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link IdentificationType.Value } + * + */ + public IdentificationType.Value getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link IdentificationType.Value } + * + */ + public void setValue(IdentificationType.Value value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * 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; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Value { + + @XmlValue + protected String value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/InternetAddressType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/InternetAddressType.java new file mode 100644 index 0000000..06fd72c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/InternetAddressType.java @@ -0,0 +1,69 @@ + +package at.gv.util.xsd.mzs.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * internet based communication + * + * <p>Java class for InternetAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InternetAddressType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> + * <sequence minOccurs="0"> + * <element name="Address" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InternetAddressType", propOrder = { + "address" +}) +public class InternetAddressType + extends AbstractAddressType +{ + + @XmlElement(name = "Address") + @XmlSchemaType(name = "anyURI") + protected String address; + + /** + * Gets the value of the address property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAddress() { + return address; + } + + /** + * Sets the value of the address property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAddress(String value) { + this.address = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mzs/persondata/ObjectFactory.java new file mode 100644 index 0000000..a9e9396 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/ObjectFactory.java @@ -0,0 +1,268 @@ + +package at.gv.util.xsd.mzs.persondata; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.mzs.persondata package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Name_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Name"); + private final static QName _DateOfBirth_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "DateOfBirth"); + private final static QName _Address_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Address"); + private final static QName _PhysicalPerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PhysicalPerson"); + private final static QName _AbstractPersonData_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "AbstractPersonData"); + private final static QName _CorporateBody_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CorporateBody"); + private final static QName _Person_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Person"); + private final static QName _PersonData_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PersonData"); + private final static QName _PostalAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PostalAddress"); + private final static QName _TelephoneAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "TelephoneAddress"); + private final static QName _InternetAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "InternetAddress"); + private final static QName _FormattedNumber_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "FormattedNumber"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mzs.persondata + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link PostalAddressType } + * + */ + public PostalAddressType createPostalAddressType() { + return new PostalAddressType(); + } + + /** + * Create an instance of {@link PersonDataType } + * + */ + public PersonDataType createPersonDataType() { + return new PersonDataType(); + } + + /** + * Create an instance of {@link IdentificationType } + * + */ + public IdentificationType createIdentificationType() { + return new IdentificationType(); + } + + /** + * Create an instance of {@link CorporateBodyType } + * + */ + public CorporateBodyType createCorporateBodyType() { + return new CorporateBodyType(); + } + + /** + * Create an instance of {@link InternetAddressType } + * + */ + public InternetAddressType createInternetAddressType() { + return new InternetAddressType(); + } + + /** + * Create an instance of {@link TelcomNumberType } + * + */ + public TelcomNumberType createTelcomNumberType() { + return new TelcomNumberType(); + } + + /** + * Create an instance of {@link TelephoneAddressType } + * + */ + public TelephoneAddressType createTelephoneAddressType() { + return new TelephoneAddressType(); + } + + /** + * Create an instance of {@link AbstractAddressType } + * + */ + public AbstractAddressType createAbstractAddressType() { + return new AbstractAddressType(); + } + + /** + * Create an instance of {@link PostalAddressType.DeliveryAddress } + * + */ + public PostalAddressType.DeliveryAddress createPostalAddressTypeDeliveryAddress() { + return new PostalAddressType.DeliveryAddress(); + } + + /** + * Create an instance of {@link PhysicalPersonType } + * + */ + public PhysicalPersonType createPhysicalPersonType() { + return new PhysicalPersonType(); + } + + /** + * Create an instance of {@link PersonNameType.FamilyName } + * + */ + public PersonNameType.FamilyName createPersonNameTypeFamilyName() { + return new PersonNameType.FamilyName(); + } + + /** + * Create an instance of {@link AbstractPersonType } + * + */ + public AbstractPersonType createAbstractPersonType() { + return new AbstractPersonType(); + } + + /** + * Create an instance of {@link IdentificationType.Value } + * + */ + public IdentificationType.Value createIdentificationTypeValue() { + return new IdentificationType.Value(); + } + + /** + * Create an instance of {@link PersonNameType } + * + */ + public PersonNameType createPersonNameType() { + return new PersonNameType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonNameType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Name") + public JAXBElement<PersonNameType> createName(PersonNameType value) { + return new JAXBElement<PersonNameType>(_Name_QNAME, PersonNameType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "DateOfBirth") + public JAXBElement<XMLGregorianCalendar> createDateOfBirth(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_DateOfBirth_QNAME, XMLGregorianCalendar.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Address") + public JAXBElement<AbstractAddressType> createAddress(AbstractAddressType value) { + return new JAXBElement<AbstractAddressType>(_Address_QNAME, AbstractAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PhysicalPerson", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Person") + public JAXBElement<PhysicalPersonType> createPhysicalPerson(PhysicalPersonType value) { + return new JAXBElement<PhysicalPersonType>(_PhysicalPerson_QNAME, PhysicalPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "AbstractPersonData") + public JAXBElement<AbstractPersonType> createAbstractPersonData(AbstractPersonType value) { + return new JAXBElement<AbstractPersonType>(_AbstractPersonData_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "CorporateBody", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Person") + public JAXBElement<CorporateBodyType> createCorporateBody(CorporateBodyType value) { + return new JAXBElement<CorporateBodyType>(_CorporateBody_QNAME, CorporateBodyType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Person") + public JAXBElement<AbstractPersonType> createPerson(AbstractPersonType value) { + return new JAXBElement<AbstractPersonType>(_Person_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PersonData") + public JAXBElement<PersonDataType> createPersonData(PersonDataType value) { + return new JAXBElement<PersonDataType>(_PersonData_QNAME, PersonDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PostalAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PostalAddress", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Address") + public JAXBElement<PostalAddressType> createPostalAddress(PostalAddressType value) { + return new JAXBElement<PostalAddressType>(_PostalAddress_QNAME, PostalAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TelephoneAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "TelephoneAddress", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Address") + public JAXBElement<TelephoneAddressType> createTelephoneAddress(TelephoneAddressType value) { + return new JAXBElement<TelephoneAddressType>(_TelephoneAddress_QNAME, TelephoneAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link InternetAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "InternetAddress", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Address") + public JAXBElement<InternetAddressType> createInternetAddress(InternetAddressType value) { + return new JAXBElement<InternetAddressType>(_InternetAddress_QNAME, InternetAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "FormattedNumber") + public JAXBElement<String> createFormattedNumber(String value) { + return new JAXBElement<String>(_FormattedNumber_QNAME, String.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/PersonDataType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/PersonDataType.java new file mode 100644 index 0000000..e429cc8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/PersonDataType.java @@ -0,0 +1,107 @@ + +package at.gv.util.xsd.mzs.persondata; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlType; + + +/** + * signed person datastructure. The first Identification elements (from the base type) denote the record as such (e.g. database key for this record) - not to be mistaken for identifiers of the person or of an address (they have their own Identification elements). + * + * <p>Java class for PersonDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Person"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Address" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonDataType", propOrder = { + "person", + "address" +}) +public class PersonDataType { + + @XmlElementRef(name = "Person", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class) + protected JAXBElement<? extends AbstractPersonType> person; + @XmlElementRef(name = "Address", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class) + protected List<JAXBElement<? extends AbstractAddressType>> address; + + /** + * Gets the value of the person property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * + */ + public JAXBElement<? extends AbstractPersonType> getPerson() { + return person; + } + + /** + * Sets the value of the person property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * + */ + public void setPerson(JAXBElement<? extends AbstractPersonType> value) { + this.person = ((JAXBElement<? extends AbstractPersonType> ) value); + } + + /** + * Gets the value of the address property. + * + * <p> + * 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 <CODE>set</CODE> method for the address property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAddress().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link PostalAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link TelephoneAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link InternetAddressType }{@code >} + * + * + */ + public List<JAXBElement<? extends AbstractAddressType>> getAddress() { + if (address == null) { + address = new ArrayList<JAXBElement<? extends AbstractAddressType>>(); + } + return this.address; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/PersonNameType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/PersonNameType.java new file mode 100644 index 0000000..59c9dc3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/PersonNameType.java @@ -0,0 +1,227 @@ + +package at.gv.util.xsd.mzs.persondata; + +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.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for PersonNameType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonNameType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="FamilyName"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primary" default="undefined"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="true"/> + * <enumeration value="false"/> + * <enumeration value="undefined"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonNameType", propOrder = { + "givenName", + "familyName" +}) +public class PersonNameType { + + @XmlElement(name = "GivenName", required = true) + protected String givenName; + @XmlElement(name = "FamilyName", required = true) + protected PersonNameType.FamilyName familyName; + + /** + * Gets the value of the givenName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGivenName() { + return givenName; + } + + /** + * Sets the value of the givenName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGivenName(String value) { + this.givenName = value; + } + + /** + * Gets the value of the familyName property. + * + * @return + * possible object is + * {@link PersonNameType.FamilyName } + * + */ + public PersonNameType.FamilyName getFamilyName() { + return familyName; + } + + /** + * Sets the value of the familyName property. + * + * @param value + * allowed object is + * {@link PersonNameType.FamilyName } + * + */ + public void setFamilyName(PersonNameType.FamilyName value) { + this.familyName = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primary" default="undefined"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="true"/> + * <enumeration value="false"/> + * <enumeration value="undefined"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class FamilyName { + + @XmlValue + protected String value; + @XmlAttribute + protected String primary; + @XmlAttribute + protected String prefix; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the primary property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrimary() { + if (primary == null) { + return "undefined"; + } else { + return primary; + } + } + + /** + * Sets the value of the primary property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrimary(String value) { + this.primary = value; + } + + /** + * Gets the value of the prefix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrefix() { + return prefix; + } + + /** + * Sets the value of the prefix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrefix(String value) { + this.prefix = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/PhysicalPersonType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/PhysicalPersonType.java new file mode 100644 index 0000000..015f0aa --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/PhysicalPersonType.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.mzs.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * physical person + * + * <p>Java class for PhysicalPersonType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PhysicalPersonType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Name"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}DateOfBirth" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PhysicalPersonType", propOrder = { + "name", + "dateOfBirth" +}) +public class PhysicalPersonType + extends AbstractPersonType +{ + + @XmlElement(name = "Name") + protected PersonNameType name; + @XmlElement(name = "DateOfBirth") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar dateOfBirth; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link PersonNameType } + * + */ + public PersonNameType getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link PersonNameType } + * + */ + public void setName(PersonNameType value) { + this.name = value; + } + + /** + * Gets the value of the dateOfBirth property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getDateOfBirth() { + return dateOfBirth; + } + + /** + * Sets the value of the dateOfBirth property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setDateOfBirth(XMLGregorianCalendar value) { + this.dateOfBirth = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/PostalAddressType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/PostalAddressType.java new file mode 100644 index 0000000..78071e6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/PostalAddressType.java @@ -0,0 +1,307 @@ + +package at.gv.util.xsd.mzs.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for PostalAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PostalAddressType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> + * <sequence> + * <element name="CountryCode" minOccurs="0"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <pattern value="[A-Z]{2}"/> + * </restriction> + * </simpleType> + * </element> + * <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="DeliveryAddress"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DoorNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PostalAddressType", propOrder = { + "countryCode", + "postalCode", + "municipality", + "deliveryAddress" +}) +public class PostalAddressType + extends AbstractAddressType +{ + + @XmlElement(name = "CountryCode") + protected String countryCode; + @XmlElement(name = "PostalCode", required = true) + protected String postalCode; + @XmlElement(name = "Municipality", required = true) + protected String municipality; + @XmlElement(name = "DeliveryAddress", required = true) + protected PostalAddressType.DeliveryAddress deliveryAddress; + + /** + * Gets the value of the countryCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryCode() { + return countryCode; + } + + /** + * Sets the value of the countryCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryCode(String value) { + this.countryCode = value; + } + + /** + * Gets the value of the postalCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostalCode() { + return postalCode; + } + + /** + * Sets the value of the postalCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostalCode(String value) { + this.postalCode = value; + } + + /** + * Gets the value of the municipality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMunicipality() { + return municipality; + } + + /** + * Sets the value of the municipality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMunicipality(String value) { + this.municipality = value; + } + + /** + * Gets the value of the deliveryAddress property. + * + * @return + * possible object is + * {@link PostalAddressType.DeliveryAddress } + * + */ + public PostalAddressType.DeliveryAddress getDeliveryAddress() { + return deliveryAddress; + } + + /** + * Sets the value of the deliveryAddress property. + * + * @param value + * allowed object is + * {@link PostalAddressType.DeliveryAddress } + * + */ + public void setDeliveryAddress(PostalAddressType.DeliveryAddress value) { + this.deliveryAddress = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DoorNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "streetName", + "buildingNumber", + "unit", + "doorNumber" + }) + public static class DeliveryAddress { + + @XmlElement(name = "StreetName", required = true) + protected String streetName; + @XmlElement(name = "BuildingNumber", required = true) + protected String buildingNumber; + @XmlElement(name = "Unit") + protected String unit; + @XmlElement(name = "DoorNumber") + protected String doorNumber; + + /** + * Gets the value of the streetName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStreetName() { + return streetName; + } + + /** + * Sets the value of the streetName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStreetName(String value) { + this.streetName = value; + } + + /** + * Gets the value of the buildingNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBuildingNumber() { + return buildingNumber; + } + + /** + * Sets the value of the buildingNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBuildingNumber(String value) { + this.buildingNumber = value; + } + + /** + * Gets the value of the unit property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUnit() { + return unit; + } + + /** + * Sets the value of the unit property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUnit(String value) { + this.unit = value; + } + + /** + * Gets the value of the doorNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDoorNumber() { + return doorNumber; + } + + /** + * Sets the value of the doorNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDoorNumber(String value) { + this.doorNumber = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/TelcomNumberType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/TelcomNumberType.java new file mode 100644 index 0000000..490b3e8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/TelcomNumberType.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.mzs.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TelcomNumberType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TelcomNumberType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}FormattedNumber"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TelcomNumberType", propOrder = { + "formattedNumber" +}) +public class TelcomNumberType { + + @XmlElement(name = "FormattedNumber", required = true) + protected String formattedNumber; + + /** + * Gets the value of the formattedNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFormattedNumber() { + return formattedNumber; + } + + /** + * Sets the value of the formattedNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFormattedNumber(String value) { + this.formattedNumber = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/TelephoneAddressType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/TelephoneAddressType.java new file mode 100644 index 0000000..9e59fc8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/TelephoneAddressType.java @@ -0,0 +1,67 @@ + +package at.gv.util.xsd.mzs.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * phone numbers + * + * <p>Java class for TelephoneAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TelephoneAddressType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> + * <sequence> + * <element name="Number" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}TelcomNumberType"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TelephoneAddressType", propOrder = { + "number" +}) +public class TelephoneAddressType + extends AbstractAddressType +{ + + @XmlElement(name = "Number", required = true) + protected TelcomNumberType number; + + /** + * Gets the value of the number property. + * + * @return + * possible object is + * {@link TelcomNumberType } + * + */ + public TelcomNumberType getNumber() { + return number; + } + + /** + * Sets the value of the number property. + * + * @param value + * allowed object is + * {@link TelcomNumberType } + * + */ + public void setNumber(TelcomNumberType value) { + this.number = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/package-info.java b/src/main/java/at/gv/util/xsd/mzs/persondata/package-info.java new file mode 100644 index 0000000..f01caea --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mzs.persondata; diff --git a/src/main/java/at/gv/util/xsd/omsp/ObjectFactory.java b/src/main/java/at/gv/util/xsd/omsp/ObjectFactory.java new file mode 100644 index 0000000..af73592 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/ObjectFactory.java @@ -0,0 +1,107 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.omsp package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Status_QNAME = new QName("http://reference.e-government.gv.at/namespace/moavv/20070102#", "Status"); + private final static QName _RevocationDate_QNAME = new QName("http://reference.e-government.gv.at/namespace/moavv/20070102#", "RevocationDate"); + private final static QName _StatusDate_QNAME = new QName("http://reference.e-government.gv.at/namespace/moavv/20070102#", "StatusDate"); + private final static QName _MandateID_QNAME = new QName("http://reference.e-government.gv.at/namespace/moavv/20070102#", "MandateID"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.omsp + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link SimpleResponse } + * + */ + public SimpleResponse createSimpleResponse() { + return new SimpleResponse(); + } + + /** + * Create an instance of {@link StatusResponse } + * + */ + public StatusResponse createStatusResponse() { + return new StatusResponse(); + } + + /** + * Create an instance of {@link SignedStatusResponse } + * + */ + public SignedStatusResponse createSignedStatusResponse() { + return new SignedStatusResponse(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moavv/20070102#", name = "Status") + public JAXBElement<String> createStatus(String value) { + return new JAXBElement<String>(_Status_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moavv/20070102#", name = "RevocationDate") + public JAXBElement<XMLGregorianCalendar> createRevocationDate(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_RevocationDate_QNAME, XMLGregorianCalendar.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moavv/20070102#", name = "StatusDate") + public JAXBElement<XMLGregorianCalendar> createStatusDate(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_StatusDate_QNAME, XMLGregorianCalendar.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moavv/20070102#", name = "MandateID") + public JAXBElement<String> createMandateID(String value) { + return new JAXBElement<String>(_MandateID_QNAME, String.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/SignedStatusResponse.java b/src/main/java/at/gv/util/xsd/omsp/SignedStatusResponse.java new file mode 100644 index 0000000..cdfbdbd --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/SignedStatusResponse.java @@ -0,0 +1,107 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.omsp.xsd.SignatureType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/moavv/20070102#}StatusResponse" maxOccurs="unbounded"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "statusResponse", + "signature" +}) +@XmlRootElement(name = "SignedStatusResponse") +public class SignedStatusResponse { + + @XmlElement(name = "StatusResponse", required = true) + protected List<StatusResponse> statusResponse; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureType signature; + + /** + * Gets the value of the statusResponse property. + * + * <p> + * 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 <CODE>set</CODE> method for the statusResponse property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getStatusResponse().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link StatusResponse } + * + * + */ + public List<StatusResponse> getStatusResponse() { + if (statusResponse == null) { + statusResponse = new ArrayList<StatusResponse>(); + } + return this.statusResponse; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/SimpleResponse.java b/src/main/java/at/gv/util/xsd/omsp/SimpleResponse.java new file mode 100644 index 0000000..68007a1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/SimpleResponse.java @@ -0,0 +1,156 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/moavv/20070102#}MandateID"/> + * <element ref="{http://reference.e-government.gv.at/namespace/moavv/20070102#}StatusDate"/> + * <element ref="{http://reference.e-government.gv.at/namespace/moavv/20070102#}Status"/> + * <element ref="{http://reference.e-government.gv.at/namespace/moavv/20070102#}RevocationDate"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "mandateID", + "statusDate", + "status", + "revocationDate" +}) +@XmlRootElement(name = "SimpleResponse") +public class SimpleResponse { + + @XmlElement(name = "MandateID", required = true) + protected String mandateID; + @XmlElement(name = "StatusDate", required = true) + protected XMLGregorianCalendar statusDate; + @XmlElement(name = "Status", required = true) + protected String status; + @XmlElement(name = "RevocationDate", required = true) + protected XMLGregorianCalendar revocationDate; + + /** + * Gets the value of the mandateID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMandateID() { + return mandateID; + } + + /** + * Sets the value of the mandateID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMandateID(String value) { + this.mandateID = value; + } + + /** + * Gets the value of the statusDate property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getStatusDate() { + return statusDate; + } + + /** + * Sets the value of the statusDate property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setStatusDate(XMLGregorianCalendar value) { + this.statusDate = value; + } + + /** + * Gets the value of the status property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStatus() { + return status; + } + + /** + * Sets the value of the status property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStatus(String value) { + this.status = value; + } + + /** + * Gets the value of the revocationDate property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getRevocationDate() { + return revocationDate; + } + + /** + * Sets the value of the revocationDate property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setRevocationDate(XMLGregorianCalendar value) { + this.revocationDate = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/StatusResponse.java b/src/main/java/at/gv/util/xsd/omsp/StatusResponse.java new file mode 100644 index 0000000..6002ec4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/StatusResponse.java @@ -0,0 +1,112 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp; + +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.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/moavv/20070102#}SimpleResponse" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="ID" use="required"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="unknown"/> + * </restriction> + * </simpleType> + * </attribute> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "simpleResponse" +}) +@XmlRootElement(name = "StatusResponse") +public class StatusResponse { + + @XmlElement(name = "SimpleResponse", required = true) + protected List<SimpleResponse> simpleResponse; + @XmlAttribute(name = "ID", required = true) + protected String id; + + /** + * Gets the value of the simpleResponse property. + * + * <p> + * 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 <CODE>set</CODE> method for the simpleResponse property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSimpleResponse().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link SimpleResponse } + * + * + */ + public List<SimpleResponse> getSimpleResponse() { + if (simpleResponse == null) { + simpleResponse = new ArrayList<SimpleResponse>(); + } + return this.simpleResponse; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/package-info.java b/src/main/java/at/gv/util/xsd/omsp/package-info.java new file mode 100644 index 0000000..d4787e7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/package-info.java @@ -0,0 +1,9 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/moavv/20070102#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.omsp; diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/CanonicalizationMethodType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/CanonicalizationMethodType.java new file mode 100644 index 0000000..ace4b72 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/CanonicalizationMethodType.java @@ -0,0 +1,109 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CanonicalizationMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CanonicalizationMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CanonicalizationMethodType", propOrder = { + "content" +}) +public class CanonicalizationMethodType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/DSAKeyValueType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/DSAKeyValueType.java new file mode 100644 index 0000000..777a0dc --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/DSAKeyValueType.java @@ -0,0 +1,241 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <sequence minOccurs="0"> + * <element name="P" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="Q" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * <element name="J" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <element name="G" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <element name="Y" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <sequence minOccurs="0"> + * <element name="Seed" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="PgenCounter" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DSAKeyValueType", propOrder = { + "p", + "q", + "j", + "g", + "y", + "seed", + "pgenCounter" +}) +public class DSAKeyValueType { + + @XmlElement(name = "P") + protected String p; + @XmlElement(name = "Q") + protected String q; + @XmlElement(name = "J") + protected String j; + @XmlElement(name = "G") + protected String g; + @XmlElement(name = "Y", required = true) + protected String y; + @XmlElement(name = "Seed") + protected String seed; + @XmlElement(name = "PgenCounter") + protected String pgenCounter; + + /** + * Gets the value of the p property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getP() { + return p; + } + + /** + * Sets the value of the p property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setP(String value) { + this.p = value; + } + + /** + * Gets the value of the q property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQ() { + return q; + } + + /** + * Sets the value of the q property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQ(String value) { + this.q = value; + } + + /** + * Gets the value of the j property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getJ() { + return j; + } + + /** + * Sets the value of the j property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setJ(String value) { + this.j = value; + } + + /** + * Gets the value of the g property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getG() { + return g; + } + + /** + * Sets the value of the g property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setG(String value) { + this.g = value; + } + + /** + * Gets the value of the y property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getY() { + return y; + } + + /** + * Sets the value of the y property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setY(String value) { + this.y = value; + } + + /** + * Gets the value of the seed property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSeed() { + return seed; + } + + /** + * Sets the value of the seed property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSeed(String value) { + this.seed = value; + } + + /** + * Gets the value of the pgenCounter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPgenCounter() { + return pgenCounter; + } + + /** + * Sets the value of the pgenCounter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPgenCounter(String value) { + this.pgenCounter = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/DigestMethodType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/DigestMethodType.java new file mode 100644 index 0000000..58f5a4b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/DigestMethodType.java @@ -0,0 +1,111 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for DigestMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DigestMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DigestMethodType", propOrder = { + "content" +}) +public class DigestMethodType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/KeyInfoType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/KeyInfoType.java new file mode 100644 index 0000000..c04cd69 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/KeyInfoType.java @@ -0,0 +1,142 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for KeyInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="KeyInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyName"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}RetrievalMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}X509Data"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}PGPData"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SPKIData"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}MgmtData"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyInfoType", propOrder = { + "content" +}) +public class KeyInfoType { + + @XmlElementRefs({ + @XmlElementRef(name = "PGPData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "RetrievalMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "KeyName", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509Data", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "SPKIData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "MgmtData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "KeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link PGPDataType }{@code >} + * {@link JAXBElement }{@code <}{@link RetrievalMethodType }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Element } + * {@link String } + * {@link Object } + * {@link JAXBElement }{@code <}{@link X509DataType }{@code >} + * {@link JAXBElement }{@code <}{@link SPKIDataType }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link KeyValueType }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/KeyValueType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/KeyValueType.java new file mode 100644 index 0000000..e74c1f8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/KeyValueType.java @@ -0,0 +1,92 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for KeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="KeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DSAKeyValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}RSAKeyValue"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyValueType", propOrder = { + "content" +}) +public class KeyValueType { + + @XmlElementRefs({ + @XmlElementRef(name = "DSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "RSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link JAXBElement }{@code <}{@link DSAKeyValueType }{@code >} + * {@link String } + * {@link Object } + * {@link JAXBElement }{@code <}{@link RSAKeyValueType }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/ManifestType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/ManifestType.java new file mode 100644 index 0000000..8f758f3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/ManifestType.java @@ -0,0 +1,111 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +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.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; + + +/** + * <p>Java class for ManifestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ManifestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ManifestType", propOrder = { + "reference" +}) +public class ManifestType { + + @XmlElement(name = "Reference", required = true) + protected List<ReferenceType> reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the reference property. + * + * <p> + * 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 <CODE>set</CODE> method for the reference property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReference().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ReferenceType } + * + * + */ + public List<ReferenceType> getReference() { + if (reference == null) { + reference = new ArrayList<ReferenceType>(); + } + return this.reference; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/ObjectFactory.java b/src/main/java/at/gv/util/xsd/omsp/xsd/ObjectFactory.java new file mode 100644 index 0000000..39d83d0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/ObjectFactory.java @@ -0,0 +1,559 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +import java.math.BigInteger; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.omsp.xsd package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _PGPDataTypePGPKeyID_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyID"); + private final static QName _PGPDataTypePGPKeyPacket_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyPacket"); + private final static QName _Signature_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Signature"); + private final static QName _PGPData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPData"); + private final static QName _DSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DSAKeyValue"); + private final static QName _SPKIData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKIData"); + private final static QName _SignedInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignedInfo"); + private final static QName _RetrievalMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RetrievalMethod"); + private final static QName _CanonicalizationMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "CanonicalizationMethod"); + private final static QName _Object_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Object"); + private final static QName _SignatureProperty_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperty"); + private final static QName _Manifest_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Manifest"); + private final static QName _SignatureValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureValue"); + private final static QName _Transforms_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transforms"); + private final static QName _Transform_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transform"); + private final static QName _X509Data_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Data"); + private final static QName _SignatureMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureMethod"); + private final static QName _KeyInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyInfo"); + private final static QName _DigestValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestValue"); + private final static QName _DigestMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestMethod"); + private final static QName _MgmtData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "MgmtData"); + private final static QName _SignatureProperties_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperties"); + private final static QName _KeyName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyName"); + private final static QName _KeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyValue"); + private final static QName _Reference_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Reference"); + private final static QName _RSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RSAKeyValue"); + private final static QName _TransformTypeXPath_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "XPath"); + private final static QName _X509DataTypeX509IssuerSerial_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509IssuerSerial"); + private final static QName _X509DataTypeX509Certificate_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Certificate"); + private final static QName _X509DataTypeX509SKI_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SKI"); + private final static QName _X509DataTypeX509SubjectName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SubjectName"); + private final static QName _X509DataTypeX509CRL_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509CRL"); + private final static QName _SPKIDataTypeSPKISexp_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKISexp"); + private final static QName _SignatureMethodTypeHMACOutputLength_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "HMACOutputLength"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.omsp.xsd + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link SignaturePropertiesType } + * + */ + public SignaturePropertiesType createSignaturePropertiesType() { + return new SignaturePropertiesType(); + } + + /** + * Create an instance of {@link DSAKeyValueType } + * + */ + public DSAKeyValueType createDSAKeyValueType() { + return new DSAKeyValueType(); + } + + /** + * Create an instance of {@link PGPDataType } + * + */ + public PGPDataType createPGPDataType() { + return new PGPDataType(); + } + + /** + * Create an instance of {@link ReferenceType } + * + */ + public ReferenceType createReferenceType() { + return new ReferenceType(); + } + + /** + * Create an instance of {@link ObjectType } + * + */ + public ObjectType createObjectType() { + return new ObjectType(); + } + + /** + * Create an instance of {@link KeyValueType } + * + */ + public KeyValueType createKeyValueType() { + return new KeyValueType(); + } + + /** + * Create an instance of {@link DigestMethodType } + * + */ + public DigestMethodType createDigestMethodType() { + return new DigestMethodType(); + } + + /** + * Create an instance of {@link SignatureValueType } + * + */ + public SignatureValueType createSignatureValueType() { + return new SignatureValueType(); + } + + /** + * Create an instance of {@link CanonicalizationMethodType } + * + */ + public CanonicalizationMethodType createCanonicalizationMethodType() { + return new CanonicalizationMethodType(); + } + + /** + * Create an instance of {@link RSAKeyValueType } + * + */ + public RSAKeyValueType createRSAKeyValueType() { + return new RSAKeyValueType(); + } + + /** + * Create an instance of {@link X509IssuerSerialType } + * + */ + public X509IssuerSerialType createX509IssuerSerialType() { + return new X509IssuerSerialType(); + } + + /** + * Create an instance of {@link TransformsType } + * + */ + public TransformsType createTransformsType() { + return new TransformsType(); + } + + /** + * Create an instance of {@link SignedInfoType } + * + */ + public SignedInfoType createSignedInfoType() { + return new SignedInfoType(); + } + + /** + * Create an instance of {@link TransformType } + * + */ + public TransformType createTransformType() { + return new TransformType(); + } + + /** + * Create an instance of {@link SignaturePropertyType } + * + */ + public SignaturePropertyType createSignaturePropertyType() { + return new SignaturePropertyType(); + } + + /** + * Create an instance of {@link SignatureMethodType } + * + */ + public SignatureMethodType createSignatureMethodType() { + return new SignatureMethodType(); + } + + /** + * Create an instance of {@link SignatureType } + * + */ + public SignatureType createSignatureType() { + return new SignatureType(); + } + + /** + * Create an instance of {@link X509DataType } + * + */ + public X509DataType createX509DataType() { + return new X509DataType(); + } + + /** + * Create an instance of {@link SPKIDataType } + * + */ + public SPKIDataType createSPKIDataType() { + return new SPKIDataType(); + } + + /** + * Create an instance of {@link ManifestType } + * + */ + public ManifestType createManifestType() { + return new ManifestType(); + } + + /** + * Create an instance of {@link KeyInfoType } + * + */ + public KeyInfoType createKeyInfoType() { + return new KeyInfoType(); + } + + /** + * Create an instance of {@link RetrievalMethodType } + * + */ + public RetrievalMethodType createRetrievalMethodType() { + return new RetrievalMethodType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyID", scope = PGPDataType.class) + public JAXBElement<String> createPGPDataTypePGPKeyID(String value) { + return new JAXBElement<String>(_PGPDataTypePGPKeyID_QNAME, String.class, PGPDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyPacket", scope = PGPDataType.class) + public JAXBElement<String> createPGPDataTypePGPKeyPacket(String value) { + return new JAXBElement<String>(_PGPDataTypePGPKeyPacket_QNAME, String.class, PGPDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Signature") + public JAXBElement<SignatureType> createSignature(SignatureType value) { + return new JAXBElement<SignatureType>(_Signature_QNAME, SignatureType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PGPDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPData") + public JAXBElement<PGPDataType> createPGPData(PGPDataType value) { + return new JAXBElement<PGPDataType>(_PGPData_QNAME, PGPDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DSAKeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DSAKeyValue") + public JAXBElement<DSAKeyValueType> createDSAKeyValue(DSAKeyValueType value) { + return new JAXBElement<DSAKeyValueType>(_DSAKeyValue_QNAME, DSAKeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SPKIDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKIData") + public JAXBElement<SPKIDataType> createSPKIData(SPKIDataType value) { + return new JAXBElement<SPKIDataType>(_SPKIData_QNAME, SPKIDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignedInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignedInfo") + public JAXBElement<SignedInfoType> createSignedInfo(SignedInfoType value) { + return new JAXBElement<SignedInfoType>(_SignedInfo_QNAME, SignedInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RetrievalMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RetrievalMethod") + public JAXBElement<RetrievalMethodType> createRetrievalMethod(RetrievalMethodType value) { + return new JAXBElement<RetrievalMethodType>(_RetrievalMethod_QNAME, RetrievalMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CanonicalizationMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "CanonicalizationMethod") + public JAXBElement<CanonicalizationMethodType> createCanonicalizationMethod(CanonicalizationMethodType value) { + return new JAXBElement<CanonicalizationMethodType>(_CanonicalizationMethod_QNAME, CanonicalizationMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ObjectType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Object") + public JAXBElement<ObjectType> createObject(ObjectType value) { + return new JAXBElement<ObjectType>(_Object_QNAME, ObjectType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignaturePropertyType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperty") + public JAXBElement<SignaturePropertyType> createSignatureProperty(SignaturePropertyType value) { + return new JAXBElement<SignaturePropertyType>(_SignatureProperty_QNAME, SignaturePropertyType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ManifestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Manifest") + public JAXBElement<ManifestType> createManifest(ManifestType value) { + return new JAXBElement<ManifestType>(_Manifest_QNAME, ManifestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureValue") + public JAXBElement<SignatureValueType> createSignatureValue(SignatureValueType value) { + return new JAXBElement<SignatureValueType>(_SignatureValue_QNAME, SignatureValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TransformsType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transforms") + public JAXBElement<TransformsType> createTransforms(TransformsType value) { + return new JAXBElement<TransformsType>(_Transforms_QNAME, TransformsType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TransformType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transform") + public JAXBElement<TransformType> createTransform(TransformType value) { + return new JAXBElement<TransformType>(_Transform_QNAME, TransformType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link X509DataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Data") + public JAXBElement<X509DataType> createX509Data(X509DataType value) { + return new JAXBElement<X509DataType>(_X509Data_QNAME, X509DataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureMethod") + public JAXBElement<SignatureMethodType> createSignatureMethod(SignatureMethodType value) { + return new JAXBElement<SignatureMethodType>(_SignatureMethod_QNAME, SignatureMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyInfo") + public JAXBElement<KeyInfoType> createKeyInfo(KeyInfoType value) { + return new JAXBElement<KeyInfoType>(_KeyInfo_QNAME, KeyInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestValue") + public JAXBElement<String> createDigestValue(String value) { + return new JAXBElement<String>(_DigestValue_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DigestMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestMethod") + public JAXBElement<DigestMethodType> createDigestMethod(DigestMethodType value) { + return new JAXBElement<DigestMethodType>(_DigestMethod_QNAME, DigestMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "MgmtData") + public JAXBElement<String> createMgmtData(String value) { + return new JAXBElement<String>(_MgmtData_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignaturePropertiesType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperties") + public JAXBElement<SignaturePropertiesType> createSignatureProperties(SignaturePropertiesType value) { + return new JAXBElement<SignaturePropertiesType>(_SignatureProperties_QNAME, SignaturePropertiesType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyName") + public JAXBElement<String> createKeyName(String value) { + return new JAXBElement<String>(_KeyName_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyValue") + public JAXBElement<KeyValueType> createKeyValue(KeyValueType value) { + return new JAXBElement<KeyValueType>(_KeyValue_QNAME, KeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Reference") + public JAXBElement<ReferenceType> createReference(ReferenceType value) { + return new JAXBElement<ReferenceType>(_Reference_QNAME, ReferenceType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RSAKeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RSAKeyValue") + public JAXBElement<RSAKeyValueType> createRSAKeyValue(RSAKeyValueType value) { + return new JAXBElement<RSAKeyValueType>(_RSAKeyValue_QNAME, RSAKeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "XPath", scope = TransformType.class) + public JAXBElement<String> createTransformTypeXPath(String value) { + return new JAXBElement<String>(_TransformTypeXPath_QNAME, String.class, TransformType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509IssuerSerial", scope = X509DataType.class) + public JAXBElement<X509IssuerSerialType> createX509DataTypeX509IssuerSerial(X509IssuerSerialType value) { + return new JAXBElement<X509IssuerSerialType>(_X509DataTypeX509IssuerSerial_QNAME, X509IssuerSerialType.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Certificate", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509Certificate(String value) { + return new JAXBElement<String>(_X509DataTypeX509Certificate_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SKI", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509SKI(String value) { + return new JAXBElement<String>(_X509DataTypeX509SKI_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SubjectName", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509SubjectName(String value) { + return new JAXBElement<String>(_X509DataTypeX509SubjectName_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509CRL", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509CRL(String value) { + return new JAXBElement<String>(_X509DataTypeX509CRL_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKISexp", scope = SPKIDataType.class) + public JAXBElement<String> createSPKIDataTypeSPKISexp(String value) { + return new JAXBElement<String>(_SPKIDataTypeSPKISexp_QNAME, String.class, SPKIDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "HMACOutputLength", scope = SignatureMethodType.class) + public JAXBElement<BigInteger> createSignatureMethodTypeHMACOutputLength(BigInteger value) { + return new JAXBElement<BigInteger>(_SignatureMethodTypeHMACOutputLength_QNAME, BigInteger.class, SignatureMethodType.class, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/ObjectType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/ObjectType.java new file mode 100644 index 0000000..2dea84f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/ObjectType.java @@ -0,0 +1,171 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for ObjectType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ObjectType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ObjectType", propOrder = { + "content" +}) +public class ObjectType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "MimeType") + protected String mimeType; + @XmlAttribute(name = "Encoding") + @XmlSchemaType(name = "anyURI") + protected String encoding; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * 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; + } + + /** + * Gets the value of the mimeType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMimeType() { + return mimeType; + } + + /** + * Sets the value of the mimeType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMimeType(String value) { + this.mimeType = value; + } + + /** + * Gets the value of the encoding property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncoding() { + return encoding; + } + + /** + * Sets the value of the encoding property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncoding(String value) { + this.encoding = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/PGPDataType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/PGPDataType.java new file mode 100644 index 0000000..ba943f3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/PGPDataType.java @@ -0,0 +1,105 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for PGPDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PGPDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="PGPKeyID" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="PGPKeyPacket" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <sequence> + * <element name="PGPKeyPacket" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PGPDataType", propOrder = { + "content" +}) +public class PGPDataType { + + @XmlElementRefs({ + @XmlElementRef(name = "PGPKeyID", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "PGPKeyPacket", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the rest of the content model. + * + * <p> + * You are getting this "catch-all" property because of the following reason: + * The field name "PGPKeyPacket" is used by two different parts of a schema. See: + * line 190 of file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/omsp/W3C-XMLDSig.xsd + * line 186 of file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/omsp/W3C-XMLDSig.xsd + * <p> + * To get rid of this property, apply a property customization to one + * of both of the following declarations to change their names: + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/RSAKeyValueType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/RSAKeyValueType.java new file mode 100644 index 0000000..014b8db --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/RSAKeyValueType.java @@ -0,0 +1,97 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Modulus" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="Exponent" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RSAKeyValueType", propOrder = { + "modulus", + "exponent" +}) +public class RSAKeyValueType { + + @XmlElement(name = "Modulus", required = true) + protected String modulus; + @XmlElement(name = "Exponent", required = true) + protected String exponent; + + /** + * Gets the value of the modulus property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModulus() { + return modulus; + } + + /** + * Sets the value of the modulus property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModulus(String value) { + this.modulus = value; + } + + /** + * Gets the value of the exponent property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getExponent() { + return exponent; + } + + /** + * Sets the value of the exponent property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setExponent(String value) { + this.exponent = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/ReferenceType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/ReferenceType.java new file mode 100644 index 0000000..80f88fa --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/ReferenceType.java @@ -0,0 +1,216 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +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.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; + + +/** + * <p>Java class for ReferenceType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ReferenceType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestValue"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferenceType", propOrder = { + "transforms", + "digestMethod", + "digestValue" +}) +public class ReferenceType { + + @XmlElement(name = "Transforms") + protected TransformsType transforms; + @XmlElement(name = "DigestMethod", required = true) + protected DigestMethodType digestMethod; + @XmlElement(name = "DigestValue", required = true) + protected String digestValue; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "URI") + @XmlSchemaType(name = "anyURI") + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the digestMethod property. + * + * @return + * possible object is + * {@link DigestMethodType } + * + */ + public DigestMethodType getDigestMethod() { + return digestMethod; + } + + /** + * Sets the value of the digestMethod property. + * + * @param value + * allowed object is + * {@link DigestMethodType } + * + */ + public void setDigestMethod(DigestMethodType value) { + this.digestMethod = value; + } + + /** + * Gets the value of the digestValue property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDigestValue() { + return digestValue; + } + + /** + * Sets the value of the digestValue property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDigestValue(String value) { + this.digestValue = value; + } + + /** + * 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; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/RetrievalMethodType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/RetrievalMethodType.java new file mode 100644 index 0000000..14b57ad --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/RetrievalMethodType.java @@ -0,0 +1,127 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RetrievalMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RetrievalMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Transforms" type="{http://www.w3.org/2000/09/xmldsig#}TransformsType" minOccurs="0"/> + * </sequence> + * <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RetrievalMethodType", propOrder = { + "transforms" +}) +public class RetrievalMethodType { + + @XmlElement(name = "Transforms") + protected TransformsType transforms; + @XmlAttribute(name = "URI") + @XmlSchemaType(name = "anyURI") + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/SPKIDataType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/SPKIDataType.java new file mode 100644 index 0000000..4cc90d1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/SPKIDataType.java @@ -0,0 +1,83 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for SPKIDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SPKIDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="SPKISexp" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other' minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SPKIDataType", propOrder = { + "spkiSexpAndAny" +}) +public class SPKIDataType { + + @XmlElementRef(name = "SPKISexp", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlAnyElement(lax = true) + protected List<Object> spkiSexpAndAny; + + /** + * Gets the value of the spkiSexpAndAny property. + * + * <p> + * 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 <CODE>set</CODE> method for the spkiSexpAndAny property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSPKISexpAndAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<Object> getSPKISexpAndAny() { + if (spkiSexpAndAny == null) { + spkiSexpAndAny = new ArrayList<Object>(); + } + return this.spkiSexpAndAny; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/SignatureMethodType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/SignatureMethodType.java new file mode 100644 index 0000000..e99c7c2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/SignatureMethodType.java @@ -0,0 +1,115 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SignatureMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="HMACOutputLength" type="{http://www.w3.org/2000/09/xmldsig#}HMACOutputLengthType" minOccurs="0"/> + * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureMethodType", propOrder = { + "content" +}) +public class SignatureMethodType { + + @XmlElementRef(name = "HMACOutputLength", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/SignaturePropertiesType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/SignaturePropertiesType.java new file mode 100644 index 0000000..4f98401 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/SignaturePropertiesType.java @@ -0,0 +1,111 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +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.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; + + +/** + * <p>Java class for SignaturePropertiesType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignaturePropertiesType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureProperty" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignaturePropertiesType", propOrder = { + "signatureProperty" +}) +public class SignaturePropertiesType { + + @XmlElement(name = "SignatureProperty", required = true) + protected List<SignaturePropertyType> signatureProperty; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the signatureProperty property. + * + * <p> + * 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 <CODE>set</CODE> method for the signatureProperty property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSignatureProperty().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link SignaturePropertyType } + * + * + */ + public List<SignaturePropertyType> getSignatureProperty() { + if (signatureProperty == null) { + signatureProperty = new ArrayList<SignaturePropertyType>(); + } + return this.signatureProperty; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/SignaturePropertyType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/SignaturePropertyType.java new file mode 100644 index 0000000..841d94b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/SignaturePropertyType.java @@ -0,0 +1,144 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for SignaturePropertyType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignaturePropertyType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <any processContents='lax' namespace='##other'/> + * </choice> + * <attribute name="Target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignaturePropertyType", propOrder = { + "content" +}) +public class SignaturePropertyType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Target", required = true) + @XmlSchemaType(name = "anyURI") + protected String target; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the target property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTarget() { + return target; + } + + /** + * Sets the value of the target property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTarget(String value) { + this.target = value; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/SignatureType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/SignatureType.java new file mode 100644 index 0000000..b711534 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/SignatureType.java @@ -0,0 +1,195 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +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.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; + + +/** + * <p>Java class for SignatureType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignedInfo"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Object" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureType", propOrder = { + "signedInfo", + "signatureValue", + "keyInfo", + "object" +}) +public class SignatureType { + + @XmlElement(name = "SignedInfo", required = true) + protected SignedInfoType signedInfo; + @XmlElement(name = "SignatureValue", required = true) + protected SignatureValueType signatureValue; + @XmlElement(name = "KeyInfo") + protected KeyInfoType keyInfo; + @XmlElement(name = "Object") + protected List<ObjectType> object; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the signedInfo property. + * + * @return + * possible object is + * {@link SignedInfoType } + * + */ + public SignedInfoType getSignedInfo() { + return signedInfo; + } + + /** + * Sets the value of the signedInfo property. + * + * @param value + * allowed object is + * {@link SignedInfoType } + * + */ + public void setSignedInfo(SignedInfoType value) { + this.signedInfo = value; + } + + /** + * Gets the value of the signatureValue property. + * + * @return + * possible object is + * {@link SignatureValueType } + * + */ + public SignatureValueType getSignatureValue() { + return signatureValue; + } + + /** + * Sets the value of the signatureValue property. + * + * @param value + * allowed object is + * {@link SignatureValueType } + * + */ + public void setSignatureValue(SignatureValueType value) { + this.signatureValue = value; + } + + /** + * Gets the value of the keyInfo property. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Sets the value of the keyInfo property. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Gets the value of the object property. + * + * <p> + * 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 <CODE>set</CODE> method for the object property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getObject().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ObjectType } + * + * + */ + public List<ObjectType> getObject() { + if (object == null) { + object = new ArrayList<ObjectType>(); + } + return this.object; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/SignatureValueType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/SignatureValueType.java new file mode 100644 index 0000000..e02943b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/SignatureValueType.java @@ -0,0 +1,101 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for SignatureValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureValueType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2000/09/xmldsig#>CryptoBinary"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureValueType", propOrder = { + "value" +}) +public class SignatureValueType { + + @XmlValue + protected String value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/SignedInfoType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/SignedInfoType.java new file mode 100644 index 0000000..40a0cfe --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/SignedInfoType.java @@ -0,0 +1,167 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +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.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; + + +/** + * <p>Java class for SignedInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignedInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignedInfoType", propOrder = { + "canonicalizationMethod", + "signatureMethod", + "reference" +}) +public class SignedInfoType { + + @XmlElement(name = "CanonicalizationMethod", required = true) + protected CanonicalizationMethodType canonicalizationMethod; + @XmlElement(name = "SignatureMethod", required = true) + protected SignatureMethodType signatureMethod; + @XmlElement(name = "Reference", required = true) + protected List<ReferenceType> reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * 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 signatureMethod property. + * + * @return + * possible object is + * {@link SignatureMethodType } + * + */ + public SignatureMethodType getSignatureMethod() { + return signatureMethod; + } + + /** + * Sets the value of the signatureMethod property. + * + * @param value + * allowed object is + * {@link SignatureMethodType } + * + */ + public void setSignatureMethod(SignatureMethodType value) { + this.signatureMethod = value; + } + + /** + * Gets the value of the reference property. + * + * <p> + * 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 <CODE>set</CODE> method for the reference property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReference().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ReferenceType } + * + * + */ + public List<ReferenceType> getReference() { + if (reference == null) { + reference = new ArrayList<ReferenceType>(); + } + return this.reference; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/TransformType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/TransformType.java new file mode 100644 index 0000000..c0c3769 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/TransformType.java @@ -0,0 +1,116 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for TransformType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TransformType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax' namespace='##other'/> + * <element name="XPath" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </choice> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformType", propOrder = { + "content" +}) +public class TransformType { + + @XmlElementRef(name = "XPath", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/TransformsType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/TransformsType.java new file mode 100644 index 0000000..71990a0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/TransformsType.java @@ -0,0 +1,76 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TransformsType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TransformsType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transform" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformsType", propOrder = { + "transform" +}) +public class TransformsType { + + @XmlElement(name = "Transform", required = true) + protected List<TransformType> transform; + + /** + * Gets the value of the transform property. + * + * <p> + * 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 <CODE>set</CODE> method for the transform property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTransform().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TransformType } + * + * + */ + public List<TransformType> getTransform() { + if (transform == null) { + transform = new ArrayList<TransformType>(); + } + return this.transform; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/X509DataType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/X509DataType.java new file mode 100644 index 0000000..120bfb7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/X509DataType.java @@ -0,0 +1,100 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for X509DataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="X509DataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <choice> + * <element name="X509IssuerSerial" type="{http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType"/> + * <element name="X509SKI" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="X509SubjectName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="X509Certificate" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="X509CRL" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509DataType", propOrder = { + "x509IssuerSerialOrX509SKIOrX509SubjectName" +}) +public class X509DataType { + + @XmlElementRefs({ + @XmlElementRef(name = "X509SKI", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509CRL", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509SubjectName", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509IssuerSerial", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509Certificate", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlAnyElement(lax = true) + protected List<Object> x509IssuerSerialOrX509SKIOrX509SubjectName; + + /** + * Gets the value of the x509IssuerSerialOrX509SKIOrX509SubjectName property. + * + * <p> + * 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 <CODE>set</CODE> method for the x509IssuerSerialOrX509SKIOrX509SubjectName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getX509IssuerSerialOrX509SKIOrX509SubjectName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Element } + * {@link Object } + * {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<Object> getX509IssuerSerialOrX509SKIOrX509SubjectName() { + if (x509IssuerSerialOrX509SKIOrX509SubjectName == null) { + x509IssuerSerialOrX509SKIOrX509SubjectName = new ArrayList<Object>(); + } + return this.x509IssuerSerialOrX509SKIOrX509SubjectName; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/X509IssuerSerialType.java b/src/main/java/at/gv/util/xsd/omsp/xsd/X509IssuerSerialType.java new file mode 100644 index 0000000..31f0fb5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/X509IssuerSerialType.java @@ -0,0 +1,98 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + + +package at.gv.util.xsd.omsp.xsd; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for X509IssuerSerialType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="X509IssuerSerialType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="X509IssuerName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="X509SerialNumber" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509IssuerSerialType", propOrder = { + "x509IssuerName", + "x509SerialNumber" +}) +public class X509IssuerSerialType { + + @XmlElement(name = "X509IssuerName", required = true) + protected String x509IssuerName; + @XmlElement(name = "X509SerialNumber", required = true) + protected BigInteger x509SerialNumber; + + /** + * Gets the value of the x509IssuerName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getX509IssuerName() { + return x509IssuerName; + } + + /** + * Sets the value of the x509IssuerName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setX509IssuerName(String value) { + this.x509IssuerName = value; + } + + /** + * Gets the value of the x509SerialNumber property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getX509SerialNumber() { + return x509SerialNumber; + } + + /** + * Sets the value of the x509SerialNumber property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setX509SerialNumber(BigInteger value) { + this.x509SerialNumber = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/omsp/xsd/package-info.java b/src/main/java/at/gv/util/xsd/omsp/xsd/package-info.java new file mode 100644 index 0000000..d912162 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/omsp/xsd/package-info.java @@ -0,0 +1,9 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.03.04 at 04:57:33 PM MEZ +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2000/09/xmldsig#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.omsp.xsd; diff --git a/src/main/java/at/gv/util/xsd/persondata/AbstractAddressType.java b/src/main/java/at/gv/util/xsd/persondata/AbstractAddressType.java new file mode 100644 index 0000000..8243311 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/AbstractAddressType.java @@ -0,0 +1,139 @@ + +package at.gv.util.xsd.persondata; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +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 javax.xml.namespace.QName; + + +/** + * main structure of address data + * + * <p>Java class for AbstractAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractAddressType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Identification" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='##other'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractAddressType", propOrder = { + "identification" +}) +@XmlSeeAlso({ + InternetAddressType.class, + TypedPostalAddressType.class, + TelephoneAddressType.class, + CompactPostalAddressType.class, + PostalAddressType.class +}) +public class AbstractAddressType { + + @XmlElement(name = "Identification") + protected List<IdentificationType> identification; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * unique identification entities Gets the value of the identification property. + * + * <p> + * 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 <CODE>set</CODE> method for the identification property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getIdentification().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link IdentificationType } + * + * + */ + public List<IdentificationType> getIdentification() { + if (identification == null) { + identification = new ArrayList<IdentificationType>(); + } + return this.identification; + } + + /** + * 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; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/AbstractPersonType.java b/src/main/java/at/gv/util/xsd/persondata/AbstractPersonType.java new file mode 100644 index 0000000..3d20f54 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/AbstractPersonType.java @@ -0,0 +1,183 @@ + +package at.gv.util.xsd.persondata; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlElementRef; +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 javax.xml.namespace.QName; + + +/** + * main structure of person data + * + * <p>Java class for AbstractPersonType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractPersonType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Identification" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractSimpleIdentification" maxOccurs="unbounded" minOccurs="0"/> + * </choice> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='##other'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractPersonType", propOrder = { + "identification", + "abstractSimpleIdentification" +}) +@XmlSeeAlso({ + CompactCorporateBodyType.class, + PersonDataType.class, + CompactPhysicalPersonType.class, + PhysicalPersonType.class, + CorporateBodyType.class, + CompactPersonDataType.class +}) +public class AbstractPersonType { + + @XmlElement(name = "Identification") + protected List<IdentificationType> identification; + @XmlElementRef(name = "AbstractSimpleIdentification", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class, required = false) + protected List<JAXBElement<? extends AbstractSimpleIdentificationType>> abstractSimpleIdentification; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * unique identification entities Gets the value of the identification property. + * + * <p> + * 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 <CODE>set</CODE> method for the identification property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getIdentification().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link IdentificationType } + * + * + */ + public List<IdentificationType> getIdentification() { + if (identification == null) { + identification = new ArrayList<IdentificationType>(); + } + return this.identification; + } + + /** + * Gets the value of the abstractSimpleIdentification property. + * + * <p> + * 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 <CODE>set</CODE> method for the abstractSimpleIdentification property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAbstractSimpleIdentification().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link AbstractSimpleIdentificationType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractSimpleIdentificationType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractSimpleIdentificationType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractSimpleIdentificationType }{@code >} + * {@link JAXBElement }{@code <}{@link Vereinsnummer }{@code >} + * {@link JAXBElement }{@code <}{@link ERJPZahl }{@code >} + * {@link JAXBElement }{@code <}{@link Firmenbuchnummer }{@code >} + * {@link JAXBElement }{@code <}{@link ZMRzahl }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractSimpleIdentificationType }{@code >} + * + * + */ + public List<JAXBElement<? extends AbstractSimpleIdentificationType>> getAbstractSimpleIdentification() { + if (abstractSimpleIdentification == null) { + abstractSimpleIdentification = new ArrayList<JAXBElement<? extends AbstractSimpleIdentificationType>>(); + } + return this.abstractSimpleIdentification; + } + + /** + * 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; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/AbstractSimpleIdentificationType.java b/src/main/java/at/gv/util/xsd/persondata/AbstractSimpleIdentificationType.java new file mode 100644 index 0000000..fb9201b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/AbstractSimpleIdentificationType.java @@ -0,0 +1,66 @@ + +package at.gv.util.xsd.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for AbstractSimpleIdentificationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractSimpleIdentificationType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractSimpleIdentificationType", propOrder = { + "value" +}) +@XmlSeeAlso({ + ZMRzahl.class, + Vereinsnummer.class, + ERJPZahl.class, + Firmenbuchnummer.class +}) +public class AbstractSimpleIdentificationType { + + @XmlValue + protected String value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/AlternativeName.java b/src/main/java/at/gv/util/xsd/persondata/AlternativeName.java new file mode 100644 index 0000000..9768cad --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/AlternativeName.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType"> + * <attribute name="Type" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AlternativeNameTypeType" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "AlternativeName") +public class AlternativeName + extends PersonNameType +{ + + @XmlAttribute(name = "Type") + protected String type; + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/BankConnectionType.java b/src/main/java/at/gv/util/xsd/persondata/BankConnectionType.java new file mode 100644 index 0000000..aaf3ce9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/BankConnectionType.java @@ -0,0 +1,339 @@ + +package at.gv.util.xsd.persondata; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * compare BankverbindungTyp + * + * <p>Java class for BankConnectionType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="BankConnectionType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Holder" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="BankName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <choice> + * <element name="NationalBankConnection"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="AccountNumber" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * <element name="BankCode" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="InternationalBankConnection"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="IBAN" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="BIC" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BankConnectionType", propOrder = { + "holder", + "bankName", + "nationalBankConnection", + "internationalBankConnection" +}) +public class BankConnectionType { + + @XmlElement(name = "Holder", required = true) + protected String holder; + @XmlElement(name = "BankName", required = true) + protected String bankName; + @XmlElement(name = "NationalBankConnection") + protected BankConnectionType.NationalBankConnection nationalBankConnection; + @XmlElement(name = "InternationalBankConnection") + protected BankConnectionType.InternationalBankConnection internationalBankConnection; + + /** + * Gets the value of the holder property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHolder() { + return holder; + } + + /** + * Sets the value of the holder property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHolder(String value) { + this.holder = value; + } + + /** + * Gets the value of the bankName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBankName() { + return bankName; + } + + /** + * Sets the value of the bankName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBankName(String value) { + this.bankName = value; + } + + /** + * Gets the value of the nationalBankConnection property. + * + * @return + * possible object is + * {@link BankConnectionType.NationalBankConnection } + * + */ + public BankConnectionType.NationalBankConnection getNationalBankConnection() { + return nationalBankConnection; + } + + /** + * Sets the value of the nationalBankConnection property. + * + * @param value + * allowed object is + * {@link BankConnectionType.NationalBankConnection } + * + */ + public void setNationalBankConnection(BankConnectionType.NationalBankConnection value) { + this.nationalBankConnection = value; + } + + /** + * Gets the value of the internationalBankConnection property. + * + * @return + * possible object is + * {@link BankConnectionType.InternationalBankConnection } + * + */ + public BankConnectionType.InternationalBankConnection getInternationalBankConnection() { + return internationalBankConnection; + } + + /** + * Sets the value of the internationalBankConnection property. + * + * @param value + * allowed object is + * {@link BankConnectionType.InternationalBankConnection } + * + */ + public void setInternationalBankConnection(BankConnectionType.InternationalBankConnection value) { + this.internationalBankConnection = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="IBAN" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="BIC" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "iban", + "bic" + }) + public static class InternationalBankConnection { + + @XmlElement(name = "IBAN", required = true) + protected String iban; + @XmlElement(name = "BIC", required = true) + protected String bic; + + /** + * Gets the value of the iban property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIBAN() { + return iban; + } + + /** + * Sets the value of the iban property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIBAN(String value) { + this.iban = value; + } + + /** + * Gets the value of the bic property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBIC() { + return bic; + } + + /** + * Sets the value of the bic property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBIC(String value) { + this.bic = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="AccountNumber" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * <element name="BankCode" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "accountNumber", + "bankCode" + }) + public static class NationalBankConnection { + + @XmlElement(name = "AccountNumber", required = true) + protected BigInteger accountNumber; + @XmlElement(name = "BankCode", required = true) + protected BigInteger bankCode; + + /** + * Gets the value of the accountNumber property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getAccountNumber() { + return accountNumber; + } + + /** + * Sets the value of the accountNumber property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setAccountNumber(BigInteger value) { + this.accountNumber = value; + } + + /** + * Gets the value of the bankCode property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getBankCode() { + return bankCode; + } + + /** + * Sets the value of the bankCode property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setBankCode(BigInteger value) { + this.bankCode = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/CompactCorporateBodyType.java b/src/main/java/at/gv/util/xsd/persondata/CompactCorporateBodyType.java new file mode 100644 index 0000000..bd7d324 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/CompactCorporateBodyType.java @@ -0,0 +1,203 @@ + +package at.gv.util.xsd.persondata; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +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; +import org.w3c.dom.Element; + + +/** + * juridical person, organisation, compare NichtNatuerlichePersonTyp + * + * <p>Java class for CompactCorporateBodyType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CompactCorporateBodyType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/> + * <element name="FullName" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="LegalForm" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <element name="Organization" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CompactCorporateBodyType", propOrder = { + "type", + "fullName", + "legalForm", + "organization", + "any" +}) +public class CompactCorporateBodyType + extends AbstractPersonType +{ + + @XmlElement(name = "Type") + @XmlSchemaType(name = "anyURI") + protected List<String> type; + @XmlElement(name = "FullName") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String fullName; + @XmlElement(name = "LegalForm") + @XmlSchemaType(name = "anyURI") + protected String legalForm; + @XmlElement(name = "Organization") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String organization; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the type property. + * + * <p> + * 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 <CODE>set</CODE> method for the type property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getType().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getType() { + if (type == null) { + type = new ArrayList<String>(); + } + return this.type; + } + + /** + * Gets the value of the fullName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFullName() { + return fullName; + } + + /** + * Sets the value of the fullName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFullName(String value) { + this.fullName = value; + } + + /** + * Gets the value of the legalForm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLegalForm() { + return legalForm; + } + + /** + * Sets the value of the legalForm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLegalForm(String value) { + this.legalForm = value; + } + + /** + * Gets the value of the organization property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrganization() { + return organization; + } + + /** + * Sets the value of the organization property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrganization(String value) { + this.organization = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/CompactPersonData.java b/src/main/java/at/gv/util/xsd/persondata/CompactPersonData.java new file mode 100644 index 0000000..5c563ce --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/CompactPersonData.java @@ -0,0 +1,140 @@ + +package at.gv.util.xsd.persondata; + +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.XmlElement; +import javax.xml.bind.annotation.XmlElements; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <choice> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CompactPhysicalPerson"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CompactCorporateBody"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}InternetAddress"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}TelephoneAddress"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CompactPostalAddress"/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "compactPhysicalPerson", + "compactCorporateBody", + "internetAddressOrTelephoneAddressOrCompactPostalAddress" +}) +@XmlRootElement(name = "CompactPersonData") +public class CompactPersonData { + + @XmlElement(name = "CompactPhysicalPerson") + protected CompactPhysicalPersonType compactPhysicalPerson; + @XmlElement(name = "CompactCorporateBody") + protected CompactCorporateBodyType compactCorporateBody; + @XmlElements({ + @XmlElement(name = "InternetAddress", type = InternetAddressType.class), + @XmlElement(name = "TelephoneAddress", type = TelephoneAddressType.class), + @XmlElement(name = "CompactPostalAddress", type = CompactPostalAddressType.class) + }) + protected List<AbstractAddressType> internetAddressOrTelephoneAddressOrCompactPostalAddress; + + /** + * Gets the value of the compactPhysicalPerson property. + * + * @return + * possible object is + * {@link CompactPhysicalPersonType } + * + */ + public CompactPhysicalPersonType getCompactPhysicalPerson() { + return compactPhysicalPerson; + } + + /** + * Sets the value of the compactPhysicalPerson property. + * + * @param value + * allowed object is + * {@link CompactPhysicalPersonType } + * + */ + public void setCompactPhysicalPerson(CompactPhysicalPersonType value) { + this.compactPhysicalPerson = value; + } + + /** + * Gets the value of the compactCorporateBody property. + * + * @return + * possible object is + * {@link CompactCorporateBodyType } + * + */ + public CompactCorporateBodyType getCompactCorporateBody() { + return compactCorporateBody; + } + + /** + * Sets the value of the compactCorporateBody property. + * + * @param value + * allowed object is + * {@link CompactCorporateBodyType } + * + */ + public void setCompactCorporateBody(CompactCorporateBodyType value) { + this.compactCorporateBody = value; + } + + /** + * Gets the value of the internetAddressOrTelephoneAddressOrCompactPostalAddress property. + * + * <p> + * 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 <CODE>set</CODE> method for the internetAddressOrTelephoneAddressOrCompactPostalAddress property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getInternetAddressOrTelephoneAddressOrCompactPostalAddress().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link InternetAddressType } + * {@link TelephoneAddressType } + * {@link CompactPostalAddressType } + * + * + */ + public List<AbstractAddressType> getInternetAddressOrTelephoneAddressOrCompactPostalAddress() { + if (internetAddressOrTelephoneAddressOrCompactPostalAddress == null) { + internetAddressOrTelephoneAddressOrCompactPostalAddress = new ArrayList<AbstractAddressType>(); + } + return this.internetAddressOrTelephoneAddressOrCompactPostalAddress; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/CompactPersonDataType.java b/src/main/java/at/gv/util/xsd/persondata/CompactPersonDataType.java new file mode 100644 index 0000000..0880394 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/CompactPersonDataType.java @@ -0,0 +1,255 @@ + +package at.gv.util.xsd.persondata; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.xmldsig.SignatureType; +import org.w3c.dom.Element; + + +/** + * signed person datastructure. The first Identification elements (from the base type) denote the record as such (e.g. database key for this record) - not to be mistaken for identifiers of the person or of an address (they have their own Identification elements). + * + * <p>Java class for CompactPersonDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CompactPersonDataType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Person"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Address" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" maxOccurs="unbounded" minOccurs="0"/> + * <element name="AdditionalData" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CompactPersonDataType", propOrder = { + "person", + "address", + "signature", + "additionalData" +}) +public class CompactPersonDataType + extends AbstractPersonType +{ + + @XmlElementRef(name = "Person", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class) + protected JAXBElement<? extends AbstractPersonType> person; + @XmlElementRef(name = "Address", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class, required = false) + protected List<JAXBElement<? extends AbstractAddressType>> address; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected List<SignatureType> signature; + @XmlElement(name = "AdditionalData") + protected CompactPersonDataType.AdditionalData additionalData; + + /** + * Gets the value of the person property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactCorporateBodyType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactPhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * + */ + public JAXBElement<? extends AbstractPersonType> getPerson() { + return person; + } + + /** + * Sets the value of the person property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactCorporateBodyType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactPhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * + */ + public void setPerson(JAXBElement<? extends AbstractPersonType> value) { + this.person = value; + } + + /** + * Gets the value of the address property. + * + * <p> + * 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 <CODE>set</CODE> method for the address property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAddress().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link CompactPostalAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link InternetAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link TypedPostalAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link PostalAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link TelephoneAddressType }{@code >} + * + * + */ + public List<JAXBElement<? extends AbstractAddressType>> getAddress() { + if (address == null) { + address = new ArrayList<JAXBElement<? extends AbstractAddressType>>(); + } + return this.address; + } + + /** + * one or more electronic signatures applied on fields above Gets the value of the signature property. + * + * <p> + * 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 <CODE>set</CODE> method for the signature property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSignature().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link SignatureType } + * + * + */ + public List<SignatureType> getSignature() { + if (signature == null) { + signature = new ArrayList<SignatureType>(); + } + return this.signature; + } + + /** + * Gets the value of the additionalData property. + * + * @return + * possible object is + * {@link CompactPersonDataType.AdditionalData } + * + */ + public CompactPersonDataType.AdditionalData getAdditionalData() { + return additionalData; + } + + /** + * Sets the value of the additionalData property. + * + * @param value + * allowed object is + * {@link CompactPersonDataType.AdditionalData } + * + */ + public void setAdditionalData(CompactPersonDataType.AdditionalData value) { + this.additionalData = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "content" + }) + public static class AdditionalData { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link String } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/CompactPersonNameType.java b/src/main/java/at/gv/util/xsd/persondata/CompactPersonNameType.java new file mode 100644 index 0000000..08aabd4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/CompactPersonNameType.java @@ -0,0 +1,429 @@ + +package at.gv.util.xsd.persondata; + +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.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * container for parts of a name, comapre PersonenNameTyp + * + * <p>Java class for CompactPersonNameType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CompactPersonNameType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> + * <element name="FamilyName" maxOccurs="unbounded"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primary" default="undefined"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="true"/> + * <enumeration value="false"/> + * <enumeration value="undefined"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Affix" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="type"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="academicGrade"/> + * <enumeration value="aristocraticPrefix"/> + * <enumeration value="aristocraticTitle"/> + * <enumeration value="familyNamePrefix"/> + * <enumeration value="familyNameSuffix"/> + * <enumeration value="formOfAddress"/> + * <enumeration value="generation"/> + * <enumeration value="qualification"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CompactPersonNameType", propOrder = { + "givenName", + "familyName", + "affix" +}) +public class CompactPersonNameType { + + @XmlElement(name = "GivenName", required = true) + protected List<String> givenName; + @XmlElement(name = "FamilyName", required = true) + protected List<CompactPersonNameType.FamilyName> familyName; + @XmlElement(name = "Affix") + protected List<CompactPersonNameType.Affix> affix; + + /** + * Gets the value of the givenName property. + * + * <p> + * 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 <CODE>set</CODE> method for the givenName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getGivenName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getGivenName() { + if (givenName == null) { + givenName = new ArrayList<String>(); + } + return this.givenName; + } + + /** + * Gets the value of the familyName property. + * + * <p> + * 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 <CODE>set</CODE> method for the familyName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFamilyName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link CompactPersonNameType.FamilyName } + * + * + */ + public List<CompactPersonNameType.FamilyName> getFamilyName() { + if (familyName == null) { + familyName = new ArrayList<CompactPersonNameType.FamilyName>(); + } + return this.familyName; + } + + /** + * Gets the value of the affix property. + * + * <p> + * 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 <CODE>set</CODE> method for the affix property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAffix().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link CompactPersonNameType.Affix } + * + * + */ + public List<CompactPersonNameType.Affix> getAffix() { + if (affix == null) { + affix = new ArrayList<CompactPersonNameType.Affix>(); + } + return this.affix; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="type"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="academicGrade"/> + * <enumeration value="aristocraticPrefix"/> + * <enumeration value="aristocraticTitle"/> + * <enumeration value="familyNamePrefix"/> + * <enumeration value="familyNameSuffix"/> + * <enumeration value="formOfAddress"/> + * <enumeration value="generation"/> + * <enumeration value="qualification"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Affix { + + @XmlValue + protected String value; + @XmlAttribute(name = "type") + protected String type; + @XmlAttribute(name = "position") + protected String position; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the position property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPosition() { + return position; + } + + /** + * Sets the value of the position property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPosition(String value) { + this.position = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primary" default="undefined"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="true"/> + * <enumeration value="false"/> + * <enumeration value="undefined"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class FamilyName { + + @XmlValue + protected String value; + @XmlAttribute(name = "primary") + protected String primary; + @XmlAttribute(name = "prefix") + protected String prefix; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the primary property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrimary() { + if (primary == null) { + return "undefined"; + } else { + return primary; + } + } + + /** + * Sets the value of the primary property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrimary(String value) { + this.primary = value; + } + + /** + * Gets the value of the prefix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrefix() { + return prefix; + } + + /** + * Sets the value of the prefix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrefix(String value) { + this.prefix = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/CompactPhysicalPersonType.java b/src/main/java/at/gv/util/xsd/persondata/CompactPhysicalPersonType.java new file mode 100644 index 0000000..1e37799 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/CompactPhysicalPersonType.java @@ -0,0 +1,255 @@ + +package at.gv.util.xsd.persondata; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +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; +import org.w3c.dom.Element; + + +/** + * physical person, compare NatuerlichePersonTyp + * + * <p>Java class for CompactPhysicalPersonType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CompactPhysicalPersonType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CompactName"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}MaritalStatus" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Sex" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}DateOfBirth" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PlaceOfBirth" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Nationality" maxOccurs="unbounded" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CompactPhysicalPersonType", propOrder = { + "compactName", + "maritalStatus", + "sex", + "dateOfBirth", + "placeOfBirth", + "nationality", + "any" +}) +public class CompactPhysicalPersonType + extends AbstractPersonType +{ + + @XmlElement(name = "CompactName") + protected CompactPersonNameType compactName; + @XmlElement(name = "MaritalStatus") + protected MaritalStatusType maritalStatus; + @XmlElement(name = "Sex") + protected SexType sex; + @XmlElement(name = "DateOfBirth") + protected String dateOfBirth; + @XmlElement(name = "PlaceOfBirth") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String placeOfBirth; + @XmlElement(name = "Nationality") + protected List<NationalityType> nationality; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the compactName property. + * + * @return + * possible object is + * {@link CompactPersonNameType } + * + */ + public CompactPersonNameType getCompactName() { + return compactName; + } + + /** + * Sets the value of the compactName property. + * + * @param value + * allowed object is + * {@link CompactPersonNameType } + * + */ + public void setCompactName(CompactPersonNameType value) { + this.compactName = value; + } + + /** + * Gets the value of the maritalStatus property. + * + * @return + * possible object is + * {@link MaritalStatusType } + * + */ + public MaritalStatusType getMaritalStatus() { + return maritalStatus; + } + + /** + * Sets the value of the maritalStatus property. + * + * @param value + * allowed object is + * {@link MaritalStatusType } + * + */ + public void setMaritalStatus(MaritalStatusType value) { + this.maritalStatus = value; + } + + /** + * Gets the value of the sex property. + * + * @return + * possible object is + * {@link SexType } + * + */ + public SexType getSex() { + return sex; + } + + /** + * Sets the value of the sex property. + * + * @param value + * allowed object is + * {@link SexType } + * + */ + public void setSex(SexType value) { + this.sex = value; + } + + /** + * Gets the value of the dateOfBirth property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDateOfBirth() { + return dateOfBirth; + } + + /** + * Sets the value of the dateOfBirth property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDateOfBirth(String value) { + this.dateOfBirth = value; + } + + /** + * Gets the value of the placeOfBirth property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlaceOfBirth() { + return placeOfBirth; + } + + /** + * Sets the value of the placeOfBirth property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlaceOfBirth(String value) { + this.placeOfBirth = value; + } + + /** + * Gets the value of the nationality property. + * + * <p> + * 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 <CODE>set</CODE> method for the nationality property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getNationality().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link NationalityType } + * + * + */ + public List<NationalityType> getNationality() { + if (nationality == null) { + nationality = new ArrayList<NationalityType>(); + } + return this.nationality; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/CompactPostalAddressType.java b/src/main/java/at/gv/util/xsd/persondata/CompactPostalAddressType.java new file mode 100644 index 0000000..51e3491 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/CompactPostalAddressType.java @@ -0,0 +1,378 @@ + +package at.gv.util.xsd.persondata; + +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.XmlType; + + +/** + * compare PostAdresseTyp + * + * <p>Java class for CompactPostalAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CompactPostalAddressType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> + * <sequence> + * <element name="CountryCode" minOccurs="0"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <pattern value="[A-Z]{2}"/> + * </restriction> + * </simpleType> + * </element> + * <element name="CountryName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="DeliveryAddress"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DoorNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <attribute name="type" default="undefined"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="postOfficeBoxAddress"/> + * <enumeration value="streetAddress"/> + * <enumeration value="militaryAddress"/> + * <enumeration value="undefined"/> + * </restriction> + * </simpleType> + * </attribute> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CompactPostalAddressType", propOrder = { + "countryCode", + "countryName", + "postalCode", + "municipality", + "deliveryAddress" +}) +public class CompactPostalAddressType + extends AbstractAddressType +{ + + @XmlElement(name = "CountryCode") + protected String countryCode; + @XmlElement(name = "CountryName") + protected String countryName; + @XmlElement(name = "PostalCode", required = true) + protected String postalCode; + @XmlElement(name = "Municipality", required = true) + protected String municipality; + @XmlElement(name = "DeliveryAddress", required = true) + protected CompactPostalAddressType.DeliveryAddress deliveryAddress; + @XmlAttribute(name = "type") + protected String type; + + /** + * Gets the value of the countryCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryCode() { + return countryCode; + } + + /** + * Sets the value of the countryCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryCode(String value) { + this.countryCode = value; + } + + /** + * Gets the value of the countryName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryName() { + return countryName; + } + + /** + * Sets the value of the countryName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryName(String value) { + this.countryName = value; + } + + /** + * Gets the value of the postalCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostalCode() { + return postalCode; + } + + /** + * Sets the value of the postalCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostalCode(String value) { + this.postalCode = value; + } + + /** + * Gets the value of the municipality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMunicipality() { + return municipality; + } + + /** + * Sets the value of the municipality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMunicipality(String value) { + this.municipality = value; + } + + /** + * Gets the value of the deliveryAddress property. + * + * @return + * possible object is + * {@link CompactPostalAddressType.DeliveryAddress } + * + */ + public CompactPostalAddressType.DeliveryAddress getDeliveryAddress() { + return deliveryAddress; + } + + /** + * Sets the value of the deliveryAddress property. + * + * @param value + * allowed object is + * {@link CompactPostalAddressType.DeliveryAddress } + * + */ + public void setDeliveryAddress(CompactPostalAddressType.DeliveryAddress value) { + this.deliveryAddress = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "undefined"; + } else { + return type; + } + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DoorNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "streetName", + "buildingNumber", + "unit", + "doorNumber" + }) + public static class DeliveryAddress { + + @XmlElement(name = "StreetName", required = true) + protected String streetName; + @XmlElement(name = "BuildingNumber", required = true) + protected String buildingNumber; + @XmlElement(name = "Unit") + protected String unit; + @XmlElement(name = "DoorNumber") + protected String doorNumber; + + /** + * Gets the value of the streetName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStreetName() { + return streetName; + } + + /** + * Sets the value of the streetName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStreetName(String value) { + this.streetName = value; + } + + /** + * Gets the value of the buildingNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBuildingNumber() { + return buildingNumber; + } + + /** + * Sets the value of the buildingNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBuildingNumber(String value) { + this.buildingNumber = value; + } + + /** + * Gets the value of the unit property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUnit() { + return unit; + } + + /** + * Sets the value of the unit property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUnit(String value) { + this.unit = value; + } + + /** + * Gets the value of the doorNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDoorNumber() { + return doorNumber; + } + + /** + * Sets the value of the doorNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDoorNumber(String value) { + this.doorNumber = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/CorporateBodyType.java b/src/main/java/at/gv/util/xsd/persondata/CorporateBodyType.java new file mode 100644 index 0000000..6596ae3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/CorporateBodyType.java @@ -0,0 +1,271 @@ + +package at.gv.util.xsd.persondata; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +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; +import org.w3c.dom.Element; + + +/** + * juridical person, organisation, compare NichtNatuerlichePersonTyp + * + * <p>Java class for CorporateBodyType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CorporateBodyType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/> + * <element name="FullName" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="AlternativeName" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/> + * <element name="LegalForm" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <element name="Organization" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}BankConnection" maxOccurs="unbounded" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CorporateBodyType", propOrder = { + "type", + "fullName", + "alternativeName", + "legalForm", + "organization", + "bankConnection", + "any" +}) +public class CorporateBodyType + extends AbstractPersonType +{ + + @XmlElement(name = "Type") + @XmlSchemaType(name = "anyURI") + protected List<String> type; + @XmlElement(name = "FullName") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String fullName; + @XmlElement(name = "AlternativeName") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected List<String> alternativeName; + @XmlElement(name = "LegalForm") + @XmlSchemaType(name = "anyURI") + protected String legalForm; + @XmlElement(name = "Organization") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String organization; + @XmlElement(name = "BankConnection") + protected List<BankConnectionType> bankConnection; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the type property. + * + * <p> + * 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 <CODE>set</CODE> method for the type property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getType().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getType() { + if (type == null) { + type = new ArrayList<String>(); + } + return this.type; + } + + /** + * Gets the value of the fullName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFullName() { + return fullName; + } + + /** + * Sets the value of the fullName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFullName(String value) { + this.fullName = value; + } + + /** + * Gets the value of the alternativeName property. + * + * <p> + * 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 <CODE>set</CODE> method for the alternativeName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAlternativeName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getAlternativeName() { + if (alternativeName == null) { + alternativeName = new ArrayList<String>(); + } + return this.alternativeName; + } + + /** + * Gets the value of the legalForm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLegalForm() { + return legalForm; + } + + /** + * Sets the value of the legalForm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLegalForm(String value) { + this.legalForm = value; + } + + /** + * Gets the value of the organization property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrganization() { + return organization; + } + + /** + * Sets the value of the organization property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrganization(String value) { + this.organization = value; + } + + /** + * Gets the value of the bankConnection property. + * + * <p> + * 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 <CODE>set</CODE> method for the bankConnection property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBankConnection().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link BankConnectionType } + * + * + */ + public List<BankConnectionType> getBankConnection() { + if (bankConnection == null) { + bankConnection = new ArrayList<BankConnectionType>(); + } + return this.bankConnection; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/DefinedAlternativeNameTypeType.java b/src/main/java/at/gv/util/xsd/persondata/DefinedAlternativeNameTypeType.java new file mode 100644 index 0000000..41a2fc7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/DefinedAlternativeNameTypeType.java @@ -0,0 +1,60 @@ + +package at.gv.util.xsd.persondata; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DefinedAlternativeNameTypeType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="DefinedAlternativeNameTypeType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="ArtistName"/> + * <enumeration value="NickName"/> + * <enumeration value="FormerName"/> + * <enumeration value="Alias"/> + * <enumeration value="MaidenName"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "DefinedAlternativeNameTypeType") +@XmlEnum +public enum DefinedAlternativeNameTypeType { + + @XmlEnumValue("ArtistName") + ARTIST_NAME("ArtistName"), + @XmlEnumValue("NickName") + NICK_NAME("NickName"), + @XmlEnumValue("FormerName") + FORMER_NAME("FormerName"), + @XmlEnumValue("Alias") + ALIAS("Alias"), + @XmlEnumValue("MaidenName") + MAIDEN_NAME("MaidenName"); + private final String value; + + DefinedAlternativeNameTypeType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static DefinedAlternativeNameTypeType fromValue(String v) { + for (DefinedAlternativeNameTypeType c: DefinedAlternativeNameTypeType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/DefinedRelationType.java b/src/main/java/at/gv/util/xsd/persondata/DefinedRelationType.java new file mode 100644 index 0000000..96e6cb4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/DefinedRelationType.java @@ -0,0 +1,72 @@ + +package at.gv.util.xsd.persondata; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DefinedRelationType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="DefinedRelationType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="family:Parent"/> + * <enumeration value="family:Child"/> + * <enumeration value="family:Sibling"/> + * <enumeration value="family:Grandparent"/> + * <enumeration value="family:Grandchild"/> + * <enumeration value="family:Spouse"/> + * <enumeration value="function:LegalGuardian"/> + * <enumeration value="function:IsGuardedBy"/> + * <enumeration value="function:Cohabitant"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "DefinedRelationType") +@XmlEnum +public enum DefinedRelationType { + + @XmlEnumValue("family:Parent") + FAMILY_PARENT("family:Parent"), + @XmlEnumValue("family:Child") + FAMILY_CHILD("family:Child"), + @XmlEnumValue("family:Sibling") + FAMILY_SIBLING("family:Sibling"), + @XmlEnumValue("family:Grandparent") + FAMILY_GRANDPARENT("family:Grandparent"), + @XmlEnumValue("family:Grandchild") + FAMILY_GRANDCHILD("family:Grandchild"), + @XmlEnumValue("family:Spouse") + FAMILY_SPOUSE("family:Spouse"), + @XmlEnumValue("function:LegalGuardian") + FUNCTION_LEGAL_GUARDIAN("function:LegalGuardian"), + @XmlEnumValue("function:IsGuardedBy") + FUNCTION_IS_GUARDED_BY("function:IsGuardedBy"), + @XmlEnumValue("function:Cohabitant") + FUNCTION_COHABITANT("function:Cohabitant"); + private final String value; + + DefinedRelationType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static DefinedRelationType fromValue(String v) { + for (DefinedRelationType c: DefinedRelationType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/ERJPZahl.java b/src/main/java/at/gv/util/xsd/persondata/ERJPZahl.java new file mode 100644 index 0000000..3c181a8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/ERJPZahl.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://reference.e-government.gv.at/namespace/persondata/20020228#>AbstractSimpleIdentificationType"> + * <attribute name="Identifier" type="{http://www.w3.org/2001/XMLSchema}string" fixed="ERJ" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +public class ERJPZahl + extends AbstractSimpleIdentificationType +{ + + @XmlAttribute(name = "Identifier") + protected String identifier; + + /** + * Gets the value of the identifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdentifier() { + if (identifier == null) { + return "ERJ"; + } else { + return identifier; + } + } + + /** + * Sets the value of the identifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdentifier(String value) { + this.identifier = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/FederalStateType.java b/src/main/java/at/gv/util/xsd/persondata/FederalStateType.java new file mode 100644 index 0000000..88577e3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/FederalStateType.java @@ -0,0 +1,72 @@ + +package at.gv.util.xsd.persondata; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for FederalStateType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="FederalStateType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="Wien"/> + * <enumeration value="Niederoesterreich"/> + * <enumeration value="Burgenland"/> + * <enumeration value="Oberoesterreich"/> + * <enumeration value="Steiermark"/> + * <enumeration value="Salzburg"/> + * <enumeration value="Kaernten"/> + * <enumeration value="Tirol"/> + * <enumeration value="Vorarlberg"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "FederalStateType") +@XmlEnum +public enum FederalStateType { + + @XmlEnumValue("Wien") + WIEN("Wien"), + @XmlEnumValue("Niederoesterreich") + NIEDEROESTERREICH("Niederoesterreich"), + @XmlEnumValue("Burgenland") + BURGENLAND("Burgenland"), + @XmlEnumValue("Oberoesterreich") + OBEROESTERREICH("Oberoesterreich"), + @XmlEnumValue("Steiermark") + STEIERMARK("Steiermark"), + @XmlEnumValue("Salzburg") + SALZBURG("Salzburg"), + @XmlEnumValue("Kaernten") + KAERNTEN("Kaernten"), + @XmlEnumValue("Tirol") + TIROL("Tirol"), + @XmlEnumValue("Vorarlberg") + VORARLBERG("Vorarlberg"); + private final String value; + + FederalStateType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static FederalStateType fromValue(String v) { + for (FederalStateType c: FederalStateType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/Firmenbuchnummer.java b/src/main/java/at/gv/util/xsd/persondata/Firmenbuchnummer.java new file mode 100644 index 0000000..bd67587 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/Firmenbuchnummer.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://reference.e-government.gv.at/namespace/persondata/20020228#>AbstractSimpleIdentificationType"> + * <attribute name="Identifier" type="{http://www.w3.org/2001/XMLSchema}string" fixed="FN" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +public class Firmenbuchnummer + extends AbstractSimpleIdentificationType +{ + + @XmlAttribute(name = "Identifier") + protected String identifier; + + /** + * Gets the value of the identifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdentifier() { + if (identifier == null) { + return "FN"; + } else { + return identifier; + } + } + + /** + * Sets the value of the identifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdentifier(String value) { + this.identifier = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/IdentificationType.java b/src/main/java/at/gv/util/xsd/persondata/IdentificationType.java new file mode 100644 index 0000000..df20e77 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/IdentificationType.java @@ -0,0 +1,311 @@ + +package at.gv.util.xsd.persondata; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; +import org.w3c.dom.Element; + + +/** + * unique identifier + * + * <p>Java class for IdentificationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="IdentificationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Value"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="Authority" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='##other'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IdentificationType", propOrder = { + "value", + "type", + "authority", + "any" +}) +public class IdentificationType { + + @XmlElement(name = "Value", required = true) + protected IdentificationType.Value value; + @XmlElement(name = "Type", required = true) + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlElement(name = "Authority") + @XmlSchemaType(name = "anyURI") + protected String authority; + @XmlAnyElement(lax = true) + protected List<Object> any; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link IdentificationType.Value } + * + */ + public IdentificationType.Value getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link IdentificationType.Value } + * + */ + public void setValue(IdentificationType.Value value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the authority property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAuthority() { + return authority; + } + + /** + * Sets the value of the authority property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAuthority(String value) { + this.authority = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + + /** + * 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; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Value { + + @XmlValue + protected String value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/InternetAddressType.java b/src/main/java/at/gv/util/xsd/persondata/InternetAddressType.java new file mode 100644 index 0000000..90dfd41 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/InternetAddressType.java @@ -0,0 +1,136 @@ + +package at.gv.util.xsd.persondata; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.xmldsig.KeyInfoType; +import org.w3c.dom.Element; + + +/** + * e.g. e-mail, webiste, compare InternetAdresseTyp + * + * <p>Java class for InternetAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InternetAddressType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> + * <sequence minOccurs="0"> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> + * <element name="Address" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InternetAddressType", propOrder = { + "keyInfo", + "address", + "any" +}) +public class InternetAddressType + extends AbstractAddressType +{ + + @XmlElement(name = "KeyInfo", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected KeyInfoType keyInfo; + @XmlElement(name = "Address") + @XmlSchemaType(name = "anyURI") + protected String address; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * certificate for secure communication + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Sets the value of the keyInfo property. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Gets the value of the address property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAddress() { + return address; + } + + /** + * Sets the value of the address property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAddress(String value) { + this.address = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/MaritalStatusType.java b/src/main/java/at/gv/util/xsd/persondata/MaritalStatusType.java new file mode 100644 index 0000000..7f908d4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/MaritalStatusType.java @@ -0,0 +1,57 @@ + +package at.gv.util.xsd.persondata; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for MaritalStatusType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="MaritalStatusType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> + * <enumeration value="single"/> + * <enumeration value="married"/> + * <enumeration value="divorced"/> + * <enumeration value="widowed"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "MaritalStatusType") +@XmlEnum +public enum MaritalStatusType { + + @XmlEnumValue("single") + SINGLE("single"), + @XmlEnumValue("married") + MARRIED("married"), + @XmlEnumValue("divorced") + DIVORCED("divorced"), + @XmlEnumValue("widowed") + WIDOWED("widowed"); + private final String value; + + MaritalStatusType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static MaritalStatusType fromValue(String v) { + for (MaritalStatusType c: MaritalStatusType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/MobileTelcomNumberType.java b/src/main/java/at/gv/util/xsd/persondata/MobileTelcomNumberType.java new file mode 100644 index 0000000..3abde42 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/MobileTelcomNumberType.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + * like TelephoneAddresseType but with additional smsEnabled attribute + * + * <p>Java class for MobileTelcomNumberType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="MobileTelcomNumberType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}TelcomNumberType"> + * <attribute name="smsEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "MobileTelcomNumberType") +public class MobileTelcomNumberType + extends TelcomNumberType +{ + + @XmlAttribute(name = "smsEnabled") + protected Boolean smsEnabled; + + /** + * Gets the value of the smsEnabled property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isSmsEnabled() { + return smsEnabled; + } + + /** + * Sets the value of the smsEnabled property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setSmsEnabled(Boolean value) { + this.smsEnabled = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/NationalityType.java b/src/main/java/at/gv/util/xsd/persondata/NationalityType.java new file mode 100644 index 0000000..c88bda9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/NationalityType.java @@ -0,0 +1,99 @@ + +package at.gv.util.xsd.persondata; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * comapre, StaatsangehoerigkeitTyp + * + * <p>Java class for NationalityType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="NationalityType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ISOCode3" minOccurs="0"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <length value="3"/> + * </restriction> + * </simpleType> + * </element> + * <element name="CountryNameDE" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="CountryNameEN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="CountryNameFR" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <any processContents='lax' namespace='##other'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NationalityType", propOrder = { + "content" +}) +public class NationalityType { + + @XmlElementRefs({ + @XmlElementRef(name = "CountryNameEN", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class), + @XmlElementRef(name = "CountryNameDE", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class), + @XmlElementRef(name = "CountryNameFR", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class), + @XmlElementRef(name = "ISOCode3", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * comapre, StaatsangehoerigkeitTyp Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/ObjectFactory.java b/src/main/java/at/gv/util/xsd/persondata/ObjectFactory.java new file mode 100644 index 0000000..890abbf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/ObjectFactory.java @@ -0,0 +1,887 @@ + +package at.gv.util.xsd.persondata; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.persondata package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Extension_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Extension"); + private final static QName _Vereinsnummer_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Vereinsnummer"); + private final static QName _Matrikelnummer_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Matrikelnummer"); + private final static QName _Mobile_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Mobile"); + private final static QName _Sex_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Sex"); + private final static QName _AreaCityCode_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "AreaCityCode"); + private final static QName _ZMRzahl_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "ZMRzahl"); + private final static QName _InternetAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "InternetAddress"); + private final static QName _Firmenbuchnummer_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Firmenbuchnummer"); + private final static QName _InternationalCountryCode_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "InternationalCountryCode"); + private final static QName _AbstractPersonData_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "AbstractPersonData"); + private final static QName _Pager_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Pager"); + private final static QName _CompactCorporateBody_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CompactCorporateBody"); + private final static QName _ERJPZahl_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "ERJPZahl"); + private final static QName _NationalNumber_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "NationalNumber"); + private final static QName _CompactPhysicalPerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CompactPhysicalPerson"); + private final static QName _PhysicalPerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PhysicalPerson"); + private final static QName _MaritalStatus_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "MaritalStatus"); + private final static QName _CorporateBody_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CorporateBody"); + private final static QName _CountryOfBirth_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CountryOfBirth"); + private final static QName _Sozialversicherungsnummer_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Sozialversicherungsnummer"); + private final static QName _Steuernummer_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Steuernummer"); + private final static QName _Name_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Name"); + private final static QName _StateOfBirth_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "StateOfBirth"); + private final static QName _Fax_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Fax"); + private final static QName _TelephoneAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "TelephoneAddress"); + private final static QName _PlaceOfBirth_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PlaceOfBirth"); + private final static QName _FormattedNumber_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "FormattedNumber"); + private final static QName _TypedPostalAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "TypedPostalAddress"); + private final static QName _TTYTDD_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "TTYTDD"); + private final static QName _DateOfDeath_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "DateOfDeath"); + private final static QName _DateOfBirth_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "DateOfBirth"); + private final static QName _CompactName_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CompactName"); + private final static QName _Confession_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Confession"); + private final static QName _PersonData_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PersonData"); + private final static QName _SubscriberNumber_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "SubscriberNumber"); + private final static QName _Nationality_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Nationality"); + private final static QName _Occupation_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Occupation"); + private final static QName _Stammzahl_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Stammzahl"); + private final static QName _Telephone_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Telephone"); + private final static QName _AbstractSimpleIdentification_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "AbstractSimpleIdentification"); + private final static QName _BankConnection_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "BankConnection"); + private final static QName _Address_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Address"); + private final static QName _Person_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Person"); + private final static QName _CompactPostalAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CompactPostalAddress"); + private final static QName _PostalAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PostalAddress"); + private final static QName _Identification_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Identification"); + private final static QName _NationalityTypeCountryNameDE_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CountryNameDE"); + private final static QName _NationalityTypeCountryNameFR_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CountryNameFR"); + private final static QName _NationalityTypeCountryNameEN_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CountryNameEN"); + private final static QName _NationalityTypeISOCode3_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "ISOCode3"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.persondata + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link PersonNameType } + * + */ + public PersonNameType createPersonNameType() { + return new PersonNameType(); + } + + /** + * Create an instance of {@link CompactPersonDataType } + * + */ + public CompactPersonDataType createCompactPersonDataType() { + return new CompactPersonDataType(); + } + + /** + * Create an instance of {@link IdentificationType } + * + */ + public IdentificationType createIdentificationType() { + return new IdentificationType(); + } + + /** + * Create an instance of {@link PostalAddressType } + * + */ + public PostalAddressType createPostalAddressType() { + return new PostalAddressType(); + } + + /** + * Create an instance of {@link PostalAddressType.DeliveryAddress } + * + */ + public PostalAddressType.DeliveryAddress createPostalAddressTypeDeliveryAddress() { + return new PostalAddressType.DeliveryAddress(); + } + + /** + * Create an instance of {@link BankConnectionType } + * + */ + public BankConnectionType createBankConnectionType() { + return new BankConnectionType(); + } + + /** + * Create an instance of {@link CompactPostalAddressType } + * + */ + public CompactPostalAddressType createCompactPostalAddressType() { + return new CompactPostalAddressType(); + } + + /** + * Create an instance of {@link CompactPersonNameType } + * + */ + public CompactPersonNameType createCompactPersonNameType() { + return new CompactPersonNameType(); + } + + /** + * Create an instance of {@link PersonDataType } + * + */ + public PersonDataType createPersonDataType() { + return new PersonDataType(); + } + + /** + * Create an instance of {@link TelcomNumberType } + * + */ + public TelcomNumberType createTelcomNumberType() { + return new TelcomNumberType(); + } + + /** + * Create an instance of {@link ZMRzahl } + * + */ + public ZMRzahl createZMRzahl() { + return new ZMRzahl(); + } + + /** + * Create an instance of {@link AbstractSimpleIdentificationType } + * + */ + public AbstractSimpleIdentificationType createAbstractSimpleIdentificationType() { + return new AbstractSimpleIdentificationType(); + } + + /** + * Create an instance of {@link InternetAddressType } + * + */ + public InternetAddressType createInternetAddressType() { + return new InternetAddressType(); + } + + /** + * Create an instance of {@link AbstractAddressType } + * + */ + public AbstractAddressType createAbstractAddressType() { + return new AbstractAddressType(); + } + + /** + * Create an instance of {@link Vereinsnummer } + * + */ + public Vereinsnummer createVereinsnummer() { + return new Vereinsnummer(); + } + + /** + * Create an instance of {@link TypedPostalAddressType } + * + */ + public TypedPostalAddressType createTypedPostalAddressType() { + return new TypedPostalAddressType(); + } + + /** + * Create an instance of {@link MobileTelcomNumberType } + * + */ + public MobileTelcomNumberType createMobileTelcomNumberType() { + return new MobileTelcomNumberType(); + } + + /** + * Create an instance of {@link CompactCorporateBodyType } + * + */ + public CompactCorporateBodyType createCompactCorporateBodyType() { + return new CompactCorporateBodyType(); + } + + /** + * Create an instance of {@link AbstractPersonType } + * + */ + public AbstractPersonType createAbstractPersonType() { + return new AbstractPersonType(); + } + + /** + * Create an instance of {@link AlternativeName } + * + */ + public AlternativeName createAlternativeName() { + return new AlternativeName(); + } + + /** + * Create an instance of {@link PersonNameType.FormattedName } + * + */ + public PersonNameType.FormattedName createPersonNameTypeFormattedName() { + return new PersonNameType.FormattedName(); + } + + /** + * Create an instance of {@link PersonNameType.FamilyName } + * + */ + public PersonNameType.FamilyName createPersonNameTypeFamilyName() { + return new PersonNameType.FamilyName(); + } + + /** + * Create an instance of {@link PersonNameType.Affix } + * + */ + public PersonNameType.Affix createPersonNameTypeAffix() { + return new PersonNameType.Affix(); + } + + /** + * Create an instance of {@link ERJPZahl } + * + */ + public ERJPZahl createERJPZahl() { + return new ERJPZahl(); + } + + /** + * Create an instance of {@link NationalityType } + * + */ + public NationalityType createNationalityType() { + return new NationalityType(); + } + + /** + * Create an instance of {@link Firmenbuchnummer } + * + */ + public Firmenbuchnummer createFirmenbuchnummer() { + return new Firmenbuchnummer(); + } + + /** + * Create an instance of {@link CompactPersonData } + * + */ + public CompactPersonData createCompactPersonData() { + return new CompactPersonData(); + } + + /** + * Create an instance of {@link CompactPhysicalPersonType } + * + */ + public CompactPhysicalPersonType createCompactPhysicalPersonType() { + return new CompactPhysicalPersonType(); + } + + /** + * Create an instance of {@link TelephoneAddressType } + * + */ + public TelephoneAddressType createTelephoneAddressType() { + return new TelephoneAddressType(); + } + + /** + * Create an instance of {@link PhysicalPersonType } + * + */ + public PhysicalPersonType createPhysicalPersonType() { + return new PhysicalPersonType(); + } + + /** + * Create an instance of {@link CorporateBodyType } + * + */ + public CorporateBodyType createCorporateBodyType() { + return new CorporateBodyType(); + } + + /** + * Create an instance of {@link RelatedPerson } + * + */ + public RelatedPerson createRelatedPerson() { + return new RelatedPerson(); + } + + /** + * Create an instance of {@link CompactPersonDataType.AdditionalData } + * + */ + public CompactPersonDataType.AdditionalData createCompactPersonDataTypeAdditionalData() { + return new CompactPersonDataType.AdditionalData(); + } + + /** + * Create an instance of {@link IdentificationType.Value } + * + */ + public IdentificationType.Value createIdentificationTypeValue() { + return new IdentificationType.Value(); + } + + /** + * Create an instance of {@link PostalAddressType.Recipient } + * + */ + public PostalAddressType.Recipient createPostalAddressTypeRecipient() { + return new PostalAddressType.Recipient(); + } + + /** + * Create an instance of {@link PostalAddressType.DeliveryAddress.AddressRegisterEntry } + * + */ + public PostalAddressType.DeliveryAddress.AddressRegisterEntry createPostalAddressTypeDeliveryAddressAddressRegisterEntry() { + return new PostalAddressType.DeliveryAddress.AddressRegisterEntry(); + } + + /** + * Create an instance of {@link BankConnectionType.NationalBankConnection } + * + */ + public BankConnectionType.NationalBankConnection createBankConnectionTypeNationalBankConnection() { + return new BankConnectionType.NationalBankConnection(); + } + + /** + * Create an instance of {@link BankConnectionType.InternationalBankConnection } + * + */ + public BankConnectionType.InternationalBankConnection createBankConnectionTypeInternationalBankConnection() { + return new BankConnectionType.InternationalBankConnection(); + } + + /** + * Create an instance of {@link CompactPostalAddressType.DeliveryAddress } + * + */ + public CompactPostalAddressType.DeliveryAddress createCompactPostalAddressTypeDeliveryAddress() { + return new CompactPostalAddressType.DeliveryAddress(); + } + + /** + * Create an instance of {@link CompactPersonNameType.FamilyName } + * + */ + public CompactPersonNameType.FamilyName createCompactPersonNameTypeFamilyName() { + return new CompactPersonNameType.FamilyName(); + } + + /** + * Create an instance of {@link CompactPersonNameType.Affix } + * + */ + public CompactPersonNameType.Affix createCompactPersonNameTypeAffix() { + return new CompactPersonNameType.Affix(); + } + + /** + * Create an instance of {@link PersonDataType.AdditionalData } + * + */ + public PersonDataType.AdditionalData createPersonDataTypeAdditionalData() { + return new PersonDataType.AdditionalData(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Extension") + public JAXBElement<String> createExtension(String value) { + return new JAXBElement<String>(_Extension_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Vereinsnummer }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Vereinsnummer", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<Vereinsnummer> createVereinsnummer(Vereinsnummer value) { + return new JAXBElement<Vereinsnummer>(_Vereinsnummer_QNAME, Vereinsnummer.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractSimpleIdentificationType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Matrikelnummer", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<AbstractSimpleIdentificationType> createMatrikelnummer(AbstractSimpleIdentificationType value) { + return new JAXBElement<AbstractSimpleIdentificationType>(_Matrikelnummer_QNAME, AbstractSimpleIdentificationType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link MobileTelcomNumberType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Mobile") + public JAXBElement<MobileTelcomNumberType> createMobile(MobileTelcomNumberType value) { + return new JAXBElement<MobileTelcomNumberType>(_Mobile_QNAME, MobileTelcomNumberType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SexType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Sex") + public JAXBElement<SexType> createSex(SexType value) { + return new JAXBElement<SexType>(_Sex_QNAME, SexType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "AreaCityCode") + public JAXBElement<String> createAreaCityCode(String value) { + return new JAXBElement<String>(_AreaCityCode_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ZMRzahl }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "ZMRzahl", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<ZMRzahl> createZMRzahl(ZMRzahl value) { + return new JAXBElement<ZMRzahl>(_ZMRzahl_QNAME, ZMRzahl.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link InternetAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "InternetAddress", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Address") + public JAXBElement<InternetAddressType> createInternetAddress(InternetAddressType value) { + return new JAXBElement<InternetAddressType>(_InternetAddress_QNAME, InternetAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Firmenbuchnummer }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Firmenbuchnummer", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<Firmenbuchnummer> createFirmenbuchnummer(Firmenbuchnummer value) { + return new JAXBElement<Firmenbuchnummer>(_Firmenbuchnummer_QNAME, Firmenbuchnummer.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "InternationalCountryCode") + public JAXBElement<String> createInternationalCountryCode(String value) { + return new JAXBElement<String>(_InternationalCountryCode_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "AbstractPersonData") + public JAXBElement<AbstractPersonType> createAbstractPersonData(AbstractPersonType value) { + return new JAXBElement<AbstractPersonType>(_AbstractPersonData_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TelcomNumberType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Pager") + public JAXBElement<TelcomNumberType> createPager(TelcomNumberType value) { + return new JAXBElement<TelcomNumberType>(_Pager_QNAME, TelcomNumberType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CompactCorporateBodyType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "CompactCorporateBody", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Person") + public JAXBElement<CompactCorporateBodyType> createCompactCorporateBody(CompactCorporateBodyType value) { + return new JAXBElement<CompactCorporateBodyType>(_CompactCorporateBody_QNAME, CompactCorporateBodyType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ERJPZahl }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "ERJPZahl", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<ERJPZahl> createERJPZahl(ERJPZahl value) { + return new JAXBElement<ERJPZahl>(_ERJPZahl_QNAME, ERJPZahl.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "NationalNumber") + public JAXBElement<String> createNationalNumber(String value) { + return new JAXBElement<String>(_NationalNumber_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CompactPhysicalPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "CompactPhysicalPerson", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Person") + public JAXBElement<CompactPhysicalPersonType> createCompactPhysicalPerson(CompactPhysicalPersonType value) { + return new JAXBElement<CompactPhysicalPersonType>(_CompactPhysicalPerson_QNAME, CompactPhysicalPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PhysicalPerson", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Person") + public JAXBElement<PhysicalPersonType> createPhysicalPerson(PhysicalPersonType value) { + return new JAXBElement<PhysicalPersonType>(_PhysicalPerson_QNAME, PhysicalPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link MaritalStatusType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "MaritalStatus") + public JAXBElement<MaritalStatusType> createMaritalStatus(MaritalStatusType value) { + return new JAXBElement<MaritalStatusType>(_MaritalStatus_QNAME, MaritalStatusType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "CorporateBody", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Person") + public JAXBElement<CorporateBodyType> createCorporateBody(CorporateBodyType value) { + return new JAXBElement<CorporateBodyType>(_CorporateBody_QNAME, CorporateBodyType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "CountryOfBirth") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createCountryOfBirth(String value) { + return new JAXBElement<String>(_CountryOfBirth_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractSimpleIdentificationType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Sozialversicherungsnummer", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<AbstractSimpleIdentificationType> createSozialversicherungsnummer(AbstractSimpleIdentificationType value) { + return new JAXBElement<AbstractSimpleIdentificationType>(_Sozialversicherungsnummer_QNAME, AbstractSimpleIdentificationType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractSimpleIdentificationType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Steuernummer", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<AbstractSimpleIdentificationType> createSteuernummer(AbstractSimpleIdentificationType value) { + return new JAXBElement<AbstractSimpleIdentificationType>(_Steuernummer_QNAME, AbstractSimpleIdentificationType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonNameType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Name") + public JAXBElement<PersonNameType> createName(PersonNameType value) { + return new JAXBElement<PersonNameType>(_Name_QNAME, PersonNameType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "StateOfBirth") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createStateOfBirth(String value) { + return new JAXBElement<String>(_StateOfBirth_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TelcomNumberType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Fax") + public JAXBElement<TelcomNumberType> createFax(TelcomNumberType value) { + return new JAXBElement<TelcomNumberType>(_Fax_QNAME, TelcomNumberType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TelephoneAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "TelephoneAddress", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Address") + public JAXBElement<TelephoneAddressType> createTelephoneAddress(TelephoneAddressType value) { + return new JAXBElement<TelephoneAddressType>(_TelephoneAddress_QNAME, TelephoneAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PlaceOfBirth") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createPlaceOfBirth(String value) { + return new JAXBElement<String>(_PlaceOfBirth_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "FormattedNumber") + public JAXBElement<String> createFormattedNumber(String value) { + return new JAXBElement<String>(_FormattedNumber_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TypedPostalAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "TypedPostalAddress", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Address") + public JAXBElement<TypedPostalAddressType> createTypedPostalAddress(TypedPostalAddressType value) { + return new JAXBElement<TypedPostalAddressType>(_TypedPostalAddress_QNAME, TypedPostalAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TelcomNumberType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "TTYTDD") + public JAXBElement<TelcomNumberType> createTTYTDD(TelcomNumberType value) { + return new JAXBElement<TelcomNumberType>(_TTYTDD_QNAME, TelcomNumberType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "DateOfDeath") + public JAXBElement<String> createDateOfDeath(String value) { + return new JAXBElement<String>(_DateOfDeath_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "DateOfBirth") + public JAXBElement<String> createDateOfBirth(String value) { + return new JAXBElement<String>(_DateOfBirth_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CompactPersonNameType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "CompactName") + public JAXBElement<CompactPersonNameType> createCompactName(CompactPersonNameType value) { + return new JAXBElement<CompactPersonNameType>(_CompactName_QNAME, CompactPersonNameType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Confession") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createConfession(String value) { + return new JAXBElement<String>(_Confession_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PersonData", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "AbstractPersonData") + public JAXBElement<PersonDataType> createPersonData(PersonDataType value) { + return new JAXBElement<PersonDataType>(_PersonData_QNAME, PersonDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "SubscriberNumber") + public JAXBElement<String> createSubscriberNumber(String value) { + return new JAXBElement<String>(_SubscriberNumber_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link NationalityType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Nationality") + public JAXBElement<NationalityType> createNationality(NationalityType value) { + return new JAXBElement<NationalityType>(_Nationality_QNAME, NationalityType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Occupation") + public JAXBElement<String> createOccupation(String value) { + return new JAXBElement<String>(_Occupation_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractSimpleIdentificationType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Stammzahl", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<AbstractSimpleIdentificationType> createStammzahl(AbstractSimpleIdentificationType value) { + return new JAXBElement<AbstractSimpleIdentificationType>(_Stammzahl_QNAME, AbstractSimpleIdentificationType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TelcomNumberType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Telephone") + public JAXBElement<TelcomNumberType> createTelephone(TelcomNumberType value) { + return new JAXBElement<TelcomNumberType>(_Telephone_QNAME, TelcomNumberType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractSimpleIdentificationType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "AbstractSimpleIdentification") + public JAXBElement<AbstractSimpleIdentificationType> createAbstractSimpleIdentification(AbstractSimpleIdentificationType value) { + return new JAXBElement<AbstractSimpleIdentificationType>(_AbstractSimpleIdentification_QNAME, AbstractSimpleIdentificationType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BankConnectionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "BankConnection") + public JAXBElement<BankConnectionType> createBankConnection(BankConnectionType value) { + return new JAXBElement<BankConnectionType>(_BankConnection_QNAME, BankConnectionType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Address") + public JAXBElement<AbstractAddressType> createAddress(AbstractAddressType value) { + return new JAXBElement<AbstractAddressType>(_Address_QNAME, AbstractAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Person") + public JAXBElement<AbstractPersonType> createPerson(AbstractPersonType value) { + return new JAXBElement<AbstractPersonType>(_Person_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CompactPostalAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "CompactPostalAddress", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Address") + public JAXBElement<CompactPostalAddressType> createCompactPostalAddress(CompactPostalAddressType value) { + return new JAXBElement<CompactPostalAddressType>(_CompactPostalAddress_QNAME, CompactPostalAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PostalAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PostalAddress", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Address") + public JAXBElement<PostalAddressType> createPostalAddress(PostalAddressType value) { + return new JAXBElement<PostalAddressType>(_PostalAddress_QNAME, PostalAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link IdentificationType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Identification") + public JAXBElement<IdentificationType> createIdentification(IdentificationType value) { + return new JAXBElement<IdentificationType>(_Identification_QNAME, IdentificationType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "CountryNameDE", scope = NationalityType.class) + public JAXBElement<String> createNationalityTypeCountryNameDE(String value) { + return new JAXBElement<String>(_NationalityTypeCountryNameDE_QNAME, String.class, NationalityType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "CountryNameFR", scope = NationalityType.class) + public JAXBElement<String> createNationalityTypeCountryNameFR(String value) { + return new JAXBElement<String>(_NationalityTypeCountryNameFR_QNAME, String.class, NationalityType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "CountryNameEN", scope = NationalityType.class) + public JAXBElement<String> createNationalityTypeCountryNameEN(String value) { + return new JAXBElement<String>(_NationalityTypeCountryNameEN_QNAME, String.class, NationalityType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "ISOCode3", scope = NationalityType.class) + public JAXBElement<String> createNationalityTypeISOCode3(String value) { + return new JAXBElement<String>(_NationalityTypeISOCode3_QNAME, String.class, NationalityType.class, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/PersonDataType.java b/src/main/java/at/gv/util/xsd/persondata/PersonDataType.java new file mode 100644 index 0000000..29514bb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/PersonDataType.java @@ -0,0 +1,255 @@ + +package at.gv.util.xsd.persondata; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.xmldsig.SignatureType; +import org.w3c.dom.Element; + + +/** + * signed person datastructure. The first Identification elements (from the base type) denote the record as such (e.g. database key for this record) - not to be mistaken for identifiers of the person or of an address (they have their own Identification elements). + * + * <p>Java class for PersonDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonDataType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Person"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Address" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" maxOccurs="unbounded" minOccurs="0"/> + * <element name="AdditionalData" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonDataType", propOrder = { + "person", + "address", + "signature", + "additionalData" +}) +public class PersonDataType + extends AbstractPersonType +{ + + @XmlElementRef(name = "Person", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class) + protected JAXBElement<? extends AbstractPersonType> person; + @XmlElementRef(name = "Address", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class, required = false) + protected List<JAXBElement<? extends AbstractAddressType>> address; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected List<SignatureType> signature; + @XmlElement(name = "AdditionalData") + protected PersonDataType.AdditionalData additionalData; + + /** + * Gets the value of the person property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactCorporateBodyType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactPhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * + */ + public JAXBElement<? extends AbstractPersonType> getPerson() { + return person; + } + + /** + * Sets the value of the person property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactCorporateBodyType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactPhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * + */ + public void setPerson(JAXBElement<? extends AbstractPersonType> value) { + this.person = value; + } + + /** + * Gets the value of the address property. + * + * <p> + * 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 <CODE>set</CODE> method for the address property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAddress().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link CompactPostalAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link InternetAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link TypedPostalAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link PostalAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link TelephoneAddressType }{@code >} + * + * + */ + public List<JAXBElement<? extends AbstractAddressType>> getAddress() { + if (address == null) { + address = new ArrayList<JAXBElement<? extends AbstractAddressType>>(); + } + return this.address; + } + + /** + * one or more electronic signatures applied on fields above Gets the value of the signature property. + * + * <p> + * 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 <CODE>set</CODE> method for the signature property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSignature().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link SignatureType } + * + * + */ + public List<SignatureType> getSignature() { + if (signature == null) { + signature = new ArrayList<SignatureType>(); + } + return this.signature; + } + + /** + * Gets the value of the additionalData property. + * + * @return + * possible object is + * {@link PersonDataType.AdditionalData } + * + */ + public PersonDataType.AdditionalData getAdditionalData() { + return additionalData; + } + + /** + * Sets the value of the additionalData property. + * + * @param value + * allowed object is + * {@link PersonDataType.AdditionalData } + * + */ + public void setAdditionalData(PersonDataType.AdditionalData value) { + this.additionalData = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "content" + }) + public static class AdditionalData { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link String } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/PersonNameType.java b/src/main/java/at/gv/util/xsd/persondata/PersonNameType.java new file mode 100644 index 0000000..3b148fc --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/PersonNameType.java @@ -0,0 +1,657 @@ + +package at.gv.util.xsd.persondata; + +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.XmlValue; + + +/** + * container for parts of a name, comapre PersonenNameTyp + * + * <p>Java class for PersonNameType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonNameType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FormattedName" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="type" default="presentation"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="presentation"/> + * <enumeration value="legal"/> + * <enumeration value="sortOrder"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="LegalName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="PreferredGivenName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="MiddleName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="FamilyName" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primary" default="undefined"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="true"/> + * <enumeration value="false"/> + * <enumeration value="undefined"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Affix" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="type"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="academicGrade"/> + * <enumeration value="aristocraticPrefix"/> + * <enumeration value="aristocraticTitle"/> + * <enumeration value="familyNamePrefix"/> + * <enumeration value="familyNameSuffix"/> + * <enumeration value="formOfAddress"/> + * <enumeration value="generation"/> + * <enumeration value="qualification"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonNameType", propOrder = { + "formattedName", + "legalName", + "givenName", + "preferredGivenName", + "middleName", + "familyName", + "affix" +}) +@XmlSeeAlso({ + AlternativeName.class +}) +public class PersonNameType { + + @XmlElement(name = "FormattedName") + protected List<PersonNameType.FormattedName> formattedName; + @XmlElement(name = "LegalName") + protected String legalName; + @XmlElement(name = "GivenName") + protected List<String> givenName; + @XmlElement(name = "PreferredGivenName") + protected String preferredGivenName; + @XmlElement(name = "MiddleName") + protected String middleName; + @XmlElement(name = "FamilyName") + protected List<PersonNameType.FamilyName> familyName; + @XmlElement(name = "Affix") + protected List<PersonNameType.Affix> affix; + + /** + * Gets the value of the formattedName property. + * + * <p> + * 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 <CODE>set</CODE> method for the formattedName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFormattedName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonNameType.FormattedName } + * + * + */ + public List<PersonNameType.FormattedName> getFormattedName() { + if (formattedName == null) { + formattedName = new ArrayList<PersonNameType.FormattedName>(); + } + return this.formattedName; + } + + /** + * Gets the value of the legalName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLegalName() { + return legalName; + } + + /** + * Sets the value of the legalName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLegalName(String value) { + this.legalName = value; + } + + /** + * Gets the value of the givenName property. + * + * <p> + * 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 <CODE>set</CODE> method for the givenName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getGivenName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getGivenName() { + if (givenName == null) { + givenName = new ArrayList<String>(); + } + return this.givenName; + } + + /** + * Gets the value of the preferredGivenName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPreferredGivenName() { + return preferredGivenName; + } + + /** + * Sets the value of the preferredGivenName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPreferredGivenName(String value) { + this.preferredGivenName = value; + } + + /** + * Gets the value of the middleName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMiddleName() { + return middleName; + } + + /** + * Sets the value of the middleName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMiddleName(String value) { + this.middleName = value; + } + + /** + * Gets the value of the familyName property. + * + * <p> + * 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 <CODE>set</CODE> method for the familyName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFamilyName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonNameType.FamilyName } + * + * + */ + public List<PersonNameType.FamilyName> getFamilyName() { + if (familyName == null) { + familyName = new ArrayList<PersonNameType.FamilyName>(); + } + return this.familyName; + } + + /** + * Gets the value of the affix property. + * + * <p> + * 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 <CODE>set</CODE> method for the affix property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAffix().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonNameType.Affix } + * + * + */ + public List<PersonNameType.Affix> getAffix() { + if (affix == null) { + affix = new ArrayList<PersonNameType.Affix>(); + } + return this.affix; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="type"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="academicGrade"/> + * <enumeration value="aristocraticPrefix"/> + * <enumeration value="aristocraticTitle"/> + * <enumeration value="familyNamePrefix"/> + * <enumeration value="familyNameSuffix"/> + * <enumeration value="formOfAddress"/> + * <enumeration value="generation"/> + * <enumeration value="qualification"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Affix { + + @XmlValue + protected String value; + @XmlAttribute(name = "type") + protected String type; + @XmlAttribute(name = "position") + protected String position; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the position property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPosition() { + return position; + } + + /** + * Sets the value of the position property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPosition(String value) { + this.position = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primary" default="undefined"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="true"/> + * <enumeration value="false"/> + * <enumeration value="undefined"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class FamilyName { + + @XmlValue + protected String value; + @XmlAttribute(name = "primary") + protected String primary; + @XmlAttribute(name = "prefix") + protected String prefix; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the primary property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrimary() { + if (primary == null) { + return "undefined"; + } else { + return primary; + } + } + + /** + * Sets the value of the primary property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrimary(String value) { + this.primary = value; + } + + /** + * Gets the value of the prefix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrefix() { + return prefix; + } + + /** + * Sets the value of the prefix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrefix(String value) { + this.prefix = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="type" default="presentation"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="presentation"/> + * <enumeration value="legal"/> + * <enumeration value="sortOrder"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class FormattedName { + + @XmlValue + protected String value; + @XmlAttribute(name = "type") + protected String type; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "presentation"; + } else { + return type; + } + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/PhysicalPersonType.java b/src/main/java/at/gv/util/xsd/persondata/PhysicalPersonType.java new file mode 100644 index 0000000..4c5a5e3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/PhysicalPersonType.java @@ -0,0 +1,499 @@ + +package at.gv.util.xsd.persondata; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +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; +import org.w3c.dom.Element; + + +/** + * physical person, compare NatuerlichePersonTyp + * + * <p>Java class for PhysicalPersonType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PhysicalPersonType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Name" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AlternativeName" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}MaritalStatus" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Sex" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}DateOfBirth" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PlaceOfBirth" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}StateOfBirth" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CountryOfBirth" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}DateOfDeath" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Nationality" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Confession" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Occupation" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}relatedPerson" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}BankConnection" maxOccurs="unbounded" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PhysicalPersonType", propOrder = { + "name", + "alternativeName", + "maritalStatus", + "sex", + "dateOfBirth", + "placeOfBirth", + "stateOfBirth", + "countryOfBirth", + "dateOfDeath", + "nationality", + "confession", + "occupation", + "relatedPerson", + "bankConnection", + "any" +}) +public class PhysicalPersonType + extends AbstractPersonType +{ + + @XmlElement(name = "Name") + protected PersonNameType name; + @XmlElement(name = "AlternativeName") + protected List<AlternativeName> alternativeName; + @XmlElement(name = "MaritalStatus") + protected MaritalStatusType maritalStatus; + @XmlElement(name = "Sex") + protected SexType sex; + @XmlElement(name = "DateOfBirth") + protected String dateOfBirth; + @XmlElement(name = "PlaceOfBirth") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String placeOfBirth; + @XmlElement(name = "StateOfBirth") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String stateOfBirth; + @XmlElement(name = "CountryOfBirth") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String countryOfBirth; + @XmlElement(name = "DateOfDeath") + protected String dateOfDeath; + @XmlElement(name = "Nationality") + protected List<NationalityType> nationality; + @XmlElement(name = "Confession") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String confession; + @XmlElement(name = "Occupation") + protected String occupation; + protected List<RelatedPerson> relatedPerson; + @XmlElement(name = "BankConnection") + protected List<BankConnectionType> bankConnection; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link PersonNameType } + * + */ + public PersonNameType getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link PersonNameType } + * + */ + public void setName(PersonNameType value) { + this.name = value; + } + + /** + * Gets the value of the alternativeName property. + * + * <p> + * 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 <CODE>set</CODE> method for the alternativeName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAlternativeName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link AlternativeName } + * + * + */ + public List<AlternativeName> getAlternativeName() { + if (alternativeName == null) { + alternativeName = new ArrayList<AlternativeName>(); + } + return this.alternativeName; + } + + /** + * Gets the value of the maritalStatus property. + * + * @return + * possible object is + * {@link MaritalStatusType } + * + */ + public MaritalStatusType getMaritalStatus() { + return maritalStatus; + } + + /** + * Sets the value of the maritalStatus property. + * + * @param value + * allowed object is + * {@link MaritalStatusType } + * + */ + public void setMaritalStatus(MaritalStatusType value) { + this.maritalStatus = value; + } + + /** + * Gets the value of the sex property. + * + * @return + * possible object is + * {@link SexType } + * + */ + public SexType getSex() { + return sex; + } + + /** + * Sets the value of the sex property. + * + * @param value + * allowed object is + * {@link SexType } + * + */ + public void setSex(SexType value) { + this.sex = value; + } + + /** + * Gets the value of the dateOfBirth property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDateOfBirth() { + return dateOfBirth; + } + + /** + * Sets the value of the dateOfBirth property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDateOfBirth(String value) { + this.dateOfBirth = value; + } + + /** + * Gets the value of the placeOfBirth property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlaceOfBirth() { + return placeOfBirth; + } + + /** + * Sets the value of the placeOfBirth property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlaceOfBirth(String value) { + this.placeOfBirth = value; + } + + /** + * Gets the value of the stateOfBirth property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStateOfBirth() { + return stateOfBirth; + } + + /** + * Sets the value of the stateOfBirth property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStateOfBirth(String value) { + this.stateOfBirth = value; + } + + /** + * Gets the value of the countryOfBirth property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryOfBirth() { + return countryOfBirth; + } + + /** + * Sets the value of the countryOfBirth property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryOfBirth(String value) { + this.countryOfBirth = value; + } + + /** + * Gets the value of the dateOfDeath property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDateOfDeath() { + return dateOfDeath; + } + + /** + * Sets the value of the dateOfDeath property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDateOfDeath(String value) { + this.dateOfDeath = value; + } + + /** + * Gets the value of the nationality property. + * + * <p> + * 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 <CODE>set</CODE> method for the nationality property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getNationality().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link NationalityType } + * + * + */ + public List<NationalityType> getNationality() { + if (nationality == null) { + nationality = new ArrayList<NationalityType>(); + } + return this.nationality; + } + + /** + * Gets the value of the confession property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getConfession() { + return confession; + } + + /** + * Sets the value of the confession property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setConfession(String value) { + this.confession = value; + } + + /** + * Gets the value of the occupation property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOccupation() { + return occupation; + } + + /** + * Sets the value of the occupation property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOccupation(String value) { + this.occupation = value; + } + + /** + * Gets the value of the relatedPerson property. + * + * <p> + * 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 <CODE>set</CODE> method for the relatedPerson property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRelatedPerson().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link RelatedPerson } + * + * + */ + public List<RelatedPerson> getRelatedPerson() { + if (relatedPerson == null) { + relatedPerson = new ArrayList<RelatedPerson>(); + } + return this.relatedPerson; + } + + /** + * Gets the value of the bankConnection property. + * + * <p> + * 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 <CODE>set</CODE> method for the bankConnection property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBankConnection().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link BankConnectionType } + * + * + */ + public List<BankConnectionType> getBankConnection() { + if (bankConnection == null) { + bankConnection = new ArrayList<BankConnectionType>(); + } + return this.bankConnection; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/PostalAddressType.java b/src/main/java/at/gv/util/xsd/persondata/PostalAddressType.java new file mode 100644 index 0000000..d5ba413 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/PostalAddressType.java @@ -0,0 +1,1029 @@ + +package at.gv.util.xsd.persondata; + +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.XmlType; + + +/** + * compare PostAdresseTyp + * + * <p>Java class for PostalAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PostalAddressType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> + * <sequence> + * <element name="CountryCode" minOccurs="0"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <pattern value="[A-Z]{2}"/> + * </restriction> + * </simpleType> + * </element> + * <element name="CountryName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Region" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="State" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="MunicipalityNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Hamlet" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="HamletBilingual" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DeliveryAddress" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="AddressLine" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DoorNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PostOfficeBox" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="LivingQuality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DropOffPoint" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="AreaNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="AddressRegisterEntry" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="AddressCode" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}string7"/> + * <element name="SubCode" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}string3" minOccurs="0"/> + * <element name="ObjectNumber" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}string7" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Recipient" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PersonName" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType" minOccurs="0"/> + * <element name="AdditionalText" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Organization" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="OrganizationName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <attribute name="type" default="undefined"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="postOfficeBoxAddress"/> + * <enumeration value="streetAddress"/> + * <enumeration value="militaryAddress"/> + * <enumeration value="undefined"/> + * </restriction> + * </simpleType> + * </attribute> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PostalAddressType", propOrder = { + "countryCode", + "countryName", + "postalCode", + "region", + "state", + "municipality", + "municipalityNumber", + "hamlet", + "hamletBilingual", + "deliveryAddress", + "recipient" +}) +public class PostalAddressType + extends AbstractAddressType +{ + + @XmlElement(name = "CountryCode") + protected String countryCode; + @XmlElement(name = "CountryName") + protected String countryName; + @XmlElement(name = "PostalCode") + protected String postalCode; + @XmlElement(name = "Region") + protected List<String> region; + @XmlElement(name = "State") + protected String state; + @XmlElement(name = "Municipality") + protected String municipality; + @XmlElement(name = "MunicipalityNumber") + protected String municipalityNumber; + @XmlElement(name = "Hamlet") + protected String hamlet; + @XmlElement(name = "HamletBilingual") + protected String hamletBilingual; + @XmlElement(name = "DeliveryAddress") + protected PostalAddressType.DeliveryAddress deliveryAddress; + @XmlElement(name = "Recipient") + protected List<PostalAddressType.Recipient> recipient; + @XmlAttribute(name = "type") + protected String type; + + /** + * Gets the value of the countryCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryCode() { + return countryCode; + } + + /** + * Sets the value of the countryCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryCode(String value) { + this.countryCode = value; + } + + /** + * Gets the value of the countryName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryName() { + return countryName; + } + + /** + * Sets the value of the countryName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryName(String value) { + this.countryName = value; + } + + /** + * Gets the value of the postalCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostalCode() { + return postalCode; + } + + /** + * Sets the value of the postalCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostalCode(String value) { + this.postalCode = value; + } + + /** + * Gets the value of the region property. + * + * <p> + * 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 <CODE>set</CODE> method for the region property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRegion().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getRegion() { + if (region == null) { + region = new ArrayList<String>(); + } + return this.region; + } + + /** + * Gets the value of the state property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getState() { + return state; + } + + /** + * Sets the value of the state property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setState(String value) { + this.state = value; + } + + /** + * Gets the value of the municipality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMunicipality() { + return municipality; + } + + /** + * Sets the value of the municipality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMunicipality(String value) { + this.municipality = value; + } + + /** + * Gets the value of the municipalityNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMunicipalityNumber() { + return municipalityNumber; + } + + /** + * Sets the value of the municipalityNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMunicipalityNumber(String value) { + this.municipalityNumber = value; + } + + /** + * Gets the value of the hamlet property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHamlet() { + return hamlet; + } + + /** + * Sets the value of the hamlet property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHamlet(String value) { + this.hamlet = value; + } + + /** + * Gets the value of the hamletBilingual property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHamletBilingual() { + return hamletBilingual; + } + + /** + * Sets the value of the hamletBilingual property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHamletBilingual(String value) { + this.hamletBilingual = value; + } + + /** + * Gets the value of the deliveryAddress property. + * + * @return + * possible object is + * {@link PostalAddressType.DeliveryAddress } + * + */ + public PostalAddressType.DeliveryAddress getDeliveryAddress() { + return deliveryAddress; + } + + /** + * Sets the value of the deliveryAddress property. + * + * @param value + * allowed object is + * {@link PostalAddressType.DeliveryAddress } + * + */ + public void setDeliveryAddress(PostalAddressType.DeliveryAddress value) { + this.deliveryAddress = value; + } + + /** + * Gets the value of the recipient property. + * + * <p> + * 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 <CODE>set</CODE> method for the recipient property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRecipient().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PostalAddressType.Recipient } + * + * + */ + public List<PostalAddressType.Recipient> getRecipient() { + if (recipient == null) { + recipient = new ArrayList<PostalAddressType.Recipient>(); + } + return this.recipient; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "undefined"; + } else { + return type; + } + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="AddressLine" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DoorNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PostOfficeBox" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="LivingQuality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DropOffPoint" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="AreaNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="AddressRegisterEntry" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="AddressCode" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}string7"/> + * <element name="SubCode" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}string3" minOccurs="0"/> + * <element name="ObjectNumber" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}string7" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "addressLine", + "streetName", + "buildingNumber", + "unit", + "doorNumber", + "postOfficeBox", + "livingQuality", + "dropOffPoint", + "areaNumber", + "addressRegisterEntry" + }) + public static class DeliveryAddress { + + @XmlElement(name = "AddressLine") + protected List<String> addressLine; + @XmlElement(name = "StreetName") + protected String streetName; + @XmlElement(name = "BuildingNumber") + protected String buildingNumber; + @XmlElement(name = "Unit") + protected String unit; + @XmlElement(name = "DoorNumber") + protected String doorNumber; + @XmlElement(name = "PostOfficeBox") + protected String postOfficeBox; + @XmlElement(name = "LivingQuality") + protected String livingQuality; + @XmlElement(name = "DropOffPoint") + protected Boolean dropOffPoint; + @XmlElement(name = "AreaNumber") + protected String areaNumber; + @XmlElement(name = "AddressRegisterEntry") + protected PostalAddressType.DeliveryAddress.AddressRegisterEntry addressRegisterEntry; + + /** + * Gets the value of the addressLine property. + * + * <p> + * 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 <CODE>set</CODE> method for the addressLine property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAddressLine().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getAddressLine() { + if (addressLine == null) { + addressLine = new ArrayList<String>(); + } + return this.addressLine; + } + + /** + * Gets the value of the streetName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStreetName() { + return streetName; + } + + /** + * Sets the value of the streetName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStreetName(String value) { + this.streetName = value; + } + + /** + * Gets the value of the buildingNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBuildingNumber() { + return buildingNumber; + } + + /** + * Sets the value of the buildingNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBuildingNumber(String value) { + this.buildingNumber = value; + } + + /** + * Gets the value of the unit property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUnit() { + return unit; + } + + /** + * Sets the value of the unit property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUnit(String value) { + this.unit = value; + } + + /** + * Gets the value of the doorNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDoorNumber() { + return doorNumber; + } + + /** + * Sets the value of the doorNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDoorNumber(String value) { + this.doorNumber = value; + } + + /** + * Gets the value of the postOfficeBox property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostOfficeBox() { + return postOfficeBox; + } + + /** + * Sets the value of the postOfficeBox property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostOfficeBox(String value) { + this.postOfficeBox = value; + } + + /** + * Gets the value of the livingQuality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLivingQuality() { + return livingQuality; + } + + /** + * Sets the value of the livingQuality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLivingQuality(String value) { + this.livingQuality = value; + } + + /** + * Gets the value of the dropOffPoint property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isDropOffPoint() { + return dropOffPoint; + } + + /** + * Sets the value of the dropOffPoint property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setDropOffPoint(Boolean value) { + this.dropOffPoint = value; + } + + /** + * Gets the value of the areaNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAreaNumber() { + return areaNumber; + } + + /** + * Sets the value of the areaNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAreaNumber(String value) { + this.areaNumber = value; + } + + /** + * Gets the value of the addressRegisterEntry property. + * + * @return + * possible object is + * {@link PostalAddressType.DeliveryAddress.AddressRegisterEntry } + * + */ + public PostalAddressType.DeliveryAddress.AddressRegisterEntry getAddressRegisterEntry() { + return addressRegisterEntry; + } + + /** + * Sets the value of the addressRegisterEntry property. + * + * @param value + * allowed object is + * {@link PostalAddressType.DeliveryAddress.AddressRegisterEntry } + * + */ + public void setAddressRegisterEntry(PostalAddressType.DeliveryAddress.AddressRegisterEntry value) { + this.addressRegisterEntry = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="AddressCode" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}string7"/> + * <element name="SubCode" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}string3" minOccurs="0"/> + * <element name="ObjectNumber" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}string7" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "addressCode", + "subCode", + "objectNumber" + }) + public static class AddressRegisterEntry { + + @XmlElement(name = "AddressCode", required = true) + protected String addressCode; + @XmlElement(name = "SubCode") + protected String subCode; + @XmlElement(name = "ObjectNumber") + protected String objectNumber; + + /** + * Gets the value of the addressCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAddressCode() { + return addressCode; + } + + /** + * Sets the value of the addressCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAddressCode(String value) { + this.addressCode = value; + } + + /** + * Gets the value of the subCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSubCode() { + return subCode; + } + + /** + * Sets the value of the subCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSubCode(String value) { + this.subCode = value; + } + + /** + * Gets the value of the objectNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getObjectNumber() { + return objectNumber; + } + + /** + * Sets the value of the objectNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setObjectNumber(String value) { + this.objectNumber = value; + } + + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PersonName" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType" minOccurs="0"/> + * <element name="AdditionalText" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Organization" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="OrganizationName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "personName", + "additionalText", + "organization", + "organizationName" + }) + public static class Recipient { + + @XmlElement(name = "PersonName") + protected PersonNameType personName; + @XmlElement(name = "AdditionalText") + protected List<String> additionalText; + @XmlElement(name = "Organization") + protected String organization; + @XmlElement(name = "OrganizationName") + protected String organizationName; + + /** + * Gets the value of the personName property. + * + * @return + * possible object is + * {@link PersonNameType } + * + */ + public PersonNameType getPersonName() { + return personName; + } + + /** + * Sets the value of the personName property. + * + * @param value + * allowed object is + * {@link PersonNameType } + * + */ + public void setPersonName(PersonNameType value) { + this.personName = value; + } + + /** + * Gets the value of the additionalText property. + * + * <p> + * 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 <CODE>set</CODE> method for the additionalText property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAdditionalText().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getAdditionalText() { + if (additionalText == null) { + additionalText = new ArrayList<String>(); + } + return this.additionalText; + } + + /** + * Gets the value of the organization property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrganization() { + return organization; + } + + /** + * Sets the value of the organization property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrganization(String value) { + this.organization = value; + } + + /** + * Gets the value of the organizationName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrganizationName() { + return organizationName; + } + + /** + * Sets the value of the organizationName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrganizationName(String value) { + this.organizationName = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/RelatedPerson.java b/src/main/java/at/gv/util/xsd/persondata/RelatedPerson.java new file mode 100644 index 0000000..8a20960 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/RelatedPerson.java @@ -0,0 +1,99 @@ + +package at.gv.util.xsd.persondata; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="TypeOfRelation" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}RelationType" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "typeOfRelation", + "physicalPerson" +}) +@XmlRootElement(name = "relatedPerson") +public class RelatedPerson { + + @XmlElement(name = "TypeOfRelation") + protected List<String> typeOfRelation; + @XmlElement(name = "PhysicalPerson", required = true) + protected PhysicalPersonType physicalPerson; + + /** + * Gets the value of the typeOfRelation property. + * + * <p> + * 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 <CODE>set</CODE> method for the typeOfRelation property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTypeOfRelation().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getTypeOfRelation() { + if (typeOfRelation == null) { + typeOfRelation = new ArrayList<String>(); + } + return this.typeOfRelation; + } + + /** + * Gets the value of the physicalPerson property. + * + * @return + * possible object is + * {@link PhysicalPersonType } + * + */ + public PhysicalPersonType getPhysicalPerson() { + return physicalPerson; + } + + /** + * Sets the value of the physicalPerson property. + * + * @param value + * allowed object is + * {@link PhysicalPersonType } + * + */ + public void setPhysicalPerson(PhysicalPersonType value) { + this.physicalPerson = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/SexType.java b/src/main/java/at/gv/util/xsd/persondata/SexType.java new file mode 100644 index 0000000..eacf4a1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/SexType.java @@ -0,0 +1,54 @@ + +package at.gv.util.xsd.persondata; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SexType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="SexType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> + * <enumeration value="male"/> + * <enumeration value="female"/> + * <enumeration value="unknown"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "SexType") +@XmlEnum +public enum SexType { + + @XmlEnumValue("male") + MALE("male"), + @XmlEnumValue("female") + FEMALE("female"), + @XmlEnumValue("unknown") + UNKNOWN("unknown"); + private final String value; + + SexType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static SexType fromValue(String v) { + for (SexType c: SexType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/TelcomNumberType.java b/src/main/java/at/gv/util/xsd/persondata/TelcomNumberType.java new file mode 100644 index 0000000..76664ac --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/TelcomNumberType.java @@ -0,0 +1,204 @@ + +package at.gv.util.xsd.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * formated number or set of telephone number parts + * + * <p>Java class for TelcomNumberType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TelcomNumberType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}FormattedNumber"/> + * <group ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}TelcomNumberGroup"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TelcomNumberType", propOrder = { + "formattedNumber", + "internationalCountryCode", + "nationalNumber", + "areaCityCode", + "subscriberNumber", + "extension" +}) +@XmlSeeAlso({ + MobileTelcomNumberType.class +}) +public class TelcomNumberType { + + @XmlElement(name = "FormattedNumber") + protected String formattedNumber; + @XmlElement(name = "InternationalCountryCode") + protected String internationalCountryCode; + @XmlElement(name = "NationalNumber") + protected String nationalNumber; + @XmlElement(name = "AreaCityCode") + protected String areaCityCode; + @XmlElement(name = "SubscriberNumber") + protected String subscriberNumber; + @XmlElement(name = "Extension") + protected String extension; + + /** + * Gets the value of the formattedNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFormattedNumber() { + return formattedNumber; + } + + /** + * Sets the value of the formattedNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFormattedNumber(String value) { + this.formattedNumber = value; + } + + /** + * Gets the value of the internationalCountryCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInternationalCountryCode() { + return internationalCountryCode; + } + + /** + * Sets the value of the internationalCountryCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInternationalCountryCode(String value) { + this.internationalCountryCode = value; + } + + /** + * Gets the value of the nationalNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNationalNumber() { + return nationalNumber; + } + + /** + * Sets the value of the nationalNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNationalNumber(String value) { + this.nationalNumber = value; + } + + /** + * Gets the value of the areaCityCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAreaCityCode() { + return areaCityCode; + } + + /** + * Sets the value of the areaCityCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAreaCityCode(String value) { + this.areaCityCode = value; + } + + /** + * Gets the value of the subscriberNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSubscriberNumber() { + return subscriberNumber; + } + + /** + * Sets the value of the subscriberNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSubscriberNumber(String value) { + this.subscriberNumber = value; + } + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setExtension(String value) { + this.extension = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/TelephoneAddressType.java b/src/main/java/at/gv/util/xsd/persondata/TelephoneAddressType.java new file mode 100644 index 0000000..2e8e7e6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/TelephoneAddressType.java @@ -0,0 +1,140 @@ + +package at.gv.util.xsd.persondata; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * phone numbers, conmpare TelephoneAdresseTyp + * + * <p>Java class for TelephoneAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TelephoneAddressType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> + * <sequence minOccurs="0"> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Number" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}TelcomNumberType"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TelephoneAddressType", propOrder = { + "type", + "number", + "any" +}) +public class TelephoneAddressType + extends AbstractAddressType +{ + + @XmlElement(name = "Type") + @XmlSchemaType(name = "anyURI") + protected List<String> type; + @XmlElement(name = "Number") + protected TelcomNumberType number; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the type property. + * + * <p> + * 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 <CODE>set</CODE> method for the type property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getType().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getType() { + if (type == null) { + type = new ArrayList<String>(); + } + return this.type; + } + + /** + * Gets the value of the number property. + * + * @return + * possible object is + * {@link TelcomNumberType } + * + */ + public TelcomNumberType getNumber() { + return number; + } + + /** + * Sets the value of the number property. + * + * @param value + * allowed object is + * {@link TelcomNumberType } + * + */ + public void setNumber(TelcomNumberType value) { + this.number = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/TypedPostalAddressType.java b/src/main/java/at/gv/util/xsd/persondata/TypedPostalAddressType.java new file mode 100644 index 0000000..0b53e5e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/TypedPostalAddressType.java @@ -0,0 +1,135 @@ + +package at.gv.util.xsd.persondata; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * postal address with type information, compare TypisiertePostAdresseTyp + * + * <p>Java class for TypedPostalAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TypedPostalAddressType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> + * <sequence minOccurs="0"> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PostalAddress"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TypedPostalAddressType", propOrder = { + "type", + "postalAddress", + "any" +}) +public class TypedPostalAddressType + extends AbstractAddressType +{ + + @XmlElement(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlElement(name = "PostalAddress") + protected PostalAddressType postalAddress; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the postalAddress property. + * + * @return + * possible object is + * {@link PostalAddressType } + * + */ + public PostalAddressType getPostalAddress() { + return postalAddress; + } + + /** + * Sets the value of the postalAddress property. + * + * @param value + * allowed object is + * {@link PostalAddressType } + * + */ + public void setPostalAddress(PostalAddressType value) { + this.postalAddress = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/Vereinsnummer.java b/src/main/java/at/gv/util/xsd/persondata/Vereinsnummer.java new file mode 100644 index 0000000..08edceb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/Vereinsnummer.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://reference.e-government.gv.at/namespace/persondata/20020228#>AbstractSimpleIdentificationType"> + * <attribute name="Identifier" type="{http://www.w3.org/2001/XMLSchema}string" fixed="VR" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +public class Vereinsnummer + extends AbstractSimpleIdentificationType +{ + + @XmlAttribute(name = "Identifier") + protected String identifier; + + /** + * Gets the value of the identifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdentifier() { + if (identifier == null) { + return "VR"; + } else { + return identifier; + } + } + + /** + * Sets the value of the identifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdentifier(String value) { + this.identifier = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/ZMRzahl.java b/src/main/java/at/gv/util/xsd/persondata/ZMRzahl.java new file mode 100644 index 0000000..42f0bea --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/ZMRzahl.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://reference.e-government.gv.at/namespace/persondata/20020228#>AbstractSimpleIdentificationType"> + * <attribute name="Identifier" type="{http://www.w3.org/2001/XMLSchema}string" fixed="ZMR" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +public class ZMRzahl + extends AbstractSimpleIdentificationType +{ + + @XmlAttribute(name = "Identifier") + protected String identifier; + + /** + * Gets the value of the identifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdentifier() { + if (identifier == null) { + return "ZMR"; + } else { + return identifier; + } + } + + /** + * Sets the value of the identifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdentifier(String value) { + this.identifier = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/persondata/package-info.java b/src/main/java/at/gv/util/xsd/persondata/package-info.java new file mode 100644 index 0000000..1c9b9e5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/persondata/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.persondata; diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/ActionType.java b/src/main/java/at/gv/util/xsd/saml/assertion/ActionType.java new file mode 100644 index 0000000..36a5ef4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/ActionType.java @@ -0,0 +1,89 @@ + +package at.gv.util.xsd.saml.assertion; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for ActionType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ActionType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Namespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ActionType", propOrder = { + "value" +}) +public class ActionType { + + @XmlValue + protected String value; + @XmlAttribute(name = "Namespace") + @XmlSchemaType(name = "anyURI") + protected String namespace; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the namespace property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNamespace() { + return namespace; + } + + /** + * Sets the value of the namespace property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNamespace(String value) { + this.namespace = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/AdviceType.java b/src/main/java/at/gv/util/xsd/saml/assertion/AdviceType.java new file mode 100644 index 0000000..3e80631 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/AdviceType.java @@ -0,0 +1,82 @@ + +package at.gv.util.xsd.saml.assertion; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for AdviceType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AdviceType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AssertionIDReference"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Assertion"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AdviceType", propOrder = { + "assertionIDReferenceOrAssertionOrAny" +}) +public class AdviceType { + + @XmlElementRefs({ + @XmlElementRef(name = "AssertionIDReference", namespace = "urn:oasis:names:tc:SAML:1.0:assertion", type = JAXBElement.class, required = false), + @XmlElementRef(name = "Assertion", namespace = "urn:oasis:names:tc:SAML:1.0:assertion", type = JAXBElement.class, required = false) + }) + @XmlAnyElement(lax = true) + protected List<Object> assertionIDReferenceOrAssertionOrAny; + + /** + * Gets the value of the assertionIDReferenceOrAssertionOrAny property. + * + * <p> + * 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 <CODE>set</CODE> method for the assertionIDReferenceOrAssertionOrAny property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAssertionIDReferenceOrAssertionOrAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Element } + * {@link JAXBElement }{@code <}{@link AssertionType }{@code >} + * + * + */ + public List<Object> getAssertionIDReferenceOrAssertionOrAny() { + if (assertionIDReferenceOrAssertionOrAny == null) { + assertionIDReferenceOrAssertionOrAny = new ArrayList<Object>(); + } + return this.assertionIDReferenceOrAssertionOrAny; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/AssertionType.java b/src/main/java/at/gv/util/xsd/saml/assertion/AssertionType.java new file mode 100644 index 0000000..027a40f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/AssertionType.java @@ -0,0 +1,311 @@ + +package at.gv.util.xsd.saml.assertion; + +import java.math.BigInteger; +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; +import at.gv.util.xsd.xmldsig.SignatureType; + + +/** + * <p>Java class for AssertionType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AssertionType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Conditions" minOccurs="0"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Advice" minOccurs="0"/> + * <choice maxOccurs="unbounded"> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Statement"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectStatement"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AuthenticationStatement"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AuthorizationDecisionStatement"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AttributeStatement"/> + * </choice> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/> + * </sequence> + * <attribute name="MajorVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * <attribute name="MinorVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * <attribute name="AssertionID" use="required" type="{urn:oasis:names:tc:SAML:1.0:assertion}IDType" /> + * <attribute name="Issuer" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="IssueInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AssertionType", propOrder = { + "conditions", + "advice", + "statementOrSubjectStatementOrAuthenticationStatement", + "signature" +}) +public class AssertionType { + + @XmlElement(name = "Conditions") + protected ConditionsType conditions; + @XmlElement(name = "Advice") + protected AdviceType advice; + @XmlElements({ + @XmlElement(name = "Statement"), + @XmlElement(name = "SubjectStatement", type = SubjectStatementAbstractType.class), + @XmlElement(name = "AuthenticationStatement", type = AuthenticationStatementType.class), + @XmlElement(name = "AuthorizationDecisionStatement", type = AuthorizationDecisionStatementType.class), + @XmlElement(name = "AttributeStatement", type = AttributeStatementType.class) + }) + protected List<StatementAbstractType> statementOrSubjectStatementOrAuthenticationStatement; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; + @XmlAttribute(name = "MajorVersion", required = true) + protected BigInteger majorVersion; + @XmlAttribute(name = "MinorVersion", required = true) + protected BigInteger minorVersion; + @XmlAttribute(name = "AssertionID", required = true) + protected String assertionID; + @XmlAttribute(name = "Issuer", required = true) + protected String issuer; + @XmlAttribute(name = "IssueInstant", required = true) + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar issueInstant; + + /** + * Gets the value of the conditions property. + * + * @return + * possible object is + * {@link ConditionsType } + * + */ + public ConditionsType getConditions() { + return conditions; + } + + /** + * Sets the value of the conditions property. + * + * @param value + * allowed object is + * {@link ConditionsType } + * + */ + public void setConditions(ConditionsType value) { + this.conditions = value; + } + + /** + * Gets the value of the advice property. + * + * @return + * possible object is + * {@link AdviceType } + * + */ + public AdviceType getAdvice() { + return advice; + } + + /** + * Sets the value of the advice property. + * + * @param value + * allowed object is + * {@link AdviceType } + * + */ + public void setAdvice(AdviceType value) { + this.advice = value; + } + + /** + * Gets the value of the statementOrSubjectStatementOrAuthenticationStatement property. + * + * <p> + * 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 <CODE>set</CODE> method for the statementOrSubjectStatementOrAuthenticationStatement property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getStatementOrSubjectStatementOrAuthenticationStatement().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link StatementAbstractType } + * {@link SubjectStatementAbstractType } + * {@link AuthenticationStatementType } + * {@link AuthorizationDecisionStatementType } + * {@link AttributeStatementType } + * + * + */ + public List<StatementAbstractType> getStatementOrSubjectStatementOrAuthenticationStatement() { + if (statementOrSubjectStatementOrAuthenticationStatement == null) { + statementOrSubjectStatementOrAuthenticationStatement = new ArrayList<StatementAbstractType>(); + } + return this.statementOrSubjectStatementOrAuthenticationStatement; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the majorVersion property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getMajorVersion() { + return majorVersion; + } + + /** + * Sets the value of the majorVersion property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setMajorVersion(BigInteger value) { + this.majorVersion = value; + } + + /** + * Gets the value of the minorVersion property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getMinorVersion() { + return minorVersion; + } + + /** + * Sets the value of the minorVersion property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setMinorVersion(BigInteger value) { + this.minorVersion = value; + } + + /** + * Gets the value of the assertionID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAssertionID() { + return assertionID; + } + + /** + * Sets the value of the assertionID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAssertionID(String value) { + this.assertionID = value; + } + + /** + * Gets the value of the issuer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIssuer() { + return issuer; + } + + /** + * Sets the value of the issuer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIssuer(String value) { + this.issuer = value; + } + + /** + * Gets the value of the issueInstant property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getIssueInstant() { + return issueInstant; + } + + /** + * Sets the value of the issueInstant property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setIssueInstant(XMLGregorianCalendar value) { + this.issueInstant = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/AttributeDesignatorType.java b/src/main/java/at/gv/util/xsd/saml/assertion/AttributeDesignatorType.java new file mode 100644 index 0000000..4f03b19 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/AttributeDesignatorType.java @@ -0,0 +1,91 @@ + +package at.gv.util.xsd.saml.assertion; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for AttributeDesignatorType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AttributeDesignatorType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="AttributeName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="AttributeNamespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AttributeDesignatorType") +@XmlSeeAlso({ + AttributeType.class +}) +public class AttributeDesignatorType { + + @XmlAttribute(name = "AttributeName", required = true) + protected String attributeName; + @XmlAttribute(name = "AttributeNamespace", required = true) + @XmlSchemaType(name = "anyURI") + protected String attributeNamespace; + + /** + * Gets the value of the attributeName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAttributeName() { + return attributeName; + } + + /** + * Sets the value of the attributeName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAttributeName(String value) { + this.attributeName = value; + } + + /** + * Gets the value of the attributeNamespace property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAttributeNamespace() { + return attributeNamespace; + } + + /** + * Sets the value of the attributeNamespace property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAttributeNamespace(String value) { + this.attributeNamespace = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/AttributeStatementType.java b/src/main/java/at/gv/util/xsd/saml/assertion/AttributeStatementType.java new file mode 100644 index 0000000..8e499c4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/AttributeStatementType.java @@ -0,0 +1,71 @@ + +package at.gv.util.xsd.saml.assertion; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for AttributeStatementType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AttributeStatementType"> + * <complexContent> + * <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectStatementAbstractType"> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Attribute" maxOccurs="unbounded"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AttributeStatementType", propOrder = { + "attribute" +}) +public class AttributeStatementType + extends SubjectStatementAbstractType +{ + + @XmlElement(name = "Attribute", required = true) + protected List<AttributeType> attribute; + + /** + * Gets the value of the attribute property. + * + * <p> + * 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 <CODE>set</CODE> method for the attribute property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAttribute().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link AttributeType } + * + * + */ + public List<AttributeType> getAttribute() { + if (attribute == null) { + attribute = new ArrayList<AttributeType>(); + } + return this.attribute; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/AttributeType.java b/src/main/java/at/gv/util/xsd/saml/assertion/AttributeType.java new file mode 100644 index 0000000..0f25e48 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/AttributeType.java @@ -0,0 +1,71 @@ + +package at.gv.util.xsd.saml.assertion; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for AttributeType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AttributeType"> + * <complexContent> + * <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}AttributeDesignatorType"> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AttributeValue" maxOccurs="unbounded"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AttributeType", propOrder = { + "attributeValue" +}) +public class AttributeType + extends AttributeDesignatorType +{ + + @XmlElement(name = "AttributeValue", required = true) + protected List<Object> attributeValue; + + /** + * Gets the value of the attributeValue property. + * + * <p> + * 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 <CODE>set</CODE> method for the attributeValue property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAttributeValue().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * + * + */ + public List<Object> getAttributeValue() { + if (attributeValue == null) { + attributeValue = new ArrayList<Object>(); + } + return this.attributeValue; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/AudienceRestrictionConditionType.java b/src/main/java/at/gv/util/xsd/saml/assertion/AudienceRestrictionConditionType.java new file mode 100644 index 0000000..7088eaa --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/AudienceRestrictionConditionType.java @@ -0,0 +1,73 @@ + +package at.gv.util.xsd.saml.assertion; + +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.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for AudienceRestrictionConditionType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AudienceRestrictionConditionType"> + * <complexContent> + * <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}ConditionAbstractType"> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Audience" maxOccurs="unbounded"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AudienceRestrictionConditionType", propOrder = { + "audience" +}) +public class AudienceRestrictionConditionType + extends ConditionAbstractType +{ + + @XmlElement(name = "Audience", required = true) + @XmlSchemaType(name = "anyURI") + protected List<String> audience; + + /** + * Gets the value of the audience property. + * + * <p> + * 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 <CODE>set</CODE> method for the audience property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAudience().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getAudience() { + if (audience == null) { + audience = new ArrayList<String>(); + } + return this.audience; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/AuthenticationStatementType.java b/src/main/java/at/gv/util/xsd/saml/assertion/AuthenticationStatementType.java new file mode 100644 index 0000000..48ae6e4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/AuthenticationStatementType.java @@ -0,0 +1,158 @@ + +package at.gv.util.xsd.saml.assertion; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for AuthenticationStatementType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AuthenticationStatementType"> + * <complexContent> + * <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectStatementAbstractType"> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectLocality" minOccurs="0"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AuthorityBinding" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="AuthenticationMethod" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="AuthenticationInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AuthenticationStatementType", propOrder = { + "subjectLocality", + "authorityBinding" +}) +public class AuthenticationStatementType + extends SubjectStatementAbstractType +{ + + @XmlElement(name = "SubjectLocality") + protected SubjectLocalityType subjectLocality; + @XmlElement(name = "AuthorityBinding") + protected List<AuthorityBindingType> authorityBinding; + @XmlAttribute(name = "AuthenticationMethod", required = true) + @XmlSchemaType(name = "anyURI") + protected String authenticationMethod; + @XmlAttribute(name = "AuthenticationInstant", required = true) + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar authenticationInstant; + + /** + * Gets the value of the subjectLocality property. + * + * @return + * possible object is + * {@link SubjectLocalityType } + * + */ + public SubjectLocalityType getSubjectLocality() { + return subjectLocality; + } + + /** + * Sets the value of the subjectLocality property. + * + * @param value + * allowed object is + * {@link SubjectLocalityType } + * + */ + public void setSubjectLocality(SubjectLocalityType value) { + this.subjectLocality = value; + } + + /** + * Gets the value of the authorityBinding property. + * + * <p> + * 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 <CODE>set</CODE> method for the authorityBinding property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAuthorityBinding().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link AuthorityBindingType } + * + * + */ + public List<AuthorityBindingType> getAuthorityBinding() { + if (authorityBinding == null) { + authorityBinding = new ArrayList<AuthorityBindingType>(); + } + return this.authorityBinding; + } + + /** + * Gets the value of the authenticationMethod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAuthenticationMethod() { + return authenticationMethod; + } + + /** + * Sets the value of the authenticationMethod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAuthenticationMethod(String value) { + this.authenticationMethod = value; + } + + /** + * Gets the value of the authenticationInstant property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getAuthenticationInstant() { + return authenticationInstant; + } + + /** + * Sets the value of the authenticationInstant property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setAuthenticationInstant(XMLGregorianCalendar value) { + this.authenticationInstant = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/AuthorityBindingType.java b/src/main/java/at/gv/util/xsd/saml/assertion/AuthorityBindingType.java new file mode 100644 index 0000000..809411c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/AuthorityBindingType.java @@ -0,0 +1,116 @@ + +package at.gv.util.xsd.saml.assertion; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.namespace.QName; + + +/** + * <p>Java class for AuthorityBindingType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AuthorityBindingType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="AuthorityKind" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" /> + * <attribute name="Location" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Binding" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AuthorityBindingType") +public class AuthorityBindingType { + + @XmlAttribute(name = "AuthorityKind", required = true) + protected QName authorityKind; + @XmlAttribute(name = "Location", required = true) + @XmlSchemaType(name = "anyURI") + protected String location; + @XmlAttribute(name = "Binding", required = true) + @XmlSchemaType(name = "anyURI") + protected String binding; + + /** + * Gets the value of the authorityKind property. + * + * @return + * possible object is + * {@link QName } + * + */ + public QName getAuthorityKind() { + return authorityKind; + } + + /** + * Sets the value of the authorityKind property. + * + * @param value + * allowed object is + * {@link QName } + * + */ + public void setAuthorityKind(QName value) { + this.authorityKind = value; + } + + /** + * Gets the value of the location property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLocation() { + return location; + } + + /** + * Sets the value of the location property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLocation(String value) { + this.location = value; + } + + /** + * Gets the value of the binding property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBinding() { + return binding; + } + + /** + * Sets the value of the binding property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBinding(String value) { + this.binding = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/AuthorizationDecisionStatementType.java b/src/main/java/at/gv/util/xsd/saml/assertion/AuthorizationDecisionStatementType.java new file mode 100644 index 0000000..035e3a0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/AuthorizationDecisionStatementType.java @@ -0,0 +1,156 @@ + +package at.gv.util.xsd.saml.assertion; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for AuthorizationDecisionStatementType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AuthorizationDecisionStatementType"> + * <complexContent> + * <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectStatementAbstractType"> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Action" maxOccurs="unbounded"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Evidence" minOccurs="0"/> + * </sequence> + * <attribute name="Resource" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Decision" use="required" type="{urn:oasis:names:tc:SAML:1.0:assertion}DecisionType" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AuthorizationDecisionStatementType", propOrder = { + "action", + "evidence" +}) +public class AuthorizationDecisionStatementType + extends SubjectStatementAbstractType +{ + + @XmlElement(name = "Action", required = true) + protected List<ActionType> action; + @XmlElement(name = "Evidence") + protected EvidenceType evidence; + @XmlAttribute(name = "Resource", required = true) + @XmlSchemaType(name = "anyURI") + protected String resource; + @XmlAttribute(name = "Decision", required = true) + protected DecisionType decision; + + /** + * Gets the value of the action property. + * + * <p> + * 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 <CODE>set</CODE> method for the action property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAction().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ActionType } + * + * + */ + public List<ActionType> getAction() { + if (action == null) { + action = new ArrayList<ActionType>(); + } + return this.action; + } + + /** + * Gets the value of the evidence property. + * + * @return + * possible object is + * {@link EvidenceType } + * + */ + public EvidenceType getEvidence() { + return evidence; + } + + /** + * Sets the value of the evidence property. + * + * @param value + * allowed object is + * {@link EvidenceType } + * + */ + public void setEvidence(EvidenceType value) { + this.evidence = value; + } + + /** + * Gets the value of the resource property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getResource() { + return resource; + } + + /** + * Sets the value of the resource property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setResource(String value) { + this.resource = value; + } + + /** + * Gets the value of the decision property. + * + * @return + * possible object is + * {@link DecisionType } + * + */ + public DecisionType getDecision() { + return decision; + } + + /** + * Sets the value of the decision property. + * + * @param value + * allowed object is + * {@link DecisionType } + * + */ + public void setDecision(DecisionType value) { + this.decision = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/ConditionAbstractType.java b/src/main/java/at/gv/util/xsd/saml/assertion/ConditionAbstractType.java new file mode 100644 index 0000000..31033e0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/ConditionAbstractType.java @@ -0,0 +1,34 @@ + +package at.gv.util.xsd.saml.assertion; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ConditionAbstractType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ConditionAbstractType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ConditionAbstractType") +@XmlSeeAlso({ + AudienceRestrictionConditionType.class +}) +public abstract class ConditionAbstractType { + + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/ConditionsType.java b/src/main/java/at/gv/util/xsd/saml/assertion/ConditionsType.java new file mode 100644 index 0000000..93689f5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/ConditionsType.java @@ -0,0 +1,134 @@ + +package at.gv.util.xsd.saml.assertion; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for ConditionsType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ConditionsType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AudienceRestrictionCondition"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Condition"/> + * </choice> + * <attribute name="NotBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> + * <attribute name="NotOnOrAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ConditionsType", propOrder = { + "audienceRestrictionConditionOrCondition" +}) +public class ConditionsType { + + @XmlElements({ + @XmlElement(name = "AudienceRestrictionCondition", type = AudienceRestrictionConditionType.class), + @XmlElement(name = "Condition") + }) + protected List<ConditionAbstractType> audienceRestrictionConditionOrCondition; + @XmlAttribute(name = "NotBefore") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar notBefore; + @XmlAttribute(name = "NotOnOrAfter") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar notOnOrAfter; + + /** + * Gets the value of the audienceRestrictionConditionOrCondition property. + * + * <p> + * 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 <CODE>set</CODE> method for the audienceRestrictionConditionOrCondition property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAudienceRestrictionConditionOrCondition().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link AudienceRestrictionConditionType } + * {@link ConditionAbstractType } + * + * + */ + public List<ConditionAbstractType> getAudienceRestrictionConditionOrCondition() { + if (audienceRestrictionConditionOrCondition == null) { + audienceRestrictionConditionOrCondition = new ArrayList<ConditionAbstractType>(); + } + return this.audienceRestrictionConditionOrCondition; + } + + /** + * Gets the value of the notBefore property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getNotBefore() { + return notBefore; + } + + /** + * Sets the value of the notBefore property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setNotBefore(XMLGregorianCalendar value) { + this.notBefore = value; + } + + /** + * Gets the value of the notOnOrAfter property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getNotOnOrAfter() { + return notOnOrAfter; + } + + /** + * Sets the value of the notOnOrAfter property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setNotOnOrAfter(XMLGregorianCalendar value) { + this.notOnOrAfter = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/DecisionType.java b/src/main/java/at/gv/util/xsd/saml/assertion/DecisionType.java new file mode 100644 index 0000000..01befe4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/DecisionType.java @@ -0,0 +1,54 @@ + +package at.gv.util.xsd.saml.assertion; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DecisionType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="DecisionType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="Permit"/> + * <enumeration value="Deny"/> + * <enumeration value="Indeterminate"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "DecisionType") +@XmlEnum +public enum DecisionType { + + @XmlEnumValue("Permit") + PERMIT("Permit"), + @XmlEnumValue("Deny") + DENY("Deny"), + @XmlEnumValue("Indeterminate") + INDETERMINATE("Indeterminate"); + private final String value; + + DecisionType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static DecisionType fromValue(String v) { + for (DecisionType c: DecisionType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/EvidenceType.java b/src/main/java/at/gv/util/xsd/saml/assertion/EvidenceType.java new file mode 100644 index 0000000..9a25910 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/EvidenceType.java @@ -0,0 +1,75 @@ + +package at.gv.util.xsd.saml.assertion; + +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.XmlElement; +import javax.xml.bind.annotation.XmlElements; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for EvidenceType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="EvidenceType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AssertionIDReference"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Assertion"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EvidenceType", propOrder = { + "assertionIDReferenceOrAssertion" +}) +public class EvidenceType { + + @XmlElements({ + @XmlElement(name = "AssertionIDReference", type = String.class), + @XmlElement(name = "Assertion", type = AssertionType.class) + }) + protected List<Object> assertionIDReferenceOrAssertion; + + /** + * Gets the value of the assertionIDReferenceOrAssertion property. + * + * <p> + * 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 <CODE>set</CODE> method for the assertionIDReferenceOrAssertion property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAssertionIDReferenceOrAssertion().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link AssertionType } + * + * + */ + public List<Object> getAssertionIDReferenceOrAssertion() { + if (assertionIDReferenceOrAssertion == null) { + assertionIDReferenceOrAssertion = new ArrayList<Object>(); + } + return this.assertionIDReferenceOrAssertion; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/NameIdentifierType.java b/src/main/java/at/gv/util/xsd/saml/assertion/NameIdentifierType.java new file mode 100644 index 0000000..fd14e84 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/NameIdentifierType.java @@ -0,0 +1,116 @@ + +package at.gv.util.xsd.saml.assertion; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for NameIdentifierType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="NameIdentifierType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="NameQualifier" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="Format" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NameIdentifierType", propOrder = { + "value" +}) +public class NameIdentifierType { + + @XmlValue + protected String value; + @XmlAttribute(name = "NameQualifier") + protected String nameQualifier; + @XmlAttribute(name = "Format") + @XmlSchemaType(name = "anyURI") + protected String format; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the nameQualifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNameQualifier() { + return nameQualifier; + } + + /** + * Sets the value of the nameQualifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNameQualifier(String value) { + this.nameQualifier = value; + } + + /** + * Gets the value of the format property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFormat() { + return format; + } + + /** + * Sets the value of the format property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFormat(String value) { + this.format = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/ObjectFactory.java b/src/main/java/at/gv/util/xsd/saml/assertion/ObjectFactory.java new file mode 100644 index 0000000..e3e54db --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/ObjectFactory.java @@ -0,0 +1,403 @@ + +package at.gv.util.xsd.saml.assertion; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.saml.assertion package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Attribute_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Attribute"); + private final static QName _AttributeStatement_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AttributeStatement"); + private final static QName _Condition_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Condition"); + private final static QName _SubjectConfirmation_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "SubjectConfirmation"); + private final static QName _AudienceRestrictionCondition_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AudienceRestrictionCondition"); + private final static QName _AssertionIDReference_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AssertionIDReference"); + private final static QName _Subject_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Subject"); + private final static QName _Advice_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Advice"); + private final static QName _Action_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Action"); + private final static QName _Audience_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Audience"); + private final static QName _ConfirmationMethod_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "ConfirmationMethod"); + private final static QName _SubjectConfirmationData_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "SubjectConfirmationData"); + private final static QName _SubjectStatement_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "SubjectStatement"); + private final static QName _Assertion_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Assertion"); + private final static QName _NameIdentifier_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "NameIdentifier"); + private final static QName _AuthorizationDecisionStatement_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AuthorizationDecisionStatement"); + private final static QName _AttributeDesignator_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AttributeDesignator"); + private final static QName _AuthorityBinding_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AuthorityBinding"); + private final static QName _Evidence_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Evidence"); + private final static QName _SubjectLocality_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "SubjectLocality"); + private final static QName _AuthenticationStatement_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AuthenticationStatement"); + private final static QName _Conditions_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Conditions"); + private final static QName _Statement_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "Statement"); + private final static QName _AttributeValue_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:assertion", "AttributeValue"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.saml.assertion + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link AuthorizationDecisionStatementType } + * + */ + public AuthorizationDecisionStatementType createAuthorizationDecisionStatementType() { + return new AuthorizationDecisionStatementType(); + } + + /** + * Create an instance of {@link ConditionsType } + * + */ + public ConditionsType createConditionsType() { + return new ConditionsType(); + } + + /** + * Create an instance of {@link AudienceRestrictionConditionType } + * + */ + public AudienceRestrictionConditionType createAudienceRestrictionConditionType() { + return new AudienceRestrictionConditionType(); + } + + /** + * Create an instance of {@link AttributeDesignatorType } + * + */ + public AttributeDesignatorType createAttributeDesignatorType() { + return new AttributeDesignatorType(); + } + + /** + * Create an instance of {@link SubjectType } + * + */ + public SubjectType createSubjectType() { + return new SubjectType(); + } + + /** + * Create an instance of {@link SubjectLocalityType } + * + */ + public SubjectLocalityType createSubjectLocalityType() { + return new SubjectLocalityType(); + } + + /** + * Create an instance of {@link SubjectConfirmationType } + * + */ + public SubjectConfirmationType createSubjectConfirmationType() { + return new SubjectConfirmationType(); + } + + /** + * Create an instance of {@link AdviceType } + * + */ + public AdviceType createAdviceType() { + return new AdviceType(); + } + + /** + * Create an instance of {@link AssertionType } + * + */ + public AssertionType createAssertionType() { + return new AssertionType(); + } + + /** + * Create an instance of {@link AuthorityBindingType } + * + */ + public AuthorityBindingType createAuthorityBindingType() { + return new AuthorityBindingType(); + } + + /** + * Create an instance of {@link ActionType } + * + */ + public ActionType createActionType() { + return new ActionType(); + } + + /** + * Create an instance of {@link AttributeType } + * + */ + public AttributeType createAttributeType() { + return new AttributeType(); + } + + /** + * Create an instance of {@link AuthenticationStatementType } + * + */ + public AuthenticationStatementType createAuthenticationStatementType() { + return new AuthenticationStatementType(); + } + + /** + * Create an instance of {@link AttributeStatementType } + * + */ + public AttributeStatementType createAttributeStatementType() { + return new AttributeStatementType(); + } + + /** + * Create an instance of {@link EvidenceType } + * + */ + public EvidenceType createEvidenceType() { + return new EvidenceType(); + } + + /** + * Create an instance of {@link NameIdentifierType } + * + */ + public NameIdentifierType createNameIdentifierType() { + return new NameIdentifierType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AttributeType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Attribute") + public JAXBElement<AttributeType> createAttribute(AttributeType value) { + return new JAXBElement<AttributeType>(_Attribute_QNAME, AttributeType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AttributeStatementType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AttributeStatement") + public JAXBElement<AttributeStatementType> createAttributeStatement(AttributeStatementType value) { + return new JAXBElement<AttributeStatementType>(_AttributeStatement_QNAME, AttributeStatementType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ConditionAbstractType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Condition") + public JAXBElement<ConditionAbstractType> createCondition(ConditionAbstractType value) { + return new JAXBElement<ConditionAbstractType>(_Condition_QNAME, ConditionAbstractType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SubjectConfirmationType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "SubjectConfirmation") + public JAXBElement<SubjectConfirmationType> createSubjectConfirmation(SubjectConfirmationType value) { + return new JAXBElement<SubjectConfirmationType>(_SubjectConfirmation_QNAME, SubjectConfirmationType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AudienceRestrictionConditionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AudienceRestrictionCondition") + public JAXBElement<AudienceRestrictionConditionType> createAudienceRestrictionCondition(AudienceRestrictionConditionType value) { + return new JAXBElement<AudienceRestrictionConditionType>(_AudienceRestrictionCondition_QNAME, AudienceRestrictionConditionType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AssertionIDReference") + public JAXBElement<String> createAssertionIDReference(String value) { + return new JAXBElement<String>(_AssertionIDReference_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SubjectType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Subject") + public JAXBElement<SubjectType> createSubject(SubjectType value) { + return new JAXBElement<SubjectType>(_Subject_QNAME, SubjectType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AdviceType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Advice") + public JAXBElement<AdviceType> createAdvice(AdviceType value) { + return new JAXBElement<AdviceType>(_Advice_QNAME, AdviceType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ActionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Action") + public JAXBElement<ActionType> createAction(ActionType value) { + return new JAXBElement<ActionType>(_Action_QNAME, ActionType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Audience") + public JAXBElement<String> createAudience(String value) { + return new JAXBElement<String>(_Audience_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "ConfirmationMethod") + public JAXBElement<String> createConfirmationMethod(String value) { + return new JAXBElement<String>(_ConfirmationMethod_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "SubjectConfirmationData") + public JAXBElement<Object> createSubjectConfirmationData(Object value) { + return new JAXBElement<Object>(_SubjectConfirmationData_QNAME, Object.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SubjectStatementAbstractType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "SubjectStatement") + public JAXBElement<SubjectStatementAbstractType> createSubjectStatement(SubjectStatementAbstractType value) { + return new JAXBElement<SubjectStatementAbstractType>(_SubjectStatement_QNAME, SubjectStatementAbstractType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AssertionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Assertion") + public JAXBElement<AssertionType> createAssertion(AssertionType value) { + return new JAXBElement<AssertionType>(_Assertion_QNAME, AssertionType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link NameIdentifierType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "NameIdentifier") + public JAXBElement<NameIdentifierType> createNameIdentifier(NameIdentifierType value) { + return new JAXBElement<NameIdentifierType>(_NameIdentifier_QNAME, NameIdentifierType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AuthorizationDecisionStatementType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AuthorizationDecisionStatement") + public JAXBElement<AuthorizationDecisionStatementType> createAuthorizationDecisionStatement(AuthorizationDecisionStatementType value) { + return new JAXBElement<AuthorizationDecisionStatementType>(_AuthorizationDecisionStatement_QNAME, AuthorizationDecisionStatementType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AttributeDesignatorType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AttributeDesignator") + public JAXBElement<AttributeDesignatorType> createAttributeDesignator(AttributeDesignatorType value) { + return new JAXBElement<AttributeDesignatorType>(_AttributeDesignator_QNAME, AttributeDesignatorType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AuthorityBindingType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AuthorityBinding") + public JAXBElement<AuthorityBindingType> createAuthorityBinding(AuthorityBindingType value) { + return new JAXBElement<AuthorityBindingType>(_AuthorityBinding_QNAME, AuthorityBindingType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EvidenceType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Evidence") + public JAXBElement<EvidenceType> createEvidence(EvidenceType value) { + return new JAXBElement<EvidenceType>(_Evidence_QNAME, EvidenceType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SubjectLocalityType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "SubjectLocality") + public JAXBElement<SubjectLocalityType> createSubjectLocality(SubjectLocalityType value) { + return new JAXBElement<SubjectLocalityType>(_SubjectLocality_QNAME, SubjectLocalityType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AuthenticationStatementType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AuthenticationStatement") + public JAXBElement<AuthenticationStatementType> createAuthenticationStatement(AuthenticationStatementType value) { + return new JAXBElement<AuthenticationStatementType>(_AuthenticationStatement_QNAME, AuthenticationStatementType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ConditionsType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Conditions") + public JAXBElement<ConditionsType> createConditions(ConditionsType value) { + return new JAXBElement<ConditionsType>(_Conditions_QNAME, ConditionsType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link StatementAbstractType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "Statement") + public JAXBElement<StatementAbstractType> createStatement(StatementAbstractType value) { + return new JAXBElement<StatementAbstractType>(_Statement_QNAME, StatementAbstractType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", name = "AttributeValue") + public JAXBElement<Object> createAttributeValue(Object value) { + return new JAXBElement<Object>(_AttributeValue_QNAME, Object.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/StatementAbstractType.java b/src/main/java/at/gv/util/xsd/saml/assertion/StatementAbstractType.java new file mode 100644 index 0000000..b9dfff5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/StatementAbstractType.java @@ -0,0 +1,34 @@ + +package at.gv.util.xsd.saml.assertion; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for StatementAbstractType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="StatementAbstractType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "StatementAbstractType") +@XmlSeeAlso({ + SubjectStatementAbstractType.class +}) +public abstract class StatementAbstractType { + + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/SubjectConfirmationType.java b/src/main/java/at/gv/util/xsd/saml/assertion/SubjectConfirmationType.java new file mode 100644 index 0000000..76e8a9b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/SubjectConfirmationType.java @@ -0,0 +1,128 @@ + +package at.gv.util.xsd.saml.assertion; + +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.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.xmldsig.KeyInfoType; + + +/** + * <p>Java class for SubjectConfirmationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SubjectConfirmationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}ConfirmationMethod" maxOccurs="unbounded"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmationData" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SubjectConfirmationType", propOrder = { + "confirmationMethod", + "subjectConfirmationData", + "keyInfo" +}) +public class SubjectConfirmationType { + + @XmlElement(name = "ConfirmationMethod", required = true) + @XmlSchemaType(name = "anyURI") + protected List<String> confirmationMethod; + @XmlElement(name = "SubjectConfirmationData") + protected Object subjectConfirmationData; + @XmlElement(name = "KeyInfo", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected KeyInfoType keyInfo; + + /** + * Gets the value of the confirmationMethod property. + * + * <p> + * 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 <CODE>set</CODE> method for the confirmationMethod property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getConfirmationMethod().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getConfirmationMethod() { + if (confirmationMethod == null) { + confirmationMethod = new ArrayList<String>(); + } + return this.confirmationMethod; + } + + /** + * Gets the value of the subjectConfirmationData property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getSubjectConfirmationData() { + return subjectConfirmationData; + } + + /** + * Sets the value of the subjectConfirmationData property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setSubjectConfirmationData(Object value) { + this.subjectConfirmationData = value; + } + + /** + * Gets the value of the keyInfo property. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Sets the value of the keyInfo property. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/SubjectLocalityType.java b/src/main/java/at/gv/util/xsd/saml/assertion/SubjectLocalityType.java new file mode 100644 index 0000000..1bd0eb7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/SubjectLocalityType.java @@ -0,0 +1,85 @@ + +package at.gv.util.xsd.saml.assertion; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SubjectLocalityType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SubjectLocalityType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="IPAddress" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="DNSAddress" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SubjectLocalityType") +public class SubjectLocalityType { + + @XmlAttribute(name = "IPAddress") + protected String ipAddress; + @XmlAttribute(name = "DNSAddress") + protected String dnsAddress; + + /** + * Gets the value of the ipAddress property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIPAddress() { + return ipAddress; + } + + /** + * Sets the value of the ipAddress property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIPAddress(String value) { + this.ipAddress = value; + } + + /** + * Gets the value of the dnsAddress property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDNSAddress() { + return dnsAddress; + } + + /** + * Sets the value of the dnsAddress property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDNSAddress(String value) { + this.dnsAddress = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/SubjectStatementAbstractType.java b/src/main/java/at/gv/util/xsd/saml/assertion/SubjectStatementAbstractType.java new file mode 100644 index 0000000..601815a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/SubjectStatementAbstractType.java @@ -0,0 +1,70 @@ + +package at.gv.util.xsd.saml.assertion; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SubjectStatementAbstractType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SubjectStatementAbstractType"> + * <complexContent> + * <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}StatementAbstractType"> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Subject"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SubjectStatementAbstractType", propOrder = { + "subject" +}) +@XmlSeeAlso({ + AuthorizationDecisionStatementType.class, + AuthenticationStatementType.class, + AttributeStatementType.class +}) +public abstract class SubjectStatementAbstractType + extends StatementAbstractType +{ + + @XmlElement(name = "Subject", required = true) + protected SubjectType subject; + + /** + * Gets the value of the subject property. + * + * @return + * possible object is + * {@link SubjectType } + * + */ + public SubjectType getSubject() { + return subject; + } + + /** + * Sets the value of the subject property. + * + * @param value + * allowed object is + * {@link SubjectType } + * + */ + public void setSubject(SubjectType value) { + this.subject = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/SubjectType.java b/src/main/java/at/gv/util/xsd/saml/assertion/SubjectType.java new file mode 100644 index 0000000..1a24a2c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/SubjectType.java @@ -0,0 +1,89 @@ + +package at.gv.util.xsd.saml.assertion; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SubjectType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SubjectType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}NameIdentifier"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmation" minOccurs="0"/> + * </sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmation"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SubjectType", propOrder = { + "content" +}) +public class SubjectType { + + @XmlElementRefs({ + @XmlElementRef(name = "SubjectConfirmation", namespace = "urn:oasis:names:tc:SAML:1.0:assertion", type = JAXBElement.class, required = false), + @XmlElementRef(name = "NameIdentifier", namespace = "urn:oasis:names:tc:SAML:1.0:assertion", type = JAXBElement.class, required = false) + }) + protected List<JAXBElement<?>> content; + + /** + * Gets the rest of the content model. + * + * <p> + * You are getting this "catch-all" property because of the following reason: + * The field name "SubjectConfirmation" is used by two different parts of a schema. See: + * line 94 of file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/cs-sstc-schema-assertion-01.xsd + * line 92 of file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/cs-sstc-schema-assertion-01.xsd + * <p> + * To get rid of this property, apply a property customization to one + * of both of the following declarations to change their names: + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link SubjectConfirmationType }{@code >} + * {@link JAXBElement }{@code <}{@link NameIdentifierType }{@code >} + * + * + */ + public List<JAXBElement<?>> getContent() { + if (content == null) { + content = new ArrayList<JAXBElement<?>>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/assertion/package-info.java b/src/main/java/at/gv/util/xsd/saml/assertion/package-info.java new file mode 100644 index 0000000..2e23488 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/assertion/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "urn:oasis:names:tc:SAML:1.0:assertion", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.saml.assertion; diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/AttributeQueryType.java b/src/main/java/at/gv/util/xsd/saml/protocol/AttributeQueryType.java new file mode 100644 index 0000000..e1beeb4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/AttributeQueryType.java @@ -0,0 +1,103 @@ + +package at.gv.util.xsd.saml.protocol; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + +import at.gv.util.xsd.saml.assertion.AttributeDesignatorType; + + +/** + * <p>Java class for AttributeQueryType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AttributeQueryType"> + * <complexContent> + * <extension base="{urn:oasis:names:tc:SAML:1.0:protocol}SubjectQueryAbstractType"> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AttributeDesignator" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Resource" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AttributeQueryType", propOrder = { + "attributeDesignator" +}) +public class AttributeQueryType + extends SubjectQueryAbstractType +{ + + @XmlElement(name = "AttributeDesignator", namespace = "urn:oasis:names:tc:SAML:1.0:assertion") + protected List<AttributeDesignatorType> attributeDesignator; + @XmlAttribute(name = "Resource") + @XmlSchemaType(name = "anyURI") + protected String resource; + + /** + * Gets the value of the attributeDesignator property. + * + * <p> + * 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 <CODE>set</CODE> method for the attributeDesignator property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAttributeDesignator().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link AttributeDesignatorType } + * + * + */ + public List<AttributeDesignatorType> getAttributeDesignator() { + if (attributeDesignator == null) { + attributeDesignator = new ArrayList<AttributeDesignatorType>(); + } + return this.attributeDesignator; + } + + /** + * Gets the value of the resource property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getResource() { + return resource; + } + + /** + * Sets the value of the resource property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setResource(String value) { + this.resource = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/AuthenticationQueryType.java b/src/main/java/at/gv/util/xsd/saml/protocol/AuthenticationQueryType.java new file mode 100644 index 0000000..d5e0be0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/AuthenticationQueryType.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.saml.protocol; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for AuthenticationQueryType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AuthenticationQueryType"> + * <complexContent> + * <extension base="{urn:oasis:names:tc:SAML:1.0:protocol}SubjectQueryAbstractType"> + * <attribute name="AuthenticationMethod" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AuthenticationQueryType") +public class AuthenticationQueryType + extends SubjectQueryAbstractType +{ + + @XmlAttribute(name = "AuthenticationMethod") + @XmlSchemaType(name = "anyURI") + protected String authenticationMethod; + + /** + * Gets the value of the authenticationMethod property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAuthenticationMethod() { + return authenticationMethod; + } + + /** + * Sets the value of the authenticationMethod property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAuthenticationMethod(String value) { + this.authenticationMethod = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/AuthorizationDecisionQueryType.java b/src/main/java/at/gv/util/xsd/saml/protocol/AuthorizationDecisionQueryType.java new file mode 100644 index 0000000..78b7c31 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/AuthorizationDecisionQueryType.java @@ -0,0 +1,132 @@ + +package at.gv.util.xsd.saml.protocol; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + +import at.gv.util.xsd.saml.assertion.ActionType; +import at.gv.util.xsd.saml.assertion.EvidenceType; + + +/** + * <p>Java class for AuthorizationDecisionQueryType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AuthorizationDecisionQueryType"> + * <complexContent> + * <extension base="{urn:oasis:names:tc:SAML:1.0:protocol}SubjectQueryAbstractType"> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Action" maxOccurs="unbounded"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Evidence" minOccurs="0"/> + * </sequence> + * <attribute name="Resource" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AuthorizationDecisionQueryType", propOrder = { + "action", + "evidence" +}) +public class AuthorizationDecisionQueryType + extends SubjectQueryAbstractType +{ + + @XmlElement(name = "Action", namespace = "urn:oasis:names:tc:SAML:1.0:assertion", required = true) + protected List<ActionType> action; + @XmlElement(name = "Evidence", namespace = "urn:oasis:names:tc:SAML:1.0:assertion") + protected EvidenceType evidence; + @XmlAttribute(name = "Resource", required = true) + @XmlSchemaType(name = "anyURI") + protected String resource; + + /** + * Gets the value of the action property. + * + * <p> + * 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 <CODE>set</CODE> method for the action property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAction().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ActionType } + * + * + */ + public List<ActionType> getAction() { + if (action == null) { + action = new ArrayList<ActionType>(); + } + return this.action; + } + + /** + * Gets the value of the evidence property. + * + * @return + * possible object is + * {@link EvidenceType } + * + */ + public EvidenceType getEvidence() { + return evidence; + } + + /** + * Sets the value of the evidence property. + * + * @param value + * allowed object is + * {@link EvidenceType } + * + */ + public void setEvidence(EvidenceType value) { + this.evidence = value; + } + + /** + * Gets the value of the resource property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getResource() { + return resource; + } + + /** + * Sets the value of the resource property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setResource(String value) { + this.resource = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/ObjectFactory.java b/src/main/java/at/gv/util/xsd/saml/protocol/ObjectFactory.java new file mode 100644 index 0000000..fc3010d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/ObjectFactory.java @@ -0,0 +1,229 @@ + +package at.gv.util.xsd.saml.protocol; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.zustellung.util.xsd.saml.protocol package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Query_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "Query"); + private final static QName _Request_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "Request"); + private final static QName _Status_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "Status"); + private final static QName _SubjectQuery_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "SubjectQuery"); + private final static QName _AttributeQuery_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "AttributeQuery"); + private final static QName _AuthorizationDecisionQuery_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "AuthorizationDecisionQuery"); + private final static QName _Response_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "Response"); + private final static QName _AuthenticationQuery_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "AuthenticationQuery"); + private final static QName _AssertionArtifact_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "AssertionArtifact"); + private final static QName _StatusCode_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "StatusCode"); + private final static QName _RespondWith_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "RespondWith"); + private final static QName _StatusMessage_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "StatusMessage"); + private final static QName _StatusDetail_QNAME = new QName("urn:oasis:names:tc:SAML:1.0:protocol", "StatusDetail"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.zustellung.util.xsd.saml.protocol + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link StatusCodeType } + * + */ + public StatusCodeType createStatusCodeType() { + return new StatusCodeType(); + } + + /** + * Create an instance of {@link RequestType } + * + */ + public RequestType createRequestType() { + return new RequestType(); + } + + /** + * Create an instance of {@link AuthenticationQueryType } + * + */ + public AuthenticationQueryType createAuthenticationQueryType() { + return new AuthenticationQueryType(); + } + + /** + * Create an instance of {@link ResponseType } + * + */ + public ResponseType createResponseType() { + return new ResponseType(); + } + + /** + * Create an instance of {@link AttributeQueryType } + * + */ + public AttributeQueryType createAttributeQueryType() { + return new AttributeQueryType(); + } + + /** + * Create an instance of {@link StatusType } + * + */ + public StatusType createStatusType() { + return new StatusType(); + } + + /** + * Create an instance of {@link AuthorizationDecisionQueryType } + * + */ + public AuthorizationDecisionQueryType createAuthorizationDecisionQueryType() { + return new AuthorizationDecisionQueryType(); + } + + /** + * Create an instance of {@link StatusDetailType } + * + */ + public StatusDetailType createStatusDetailType() { + return new StatusDetailType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link QueryAbstractType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "Query") + public JAXBElement<QueryAbstractType> createQuery(QueryAbstractType value) { + return new JAXBElement<QueryAbstractType>(_Query_QNAME, QueryAbstractType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "Request") + public JAXBElement<RequestType> createRequest(RequestType value) { + return new JAXBElement<RequestType>(_Request_QNAME, RequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link StatusType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "Status") + public JAXBElement<StatusType> createStatus(StatusType value) { + return new JAXBElement<StatusType>(_Status_QNAME, StatusType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SubjectQueryAbstractType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "SubjectQuery") + public JAXBElement<SubjectQueryAbstractType> createSubjectQuery(SubjectQueryAbstractType value) { + return new JAXBElement<SubjectQueryAbstractType>(_SubjectQuery_QNAME, SubjectQueryAbstractType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AttributeQueryType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "AttributeQuery") + public JAXBElement<AttributeQueryType> createAttributeQuery(AttributeQueryType value) { + return new JAXBElement<AttributeQueryType>(_AttributeQuery_QNAME, AttributeQueryType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AuthorizationDecisionQueryType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "AuthorizationDecisionQuery") + public JAXBElement<AuthorizationDecisionQueryType> createAuthorizationDecisionQuery(AuthorizationDecisionQueryType value) { + return new JAXBElement<AuthorizationDecisionQueryType>(_AuthorizationDecisionQuery_QNAME, AuthorizationDecisionQueryType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "Response") + public JAXBElement<ResponseType> createResponse(ResponseType value) { + return new JAXBElement<ResponseType>(_Response_QNAME, ResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AuthenticationQueryType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "AuthenticationQuery") + public JAXBElement<AuthenticationQueryType> createAuthenticationQuery(AuthenticationQueryType value) { + return new JAXBElement<AuthenticationQueryType>(_AuthenticationQuery_QNAME, AuthenticationQueryType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "AssertionArtifact") + public JAXBElement<String> createAssertionArtifact(String value) { + return new JAXBElement<String>(_AssertionArtifact_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link StatusCodeType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "StatusCode") + public JAXBElement<StatusCodeType> createStatusCode(StatusCodeType value) { + return new JAXBElement<StatusCodeType>(_StatusCode_QNAME, StatusCodeType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link QName }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "RespondWith") + public JAXBElement<QName> createRespondWith(QName value) { + return new JAXBElement<QName>(_RespondWith_QNAME, QName.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "StatusMessage") + public JAXBElement<String> createStatusMessage(String value) { + return new JAXBElement<String>(_StatusMessage_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link StatusDetailType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", name = "StatusDetail") + public JAXBElement<StatusDetailType> createStatusDetail(StatusDetailType value) { + return new JAXBElement<StatusDetailType>(_StatusDetail_QNAME, StatusDetailType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/QueryAbstractType.java b/src/main/java/at/gv/util/xsd/saml/protocol/QueryAbstractType.java new file mode 100644 index 0000000..a6b82ae --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/QueryAbstractType.java @@ -0,0 +1,34 @@ + +package at.gv.util.xsd.saml.protocol; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for QueryAbstractType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="QueryAbstractType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "QueryAbstractType") +@XmlSeeAlso({ + SubjectQueryAbstractType.class +}) +public abstract class QueryAbstractType { + + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/RequestAbstractType.java b/src/main/java/at/gv/util/xsd/saml/protocol/RequestAbstractType.java new file mode 100644 index 0000000..337ebd5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/RequestAbstractType.java @@ -0,0 +1,217 @@ + +package at.gv.util.xsd.saml.protocol; + +import java.math.BigInteger; +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; + +import at.gv.util.xsd.xmldsig.SignatureType; + + +/** + * <p>Java class for RequestAbstractType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RequestAbstractType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}RespondWith" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/> + * </sequence> + * <attribute name="RequestID" use="required" type="{urn:oasis:names:tc:SAML:1.0:assertion}IDType" /> + * <attribute name="MajorVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * <attribute name="MinorVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * <attribute name="IssueInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RequestAbstractType", propOrder = { + "respondWith", + "signature" +}) +@XmlSeeAlso({ + RequestType.class +}) +public abstract class RequestAbstractType { + + @XmlElement(name = "RespondWith") + protected List<QName> respondWith; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; + @XmlAttribute(name = "RequestID", required = true) + protected String requestID; + @XmlAttribute(name = "MajorVersion", required = true) + protected BigInteger majorVersion; + @XmlAttribute(name = "MinorVersion", required = true) + protected BigInteger minorVersion; + @XmlAttribute(name = "IssueInstant", required = true) + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar issueInstant; + + /** + * Gets the value of the respondWith property. + * + * <p> + * 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 <CODE>set</CODE> method for the respondWith property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRespondWith().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link QName } + * + * + */ + public List<QName> getRespondWith() { + if (respondWith == null) { + respondWith = new ArrayList<QName>(); + } + return this.respondWith; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the requestID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRequestID() { + return requestID; + } + + /** + * Sets the value of the requestID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRequestID(String value) { + this.requestID = value; + } + + /** + * Gets the value of the majorVersion property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getMajorVersion() { + return majorVersion; + } + + /** + * Sets the value of the majorVersion property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setMajorVersion(BigInteger value) { + this.majorVersion = value; + } + + /** + * Gets the value of the minorVersion property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getMinorVersion() { + return minorVersion; + } + + /** + * Sets the value of the minorVersion property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setMinorVersion(BigInteger value) { + this.minorVersion = value; + } + + /** + * Gets the value of the issueInstant property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getIssueInstant() { + return issueInstant; + } + + /** + * Sets the value of the issueInstant property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setIssueInstant(XMLGregorianCalendar value) { + this.issueInstant = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/RequestType.java b/src/main/java/at/gv/util/xsd/saml/protocol/RequestType.java new file mode 100644 index 0000000..1d08847 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/RequestType.java @@ -0,0 +1,244 @@ + +package at.gv.util.xsd.saml.protocol; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RequestType"> + * <complexContent> + * <extension base="{urn:oasis:names:tc:SAML:1.0:protocol}RequestAbstractType"> + * <choice> + * <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}Query"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}SubjectQuery"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}AuthenticationQuery"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}AttributeQuery"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}AuthorizationDecisionQuery"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AssertionIDReference" maxOccurs="unbounded"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}AssertionArtifact" maxOccurs="unbounded"/> + * </choice> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RequestType", propOrder = { + "query", + "subjectQuery", + "authenticationQuery", + "attributeQuery", + "authorizationDecisionQuery", + "assertionIDReference", + "assertionArtifact" +}) +public class RequestType + extends RequestAbstractType +{ + + @XmlElement(name = "Query") + protected QueryAbstractType query; + @XmlElement(name = "SubjectQuery") + protected SubjectQueryAbstractType subjectQuery; + @XmlElement(name = "AuthenticationQuery") + protected AuthenticationQueryType authenticationQuery; + @XmlElement(name = "AttributeQuery") + protected AttributeQueryType attributeQuery; + @XmlElement(name = "AuthorizationDecisionQuery") + protected AuthorizationDecisionQueryType authorizationDecisionQuery; + @XmlElement(name = "AssertionIDReference", namespace = "urn:oasis:names:tc:SAML:1.0:assertion") + protected List<String> assertionIDReference; + @XmlElement(name = "AssertionArtifact") + protected List<String> assertionArtifact; + + /** + * Gets the value of the query property. + * + * @return + * possible object is + * {@link QueryAbstractType } + * + */ + public QueryAbstractType getQuery() { + return query; + } + + /** + * Sets the value of the query property. + * + * @param value + * allowed object is + * {@link QueryAbstractType } + * + */ + public void setQuery(QueryAbstractType value) { + this.query = value; + } + + /** + * Gets the value of the subjectQuery property. + * + * @return + * possible object is + * {@link SubjectQueryAbstractType } + * + */ + public SubjectQueryAbstractType getSubjectQuery() { + return subjectQuery; + } + + /** + * Sets the value of the subjectQuery property. + * + * @param value + * allowed object is + * {@link SubjectQueryAbstractType } + * + */ + public void setSubjectQuery(SubjectQueryAbstractType value) { + this.subjectQuery = value; + } + + /** + * Gets the value of the authenticationQuery property. + * + * @return + * possible object is + * {@link AuthenticationQueryType } + * + */ + public AuthenticationQueryType getAuthenticationQuery() { + return authenticationQuery; + } + + /** + * Sets the value of the authenticationQuery property. + * + * @param value + * allowed object is + * {@link AuthenticationQueryType } + * + */ + public void setAuthenticationQuery(AuthenticationQueryType value) { + this.authenticationQuery = value; + } + + /** + * Gets the value of the attributeQuery property. + * + * @return + * possible object is + * {@link AttributeQueryType } + * + */ + public AttributeQueryType getAttributeQuery() { + return attributeQuery; + } + + /** + * Sets the value of the attributeQuery property. + * + * @param value + * allowed object is + * {@link AttributeQueryType } + * + */ + public void setAttributeQuery(AttributeQueryType value) { + this.attributeQuery = value; + } + + /** + * Gets the value of the authorizationDecisionQuery property. + * + * @return + * possible object is + * {@link AuthorizationDecisionQueryType } + * + */ + public AuthorizationDecisionQueryType getAuthorizationDecisionQuery() { + return authorizationDecisionQuery; + } + + /** + * Sets the value of the authorizationDecisionQuery property. + * + * @param value + * allowed object is + * {@link AuthorizationDecisionQueryType } + * + */ + public void setAuthorizationDecisionQuery(AuthorizationDecisionQueryType value) { + this.authorizationDecisionQuery = value; + } + + /** + * Gets the value of the assertionIDReference property. + * + * <p> + * 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 <CODE>set</CODE> method for the assertionIDReference property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAssertionIDReference().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getAssertionIDReference() { + if (assertionIDReference == null) { + assertionIDReference = new ArrayList<String>(); + } + return this.assertionIDReference; + } + + /** + * Gets the value of the assertionArtifact property. + * + * <p> + * 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 <CODE>set</CODE> method for the assertionArtifact property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAssertionArtifact().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getAssertionArtifact() { + if (assertionArtifact == null) { + assertionArtifact = new ArrayList<String>(); + } + return this.assertionArtifact; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/ResponseAbstractType.java b/src/main/java/at/gv/util/xsd/saml/protocol/ResponseAbstractType.java new file mode 100644 index 0000000..6e35e87 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/ResponseAbstractType.java @@ -0,0 +1,236 @@ + +package at.gv.util.xsd.saml.protocol; + +import java.math.BigInteger; +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + +import at.gv.util.xsd.xmldsig.SignatureType; + + +/** + * <p>Java class for ResponseAbstractType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ResponseAbstractType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/> + * </sequence> + * <attribute name="ResponseID" use="required" type="{urn:oasis:names:tc:SAML:1.0:assertion}IDType" /> + * <attribute name="InResponseTo" type="{urn:oasis:names:tc:SAML:1.0:assertion}IDReferenceType" /> + * <attribute name="MajorVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * <attribute name="MinorVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * <attribute name="IssueInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> + * <attribute name="Recipient" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ResponseAbstractType", propOrder = { + "signature" +}) +@XmlSeeAlso({ + ResponseType.class +}) +public abstract class ResponseAbstractType { + + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; + @XmlAttribute(name = "ResponseID", required = true) + protected String responseID; + @XmlAttribute(name = "InResponseTo") + protected String inResponseTo; + @XmlAttribute(name = "MajorVersion", required = true) + protected BigInteger majorVersion; + @XmlAttribute(name = "MinorVersion", required = true) + protected BigInteger minorVersion; + @XmlAttribute(name = "IssueInstant", required = true) + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar issueInstant; + @XmlAttribute(name = "Recipient") + @XmlSchemaType(name = "anyURI") + protected String recipient; + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Gets the value of the responseID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getResponseID() { + return responseID; + } + + /** + * Sets the value of the responseID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setResponseID(String value) { + this.responseID = value; + } + + /** + * Gets the value of the inResponseTo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInResponseTo() { + return inResponseTo; + } + + /** + * Sets the value of the inResponseTo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInResponseTo(String value) { + this.inResponseTo = value; + } + + /** + * Gets the value of the majorVersion property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getMajorVersion() { + return majorVersion; + } + + /** + * Sets the value of the majorVersion property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setMajorVersion(BigInteger value) { + this.majorVersion = value; + } + + /** + * Gets the value of the minorVersion property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getMinorVersion() { + return minorVersion; + } + + /** + * Sets the value of the minorVersion property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setMinorVersion(BigInteger value) { + this.minorVersion = value; + } + + /** + * Gets the value of the issueInstant property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getIssueInstant() { + return issueInstant; + } + + /** + * Sets the value of the issueInstant property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setIssueInstant(XMLGregorianCalendar value) { + this.issueInstant = value; + } + + /** + * Gets the value of the recipient property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRecipient() { + return recipient; + } + + /** + * Sets the value of the recipient property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRecipient(String value) { + this.recipient = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/ResponseType.java b/src/main/java/at/gv/util/xsd/saml/protocol/ResponseType.java new file mode 100644 index 0000000..f69b0d5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/ResponseType.java @@ -0,0 +1,101 @@ + +package at.gv.util.xsd.saml.protocol; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + +import at.gv.util.xsd.saml.assertion.AssertionType; + + +/** + * <p>Java class for ResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ResponseType"> + * <complexContent> + * <extension base="{urn:oasis:names:tc:SAML:1.0:protocol}ResponseAbstractType"> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}Status"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Assertion" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ResponseType", propOrder = { + "status", + "assertion" +}) +public class ResponseType + extends ResponseAbstractType +{ + + @XmlElement(name = "Status", required = true) + protected StatusType status; + @XmlElement(name = "Assertion", namespace = "urn:oasis:names:tc:SAML:1.0:assertion") + protected List<AssertionType> assertion; + + /** + * Gets the value of the status property. + * + * @return + * possible object is + * {@link StatusType } + * + */ + public StatusType getStatus() { + return status; + } + + /** + * Sets the value of the status property. + * + * @param value + * allowed object is + * {@link StatusType } + * + */ + public void setStatus(StatusType value) { + this.status = value; + } + + /** + * Gets the value of the assertion property. + * + * <p> + * 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 <CODE>set</CODE> method for the assertion property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAssertion().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link AssertionType } + * + * + */ + public List<AssertionType> getAssertion() { + if (assertion == null) { + assertion = new ArrayList<AssertionType>(); + } + return this.assertion; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/StatusCodeType.java b/src/main/java/at/gv/util/xsd/saml/protocol/StatusCodeType.java new file mode 100644 index 0000000..7ec76d6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/StatusCodeType.java @@ -0,0 +1,91 @@ + +package at.gv.util.xsd.saml.protocol; + +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.XmlType; +import javax.xml.namespace.QName; + + +/** + * <p>Java class for StatusCodeType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="StatusCodeType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}StatusCode" minOccurs="0"/> + * </sequence> + * <attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "StatusCodeType", propOrder = { + "statusCode" +}) +public class StatusCodeType { + + @XmlElement(name = "StatusCode") + protected StatusCodeType statusCode; + @XmlAttribute(name = "Value", required = true) + protected QName value; + + /** + * Gets the value of the statusCode property. + * + * @return + * possible object is + * {@link StatusCodeType } + * + */ + public StatusCodeType getStatusCode() { + return statusCode; + } + + /** + * Sets the value of the statusCode property. + * + * @param value + * allowed object is + * {@link StatusCodeType } + * + */ + public void setStatusCode(StatusCodeType value) { + this.statusCode = value; + } + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link QName } + * + */ + public QName getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link QName } + * + */ + public void setValue(QName value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/StatusDetailType.java b/src/main/java/at/gv/util/xsd/saml/protocol/StatusDetailType.java new file mode 100644 index 0000000..635afd8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/StatusDetailType.java @@ -0,0 +1,71 @@ + +package at.gv.util.xsd.saml.protocol; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for StatusDetailType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="StatusDetailType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "StatusDetailType", propOrder = { + "any" +}) +public class StatusDetailType { + + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/StatusType.java b/src/main/java/at/gv/util/xsd/saml/protocol/StatusType.java new file mode 100644 index 0000000..efad7bb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/StatusType.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.saml.protocol; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for StatusType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="StatusType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}StatusCode"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}StatusMessage" minOccurs="0"/> + * <element ref="{urn:oasis:names:tc:SAML:1.0:protocol}StatusDetail" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "StatusType", propOrder = { + "statusCode", + "statusMessage", + "statusDetail" +}) +public class StatusType { + + @XmlElement(name = "StatusCode", required = true) + protected StatusCodeType statusCode; + @XmlElement(name = "StatusMessage") + protected String statusMessage; + @XmlElement(name = "StatusDetail") + protected StatusDetailType statusDetail; + + /** + * Gets the value of the statusCode property. + * + * @return + * possible object is + * {@link StatusCodeType } + * + */ + public StatusCodeType getStatusCode() { + return statusCode; + } + + /** + * Sets the value of the statusCode property. + * + * @param value + * allowed object is + * {@link StatusCodeType } + * + */ + public void setStatusCode(StatusCodeType value) { + this.statusCode = value; + } + + /** + * Gets the value of the statusMessage property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStatusMessage() { + return statusMessage; + } + + /** + * Sets the value of the statusMessage property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStatusMessage(String value) { + this.statusMessage = value; + } + + /** + * Gets the value of the statusDetail property. + * + * @return + * possible object is + * {@link StatusDetailType } + * + */ + public StatusDetailType getStatusDetail() { + return statusDetail; + } + + /** + * Sets the value of the statusDetail property. + * + * @param value + * allowed object is + * {@link StatusDetailType } + * + */ + public void setStatusDetail(StatusDetailType value) { + this.statusDetail = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/SubjectQueryAbstractType.java b/src/main/java/at/gv/util/xsd/saml/protocol/SubjectQueryAbstractType.java new file mode 100644 index 0000000..9cb28cb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/SubjectQueryAbstractType.java @@ -0,0 +1,72 @@ + +package at.gv.util.xsd.saml.protocol; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + +import at.gv.util.xsd.saml.assertion.SubjectType; + + +/** + * <p>Java class for SubjectQueryAbstractType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SubjectQueryAbstractType"> + * <complexContent> + * <extension base="{urn:oasis:names:tc:SAML:1.0:protocol}QueryAbstractType"> + * <sequence> + * <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Subject"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SubjectQueryAbstractType", propOrder = { + "subject" +}) +@XmlSeeAlso({ + AuthorizationDecisionQueryType.class, + AuthenticationQueryType.class, + AttributeQueryType.class +}) +public abstract class SubjectQueryAbstractType + extends QueryAbstractType +{ + + @XmlElement(name = "Subject", namespace = "urn:oasis:names:tc:SAML:1.0:assertion", required = true) + protected SubjectType subject; + + /** + * Gets the value of the subject property. + * + * @return + * possible object is + * {@link SubjectType } + * + */ + public SubjectType getSubject() { + return subject; + } + + /** + * Sets the value of the subject property. + * + * @param value + * allowed object is + * {@link SubjectType } + * + */ + public void setSubject(SubjectType value) { + this.subject = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/saml/protocol/package-info.java b/src/main/java/at/gv/util/xsd/saml/protocol/package-info.java new file mode 100644 index 0000000..195a8cf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/saml/protocol/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "urn:oasis:names:tc:SAML:1.0:protocol", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.saml.protocol; diff --git a/src/main/java/at/gv/util/xsd/sl/AccessAuthorizationType.java b/src/main/java/at/gv/util/xsd/sl/AccessAuthorizationType.java new file mode 100644 index 0000000..500064c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/AccessAuthorizationType.java @@ -0,0 +1,96 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlType; + + +/** + * <p>Java class for AccessAuthorizationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AccessAuthorizationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="RequesterID" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}RequesterIDType" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="UserMayChange" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AccessAuthorizationType", propOrder = { + "requesterID" +}) +public class AccessAuthorizationType { + + @XmlElement(name = "RequesterID", required = true) + protected List<RequesterIDType> requesterID; + @XmlAttribute(name = "UserMayChange", required = true) + protected boolean userMayChange; + + /** + * Gets the value of the requesterID property. + * + * <p> + * 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 <CODE>set</CODE> method for the requesterID property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRequesterID().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link RequesterIDType } + * + * + */ + public List<RequesterIDType> getRequesterID() { + if (requesterID == null) { + requesterID = new ArrayList<RequesterIDType>(); + } + return this.requesterID; + } + + /** + * Gets the value of the userMayChange property. + * + */ + public boolean isUserMayChange() { + return userMayChange; + } + + /** + * Sets the value of the userMayChange property. + * + */ + public void setUserMayChange(boolean value) { + this.userMayChange = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/AllSignatoriesType.java b/src/main/java/at/gv/util/xsd/sl/AllSignatoriesType.java new file mode 100644 index 0000000..1bc16cf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/AllSignatoriesType.java @@ -0,0 +1,55 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for AllSignatoriesType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="AllSignatoriesType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="all"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "AllSignatoriesType") +@XmlEnum +public enum AllSignatoriesType { + + @XmlEnumValue("all") + ALL("all"); + private final String value; + + AllSignatoriesType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static AllSignatoriesType fromValue(String v) { + for (AllSignatoriesType c: AllSignatoriesType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/AnyChildrenType.java b/src/main/java/at/gv/util/xsd/sl/AnyChildrenType.java new file mode 100644 index 0000000..d7a3a5d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/AnyChildrenType.java @@ -0,0 +1,82 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for AnyChildrenType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AnyChildrenType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AnyChildrenType", propOrder = { + "any" +}) +@XmlSeeAlso({ + BindingType.class +}) +public class AnyChildrenType { + + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/AnyMixedChildrenType.java b/src/main/java/at/gv/util/xsd/sl/AnyMixedChildrenType.java new file mode 100644 index 0000000..d58b08a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/AnyMixedChildrenType.java @@ -0,0 +1,85 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for AnyMixedChildrenType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AnyMixedChildrenType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AnyMixedChildrenType", propOrder = { + "content" +}) +@XmlSeeAlso({ + XMLContentType.class +}) +public class AnyMixedChildrenType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/AuthenticationClassType.java b/src/main/java/at/gv/util/xsd/sl/AuthenticationClassType.java new file mode 100644 index 0000000..31d46ae --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/AuthenticationClassType.java @@ -0,0 +1,64 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for AuthenticationClassType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="AuthenticationClassType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="anonym"/> + * <enumeration value="pseudoanonym"/> + * <enumeration value="certified"/> + * <enumeration value="certifiedGovAgency"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "AuthenticationClassType") +@XmlEnum +public enum AuthenticationClassType { + + @XmlEnumValue("anonym") + ANONYM("anonym"), + @XmlEnumValue("pseudoanonym") + PSEUDOANONYM("pseudoanonym"), + @XmlEnumValue("certified") + CERTIFIED("certified"), + @XmlEnumValue("certifiedGovAgency") + CERTIFIED_GOV_AGENCY("certifiedGovAgency"); + private final String value; + + AuthenticationClassType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static AuthenticationClassType fromValue(String v) { + for (AuthenticationClassType c: AuthenticationClassType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/Base64ContentType.java b/src/main/java/at/gv/util/xsd/sl/Base64ContentType.java new file mode 100644 index 0000000..afb66a6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/Base64ContentType.java @@ -0,0 +1,71 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for Base64ContentType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Base64ContentType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice minOccurs="0"> + * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Base64ContentType", propOrder = { + "base64Content" +}) +@XmlSeeAlso({ + Base64OptRefContentType.class +}) +public class Base64ContentType { + + @XmlElement(name = "Base64Content") + protected byte[] base64Content; + + /** + * Gets the value of the base64Content property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getBase64Content() { + return base64Content; + } + + /** + * Sets the value of the base64Content property. + * + * @param value + * allowed object is + * byte[] + */ + public void setBase64Content(byte[] value) { + this.base64Content = ((byte[]) value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/Base64OptRefContentType.java b/src/main/java/at/gv/util/xsd/sl/Base64OptRefContentType.java new file mode 100644 index 0000000..7249aa0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/Base64OptRefContentType.java @@ -0,0 +1,69 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for Base64OptRefContentType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Base64OptRefContentType"> + * <complexContent> + * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64ContentType"> + * <attribute name="Reference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Base64OptRefContentType") +public class Base64OptRefContentType + extends Base64ContentType +{ + + @XmlAttribute(name = "Reference") + @XmlSchemaType(name = "anyURI") + protected String reference; + + /** + * Gets the value of the reference property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReference() { + return reference; + } + + /** + * Sets the value of the reference property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReference(String value) { + this.reference = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/Base64XMLContentType.java b/src/main/java/at/gv/util/xsd/sl/Base64XMLContentType.java new file mode 100644 index 0000000..1afd8de --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/Base64XMLContentType.java @@ -0,0 +1,100 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for Base64XMLContentType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Base64XMLContentType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice minOccurs="0"> + * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="XMLContent" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}XMLContentType"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Base64XMLContentType", propOrder = { + "base64Content", + "xmlContent" +}) +@XmlSeeAlso({ + InfoboxAssocArrayPairType.class, + Base64XMLOptRefContentType.class +}) +public class Base64XMLContentType { + + @XmlElement(name = "Base64Content") + protected byte[] base64Content; + @XmlElement(name = "XMLContent") + protected XMLContentType xmlContent; + + /** + * Gets the value of the base64Content property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getBase64Content() { + return base64Content; + } + + /** + * Sets the value of the base64Content property. + * + * @param value + * allowed object is + * byte[] + */ + public void setBase64Content(byte[] value) { + this.base64Content = ((byte[]) value); + } + + /** + * Gets the value of the xmlContent property. + * + * @return + * possible object is + * {@link XMLContentType } + * + */ + public XMLContentType getXMLContent() { + return xmlContent; + } + + /** + * Sets the value of the xmlContent property. + * + * @param value + * allowed object is + * {@link XMLContentType } + * + */ + public void setXMLContent(XMLContentType value) { + this.xmlContent = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/Base64XMLLocRefContentType.java b/src/main/java/at/gv/util/xsd/sl/Base64XMLLocRefContentType.java new file mode 100644 index 0000000..dc9f9ac --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/Base64XMLLocRefContentType.java @@ -0,0 +1,131 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for Base64XMLLocRefContentType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Base64XMLLocRefContentType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice minOccurs="0"> + * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="XMLContent" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}XMLContentType"/> + * <element name="LocRefContent" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Base64XMLLocRefContentType", propOrder = { + "base64Content", + "xmlContent", + "locRefContent" +}) +@XmlSeeAlso({ + Base64XMLLocRefOptRefContentType.class, + XMLToBeEncryptedNewContentType.class, + Base64XMLLocRefReqRefContentType.class +}) +public class Base64XMLLocRefContentType { + + @XmlElement(name = "Base64Content") + protected byte[] base64Content; + @XmlElement(name = "XMLContent") + protected XMLContentType xmlContent; + @XmlElement(name = "LocRefContent") + @XmlSchemaType(name = "anyURI") + protected String locRefContent; + + /** + * Gets the value of the base64Content property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getBase64Content() { + return base64Content; + } + + /** + * Sets the value of the base64Content property. + * + * @param value + * allowed object is + * byte[] + */ + public void setBase64Content(byte[] value) { + this.base64Content = ((byte[]) value); + } + + /** + * Gets the value of the xmlContent property. + * + * @return + * possible object is + * {@link XMLContentType } + * + */ + public XMLContentType getXMLContent() { + return xmlContent; + } + + /** + * Sets the value of the xmlContent property. + * + * @param value + * allowed object is + * {@link XMLContentType } + * + */ + public void setXMLContent(XMLContentType value) { + this.xmlContent = value; + } + + /** + * Gets the value of the locRefContent property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLocRefContent() { + return locRefContent; + } + + /** + * Sets the value of the locRefContent property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLocRefContent(String value) { + this.locRefContent = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/Base64XMLLocRefOptRefContentType.java b/src/main/java/at/gv/util/xsd/sl/Base64XMLLocRefOptRefContentType.java new file mode 100644 index 0000000..02664c8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/Base64XMLLocRefOptRefContentType.java @@ -0,0 +1,69 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for Base64XMLLocRefOptRefContentType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Base64XMLLocRefOptRefContentType"> + * <complexContent> + * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLLocRefContentType"> + * <attribute name="Reference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Base64XMLLocRefOptRefContentType") +public class Base64XMLLocRefOptRefContentType + extends Base64XMLLocRefContentType +{ + + @XmlAttribute(name = "Reference") + @XmlSchemaType(name = "anyURI") + protected String reference; + + /** + * Gets the value of the reference property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReference() { + return reference; + } + + /** + * Sets the value of the reference property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReference(String value) { + this.reference = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/Base64XMLLocRefReqRefContentType.java b/src/main/java/at/gv/util/xsd/sl/Base64XMLLocRefReqRefContentType.java new file mode 100644 index 0000000..02a0374 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/Base64XMLLocRefReqRefContentType.java @@ -0,0 +1,69 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for Base64XMLLocRefReqRefContentType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Base64XMLLocRefReqRefContentType"> + * <complexContent> + * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLLocRefContentType"> + * <attribute name="Reference" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Base64XMLLocRefReqRefContentType") +public class Base64XMLLocRefReqRefContentType + extends Base64XMLLocRefContentType +{ + + @XmlAttribute(name = "Reference", required = true) + @XmlSchemaType(name = "anyURI") + protected String reference; + + /** + * Gets the value of the reference property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReference() { + return reference; + } + + /** + * Sets the value of the reference property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReference(String value) { + this.reference = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/Base64XMLOptRefContentType.java b/src/main/java/at/gv/util/xsd/sl/Base64XMLOptRefContentType.java new file mode 100644 index 0000000..2936c36 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/Base64XMLOptRefContentType.java @@ -0,0 +1,69 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for Base64XMLOptRefContentType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Base64XMLOptRefContentType"> + * <complexContent> + * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLContentType"> + * <attribute name="Reference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Base64XMLOptRefContentType") +public class Base64XMLOptRefContentType + extends Base64XMLContentType +{ + + @XmlAttribute(name = "Reference") + @XmlSchemaType(name = "anyURI") + protected String reference; + + /** + * Gets the value of the reference property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReference() { + return reference; + } + + /** + * Sets the value of the reference property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReference(String value) { + this.reference = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/BindingType.java b/src/main/java/at/gv/util/xsd/sl/BindingType.java new file mode 100644 index 0000000..baa8537 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/BindingType.java @@ -0,0 +1,72 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +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; + + +/** + * <p>Java class for BindingType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="BindingType"> + * <complexContent> + * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AnyChildrenType"> + * <attribute name="Identifier" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BindingType") +public class BindingType + extends AnyChildrenType +{ + + @XmlAttribute(name = "Identifier", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String identifier; + + /** + * Gets the value of the identifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdentifier() { + return identifier; + } + + /** + * Sets the value of the identifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdentifier(String value) { + this.identifier = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/CMSDataObjectOptionalMetaType.java b/src/main/java/at/gv/util/xsd/sl/CMSDataObjectOptionalMetaType.java new file mode 100644 index 0000000..7422144 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/CMSDataObjectOptionalMetaType.java @@ -0,0 +1,101 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CMSDataObjectOptionalMetaType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CMSDataObjectOptionalMetaType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="MetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType" minOccurs="0"/> + * <element name="Content" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64OptRefContentType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CMSDataObjectOptionalMetaType", propOrder = { + "metaInfo", + "content" +}) +@XmlSeeAlso({ + CMSDataObjectRequiredMetaType.class +}) +public class CMSDataObjectOptionalMetaType { + + @XmlElement(name = "MetaInfo") + protected MetaInfoType metaInfo; + @XmlElement(name = "Content", required = true) + protected Base64OptRefContentType content; + + /** + * Gets the value of the metaInfo property. + * + * @return + * possible object is + * {@link MetaInfoType } + * + */ + public MetaInfoType getMetaInfo() { + return metaInfo; + } + + /** + * Sets the value of the metaInfo property. + * + * @param value + * allowed object is + * {@link MetaInfoType } + * + */ + public void setMetaInfo(MetaInfoType value) { + this.metaInfo = value; + } + + /** + * Gets the value of the content property. + * + * @return + * possible object is + * {@link Base64OptRefContentType } + * + */ + public Base64OptRefContentType getContent() { + return content; + } + + /** + * Sets the value of the content property. + * + * @param value + * allowed object is + * {@link Base64OptRefContentType } + * + */ + public void setContent(Base64OptRefContentType value) { + this.content = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/CMSDataObjectRequiredMetaType.java b/src/main/java/at/gv/util/xsd/sl/CMSDataObjectRequiredMetaType.java new file mode 100644 index 0000000..29f0b97 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/CMSDataObjectRequiredMetaType.java @@ -0,0 +1,43 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CMSDataObjectRequiredMetaType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CMSDataObjectRequiredMetaType"> + * <complexContent> + * <restriction base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CMSDataObjectOptionalMetaType"> + * <sequence> + * <element name="MetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType"/> + * <element name="Content" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64OptRefContentType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CMSDataObjectRequiredMetaType") +public class CMSDataObjectRequiredMetaType + extends CMSDataObjectOptionalMetaType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/sl/CMSEncryptedContentType.java b/src/main/java/at/gv/util/xsd/sl/CMSEncryptedContentType.java new file mode 100644 index 0000000..3dae930 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/CMSEncryptedContentType.java @@ -0,0 +1,97 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CMSEncryptedContentType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CMSEncryptedContentType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="MetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType" minOccurs="0"/> + * <element name="Content" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64OptRefContentType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CMSEncryptedContentType", propOrder = { + "metaInfo", + "content" +}) +public class CMSEncryptedContentType { + + @XmlElement(name = "MetaInfo") + protected MetaInfoType metaInfo; + @XmlElement(name = "Content") + protected Base64OptRefContentType content; + + /** + * Gets the value of the metaInfo property. + * + * @return + * possible object is + * {@link MetaInfoType } + * + */ + public MetaInfoType getMetaInfo() { + return metaInfo; + } + + /** + * Sets the value of the metaInfo property. + * + * @param value + * allowed object is + * {@link MetaInfoType } + * + */ + public void setMetaInfo(MetaInfoType value) { + this.metaInfo = value; + } + + /** + * Gets the value of the content property. + * + * @return + * possible object is + * {@link Base64OptRefContentType } + * + */ + public Base64OptRefContentType getContent() { + return content; + } + + /** + * Sets the value of the content property. + * + * @param value + * allowed object is + * {@link Base64OptRefContentType } + * + */ + public void setContent(Base64OptRefContentType value) { + this.content = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/CMSRecipientPublicKeyType.java b/src/main/java/at/gv/util/xsd/sl/CMSRecipientPublicKeyType.java new file mode 100644 index 0000000..2c5f44f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/CMSRecipientPublicKeyType.java @@ -0,0 +1,67 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CMSRecipientPublicKeyType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CMSRecipientPublicKeyType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="X509Certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CMSRecipientPublicKeyType", propOrder = { + "x509Certificate" +}) +public class CMSRecipientPublicKeyType { + + @XmlElement(name = "X509Certificate") + protected byte[] x509Certificate; + + /** + * Gets the value of the x509Certificate property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getX509Certificate() { + return x509Certificate; + } + + /** + * Sets the value of the x509Certificate property. + * + * @param value + * allowed object is + * byte[] + */ + public void setX509Certificate(byte[] value) { + this.x509Certificate = ((byte[]) value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/CMSToBeEncryptedType.java b/src/main/java/at/gv/util/xsd/sl/CMSToBeEncryptedType.java new file mode 100644 index 0000000..a36b27c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/CMSToBeEncryptedType.java @@ -0,0 +1,97 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CMSToBeEncryptedType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CMSToBeEncryptedType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="MetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType"/> + * <element name="Content" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64OptRefContentType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CMSToBeEncryptedType", propOrder = { + "metaInfo", + "content" +}) +public class CMSToBeEncryptedType { + + @XmlElement(name = "MetaInfo", required = true) + protected MetaInfoType metaInfo; + @XmlElement(name = "Content", required = true) + protected Base64OptRefContentType content; + + /** + * Gets the value of the metaInfo property. + * + * @return + * possible object is + * {@link MetaInfoType } + * + */ + public MetaInfoType getMetaInfo() { + return metaInfo; + } + + /** + * Sets the value of the metaInfo property. + * + * @param value + * allowed object is + * {@link MetaInfoType } + * + */ + public void setMetaInfo(MetaInfoType value) { + this.metaInfo = value; + } + + /** + * Gets the value of the content property. + * + * @return + * possible object is + * {@link Base64OptRefContentType } + * + */ + public Base64OptRefContentType getContent() { + return content; + } + + /** + * Sets the value of the content property. + * + * @param value + * allowed object is + * {@link Base64OptRefContentType } + * + */ + public void setContent(Base64OptRefContentType value) { + this.content = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/CheckResultType.java b/src/main/java/at/gv/util/xsd/sl/CheckResultType.java new file mode 100644 index 0000000..c6a7e54 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/CheckResultType.java @@ -0,0 +1,100 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CheckResultType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CheckResultType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/> + * <element name="Info" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AnyMixedChildrenType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CheckResultType", propOrder = { + "code", + "info" +}) +public class CheckResultType { + + @XmlElement(name = "Code", required = true) + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger code; + @XmlElement(name = "Info") + protected AnyMixedChildrenType info; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link AnyMixedChildrenType } + * + */ + public AnyMixedChildrenType getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link AnyMixedChildrenType } + * + */ + public void setInfo(AnyMixedChildrenType value) { + this.info = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/CreateCMSSignatureRequestType.java b/src/main/java/at/gv/util/xsd/sl/CreateCMSSignatureRequestType.java new file mode 100644 index 0000000..c47c1a8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/CreateCMSSignatureRequestType.java @@ -0,0 +1,135 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for CreateCMSSignatureRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CreateCMSSignatureRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="KeyboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> + * <element name="DataObject" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CMSDataObjectRequiredMetaType"/> + * </sequence> + * <attribute name="Structure" use="required"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="detached"/> + * <enumeration value="enveloping"/> + * </restriction> + * </simpleType> + * </attribute> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CreateCMSSignatureRequestType", propOrder = { + "keyboxIdentifier", + "dataObject" +}) +public class CreateCMSSignatureRequestType { + + @XmlElement(name = "KeyboxIdentifier", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String keyboxIdentifier; + @XmlElement(name = "DataObject", required = true) + protected CMSDataObjectRequiredMetaType dataObject; + @XmlAttribute(name = "Structure", required = true) + protected String structure; + + /** + * Gets the value of the keyboxIdentifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKeyboxIdentifier() { + return keyboxIdentifier; + } + + /** + * Sets the value of the keyboxIdentifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKeyboxIdentifier(String value) { + this.keyboxIdentifier = value; + } + + /** + * Gets the value of the dataObject property. + * + * @return + * possible object is + * {@link CMSDataObjectRequiredMetaType } + * + */ + public CMSDataObjectRequiredMetaType getDataObject() { + return dataObject; + } + + /** + * Sets the value of the dataObject property. + * + * @param value + * allowed object is + * {@link CMSDataObjectRequiredMetaType } + * + */ + public void setDataObject(CMSDataObjectRequiredMetaType value) { + this.dataObject = value; + } + + /** + * Gets the value of the structure property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStructure() { + return structure; + } + + /** + * Sets the value of the structure property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStructure(String value) { + this.structure = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/CreateCMSSignatureResponseType.java b/src/main/java/at/gv/util/xsd/sl/CreateCMSSignatureResponseType.java new file mode 100644 index 0000000..e61d028 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/CreateCMSSignatureResponseType.java @@ -0,0 +1,67 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CreateCMSSignatureResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CreateCMSSignatureResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="CMSSignature" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CreateCMSSignatureResponseType", propOrder = { + "cmsSignature" +}) +public class CreateCMSSignatureResponseType { + + @XmlElement(name = "CMSSignature", required = true) + protected byte[] cmsSignature; + + /** + * Gets the value of the cmsSignature property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getCMSSignature() { + return cmsSignature; + } + + /** + * Sets the value of the cmsSignature property. + * + * @param value + * allowed object is + * byte[] + */ + public void setCMSSignature(byte[] value) { + this.cmsSignature = ((byte[]) value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/CreateHashInfoRequestType.java b/src/main/java/at/gv/util/xsd/sl/CreateHashInfoRequestType.java new file mode 100644 index 0000000..38daaba --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/CreateHashInfoRequestType.java @@ -0,0 +1,147 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CreateHashInfoRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CreateHashInfoRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="HashData" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}HashDataType"/> + * <element name="HashAlgorithm" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="FriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * <attribute name="RespondHashData" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CreateHashInfoRequestType", propOrder = { + "hashData", + "hashAlgorithm", + "friendlyName" +}) +public class CreateHashInfoRequestType { + + @XmlElement(name = "HashData", required = true) + protected HashDataType hashData; + @XmlElement(name = "HashAlgorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String hashAlgorithm; + @XmlElement(name = "FriendlyName") + protected String friendlyName; + @XmlAttribute(name = "RespondHashData", required = true) + protected boolean respondHashData; + + /** + * Gets the value of the hashData property. + * + * @return + * possible object is + * {@link HashDataType } + * + */ + public HashDataType getHashData() { + return hashData; + } + + /** + * Sets the value of the hashData property. + * + * @param value + * allowed object is + * {@link HashDataType } + * + */ + public void setHashData(HashDataType value) { + this.hashData = value; + } + + /** + * Gets the value of the hashAlgorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHashAlgorithm() { + return hashAlgorithm; + } + + /** + * Sets the value of the hashAlgorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHashAlgorithm(String value) { + this.hashAlgorithm = value; + } + + /** + * Gets the value of the friendlyName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFriendlyName() { + return friendlyName; + } + + /** + * Sets the value of the friendlyName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFriendlyName(String value) { + this.friendlyName = value; + } + + /** + * Gets the value of the respondHashData property. + * + */ + public boolean isRespondHashData() { + return respondHashData; + } + + /** + * Sets the value of the respondHashData property. + * + */ + public void setRespondHashData(boolean value) { + this.respondHashData = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/CreateHashInfoResponseType.java b/src/main/java/at/gv/util/xsd/sl/CreateHashInfoResponseType.java new file mode 100644 index 0000000..fcf9c14 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/CreateHashInfoResponseType.java @@ -0,0 +1,153 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CreateHashInfoResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CreateHashInfoResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="HashData" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}HashDataType" minOccurs="0"/> + * <element name="HashAlgorithm" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="FriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="HashValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CreateHashInfoResponseType", propOrder = { + "hashData", + "hashAlgorithm", + "friendlyName", + "hashValue" +}) +public class CreateHashInfoResponseType { + + @XmlElement(name = "HashData") + protected HashDataType hashData; + @XmlElement(name = "HashAlgorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String hashAlgorithm; + @XmlElement(name = "FriendlyName") + protected String friendlyName; + @XmlElement(name = "HashValue", required = true) + protected byte[] hashValue; + + /** + * Gets the value of the hashData property. + * + * @return + * possible object is + * {@link HashDataType } + * + */ + public HashDataType getHashData() { + return hashData; + } + + /** + * Sets the value of the hashData property. + * + * @param value + * allowed object is + * {@link HashDataType } + * + */ + public void setHashData(HashDataType value) { + this.hashData = value; + } + + /** + * Gets the value of the hashAlgorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHashAlgorithm() { + return hashAlgorithm; + } + + /** + * Sets the value of the hashAlgorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHashAlgorithm(String value) { + this.hashAlgorithm = value; + } + + /** + * Gets the value of the friendlyName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFriendlyName() { + return friendlyName; + } + + /** + * Sets the value of the friendlyName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFriendlyName(String value) { + this.friendlyName = value; + } + + /** + * Gets the value of the hashValue property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getHashValue() { + return hashValue; + } + + /** + * Sets the value of the hashValue property. + * + * @param value + * allowed object is + * byte[] + */ + public void setHashValue(byte[] value) { + this.hashValue = ((byte[]) value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/CreateHashRequestType.java b/src/main/java/at/gv/util/xsd/sl/CreateHashRequestType.java new file mode 100644 index 0000000..d622b82 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/CreateHashRequestType.java @@ -0,0 +1,76 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CreateHashRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CreateHashRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="HashInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CreateHashInfoRequestType" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CreateHashRequestType", propOrder = { + "hashInfo" +}) +public class CreateHashRequestType { + + @XmlElement(name = "HashInfo", required = true) + protected List<CreateHashInfoRequestType> hashInfo; + + /** + * Gets the value of the hashInfo property. + * + * <p> + * 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 <CODE>set</CODE> method for the hashInfo property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getHashInfo().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link CreateHashInfoRequestType } + * + * + */ + public List<CreateHashInfoRequestType> getHashInfo() { + if (hashInfo == null) { + hashInfo = new ArrayList<CreateHashInfoRequestType>(); + } + return this.hashInfo; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/CreateHashResponseType.java b/src/main/java/at/gv/util/xsd/sl/CreateHashResponseType.java new file mode 100644 index 0000000..d27abdf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/CreateHashResponseType.java @@ -0,0 +1,76 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CreateHashResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CreateHashResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="HashInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CreateHashInfoResponseType" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CreateHashResponseType", propOrder = { + "hashInfo" +}) +public class CreateHashResponseType { + + @XmlElement(name = "HashInfo", required = true) + protected List<CreateHashInfoResponseType> hashInfo; + + /** + * Gets the value of the hashInfo property. + * + * <p> + * 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 <CODE>set</CODE> method for the hashInfo property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getHashInfo().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link CreateHashInfoResponseType } + * + * + */ + public List<CreateHashInfoResponseType> getHashInfo() { + if (hashInfo == null) { + hashInfo = new ArrayList<CreateHashInfoResponseType>(); + } + return this.hashInfo; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/CreateXMLSignatureRequestType.java b/src/main/java/at/gv/util/xsd/sl/CreateXMLSignatureRequestType.java new file mode 100644 index 0000000..b2e5495 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/CreateXMLSignatureRequestType.java @@ -0,0 +1,135 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for CreateXMLSignatureRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CreateXMLSignatureRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="KeyboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> + * <element name="DataObjectInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}DataObjectInfoType" maxOccurs="unbounded"/> + * <element name="SignatureInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}SignatureInfoCreationType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CreateXMLSignatureRequestType", propOrder = { + "keyboxIdentifier", + "dataObjectInfo", + "signatureInfo" +}) +public class CreateXMLSignatureRequestType { + + @XmlElement(name = "KeyboxIdentifier", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String keyboxIdentifier; + @XmlElement(name = "DataObjectInfo", required = true) + protected List<DataObjectInfoType> dataObjectInfo; + @XmlElement(name = "SignatureInfo") + protected SignatureInfoCreationType signatureInfo; + + /** + * Gets the value of the keyboxIdentifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKeyboxIdentifier() { + return keyboxIdentifier; + } + + /** + * Sets the value of the keyboxIdentifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKeyboxIdentifier(String value) { + this.keyboxIdentifier = value; + } + + /** + * Gets the value of the dataObjectInfo property. + * + * <p> + * 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 <CODE>set</CODE> method for the dataObjectInfo property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getDataObjectInfo().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link DataObjectInfoType } + * + * + */ + public List<DataObjectInfoType> getDataObjectInfo() { + if (dataObjectInfo == null) { + dataObjectInfo = new ArrayList<DataObjectInfoType>(); + } + return this.dataObjectInfo; + } + + /** + * Gets the value of the signatureInfo property. + * + * @return + * possible object is + * {@link SignatureInfoCreationType } + * + */ + public SignatureInfoCreationType getSignatureInfo() { + return signatureInfo; + } + + /** + * Sets the value of the signatureInfo property. + * + * @param value + * allowed object is + * {@link SignatureInfoCreationType } + * + */ + public void setSignatureInfo(SignatureInfoCreationType value) { + this.signatureInfo = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/CreateXMLSignatureResponseType.java b/src/main/java/at/gv/util/xsd/sl/CreateXMLSignatureResponseType.java new file mode 100644 index 0000000..d2c8645 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/CreateXMLSignatureResponseType.java @@ -0,0 +1,72 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for CreateXMLSignatureResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CreateXMLSignatureResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CreateXMLSignatureResponseType", propOrder = { + "any" +}) +public class CreateXMLSignatureResponseType { + + @XmlAnyElement(lax = true) + protected Object any; + + /** + * Gets the value of the any property. + * + * @return + * possible object is + * {@link Object } + * {@link Element } + * + */ + public Object getAny() { + return any; + } + + /** + * Sets the value of the any property. + * + * @param value + * allowed object is + * {@link Object } + * {@link Element } + * + */ + public void setAny(Object value) { + this.any = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/DataObjectAssociationType.java b/src/main/java/at/gv/util/xsd/sl/DataObjectAssociationType.java new file mode 100644 index 0000000..2030bdb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/DataObjectAssociationType.java @@ -0,0 +1,97 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DataObjectAssociationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DataObjectAssociationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="MetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType" minOccurs="0"/> + * <element name="Content" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLLocRefReqRefContentType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DataObjectAssociationType", propOrder = { + "metaInfo", + "content" +}) +public class DataObjectAssociationType { + + @XmlElement(name = "MetaInfo") + protected MetaInfoType metaInfo; + @XmlElement(name = "Content", required = true) + protected Base64XMLLocRefReqRefContentType content; + + /** + * Gets the value of the metaInfo property. + * + * @return + * possible object is + * {@link MetaInfoType } + * + */ + public MetaInfoType getMetaInfo() { + return metaInfo; + } + + /** + * Sets the value of the metaInfo property. + * + * @param value + * allowed object is + * {@link MetaInfoType } + * + */ + public void setMetaInfo(MetaInfoType value) { + this.metaInfo = value; + } + + /** + * Gets the value of the content property. + * + * @return + * possible object is + * {@link Base64XMLLocRefReqRefContentType } + * + */ + public Base64XMLLocRefReqRefContentType getContent() { + return content; + } + + /** + * Sets the value of the content property. + * + * @param value + * allowed object is + * {@link Base64XMLLocRefReqRefContentType } + * + */ + public void setContent(Base64XMLLocRefReqRefContentType value) { + this.content = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/DataObjectInfoType.java b/src/main/java/at/gv/util/xsd/sl/DataObjectInfoType.java new file mode 100644 index 0000000..1fea97b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/DataObjectInfoType.java @@ -0,0 +1,172 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlType; + + +/** + * <p>Java class for DataObjectInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DataObjectInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DataObject" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLLocRefOptRefContentType"/> + * <element name="TransformsInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}TransformsInfoType" maxOccurs="unbounded"/> + * <element name="Supplement" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}DataObjectAssociationType" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Structure" use="required"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="detached"/> + * <enumeration value="enveloping"/> + * </restriction> + * </simpleType> + * </attribute> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DataObjectInfoType", propOrder = { + "dataObject", + "transformsInfo", + "supplement" +}) +public class DataObjectInfoType { + + @XmlElement(name = "DataObject", required = true) + protected Base64XMLLocRefOptRefContentType dataObject; + @XmlElement(name = "TransformsInfo", required = true) + protected List<TransformsInfoType> transformsInfo; + @XmlElement(name = "Supplement") + protected List<DataObjectAssociationType> supplement; + @XmlAttribute(name = "Structure", required = true) + protected String structure; + + /** + * Gets the value of the dataObject property. + * + * @return + * possible object is + * {@link Base64XMLLocRefOptRefContentType } + * + */ + public Base64XMLLocRefOptRefContentType getDataObject() { + return dataObject; + } + + /** + * Sets the value of the dataObject property. + * + * @param value + * allowed object is + * {@link Base64XMLLocRefOptRefContentType } + * + */ + public void setDataObject(Base64XMLLocRefOptRefContentType value) { + this.dataObject = value; + } + + /** + * Gets the value of the transformsInfo property. + * + * <p> + * 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 <CODE>set</CODE> method for the transformsInfo property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTransformsInfo().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TransformsInfoType } + * + * + */ + public List<TransformsInfoType> getTransformsInfo() { + if (transformsInfo == null) { + transformsInfo = new ArrayList<TransformsInfoType>(); + } + return this.transformsInfo; + } + + /** + * Gets the value of the supplement property. + * + * <p> + * 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 <CODE>set</CODE> method for the supplement property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSupplement().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link DataObjectAssociationType } + * + * + */ + public List<DataObjectAssociationType> getSupplement() { + if (supplement == null) { + supplement = new ArrayList<DataObjectAssociationType>(); + } + return this.supplement; + } + + /** + * Gets the value of the structure property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStructure() { + return structure; + } + + /** + * Sets the value of the structure property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStructure(String value) { + this.structure = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/DecryptCMSRequestType.java b/src/main/java/at/gv/util/xsd/sl/DecryptCMSRequestType.java new file mode 100644 index 0000000..9de6b77 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/DecryptCMSRequestType.java @@ -0,0 +1,127 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlType; + + +/** + * <p>Java class for DecryptCMSRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DecryptCMSRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="CMSMessage" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="EncryptedContent" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CMSEncryptedContentType" minOccurs="0"/> + * </sequence> + * <attribute name="ReturnResult" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ReturnResultType" default="xml" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DecryptCMSRequestType", propOrder = { + "cmsMessage", + "encryptedContent" +}) +public class DecryptCMSRequestType { + + @XmlElement(name = "CMSMessage", required = true) + protected byte[] cmsMessage; + @XmlElement(name = "EncryptedContent") + protected CMSEncryptedContentType encryptedContent; + @XmlAttribute(name = "ReturnResult") + protected ReturnResultType returnResult; + + /** + * Gets the value of the cmsMessage property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getCMSMessage() { + return cmsMessage; + } + + /** + * Sets the value of the cmsMessage property. + * + * @param value + * allowed object is + * byte[] + */ + public void setCMSMessage(byte[] value) { + this.cmsMessage = ((byte[]) value); + } + + /** + * Gets the value of the encryptedContent property. + * + * @return + * possible object is + * {@link CMSEncryptedContentType } + * + */ + public CMSEncryptedContentType getEncryptedContent() { + return encryptedContent; + } + + /** + * Sets the value of the encryptedContent property. + * + * @param value + * allowed object is + * {@link CMSEncryptedContentType } + * + */ + public void setEncryptedContent(CMSEncryptedContentType value) { + this.encryptedContent = value; + } + + /** + * Gets the value of the returnResult property. + * + * @return + * possible object is + * {@link ReturnResultType } + * + */ + public ReturnResultType getReturnResult() { + if (returnResult == null) { + return ReturnResultType.XML; + } else { + return returnResult; + } + } + + /** + * Sets the value of the returnResult property. + * + * @param value + * allowed object is + * {@link ReturnResultType } + * + */ + public void setReturnResult(ReturnResultType value) { + this.returnResult = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/DecryptCMSResponseType.java b/src/main/java/at/gv/util/xsd/sl/DecryptCMSResponseType.java new file mode 100644 index 0000000..15a98b9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/DecryptCMSResponseType.java @@ -0,0 +1,67 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DecryptCMSResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DecryptCMSResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DecryptedData" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DecryptCMSResponseType", propOrder = { + "decryptedData" +}) +public class DecryptCMSResponseType { + + @XmlElement(name = "DecryptedData", required = true) + protected byte[] decryptedData; + + /** + * Gets the value of the decryptedData property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getDecryptedData() { + return decryptedData; + } + + /** + * Sets the value of the decryptedData property. + * + * @param value + * allowed object is + * byte[] + */ + public void setDecryptedData(byte[] value) { + this.decryptedData = ((byte[]) value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/DecryptXMLRequestType.java b/src/main/java/at/gv/util/xsd/sl/DecryptXMLRequestType.java new file mode 100644 index 0000000..a26e1e2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/DecryptXMLRequestType.java @@ -0,0 +1,164 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlType; + + +/** + * <p>Java class for DecryptXMLRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DecryptXMLRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="EncryptedContent" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLOptRefContentType"/> + * <element name="EncrElemsSelector" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Supplement" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}DataObjectAssociationType" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="ReturnResult" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ReturnResultType" default="xml" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DecryptXMLRequestType", propOrder = { + "encryptedContent", + "encrElemsSelector", + "supplement" +}) +public class DecryptXMLRequestType { + + @XmlElement(name = "EncryptedContent", required = true) + protected Base64XMLOptRefContentType encryptedContent; + @XmlElement(name = "EncrElemsSelector", required = true) + protected String encrElemsSelector; + @XmlElement(name = "Supplement") + protected List<DataObjectAssociationType> supplement; + @XmlAttribute(name = "ReturnResult") + protected ReturnResultType returnResult; + + /** + * Gets the value of the encryptedContent property. + * + * @return + * possible object is + * {@link Base64XMLOptRefContentType } + * + */ + public Base64XMLOptRefContentType getEncryptedContent() { + return encryptedContent; + } + + /** + * Sets the value of the encryptedContent property. + * + * @param value + * allowed object is + * {@link Base64XMLOptRefContentType } + * + */ + public void setEncryptedContent(Base64XMLOptRefContentType value) { + this.encryptedContent = value; + } + + /** + * Gets the value of the encrElemsSelector property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncrElemsSelector() { + return encrElemsSelector; + } + + /** + * Sets the value of the encrElemsSelector property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncrElemsSelector(String value) { + this.encrElemsSelector = value; + } + + /** + * Gets the value of the supplement property. + * + * <p> + * 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 <CODE>set</CODE> method for the supplement property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSupplement().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link DataObjectAssociationType } + * + * + */ + public List<DataObjectAssociationType> getSupplement() { + if (supplement == null) { + supplement = new ArrayList<DataObjectAssociationType>(); + } + return this.supplement; + } + + /** + * Gets the value of the returnResult property. + * + * @return + * possible object is + * {@link ReturnResultType } + * + */ + public ReturnResultType getReturnResult() { + if (returnResult == null) { + return ReturnResultType.XML; + } else { + return returnResult; + } + } + + /** + * Sets the value of the returnResult property. + * + * @param value + * allowed object is + * {@link ReturnResultType } + * + */ + public void setReturnResult(ReturnResultType value) { + this.returnResult = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/DecryptXMLResponseType.java b/src/main/java/at/gv/util/xsd/sl/DecryptXMLResponseType.java new file mode 100644 index 0000000..141ec79 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/DecryptXMLResponseType.java @@ -0,0 +1,249 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for DecryptXMLResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DecryptXMLResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element name="CandidateDocument" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}XMLContentType"/> + * <element name="DecryptedBinaryData" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> + * <attribute name="EncrElemSelector" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DecryptXMLResponseType", propOrder = { + "candidateDocument", + "decryptedBinaryData" +}) +public class DecryptXMLResponseType { + + @XmlElement(name = "CandidateDocument") + protected XMLContentType candidateDocument; + @XmlElement(name = "DecryptedBinaryData") + protected List<DecryptXMLResponseType.DecryptedBinaryData> decryptedBinaryData; + + /** + * Gets the value of the candidateDocument property. + * + * @return + * possible object is + * {@link XMLContentType } + * + */ + public XMLContentType getCandidateDocument() { + return candidateDocument; + } + + /** + * Sets the value of the candidateDocument property. + * + * @param value + * allowed object is + * {@link XMLContentType } + * + */ + public void setCandidateDocument(XMLContentType value) { + this.candidateDocument = value; + } + + /** + * Gets the value of the decryptedBinaryData property. + * + * <p> + * 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 <CODE>set</CODE> method for the decryptedBinaryData property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getDecryptedBinaryData().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link DecryptXMLResponseType.DecryptedBinaryData } + * + * + */ + public List<DecryptXMLResponseType.DecryptedBinaryData> getDecryptedBinaryData() { + if (decryptedBinaryData == null) { + decryptedBinaryData = new ArrayList<DecryptXMLResponseType.DecryptedBinaryData>(); + } + return this.decryptedBinaryData; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> + * <attribute name="EncrElemSelector" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class DecryptedBinaryData { + + @XmlValue + protected byte[] value; + @XmlAttribute(name = "EncrElemSelector", required = true) + protected String encrElemSelector; + @XmlAttribute(name = "MimeType") + protected String mimeType; + @XmlAttribute(name = "Encoding") + @XmlSchemaType(name = "anyURI") + protected String encoding; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * byte[] + */ + public void setValue(byte[] value) { + this.value = ((byte[]) value); + } + + /** + * Gets the value of the encrElemSelector property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncrElemSelector() { + return encrElemSelector; + } + + /** + * Sets the value of the encrElemSelector property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncrElemSelector(String value) { + this.encrElemSelector = value; + } + + /** + * Gets the value of the mimeType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMimeType() { + return mimeType; + } + + /** + * Sets the value of the mimeType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMimeType(String value) { + this.mimeType = value; + } + + /** + * Gets the value of the encoding property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncoding() { + return encoding; + } + + /** + * Sets the value of the encoding property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncoding(String value) { + this.encoding = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/EncryptCMSRequestType.java b/src/main/java/at/gv/util/xsd/sl/EncryptCMSRequestType.java new file mode 100644 index 0000000..312f465 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/EncryptCMSRequestType.java @@ -0,0 +1,136 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlType; + + +/** + * <p>Java class for EncryptCMSRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="EncryptCMSRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="RecipientPublicKey" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CMSRecipientPublicKeyType" maxOccurs="unbounded"/> + * <element name="ToBeEncrypted" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CMSToBeEncryptedType"/> + * </sequence> + * <attribute name="ReturnBinaryResult" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EncryptCMSRequestType", propOrder = { + "recipientPublicKey", + "toBeEncrypted" +}) +public class EncryptCMSRequestType { + + @XmlElement(name = "RecipientPublicKey", required = true) + protected List<CMSRecipientPublicKeyType> recipientPublicKey; + @XmlElement(name = "ToBeEncrypted", required = true) + protected CMSToBeEncryptedType toBeEncrypted; + @XmlAttribute(name = "ReturnBinaryResult") + protected Boolean returnBinaryResult; + + /** + * Gets the value of the recipientPublicKey property. + * + * <p> + * 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 <CODE>set</CODE> method for the recipientPublicKey property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRecipientPublicKey().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link CMSRecipientPublicKeyType } + * + * + */ + public List<CMSRecipientPublicKeyType> getRecipientPublicKey() { + if (recipientPublicKey == null) { + recipientPublicKey = new ArrayList<CMSRecipientPublicKeyType>(); + } + return this.recipientPublicKey; + } + + /** + * Gets the value of the toBeEncrypted property. + * + * @return + * possible object is + * {@link CMSToBeEncryptedType } + * + */ + public CMSToBeEncryptedType getToBeEncrypted() { + return toBeEncrypted; + } + + /** + * Sets the value of the toBeEncrypted property. + * + * @param value + * allowed object is + * {@link CMSToBeEncryptedType } + * + */ + public void setToBeEncrypted(CMSToBeEncryptedType value) { + this.toBeEncrypted = value; + } + + /** + * Gets the value of the returnBinaryResult property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean getReturnBinaryResult() { + if (returnBinaryResult == null) { + return false; + } else { + return returnBinaryResult; + } + } + + /** + * Sets the value of the returnBinaryResult property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setReturnBinaryResult(Boolean value) { + this.returnBinaryResult = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/EncryptCMSResponseType.java b/src/main/java/at/gv/util/xsd/sl/EncryptCMSResponseType.java new file mode 100644 index 0000000..a64b77a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/EncryptCMSResponseType.java @@ -0,0 +1,67 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for EncryptCMSResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="EncryptCMSResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="CMSMessage" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EncryptCMSResponseType", propOrder = { + "cmsMessage" +}) +public class EncryptCMSResponseType { + + @XmlElement(name = "CMSMessage", required = true) + protected byte[] cmsMessage; + + /** + * Gets the value of the cmsMessage property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getCMSMessage() { + return cmsMessage; + } + + /** + * Sets the value of the cmsMessage property. + * + * @param value + * allowed object is + * byte[] + */ + public void setCMSMessage(byte[] value) { + this.cmsMessage = ((byte[]) value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/EncryptXMLRequest.java b/src/main/java/at/gv/util/xsd/sl/EncryptXMLRequest.java new file mode 100644 index 0000000..6b01fae --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/EncryptXMLRequest.java @@ -0,0 +1,41 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}EncryptXMLRequestType"> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "EncryptXMLRequest") +public class EncryptXMLRequest + extends EncryptXMLRequestType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/sl/EncryptXMLRequestType.java b/src/main/java/at/gv/util/xsd/sl/EncryptXMLRequestType.java new file mode 100644 index 0000000..8e59f91 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/EncryptXMLRequestType.java @@ -0,0 +1,141 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for EncryptXMLRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="EncryptXMLRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="RecipientPublicKey" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}XMLRecipientPublicKeyType" maxOccurs="unbounded"/> + * <element name="ToBeEncrypted" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ToBeEncryptedType" maxOccurs="unbounded"/> + * <element name="EncryptionInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}EncryptionInfoType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EncryptXMLRequestType", propOrder = { + "recipientPublicKey", + "toBeEncrypted", + "encryptionInfo" +}) +@XmlSeeAlso({ + EncryptXMLRequest.class +}) +public class EncryptXMLRequestType { + + @XmlElement(name = "RecipientPublicKey", required = true) + protected List<XMLRecipientPublicKeyType> recipientPublicKey; + @XmlElement(name = "ToBeEncrypted", required = true) + protected List<ToBeEncryptedType> toBeEncrypted; + @XmlElement(name = "EncryptionInfo") + protected EncryptionInfoType encryptionInfo; + + /** + * Gets the value of the recipientPublicKey property. + * + * <p> + * 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 <CODE>set</CODE> method for the recipientPublicKey property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRecipientPublicKey().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link XMLRecipientPublicKeyType } + * + * + */ + public List<XMLRecipientPublicKeyType> getRecipientPublicKey() { + if (recipientPublicKey == null) { + recipientPublicKey = new ArrayList<XMLRecipientPublicKeyType>(); + } + return this.recipientPublicKey; + } + + /** + * Gets the value of the toBeEncrypted property. + * + * <p> + * 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 <CODE>set</CODE> method for the toBeEncrypted property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getToBeEncrypted().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ToBeEncryptedType } + * + * + */ + public List<ToBeEncryptedType> getToBeEncrypted() { + if (toBeEncrypted == null) { + toBeEncrypted = new ArrayList<ToBeEncryptedType>(); + } + return this.toBeEncrypted; + } + + /** + * Gets the value of the encryptionInfo property. + * + * @return + * possible object is + * {@link EncryptionInfoType } + * + */ + public EncryptionInfoType getEncryptionInfo() { + return encryptionInfo; + } + + /** + * Sets the value of the encryptionInfo property. + * + * @param value + * allowed object is + * {@link EncryptionInfoType } + * + */ + public void setEncryptionInfo(EncryptionInfoType value) { + this.encryptionInfo = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/EncryptXMLResponseType.java b/src/main/java/at/gv/util/xsd/sl/EncryptXMLResponseType.java new file mode 100644 index 0000000..94e3f2d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/EncryptXMLResponseType.java @@ -0,0 +1,173 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for EncryptXMLResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="EncryptXMLResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="EncryptionEnvironment"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="EncryptedData" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}EncryptedDataType" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EncryptXMLResponseType", propOrder = { + "encryptionEnvironment", + "encryptedData" +}) +public class EncryptXMLResponseType { + + @XmlElement(name = "EncryptionEnvironment", required = true) + protected EncryptXMLResponseType.EncryptionEnvironment encryptionEnvironment; + @XmlElement(name = "EncryptedData") + protected List<EncryptedDataType> encryptedData; + + /** + * Gets the value of the encryptionEnvironment property. + * + * @return + * possible object is + * {@link EncryptXMLResponseType.EncryptionEnvironment } + * + */ + public EncryptXMLResponseType.EncryptionEnvironment getEncryptionEnvironment() { + return encryptionEnvironment; + } + + /** + * Sets the value of the encryptionEnvironment property. + * + * @param value + * allowed object is + * {@link EncryptXMLResponseType.EncryptionEnvironment } + * + */ + public void setEncryptionEnvironment(EncryptXMLResponseType.EncryptionEnvironment value) { + this.encryptionEnvironment = value; + } + + /** + * Gets the value of the encryptedData property. + * + * <p> + * 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 <CODE>set</CODE> method for the encryptedData property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getEncryptedData().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link EncryptedDataType } + * + * + */ + public List<EncryptedDataType> getEncryptedData() { + if (encryptedData == null) { + encryptedData = new ArrayList<EncryptedDataType>(); + } + return this.encryptedData; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class EncryptionEnvironment { + + @XmlAnyElement(lax = true) + protected Object any; + + /** + * Gets the value of the any property. + * + * @return + * possible object is + * {@link Object } + * {@link Element } + * + */ + public Object getAny() { + return any; + } + + /** + * Sets the value of the any property. + * + * @param value + * allowed object is + * {@link Object } + * {@link Element } + * + */ + public void setAny(Object value) { + this.any = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/EncryptedDataType.java b/src/main/java/at/gv/util/xsd/sl/EncryptedDataType.java new file mode 100644 index 0000000..4684242 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/EncryptedDataType.java @@ -0,0 +1,94 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for EncryptedDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="EncryptedDataType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> + * <attribute name="EncDataReference" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EncryptedDataType", propOrder = { + "value" +}) +public class EncryptedDataType { + + @XmlValue + protected byte[] value; + @XmlAttribute(name = "EncDataReference", required = true) + @XmlSchemaType(name = "anyURI") + protected String encDataReference; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * byte[] + */ + public void setValue(byte[] value) { + this.value = ((byte[]) value); + } + + /** + * Gets the value of the encDataReference property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncDataReference() { + return encDataReference; + } + + /** + * Sets the value of the encDataReference property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncDataReference(String value) { + this.encDataReference = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/EncryptionInfoType.java b/src/main/java/at/gv/util/xsd/sl/EncryptionInfoType.java new file mode 100644 index 0000000..e7d10af --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/EncryptionInfoType.java @@ -0,0 +1,227 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import java.math.BigInteger; +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for EncryptionInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="EncryptionInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="EncryptionEnvironment" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLOptRefContentType"/> + * <element name="EncryptedKeyLocation" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="ParentSelector" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * <attribute name="NodeCount" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Supplement" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}DataObjectAssociationType" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "EncryptionInfoType", propOrder = { + "encryptionEnvironment", + "encryptedKeyLocation", + "supplement" +}) +public class EncryptionInfoType { + + @XmlElement(name = "EncryptionEnvironment", required = true) + protected Base64XMLOptRefContentType encryptionEnvironment; + @XmlElement(name = "EncryptedKeyLocation") + protected EncryptionInfoType.EncryptedKeyLocation encryptedKeyLocation; + @XmlElement(name = "Supplement") + protected List<DataObjectAssociationType> supplement; + + /** + * Gets the value of the encryptionEnvironment property. + * + * @return + * possible object is + * {@link Base64XMLOptRefContentType } + * + */ + public Base64XMLOptRefContentType getEncryptionEnvironment() { + return encryptionEnvironment; + } + + /** + * Sets the value of the encryptionEnvironment property. + * + * @param value + * allowed object is + * {@link Base64XMLOptRefContentType } + * + */ + public void setEncryptionEnvironment(Base64XMLOptRefContentType value) { + this.encryptionEnvironment = value; + } + + /** + * Gets the value of the encryptedKeyLocation property. + * + * @return + * possible object is + * {@link EncryptionInfoType.EncryptedKeyLocation } + * + */ + public EncryptionInfoType.EncryptedKeyLocation getEncryptedKeyLocation() { + return encryptedKeyLocation; + } + + /** + * Sets the value of the encryptedKeyLocation property. + * + * @param value + * allowed object is + * {@link EncryptionInfoType.EncryptedKeyLocation } + * + */ + public void setEncryptedKeyLocation(EncryptionInfoType.EncryptedKeyLocation value) { + this.encryptedKeyLocation = value; + } + + /** + * Gets the value of the supplement property. + * + * <p> + * 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 <CODE>set</CODE> method for the supplement property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSupplement().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link DataObjectAssociationType } + * + * + */ + public List<DataObjectAssociationType> getSupplement() { + if (supplement == null) { + supplement = new ArrayList<DataObjectAssociationType>(); + } + return this.supplement; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="ParentSelector" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * <attribute name="NodeCount" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class EncryptedKeyLocation { + + @XmlAttribute(name = "ParentSelector", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String parentSelector; + @XmlAttribute(name = "NodeCount", required = true) + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger nodeCount; + + /** + * Gets the value of the parentSelector property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getParentSelector() { + return parentSelector; + } + + /** + * Sets the value of the parentSelector property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setParentSelector(String value) { + this.parentSelector = value; + } + + /** + * Gets the value of the nodeCount property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getNodeCount() { + return nodeCount; + } + + /** + * Sets the value of the nodeCount property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setNodeCount(BigInteger value) { + this.nodeCount = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/ErrorResponseType.java b/src/main/java/at/gv/util/xsd/sl/ErrorResponseType.java new file mode 100644 index 0000000..cbb4e79 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/ErrorResponseType.java @@ -0,0 +1,89 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ErrorResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ErrorResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ErrorCode" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ErrorCodeType"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ErrorResponseType", propOrder = { + "errorCode", + "info" +}) +public class ErrorResponseType { + + @XmlElement(name = "ErrorCode") + protected int errorCode; + @XmlElement(name = "Info", required = true) + protected String info; + + /** + * Gets the value of the errorCode property. + * + */ + public int getErrorCode() { + return errorCode; + } + + /** + * Sets the value of the errorCode property. + * + */ + public void setErrorCode(int value) { + this.errorCode = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfo(String value) { + this.info = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/GetPropertiesRequest.java b/src/main/java/at/gv/util/xsd/sl/GetPropertiesRequest.java new file mode 100644 index 0000000..1ee421d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/GetPropertiesRequest.java @@ -0,0 +1,41 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}GetPropertiesRequestType"> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "GetPropertiesRequest") +public class GetPropertiesRequest + extends GetPropertiesRequestType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/sl/GetPropertiesRequestType.java b/src/main/java/at/gv/util/xsd/sl/GetPropertiesRequestType.java new file mode 100644 index 0000000..0e214e4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/GetPropertiesRequestType.java @@ -0,0 +1,41 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for GetPropertiesRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="GetPropertiesRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "GetPropertiesRequestType") +@XmlSeeAlso({ + GetPropertiesRequest.class +}) +public class GetPropertiesRequestType { + + +} diff --git a/src/main/java/at/gv/util/xsd/sl/GetPropertiesResponseType.java b/src/main/java/at/gv/util/xsd/sl/GetPropertiesResponseType.java new file mode 100644 index 0000000..7ce1f80 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/GetPropertiesResponseType.java @@ -0,0 +1,249 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +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; + + +/** + * <p>Java class for GetPropertiesResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="GetPropertiesResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ViewerMediaType" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MimeTypeType" maxOccurs="unbounded"/> + * <element name="XMLSignatureTransform" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded"/> + * <element name="KeyboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}QualifiedBoxIdentifierType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Binding" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BindingType" maxOccurs="unbounded"/> + * <element name="ProtocolVersion" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded"/> + * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "GetPropertiesResponseType", propOrder = { + "viewerMediaType", + "xmlSignatureTransform", + "keyboxIdentifier", + "binding", + "protocolVersion", + "any" +}) +public class GetPropertiesResponseType { + + @XmlElement(name = "ViewerMediaType", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected List<String> viewerMediaType; + @XmlElement(name = "XMLSignatureTransform", required = true) + @XmlSchemaType(name = "anyURI") + protected List<String> xmlSignatureTransform; + @XmlElement(name = "KeyboxIdentifier") + protected List<QualifiedBoxIdentifierType> keyboxIdentifier; + @XmlElement(name = "Binding", required = true) + protected List<BindingType> binding; + @XmlElement(name = "ProtocolVersion", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected List<String> protocolVersion; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the viewerMediaType property. + * + * <p> + * 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 <CODE>set</CODE> method for the viewerMediaType property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getViewerMediaType().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getViewerMediaType() { + if (viewerMediaType == null) { + viewerMediaType = new ArrayList<String>(); + } + return this.viewerMediaType; + } + + /** + * Gets the value of the xmlSignatureTransform property. + * + * <p> + * 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 <CODE>set</CODE> method for the xmlSignatureTransform property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getXMLSignatureTransform().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getXMLSignatureTransform() { + if (xmlSignatureTransform == null) { + xmlSignatureTransform = new ArrayList<String>(); + } + return this.xmlSignatureTransform; + } + + /** + * Gets the value of the keyboxIdentifier property. + * + * <p> + * 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 <CODE>set</CODE> method for the keyboxIdentifier property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getKeyboxIdentifier().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link QualifiedBoxIdentifierType } + * + * + */ + public List<QualifiedBoxIdentifierType> getKeyboxIdentifier() { + if (keyboxIdentifier == null) { + keyboxIdentifier = new ArrayList<QualifiedBoxIdentifierType>(); + } + return this.keyboxIdentifier; + } + + /** + * Gets the value of the binding property. + * + * <p> + * 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 <CODE>set</CODE> method for the binding property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBinding().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link BindingType } + * + * + */ + public List<BindingType> getBinding() { + if (binding == null) { + binding = new ArrayList<BindingType>(); + } + return this.binding; + } + + /** + * Gets the value of the protocolVersion property. + * + * <p> + * 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 <CODE>set</CODE> method for the protocolVersion property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getProtocolVersion().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getProtocolVersion() { + if (protocolVersion == null) { + protocolVersion = new ArrayList<String>(); + } + return this.protocolVersion; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/GetStatusRequestType.java b/src/main/java/at/gv/util/xsd/sl/GetStatusRequestType.java new file mode 100644 index 0000000..170e02f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/GetStatusRequestType.java @@ -0,0 +1,100 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for GetStatusRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="GetStatusRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element name="TokenStatus" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}TokenStatusType"/> + * <element name="MaxDelay" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "GetStatusRequestType", propOrder = { + "tokenStatus", + "maxDelay" +}) +public class GetStatusRequestType { + + @XmlElement(name = "TokenStatus") + protected TokenStatusType tokenStatus; + @XmlElement(name = "MaxDelay") + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger maxDelay; + + /** + * Gets the value of the tokenStatus property. + * + * @return + * possible object is + * {@link TokenStatusType } + * + */ + public TokenStatusType getTokenStatus() { + return tokenStatus; + } + + /** + * Sets the value of the tokenStatus property. + * + * @param value + * allowed object is + * {@link TokenStatusType } + * + */ + public void setTokenStatus(TokenStatusType value) { + this.tokenStatus = value; + } + + /** + * Gets the value of the maxDelay property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getMaxDelay() { + return maxDelay; + } + + /** + * Sets the value of the maxDelay property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setMaxDelay(BigInteger value) { + this.maxDelay = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/GetStatusResponseType.java b/src/main/java/at/gv/util/xsd/sl/GetStatusResponseType.java new file mode 100644 index 0000000..5c0a8ce --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/GetStatusResponseType.java @@ -0,0 +1,69 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for GetStatusResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="GetStatusResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="TokenStatus" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}TokenStatusType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "GetStatusResponseType", propOrder = { + "tokenStatus" +}) +public class GetStatusResponseType { + + @XmlElement(name = "TokenStatus", required = true) + protected TokenStatusType tokenStatus; + + /** + * Gets the value of the tokenStatus property. + * + * @return + * possible object is + * {@link TokenStatusType } + * + */ + public TokenStatusType getTokenStatus() { + return tokenStatus; + } + + /** + * Sets the value of the tokenStatus property. + * + * @param value + * allowed object is + * {@link TokenStatusType } + * + */ + public void setTokenStatus(TokenStatusType value) { + this.tokenStatus = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/HashDataType.java b/src/main/java/at/gv/util/xsd/sl/HashDataType.java new file mode 100644 index 0000000..0c4127a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/HashDataType.java @@ -0,0 +1,97 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for HashDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="HashDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="MetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType"/> + * <element name="Content" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLOptRefContentType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "HashDataType", propOrder = { + "metaInfo", + "content" +}) +public class HashDataType { + + @XmlElement(name = "MetaInfo", required = true) + protected MetaInfoType metaInfo; + @XmlElement(name = "Content", required = true) + protected Base64XMLOptRefContentType content; + + /** + * Gets the value of the metaInfo property. + * + * @return + * possible object is + * {@link MetaInfoType } + * + */ + public MetaInfoType getMetaInfo() { + return metaInfo; + } + + /** + * Sets the value of the metaInfo property. + * + * @param value + * allowed object is + * {@link MetaInfoType } + * + */ + public void setMetaInfo(MetaInfoType value) { + this.metaInfo = value; + } + + /** + * Gets the value of the content property. + * + * @return + * possible object is + * {@link Base64XMLOptRefContentType } + * + */ + public Base64XMLOptRefContentType getContent() { + return content; + } + + /** + * Sets the value of the content property. + * + * @param value + * allowed object is + * {@link Base64XMLOptRefContentType } + * + */ + public void setContent(Base64XMLOptRefContentType value) { + this.content = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxAssocArrayPairType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxAssocArrayPairType.java new file mode 100644 index 0000000..d98cd81 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxAssocArrayPairType.java @@ -0,0 +1,67 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for InfoboxAssocArrayPairType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InfoboxAssocArrayPairType"> + * <complexContent> + * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLContentType"> + * <attribute name="Key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InfoboxAssocArrayPairType") +public class InfoboxAssocArrayPairType + extends Base64XMLContentType +{ + + @XmlAttribute(name = "Key", required = true) + protected String key; + + /** + * Gets the value of the key property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKey() { + return key; + } + + /** + * Sets the value of the key property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKey(String value) { + this.key = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxAvailableRequestType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxAvailableRequestType.java new file mode 100644 index 0000000..b28c1c5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxAvailableRequestType.java @@ -0,0 +1,37 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for InfoboxAvailableRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InfoboxAvailableRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InfoboxAvailableRequestType") +public class InfoboxAvailableRequestType { + + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxAvailableResponseType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxAvailableResponseType.java new file mode 100644 index 0000000..3414b04 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxAvailableResponseType.java @@ -0,0 +1,79 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for InfoboxAvailableResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InfoboxAvailableResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <element name="InfoboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InfoboxAvailableResponseType", propOrder = { + "infoboxIdentifier" +}) +public class InfoboxAvailableResponseType { + + @XmlElement(name = "InfoboxIdentifier") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected List<String> infoboxIdentifier; + + /** + * Gets the value of the infoboxIdentifier property. + * + * <p> + * 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 <CODE>set</CODE> method for the infoboxIdentifier property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getInfoboxIdentifier().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getInfoboxIdentifier() { + if (infoboxIdentifier == null) { + infoboxIdentifier = new ArrayList<String>(); + } + return this.infoboxIdentifier; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxCreateRequestType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxCreateRequestType.java new file mode 100644 index 0000000..621afc3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxCreateRequestType.java @@ -0,0 +1,268 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for InfoboxCreateRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InfoboxCreateRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="InfoboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> + * <element name="InfoboxType" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}InfoboxTypeType"/> + * <element name="Creator" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Purpose" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="ReadAccessAuthorization" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AccessAuthorizationType" minOccurs="0"/> + * <element name="UpdateAccessAuthorization" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AccessAuthorizationType" minOccurs="0"/> + * <element name="ReadUserConfirmation" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}UserConfirmationType" minOccurs="0"/> + * <element name="UpdateUserConfirmation" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}UserConfirmationType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InfoboxCreateRequestType", propOrder = { + "infoboxIdentifier", + "infoboxType", + "creator", + "purpose", + "readAccessAuthorization", + "updateAccessAuthorization", + "readUserConfirmation", + "updateUserConfirmation" +}) +public class InfoboxCreateRequestType { + + @XmlElement(name = "InfoboxIdentifier", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String infoboxIdentifier; + @XmlElement(name = "InfoboxType", required = true) + protected InfoboxTypeType infoboxType; + @XmlElement(name = "Creator", required = true) + protected String creator; + @XmlElement(name = "Purpose", required = true) + protected String purpose; + @XmlElement(name = "ReadAccessAuthorization") + protected AccessAuthorizationType readAccessAuthorization; + @XmlElement(name = "UpdateAccessAuthorization") + protected AccessAuthorizationType updateAccessAuthorization; + @XmlElement(name = "ReadUserConfirmation") + protected UserConfirmationType readUserConfirmation; + @XmlElement(name = "UpdateUserConfirmation") + protected UserConfirmationType updateUserConfirmation; + + /** + * Gets the value of the infoboxIdentifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfoboxIdentifier() { + return infoboxIdentifier; + } + + /** + * Sets the value of the infoboxIdentifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfoboxIdentifier(String value) { + this.infoboxIdentifier = value; + } + + /** + * Gets the value of the infoboxType property. + * + * @return + * possible object is + * {@link InfoboxTypeType } + * + */ + public InfoboxTypeType getInfoboxType() { + return infoboxType; + } + + /** + * Sets the value of the infoboxType property. + * + * @param value + * allowed object is + * {@link InfoboxTypeType } + * + */ + public void setInfoboxType(InfoboxTypeType value) { + this.infoboxType = value; + } + + /** + * Gets the value of the creator property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCreator() { + return creator; + } + + /** + * Sets the value of the creator property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCreator(String value) { + this.creator = value; + } + + /** + * Gets the value of the purpose property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPurpose() { + return purpose; + } + + /** + * Sets the value of the purpose property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPurpose(String value) { + this.purpose = value; + } + + /** + * Gets the value of the readAccessAuthorization property. + * + * @return + * possible object is + * {@link AccessAuthorizationType } + * + */ + public AccessAuthorizationType getReadAccessAuthorization() { + return readAccessAuthorization; + } + + /** + * Sets the value of the readAccessAuthorization property. + * + * @param value + * allowed object is + * {@link AccessAuthorizationType } + * + */ + public void setReadAccessAuthorization(AccessAuthorizationType value) { + this.readAccessAuthorization = value; + } + + /** + * Gets the value of the updateAccessAuthorization property. + * + * @return + * possible object is + * {@link AccessAuthorizationType } + * + */ + public AccessAuthorizationType getUpdateAccessAuthorization() { + return updateAccessAuthorization; + } + + /** + * Sets the value of the updateAccessAuthorization property. + * + * @param value + * allowed object is + * {@link AccessAuthorizationType } + * + */ + public void setUpdateAccessAuthorization(AccessAuthorizationType value) { + this.updateAccessAuthorization = value; + } + + /** + * Gets the value of the readUserConfirmation property. + * + * @return + * possible object is + * {@link UserConfirmationType } + * + */ + public UserConfirmationType getReadUserConfirmation() { + return readUserConfirmation; + } + + /** + * Sets the value of the readUserConfirmation property. + * + * @param value + * allowed object is + * {@link UserConfirmationType } + * + */ + public void setReadUserConfirmation(UserConfirmationType value) { + this.readUserConfirmation = value; + } + + /** + * Gets the value of the updateUserConfirmation property. + * + * @return + * possible object is + * {@link UserConfirmationType } + * + */ + public UserConfirmationType getUpdateUserConfirmation() { + return updateUserConfirmation; + } + + /** + * Sets the value of the updateUserConfirmation property. + * + * @param value + * allowed object is + * {@link UserConfirmationType } + * + */ + public void setUpdateUserConfirmation(UserConfirmationType value) { + this.updateUserConfirmation = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxCreateResponseType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxCreateResponseType.java new file mode 100644 index 0000000..418367e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxCreateResponseType.java @@ -0,0 +1,37 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for InfoboxCreateResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InfoboxCreateResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InfoboxCreateResponseType") +public class InfoboxCreateResponseType { + + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxDeleteRequestType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxDeleteRequestType.java new file mode 100644 index 0000000..15d06aa --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxDeleteRequestType.java @@ -0,0 +1,72 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for InfoboxDeleteRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InfoboxDeleteRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="InfoboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InfoboxDeleteRequestType", propOrder = { + "infoboxIdentifier" +}) +public class InfoboxDeleteRequestType { + + @XmlElement(name = "InfoboxIdentifier", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String infoboxIdentifier; + + /** + * Gets the value of the infoboxIdentifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfoboxIdentifier() { + return infoboxIdentifier; + } + + /** + * Sets the value of the infoboxIdentifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfoboxIdentifier(String value) { + this.infoboxIdentifier = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxDeleteResponseType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxDeleteResponseType.java new file mode 100644 index 0000000..d88bfc3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxDeleteResponseType.java @@ -0,0 +1,37 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for InfoboxDeleteResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InfoboxDeleteResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InfoboxDeleteResponseType") +public class InfoboxDeleteResponseType { + + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxReadDataAssocArrayType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxReadDataAssocArrayType.java new file mode 100644 index 0000000..6a8b621 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxReadDataAssocArrayType.java @@ -0,0 +1,116 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for InfoboxReadDataAssocArrayType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InfoboxReadDataAssocArrayType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <element name="Key" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> + * </sequence> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <element name="Pair" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}InfoboxAssocArrayPairType"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InfoboxReadDataAssocArrayType", propOrder = { + "key", + "pair" +}) +public class InfoboxReadDataAssocArrayType { + + @XmlElement(name = "Key") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected List<String> key; + @XmlElement(name = "Pair") + protected List<InfoboxAssocArrayPairType> pair; + + /** + * Gets the value of the key property. + * + * <p> + * 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 <CODE>set</CODE> method for the key property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getKey().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getKey() { + if (key == null) { + key = new ArrayList<String>(); + } + return this.key; + } + + /** + * Gets the value of the pair property. + * + * <p> + * 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 <CODE>set</CODE> method for the pair property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getPair().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link InfoboxAssocArrayPairType } + * + * + */ + public List<InfoboxAssocArrayPairType> getPair() { + if (pair == null) { + pair = new ArrayList<InfoboxAssocArrayPairType>(); + } + return this.pair; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxReadParamsAssocArrayType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxReadParamsAssocArrayType.java new file mode 100644 index 0000000..ceed4f0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxReadParamsAssocArrayType.java @@ -0,0 +1,434 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for InfoboxReadParamsAssocArrayType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InfoboxReadParamsAssocArrayType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="ReadKeys"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="SearchString" use="required" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}WildCardSearchStringType" /> + * <attribute name="UserMakesUnique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="ReadPairs"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="SearchString" use="required" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}WildCardSearchStringType" /> + * <attribute name="UserMakesUnique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * <attribute name="ValuesAreXMLEntities" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="ReadValue"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Key" use="required" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType" /> + * <attribute name="ValueIsXMLEntity" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InfoboxReadParamsAssocArrayType", propOrder = { + "readKeys", + "readPairs", + "readValue" +}) +public class InfoboxReadParamsAssocArrayType { + + @XmlElement(name = "ReadKeys") + protected InfoboxReadParamsAssocArrayType.ReadKeys readKeys; + @XmlElement(name = "ReadPairs") + protected InfoboxReadParamsAssocArrayType.ReadPairs readPairs; + @XmlElement(name = "ReadValue") + protected InfoboxReadParamsAssocArrayType.ReadValue readValue; + + /** + * Gets the value of the readKeys property. + * + * @return + * possible object is + * {@link InfoboxReadParamsAssocArrayType.ReadKeys } + * + */ + public InfoboxReadParamsAssocArrayType.ReadKeys getReadKeys() { + return readKeys; + } + + /** + * Sets the value of the readKeys property. + * + * @param value + * allowed object is + * {@link InfoboxReadParamsAssocArrayType.ReadKeys } + * + */ + public void setReadKeys(InfoboxReadParamsAssocArrayType.ReadKeys value) { + this.readKeys = value; + } + + /** + * Gets the value of the readPairs property. + * + * @return + * possible object is + * {@link InfoboxReadParamsAssocArrayType.ReadPairs } + * + */ + public InfoboxReadParamsAssocArrayType.ReadPairs getReadPairs() { + return readPairs; + } + + /** + * Sets the value of the readPairs property. + * + * @param value + * allowed object is + * {@link InfoboxReadParamsAssocArrayType.ReadPairs } + * + */ + public void setReadPairs(InfoboxReadParamsAssocArrayType.ReadPairs value) { + this.readPairs = value; + } + + /** + * Gets the value of the readValue property. + * + * @return + * possible object is + * {@link InfoboxReadParamsAssocArrayType.ReadValue } + * + */ + public InfoboxReadParamsAssocArrayType.ReadValue getReadValue() { + return readValue; + } + + /** + * Sets the value of the readValue property. + * + * @param value + * allowed object is + * {@link InfoboxReadParamsAssocArrayType.ReadValue } + * + */ + public void setReadValue(InfoboxReadParamsAssocArrayType.ReadValue value) { + this.readValue = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="SearchString" use="required" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}WildCardSearchStringType" /> + * <attribute name="UserMakesUnique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class ReadKeys { + + @XmlAttribute(name = "SearchString", required = true) + protected String searchString; + @XmlAttribute(name = "UserMakesUnique") + protected Boolean userMakesUnique; + + /** + * Gets the value of the searchString property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSearchString() { + return searchString; + } + + /** + * Sets the value of the searchString property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSearchString(String value) { + this.searchString = value; + } + + /** + * Gets the value of the userMakesUnique property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean getUserMakesUnique() { + if (userMakesUnique == null) { + return false; + } else { + return userMakesUnique; + } + } + + /** + * Sets the value of the userMakesUnique property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setUserMakesUnique(Boolean value) { + this.userMakesUnique = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="SearchString" use="required" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}WildCardSearchStringType" /> + * <attribute name="UserMakesUnique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * <attribute name="ValuesAreXMLEntities" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class ReadPairs { + + @XmlAttribute(name = "SearchString", required = true) + protected String searchString; + @XmlAttribute(name = "UserMakesUnique") + protected Boolean userMakesUnique; + @XmlAttribute(name = "ValuesAreXMLEntities") + protected Boolean valuesAreXMLEntities; + + /** + * Gets the value of the searchString property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSearchString() { + return searchString; + } + + /** + * Sets the value of the searchString property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSearchString(String value) { + this.searchString = value; + } + + /** + * Gets the value of the userMakesUnique property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean getUserMakesUnique() { + if (userMakesUnique == null) { + return false; + } else { + return userMakesUnique; + } + } + + /** + * Sets the value of the userMakesUnique property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setUserMakesUnique(Boolean value) { + this.userMakesUnique = value; + } + + /** + * Gets the value of the valuesAreXMLEntities property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean getValuesAreXMLEntities() { + if (valuesAreXMLEntities == null) { + return false; + } else { + return valuesAreXMLEntities; + } + } + + /** + * Sets the value of the valuesAreXMLEntities property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setValuesAreXMLEntities(Boolean value) { + this.valuesAreXMLEntities = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Key" use="required" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType" /> + * <attribute name="ValueIsXMLEntity" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class ReadValue { + + @XmlAttribute(name = "Key", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String key; + @XmlAttribute(name = "ValueIsXMLEntity") + protected Boolean valueIsXMLEntity; + + /** + * Gets the value of the key property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKey() { + return key; + } + + /** + * Sets the value of the key property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKey(String value) { + this.key = value; + } + + /** + * Gets the value of the valueIsXMLEntity property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean getValueIsXMLEntity() { + if (valueIsXMLEntity == null) { + return false; + } else { + return valueIsXMLEntity; + } + } + + /** + * Sets the value of the valueIsXMLEntity property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setValueIsXMLEntity(Boolean value) { + this.valueIsXMLEntity = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxReadParamsBinaryFileType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxReadParamsBinaryFileType.java new file mode 100644 index 0000000..a959a5b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxReadParamsBinaryFileType.java @@ -0,0 +1,69 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for InfoboxReadParamsBinaryFileType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InfoboxReadParamsBinaryFileType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="ContentIsXMLEntity" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InfoboxReadParamsBinaryFileType") +public class InfoboxReadParamsBinaryFileType { + + @XmlAttribute(name = "ContentIsXMLEntity") + protected Boolean contentIsXMLEntity; + + /** + * Gets the value of the contentIsXMLEntity property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean getContentIsXMLEntity() { + if (contentIsXMLEntity == null) { + return false; + } else { + return contentIsXMLEntity; + } + } + + /** + * Sets the value of the contentIsXMLEntity property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setContentIsXMLEntity(Boolean value) { + this.contentIsXMLEntity = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxReadRequestType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxReadRequestType.java new file mode 100644 index 0000000..42294d0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxReadRequestType.java @@ -0,0 +1,158 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for InfoboxReadRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InfoboxReadRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="InfoboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> + * <choice> + * <element name="BinaryFileParameters" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}InfoboxReadParamsBinaryFileType"/> + * <element name="AssocArrayParameters" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}InfoboxReadParamsAssocArrayType"/> + * </choice> + * <element name="BoxSpecificParameters" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AnyChildrenType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InfoboxReadRequestType", propOrder = { + "infoboxIdentifier", + "binaryFileParameters", + "assocArrayParameters", + "boxSpecificParameters" +}) +public class InfoboxReadRequestType { + + @XmlElement(name = "InfoboxIdentifier", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String infoboxIdentifier; + @XmlElement(name = "BinaryFileParameters") + protected InfoboxReadParamsBinaryFileType binaryFileParameters; + @XmlElement(name = "AssocArrayParameters") + protected InfoboxReadParamsAssocArrayType assocArrayParameters; + @XmlElement(name = "BoxSpecificParameters") + protected AnyChildrenType boxSpecificParameters; + + /** + * Gets the value of the infoboxIdentifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfoboxIdentifier() { + return infoboxIdentifier; + } + + /** + * Sets the value of the infoboxIdentifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfoboxIdentifier(String value) { + this.infoboxIdentifier = value; + } + + /** + * Gets the value of the binaryFileParameters property. + * + * @return + * possible object is + * {@link InfoboxReadParamsBinaryFileType } + * + */ + public InfoboxReadParamsBinaryFileType getBinaryFileParameters() { + return binaryFileParameters; + } + + /** + * Sets the value of the binaryFileParameters property. + * + * @param value + * allowed object is + * {@link InfoboxReadParamsBinaryFileType } + * + */ + public void setBinaryFileParameters(InfoboxReadParamsBinaryFileType value) { + this.binaryFileParameters = value; + } + + /** + * Gets the value of the assocArrayParameters property. + * + * @return + * possible object is + * {@link InfoboxReadParamsAssocArrayType } + * + */ + public InfoboxReadParamsAssocArrayType getAssocArrayParameters() { + return assocArrayParameters; + } + + /** + * Sets the value of the assocArrayParameters property. + * + * @param value + * allowed object is + * {@link InfoboxReadParamsAssocArrayType } + * + */ + public void setAssocArrayParameters(InfoboxReadParamsAssocArrayType value) { + this.assocArrayParameters = value; + } + + /** + * Gets the value of the boxSpecificParameters property. + * + * @return + * possible object is + * {@link AnyChildrenType } + * + */ + public AnyChildrenType getBoxSpecificParameters() { + return boxSpecificParameters; + } + + /** + * Sets the value of the boxSpecificParameters property. + * + * @param value + * allowed object is + * {@link AnyChildrenType } + * + */ + public void setBoxSpecificParameters(AnyChildrenType value) { + this.boxSpecificParameters = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxReadResponseType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxReadResponseType.java new file mode 100644 index 0000000..ad1f731 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxReadResponseType.java @@ -0,0 +1,97 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for InfoboxReadResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InfoboxReadResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="BinaryFileData" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLContentType"/> + * <element name="AssocArrayData" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}InfoboxReadDataAssocArrayType"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InfoboxReadResponseType", propOrder = { + "binaryFileData", + "assocArrayData" +}) +public class InfoboxReadResponseType { + + @XmlElement(name = "BinaryFileData") + protected Base64XMLContentType binaryFileData; + @XmlElement(name = "AssocArrayData") + protected InfoboxReadDataAssocArrayType assocArrayData; + + /** + * Gets the value of the binaryFileData property. + * + * @return + * possible object is + * {@link Base64XMLContentType } + * + */ + public Base64XMLContentType getBinaryFileData() { + return binaryFileData; + } + + /** + * Sets the value of the binaryFileData property. + * + * @param value + * allowed object is + * {@link Base64XMLContentType } + * + */ + public void setBinaryFileData(Base64XMLContentType value) { + this.binaryFileData = value; + } + + /** + * Gets the value of the assocArrayData property. + * + * @return + * possible object is + * {@link InfoboxReadDataAssocArrayType } + * + */ + public InfoboxReadDataAssocArrayType getAssocArrayData() { + return assocArrayData; + } + + /** + * Sets the value of the assocArrayData property. + * + * @param value + * allowed object is + * {@link InfoboxReadDataAssocArrayType } + * + */ + public void setAssocArrayData(InfoboxReadDataAssocArrayType value) { + this.assocArrayData = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxTypeType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxTypeType.java new file mode 100644 index 0000000..380489a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxTypeType.java @@ -0,0 +1,58 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for InfoboxTypeType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="InfoboxTypeType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="BinaryFile"/> + * <enumeration value="AssocArray"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "InfoboxTypeType") +@XmlEnum +public enum InfoboxTypeType { + + @XmlEnumValue("BinaryFile") + BINARY_FILE("BinaryFile"), + @XmlEnumValue("AssocArray") + ASSOC_ARRAY("AssocArray"); + private final String value; + + InfoboxTypeType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static InfoboxTypeType fromValue(String v) { + for (InfoboxTypeType c: InfoboxTypeType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxUpdateParamsAssocArrayType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxUpdateParamsAssocArrayType.java new file mode 100644 index 0000000..dc26a3b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxUpdateParamsAssocArrayType.java @@ -0,0 +1,281 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for InfoboxUpdateParamsAssocArrayType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InfoboxUpdateParamsAssocArrayType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="UpdateKey"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Key" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * <attribute name="NewKey" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="UpdateValue" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}InfoboxAssocArrayPairType"/> + * <element name="DeletePair"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Key" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InfoboxUpdateParamsAssocArrayType", propOrder = { + "updateKey", + "updateValue", + "deletePair" +}) +public class InfoboxUpdateParamsAssocArrayType { + + @XmlElement(name = "UpdateKey") + protected InfoboxUpdateParamsAssocArrayType.UpdateKey updateKey; + @XmlElement(name = "UpdateValue") + protected InfoboxAssocArrayPairType updateValue; + @XmlElement(name = "DeletePair") + protected InfoboxUpdateParamsAssocArrayType.DeletePair deletePair; + + /** + * Gets the value of the updateKey property. + * + * @return + * possible object is + * {@link InfoboxUpdateParamsAssocArrayType.UpdateKey } + * + */ + public InfoboxUpdateParamsAssocArrayType.UpdateKey getUpdateKey() { + return updateKey; + } + + /** + * Sets the value of the updateKey property. + * + * @param value + * allowed object is + * {@link InfoboxUpdateParamsAssocArrayType.UpdateKey } + * + */ + public void setUpdateKey(InfoboxUpdateParamsAssocArrayType.UpdateKey value) { + this.updateKey = value; + } + + /** + * Gets the value of the updateValue property. + * + * @return + * possible object is + * {@link InfoboxAssocArrayPairType } + * + */ + public InfoboxAssocArrayPairType getUpdateValue() { + return updateValue; + } + + /** + * Sets the value of the updateValue property. + * + * @param value + * allowed object is + * {@link InfoboxAssocArrayPairType } + * + */ + public void setUpdateValue(InfoboxAssocArrayPairType value) { + this.updateValue = value; + } + + /** + * Gets the value of the deletePair property. + * + * @return + * possible object is + * {@link InfoboxUpdateParamsAssocArrayType.DeletePair } + * + */ + public InfoboxUpdateParamsAssocArrayType.DeletePair getDeletePair() { + return deletePair; + } + + /** + * Sets the value of the deletePair property. + * + * @param value + * allowed object is + * {@link InfoboxUpdateParamsAssocArrayType.DeletePair } + * + */ + public void setDeletePair(InfoboxUpdateParamsAssocArrayType.DeletePair value) { + this.deletePair = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Key" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class DeletePair { + + @XmlAttribute(name = "Key", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String key; + + /** + * Gets the value of the key property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKey() { + return key; + } + + /** + * Sets the value of the key property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKey(String value) { + this.key = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Key" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * <attribute name="NewKey" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class UpdateKey { + + @XmlAttribute(name = "Key", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String key; + @XmlAttribute(name = "NewKey", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String newKey; + + /** + * Gets the value of the key property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKey() { + return key; + } + + /** + * Sets the value of the key property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKey(String value) { + this.key = value; + } + + /** + * Gets the value of the newKey property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNewKey() { + return newKey; + } + + /** + * Sets the value of the newKey property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNewKey(String value) { + this.newKey = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxUpdateRequestType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxUpdateRequestType.java new file mode 100644 index 0000000..226587b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxUpdateRequestType.java @@ -0,0 +1,158 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for InfoboxUpdateRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InfoboxUpdateRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="InfoboxIdentifier" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}BoxIdentifierType"/> + * <choice> + * <element name="BinaryFileParameters" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLContentType"/> + * <element name="AssocArrayParameters" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}InfoboxUpdateParamsAssocArrayType"/> + * </choice> + * <element name="BoxSpecificParameters" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AnyChildrenType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InfoboxUpdateRequestType", propOrder = { + "infoboxIdentifier", + "binaryFileParameters", + "assocArrayParameters", + "boxSpecificParameters" +}) +public class InfoboxUpdateRequestType { + + @XmlElement(name = "InfoboxIdentifier", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String infoboxIdentifier; + @XmlElement(name = "BinaryFileParameters") + protected Base64XMLContentType binaryFileParameters; + @XmlElement(name = "AssocArrayParameters") + protected InfoboxUpdateParamsAssocArrayType assocArrayParameters; + @XmlElement(name = "BoxSpecificParameters") + protected AnyChildrenType boxSpecificParameters; + + /** + * Gets the value of the infoboxIdentifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfoboxIdentifier() { + return infoboxIdentifier; + } + + /** + * Sets the value of the infoboxIdentifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfoboxIdentifier(String value) { + this.infoboxIdentifier = value; + } + + /** + * Gets the value of the binaryFileParameters property. + * + * @return + * possible object is + * {@link Base64XMLContentType } + * + */ + public Base64XMLContentType getBinaryFileParameters() { + return binaryFileParameters; + } + + /** + * Sets the value of the binaryFileParameters property. + * + * @param value + * allowed object is + * {@link Base64XMLContentType } + * + */ + public void setBinaryFileParameters(Base64XMLContentType value) { + this.binaryFileParameters = value; + } + + /** + * Gets the value of the assocArrayParameters property. + * + * @return + * possible object is + * {@link InfoboxUpdateParamsAssocArrayType } + * + */ + public InfoboxUpdateParamsAssocArrayType getAssocArrayParameters() { + return assocArrayParameters; + } + + /** + * Sets the value of the assocArrayParameters property. + * + * @param value + * allowed object is + * {@link InfoboxUpdateParamsAssocArrayType } + * + */ + public void setAssocArrayParameters(InfoboxUpdateParamsAssocArrayType value) { + this.assocArrayParameters = value; + } + + /** + * Gets the value of the boxSpecificParameters property. + * + * @return + * possible object is + * {@link AnyChildrenType } + * + */ + public AnyChildrenType getBoxSpecificParameters() { + return boxSpecificParameters; + } + + /** + * Sets the value of the boxSpecificParameters property. + * + * @param value + * allowed object is + * {@link AnyChildrenType } + * + */ + public void setBoxSpecificParameters(AnyChildrenType value) { + this.boxSpecificParameters = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/InfoboxUpdateResponseType.java b/src/main/java/at/gv/util/xsd/sl/InfoboxUpdateResponseType.java new file mode 100644 index 0000000..3d8e833 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/InfoboxUpdateResponseType.java @@ -0,0 +1,37 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for InfoboxUpdateResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InfoboxUpdateResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InfoboxUpdateResponseType") +public class InfoboxUpdateResponseType { + + +} diff --git a/src/main/java/at/gv/util/xsd/sl/ManifestRefsCheckResultInfoType.java b/src/main/java/at/gv/util/xsd/sl/ManifestRefsCheckResultInfoType.java new file mode 100644 index 0000000..3f75591 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/ManifestRefsCheckResultInfoType.java @@ -0,0 +1,93 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for ManifestRefsCheckResultInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ManifestRefsCheckResultInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ReferringSigReference" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * <element name="FailedReference" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" maxOccurs="unbounded" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ManifestRefsCheckResultInfoType", propOrder = { + "content" +}) +public class ManifestRefsCheckResultInfoType { + + @XmlElementRefs({ + @XmlElementRef(name = "FailedReference", namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", type = JAXBElement.class), + @XmlElementRef(name = "ReferringSigReference", namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", type = JAXBElement.class) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * {@link Object } + * {@link Element } + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/ManifestRefsCheckResultType.java b/src/main/java/at/gv/util/xsd/sl/ManifestRefsCheckResultType.java new file mode 100644 index 0000000..523532c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/ManifestRefsCheckResultType.java @@ -0,0 +1,100 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ManifestRefsCheckResultType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ManifestRefsCheckResultType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/> + * <element name="Info" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ManifestRefsCheckResultInfoType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ManifestRefsCheckResultType", propOrder = { + "code", + "info" +}) +public class ManifestRefsCheckResultType { + + @XmlElement(name = "Code", required = true) + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger code; + @XmlElement(name = "Info", required = true) + protected ManifestRefsCheckResultInfoType info; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link ManifestRefsCheckResultInfoType } + * + */ + public ManifestRefsCheckResultInfoType getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link ManifestRefsCheckResultInfoType } + * + */ + public void setInfo(ManifestRefsCheckResultInfoType value) { + this.info = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/MetaInfoType.java b/src/main/java/at/gv/util/xsd/sl/MetaInfoType.java new file mode 100644 index 0000000..3b001cb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/MetaInfoType.java @@ -0,0 +1,136 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for MetaInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="MetaInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="MimeType" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MimeTypeType"/> + * <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "MetaInfoType", propOrder = { + "mimeType", + "description", + "any" +}) +public class MetaInfoType { + + @XmlElement(name = "MimeType", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String mimeType; + @XmlElement(name = "Description") + protected String description; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the mimeType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMimeType() { + return mimeType; + } + + /** + * Sets the value of the mimeType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMimeType(String value) { + this.mimeType = value; + } + + /** + * Gets the value of the description property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDescription() { + return description; + } + + /** + * Sets the value of the description property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDescription(String value) { + this.description = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/NullOperationRequestType.java b/src/main/java/at/gv/util/xsd/sl/NullOperationRequestType.java new file mode 100644 index 0000000..d30e3e8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/NullOperationRequestType.java @@ -0,0 +1,37 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for NullOperationRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="NullOperationRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NullOperationRequestType") +public class NullOperationRequestType { + + +} diff --git a/src/main/java/at/gv/util/xsd/sl/NullOperationResponseType.java b/src/main/java/at/gv/util/xsd/sl/NullOperationResponseType.java new file mode 100644 index 0000000..373c360 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/NullOperationResponseType.java @@ -0,0 +1,37 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for NullOperationResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="NullOperationResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NullOperationResponseType") +public class NullOperationResponseType { + + +} diff --git a/src/main/java/at/gv/util/xsd/sl/ObjectFactory.java b/src/main/java/at/gv/util/xsd/sl/ObjectFactory.java new file mode 100644 index 0000000..9f0d6ae --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/ObjectFactory.java @@ -0,0 +1,1249 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import java.math.BigInteger; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; +import at.gv.util.xsd.sl.xmldsig.KeyInfoType; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.sl package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _DecryptXMLResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "DecryptXMLResponse"); + private final static QName _GetPropertiesResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "GetPropertiesResponse"); + private final static QName _IdentityLinkDomainIdentifier_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "IdentityLinkDomainIdentifier"); + private final static QName _InfoboxDeleteResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxDeleteResponse"); + private final static QName _EncryptCMSResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "EncryptCMSResponse"); + private final static QName _VerifyXMLSignatureResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "VerifyXMLSignatureResponse"); + private final static QName _InfoboxUpdateRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxUpdateRequest"); + private final static QName _DecryptXMLRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "DecryptXMLRequest"); + private final static QName _ErrorResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "ErrorResponse"); + private final static QName _CreateXMLSignatureRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "CreateXMLSignatureRequest"); + private final static QName _InfoboxCreateResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxCreateResponse"); + private final static QName _VerifyHashRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "VerifyHashRequest"); + private final static QName _GetStatusRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "GetStatusRequest"); + private final static QName _VerifyXMLSignatureRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "VerifyXMLSignatureRequest"); + private final static QName _InfoboxAvailableRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxAvailableRequest"); + private final static QName _VerifyHashResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "VerifyHashResponse"); + private final static QName _InfoboxUpdateResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxUpdateResponse"); + private final static QName _InfoboxDeleteRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxDeleteRequest"); + private final static QName _QualifiedCertificate_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "QualifiedCertificate"); + private final static QName _DecryptCMSRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "DecryptCMSRequest"); + private final static QName _NullOperationResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "NullOperationResponse"); + private final static QName _InfoboxCreateRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxCreateRequest"); + private final static QName _CreateHashResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "CreateHashResponse"); + private final static QName _InfoboxReadRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxReadRequest"); + private final static QName _DecryptCMSResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "DecryptCMSResponse"); + private final static QName _EncryptCMSRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "EncryptCMSRequest"); + private final static QName _EncryptXMLResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "EncryptXMLResponse"); + private final static QName _CreateHashRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "CreateHashRequest"); + private final static QName _VerifyCMSSignatureRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "VerifyCMSSignatureRequest"); + private final static QName _InfoboxReadResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxReadResponse"); + private final static QName _NullOperationRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "NullOperationRequest"); + private final static QName _GetStatusResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "GetStatusResponse"); + private final static QName _CreateCMSSignatureRequest_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "CreateCMSSignatureRequest"); + private final static QName _VerifyCMSSignatureResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "VerifyCMSSignatureResponse"); + private final static QName _CreateCMSSignatureResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "CreateCMSSignatureResponse"); + private final static QName _InfoboxAvailableResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "InfoboxAvailableResponse"); + private final static QName _CreateXMLSignatureResponse_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "CreateXMLSignatureResponse"); + private final static QName _VerifyCMSSignatureResponseTypeSignatureCheck_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "SignatureCheck"); + private final static QName _VerifyCMSSignatureResponseTypeCertificateCheck_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "CertificateCheck"); + private final static QName _VerifyCMSSignatureResponseTypeSignerInfo_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "SignerInfo"); + private final static QName _ManifestRefsCheckResultInfoTypeReferringSigReference_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "ReferringSigReference"); + private final static QName _ManifestRefsCheckResultInfoTypeFailedReference_QNAME = new QName("http://www.buergerkarte.at/namespaces/securitylayer/1.2#", "FailedReference"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.sl + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link DecryptXMLRequestType } + * + */ + public DecryptXMLRequestType createDecryptXMLRequestType() { + return new DecryptXMLRequestType(); + } + + /** + * Create an instance of {@link VerifyHashRequestType } + * + */ + public VerifyHashRequestType createVerifyHashRequestType() { + return new VerifyHashRequestType(); + } + + /** + * Create an instance of {@link InfoboxUpdateParamsAssocArrayType.DeletePair } + * + */ + public InfoboxUpdateParamsAssocArrayType.DeletePair createInfoboxUpdateParamsAssocArrayTypeDeletePair() { + return new InfoboxUpdateParamsAssocArrayType.DeletePair(); + } + + /** + * Create an instance of {@link ReferencesCheckResultType } + * + */ + public ReferencesCheckResultType createReferencesCheckResultType() { + return new ReferencesCheckResultType(); + } + + /** + * Create an instance of {@link EncryptXMLResponseType.EncryptionEnvironment } + * + */ + public EncryptXMLResponseType.EncryptionEnvironment createEncryptXMLResponseTypeEncryptionEnvironment() { + return new EncryptXMLResponseType.EncryptionEnvironment(); + } + + /** + * Create an instance of {@link VerifyXMLSignatureResponseType } + * + */ + public VerifyXMLSignatureResponseType createVerifyXMLSignatureResponseType() { + return new VerifyXMLSignatureResponseType(); + } + + /** + * Create an instance of {@link EncryptXMLRequestType } + * + */ + public EncryptXMLRequestType createEncryptXMLRequestType() { + return new EncryptXMLRequestType(); + } + + /** + * Create an instance of {@link InfoboxAssocArrayPairType } + * + */ + public InfoboxAssocArrayPairType createInfoboxAssocArrayPairType() { + return new InfoboxAssocArrayPairType(); + } + + /** + * Create an instance of {@link EncryptCMSRequestType } + * + */ + public EncryptCMSRequestType createEncryptCMSRequestType() { + return new EncryptCMSRequestType(); + } + + /** + * Create an instance of {@link SignatureInfoCreationType } + * + */ + public SignatureInfoCreationType createSignatureInfoCreationType() { + return new SignatureInfoCreationType(); + } + + /** + * Create an instance of {@link CreateHashRequestType } + * + */ + public CreateHashRequestType createCreateHashRequestType() { + return new CreateHashRequestType(); + } + + /** + * Create an instance of {@link Base64XMLOptRefContentType } + * + */ + public Base64XMLOptRefContentType createBase64XMLOptRefContentType() { + return new Base64XMLOptRefContentType(); + } + + /** + * Create an instance of {@link CMSRecipientPublicKeyType } + * + */ + public CMSRecipientPublicKeyType createCMSRecipientPublicKeyType() { + return new CMSRecipientPublicKeyType(); + } + + /** + * Create an instance of {@link CMSToBeEncryptedType } + * + */ + public CMSToBeEncryptedType createCMSToBeEncryptedType() { + return new CMSToBeEncryptedType(); + } + + /** + * Create an instance of {@link Base64XMLLocRefOptRefContentType } + * + */ + public Base64XMLLocRefOptRefContentType createBase64XMLLocRefOptRefContentType() { + return new Base64XMLLocRefOptRefContentType(); + } + + /** + * Create an instance of {@link InfoboxUpdateRequestType } + * + */ + public InfoboxUpdateRequestType createInfoboxUpdateRequestType() { + return new InfoboxUpdateRequestType(); + } + + /** + * Create an instance of {@link VerifyCMSSignatureRequestType } + * + */ + public VerifyCMSSignatureRequestType createVerifyCMSSignatureRequestType() { + return new VerifyCMSSignatureRequestType(); + } + + /** + * Create an instance of {@link CreateHashInfoResponseType } + * + */ + public CreateHashInfoResponseType createCreateHashInfoResponseType() { + return new CreateHashInfoResponseType(); + } + + /** + * Create an instance of {@link CMSDataObjectRequiredMetaType } + * + */ + public CMSDataObjectRequiredMetaType createCMSDataObjectRequiredMetaType() { + return new CMSDataObjectRequiredMetaType(); + } + + /** + * Create an instance of {@link UserConfirmationType } + * + */ + public UserConfirmationType createUserConfirmationType() { + return new UserConfirmationType(); + } + + /** + * Create an instance of {@link Base64OptRefContentType } + * + */ + public Base64OptRefContentType createBase64OptRefContentType() { + return new Base64OptRefContentType(); + } + + /** + * Create an instance of {@link InfoboxReadParamsAssocArrayType.ReadKeys } + * + */ + public InfoboxReadParamsAssocArrayType.ReadKeys createInfoboxReadParamsAssocArrayTypeReadKeys() { + return new InfoboxReadParamsAssocArrayType.ReadKeys(); + } + + /** + * Create an instance of {@link NullOperationResponseType } + * + */ + public NullOperationResponseType createNullOperationResponseType() { + return new NullOperationResponseType(); + } + + /** + * Create an instance of {@link EncryptionInfoType } + * + */ + public EncryptionInfoType createEncryptionInfoType() { + return new EncryptionInfoType(); + } + + /** + * Create an instance of {@link CreateHashInfoRequestType } + * + */ + public CreateHashInfoRequestType createCreateHashInfoRequestType() { + return new CreateHashInfoRequestType(); + } + + /** + * Create an instance of {@link GetPropertiesRequest } + * + */ + public GetPropertiesRequest createGetPropertiesRequest() { + return new GetPropertiesRequest(); + } + + /** + * Create an instance of {@link InfoboxUpdateParamsAssocArrayType } + * + */ + public InfoboxUpdateParamsAssocArrayType createInfoboxUpdateParamsAssocArrayType() { + return new InfoboxUpdateParamsAssocArrayType(); + } + + /** + * Create an instance of {@link DataObjectInfoType } + * + */ + public DataObjectInfoType createDataObjectInfoType() { + return new DataObjectInfoType(); + } + + /** + * Create an instance of {@link DataObjectAssociationType } + * + */ + public DataObjectAssociationType createDataObjectAssociationType() { + return new DataObjectAssociationType(); + } + + /** + * Create an instance of {@link EncryptXMLRequest } + * + */ + public EncryptXMLRequest createEncryptXMLRequest() { + return new EncryptXMLRequest(); + } + + /** + * Create an instance of {@link ManifestRefsCheckResultInfoType } + * + */ + public ManifestRefsCheckResultInfoType createManifestRefsCheckResultInfoType() { + return new ManifestRefsCheckResultInfoType(); + } + + /** + * Create an instance of {@link ManifestRefsCheckResultType } + * + */ + public ManifestRefsCheckResultType createManifestRefsCheckResultType() { + return new ManifestRefsCheckResultType(); + } + + /** + * Create an instance of {@link VerifyHashInfoRequestType } + * + */ + public VerifyHashInfoRequestType createVerifyHashInfoRequestType() { + return new VerifyHashInfoRequestType(); + } + + /** + * Create an instance of {@link VerifyHashResponseType } + * + */ + public VerifyHashResponseType createVerifyHashResponseType() { + return new VerifyHashResponseType(); + } + + /** + * Create an instance of {@link ToBeEncryptedType.Element } + * + */ + public ToBeEncryptedType.Element createToBeEncryptedTypeElement() { + return new ToBeEncryptedType.Element(); + } + + /** + * Create an instance of {@link EncryptedDataType } + * + */ + public EncryptedDataType createEncryptedDataType() { + return new EncryptedDataType(); + } + + /** + * Create an instance of {@link NullOperationRequestType } + * + */ + public NullOperationRequestType createNullOperationRequestType() { + return new NullOperationRequestType(); + } + + /** + * Create an instance of {@link BindingType } + * + */ + public BindingType createBindingType() { + return new BindingType(); + } + + /** + * Create an instance of {@link EncryptionInfoType.EncryptedKeyLocation } + * + */ + public EncryptionInfoType.EncryptedKeyLocation createEncryptionInfoTypeEncryptedKeyLocation() { + return new EncryptionInfoType.EncryptedKeyLocation(); + } + + /** + * Create an instance of {@link CMSEncryptedContentType } + * + */ + public CMSEncryptedContentType createCMSEncryptedContentType() { + return new CMSEncryptedContentType(); + } + + /** + * Create an instance of {@link InfoboxUpdateResponseType } + * + */ + public InfoboxUpdateResponseType createInfoboxUpdateResponseType() { + return new InfoboxUpdateResponseType(); + } + + /** + * Create an instance of {@link GetPropertiesRequestType } + * + */ + public GetPropertiesRequestType createGetPropertiesRequestType() { + return new GetPropertiesRequestType(); + } + + /** + * Create an instance of {@link GetStatusResponseType } + * + */ + public GetStatusResponseType createGetStatusResponseType() { + return new GetStatusResponseType(); + } + + /** + * Create an instance of {@link AnyMixedChildrenType } + * + */ + public AnyMixedChildrenType createAnyMixedChildrenType() { + return new AnyMixedChildrenType(); + } + + /** + * Create an instance of {@link VerifyCMSSignatureResponseType } + * + */ + public VerifyCMSSignatureResponseType createVerifyCMSSignatureResponseType() { + return new VerifyCMSSignatureResponseType(); + } + + /** + * Create an instance of {@link ErrorResponseType } + * + */ + public ErrorResponseType createErrorResponseType() { + return new ErrorResponseType(); + } + + /** + * Create an instance of {@link InfoboxReadRequestType } + * + */ + public InfoboxReadRequestType createInfoboxReadRequestType() { + return new InfoboxReadRequestType(); + } + + /** + * Create an instance of {@link ToBeEncryptedType.ElementContent } + * + */ + public ToBeEncryptedType.ElementContent createToBeEncryptedTypeElementContent() { + return new ToBeEncryptedType.ElementContent(); + } + + /** + * Create an instance of {@link DecryptXMLResponseType.DecryptedBinaryData } + * + */ + public DecryptXMLResponseType.DecryptedBinaryData createDecryptXMLResponseTypeDecryptedBinaryData() { + return new DecryptXMLResponseType.DecryptedBinaryData(); + } + + /** + * Create an instance of {@link InfoboxDeleteResponseType } + * + */ + public InfoboxDeleteResponseType createInfoboxDeleteResponseType() { + return new InfoboxDeleteResponseType(); + } + + /** + * Create an instance of {@link Base64ContentType } + * + */ + public Base64ContentType createBase64ContentType() { + return new Base64ContentType(); + } + + /** + * Create an instance of {@link QualifiedBoxIdentifierType } + * + */ + public QualifiedBoxIdentifierType createQualifiedBoxIdentifierType() { + return new QualifiedBoxIdentifierType(); + } + + /** + * Create an instance of {@link RequesterIDType } + * + */ + public RequesterIDType createRequesterIDType() { + return new RequesterIDType(); + } + + /** + * Create an instance of {@link InfoboxReadParamsBinaryFileType } + * + */ + public InfoboxReadParamsBinaryFileType createInfoboxReadParamsBinaryFileType() { + return new InfoboxReadParamsBinaryFileType(); + } + + /** + * Create an instance of {@link CreateCMSSignatureResponseType } + * + */ + public CreateCMSSignatureResponseType createCreateCMSSignatureResponseType() { + return new CreateCMSSignatureResponseType(); + } + + /** + * Create an instance of {@link Base64XMLContentType } + * + */ + public Base64XMLContentType createBase64XMLContentType() { + return new Base64XMLContentType(); + } + + /** + * Create an instance of {@link InfoboxReadParamsAssocArrayType } + * + */ + public InfoboxReadParamsAssocArrayType createInfoboxReadParamsAssocArrayType() { + return new InfoboxReadParamsAssocArrayType(); + } + + /** + * Create an instance of {@link AnyChildrenType } + * + */ + public AnyChildrenType createAnyChildrenType() { + return new AnyChildrenType(); + } + + /** + * Create an instance of {@link InfoboxReadDataAssocArrayType } + * + */ + public InfoboxReadDataAssocArrayType createInfoboxReadDataAssocArrayType() { + return new InfoboxReadDataAssocArrayType(); + } + + /** + * Create an instance of {@link Base64XMLLocRefContentType } + * + */ + public Base64XMLLocRefContentType createBase64XMLLocRefContentType() { + return new Base64XMLLocRefContentType(); + } + + /** + * Create an instance of {@link InfoboxCreateRequestType } + * + */ + public InfoboxCreateRequestType createInfoboxCreateRequestType() { + return new InfoboxCreateRequestType(); + } + + /** + * Create an instance of {@link CreateHashResponseType } + * + */ + public CreateHashResponseType createCreateHashResponseType() { + return new CreateHashResponseType(); + } + + /** + * Create an instance of {@link XMLToBeEncryptedNewContentType } + * + */ + public XMLToBeEncryptedNewContentType createXMLToBeEncryptedNewContentType() { + return new XMLToBeEncryptedNewContentType(); + } + + /** + * Create an instance of {@link CheckResultType } + * + */ + public CheckResultType createCheckResultType() { + return new CheckResultType(); + } + + /** + * Create an instance of {@link InfoboxAvailableRequestType } + * + */ + public InfoboxAvailableRequestType createInfoboxAvailableRequestType() { + return new InfoboxAvailableRequestType(); + } + + /** + * Create an instance of {@link AccessAuthorizationType } + * + */ + public AccessAuthorizationType createAccessAuthorizationType() { + return new AccessAuthorizationType(); + } + + /** + * Create an instance of {@link DecryptCMSRequestType } + * + */ + public DecryptCMSRequestType createDecryptCMSRequestType() { + return new DecryptCMSRequestType(); + } + + /** + * Create an instance of {@link XMLContentType } + * + */ + public XMLContentType createXMLContentType() { + return new XMLContentType(); + } + + /** + * Create an instance of {@link EncryptXMLResponseType } + * + */ + public EncryptXMLResponseType createEncryptXMLResponseType() { + return new EncryptXMLResponseType(); + } + + /** + * Create an instance of {@link XMLRecipientPublicKeyType } + * + */ + public XMLRecipientPublicKeyType createXMLRecipientPublicKeyType() { + return new XMLRecipientPublicKeyType(); + } + + /** + * Create an instance of {@link InfoboxReadParamsAssocArrayType.ReadPairs } + * + */ + public InfoboxReadParamsAssocArrayType.ReadPairs createInfoboxReadParamsAssocArrayTypeReadPairs() { + return new InfoboxReadParamsAssocArrayType.ReadPairs(); + } + + /** + * Create an instance of {@link VerificationResultType } + * + */ + public VerificationResultType createVerificationResultType() { + return new VerificationResultType(); + } + + /** + * Create an instance of {@link InfoboxUpdateParamsAssocArrayType.UpdateKey } + * + */ + public InfoboxUpdateParamsAssocArrayType.UpdateKey createInfoboxUpdateParamsAssocArrayTypeUpdateKey() { + return new InfoboxUpdateParamsAssocArrayType.UpdateKey(); + } + + /** + * Create an instance of {@link DecryptCMSResponseType } + * + */ + public DecryptCMSResponseType createDecryptCMSResponseType() { + return new DecryptCMSResponseType(); + } + + /** + * Create an instance of {@link InfoboxReadResponseType } + * + */ + public InfoboxReadResponseType createInfoboxReadResponseType() { + return new InfoboxReadResponseType(); + } + + /** + * Create an instance of {@link GetPropertiesResponseType } + * + */ + public GetPropertiesResponseType createGetPropertiesResponseType() { + return new GetPropertiesResponseType(); + } + + /** + * Create an instance of {@link CreateXMLSignatureResponseType } + * + */ + public CreateXMLSignatureResponseType createCreateXMLSignatureResponseType() { + return new CreateXMLSignatureResponseType(); + } + + /** + * Create an instance of {@link XMLToBeEncryptedNewType } + * + */ + public XMLToBeEncryptedNewType createXMLToBeEncryptedNewType() { + return new XMLToBeEncryptedNewType(); + } + + /** + * Create an instance of {@link HashDataType } + * + */ + public HashDataType createHashDataType() { + return new HashDataType(); + } + + /** + * Create an instance of {@link CreateXMLSignatureRequestType } + * + */ + public CreateXMLSignatureRequestType createCreateXMLSignatureRequestType() { + return new CreateXMLSignatureRequestType(); + } + + /** + * Create an instance of {@link SignatureInfoVerificationType } + * + */ + public SignatureInfoVerificationType createSignatureInfoVerificationType() { + return new SignatureInfoVerificationType(); + } + + /** + * Create an instance of {@link CMSDataObjectOptionalMetaType } + * + */ + public CMSDataObjectOptionalMetaType createCMSDataObjectOptionalMetaType() { + return new CMSDataObjectOptionalMetaType(); + } + + /** + * Create an instance of {@link GetStatusRequestType } + * + */ + public GetStatusRequestType createGetStatusRequestType() { + return new GetStatusRequestType(); + } + + /** + * Create an instance of {@link InfoboxAvailableResponseType } + * + */ + public InfoboxAvailableResponseType createInfoboxAvailableResponseType() { + return new InfoboxAvailableResponseType(); + } + + /** + * Create an instance of {@link VerifyXMLSignatureRequestType } + * + */ + public VerifyXMLSignatureRequestType createVerifyXMLSignatureRequestType() { + return new VerifyXMLSignatureRequestType(); + } + + /** + * Create an instance of {@link InfoboxDeleteRequestType } + * + */ + public InfoboxDeleteRequestType createInfoboxDeleteRequestType() { + return new InfoboxDeleteRequestType(); + } + + /** + * Create an instance of {@link DecryptXMLResponseType } + * + */ + public DecryptXMLResponseType createDecryptXMLResponseType() { + return new DecryptXMLResponseType(); + } + + /** + * Create an instance of {@link CreateCMSSignatureRequestType } + * + */ + public CreateCMSSignatureRequestType createCreateCMSSignatureRequestType() { + return new CreateCMSSignatureRequestType(); + } + + /** + * Create an instance of {@link EncryptCMSResponseType } + * + */ + public EncryptCMSResponseType createEncryptCMSResponseType() { + return new EncryptCMSResponseType(); + } + + /** + * Create an instance of {@link ToBeEncryptedType } + * + */ + public ToBeEncryptedType createToBeEncryptedType() { + return new ToBeEncryptedType(); + } + + /** + * Create an instance of {@link InfoboxCreateResponseType } + * + */ + public InfoboxCreateResponseType createInfoboxCreateResponseType() { + return new InfoboxCreateResponseType(); + } + + /** + * Create an instance of {@link TransformsInfoType } + * + */ + public TransformsInfoType createTransformsInfoType() { + return new TransformsInfoType(); + } + + /** + * Create an instance of {@link Base64XMLLocRefReqRefContentType } + * + */ + public Base64XMLLocRefReqRefContentType createBase64XMLLocRefReqRefContentType() { + return new Base64XMLLocRefReqRefContentType(); + } + + /** + * Create an instance of {@link MetaInfoType } + * + */ + public MetaInfoType createMetaInfoType() { + return new MetaInfoType(); + } + + /** + * Create an instance of {@link InfoboxReadParamsAssocArrayType.ReadValue } + * + */ + public InfoboxReadParamsAssocArrayType.ReadValue createInfoboxReadParamsAssocArrayTypeReadValue() { + return new InfoboxReadParamsAssocArrayType.ReadValue(); + } + + /** + * Create an instance of {@link SignatureInfoCreationType.SignatureLocation } + * + */ + public SignatureInfoCreationType.SignatureLocation createSignatureInfoCreationTypeSignatureLocation() { + return new SignatureInfoCreationType.SignatureLocation(); + } + + /** + * Create an instance of {@link ReferencesCheckResultInfoType } + * + */ + public ReferencesCheckResultInfoType createReferencesCheckResultInfoType() { + return new ReferencesCheckResultInfoType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DecryptXMLResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "DecryptXMLResponse") + public JAXBElement<DecryptXMLResponseType> createDecryptXMLResponse(DecryptXMLResponseType value) { + return new JAXBElement<DecryptXMLResponseType>(_DecryptXMLResponse_QNAME, DecryptXMLResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link GetPropertiesResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "GetPropertiesResponse") + public JAXBElement<GetPropertiesResponseType> createGetPropertiesResponse(GetPropertiesResponseType value) { + return new JAXBElement<GetPropertiesResponseType>(_GetPropertiesResponse_QNAME, GetPropertiesResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "IdentityLinkDomainIdentifier") + public JAXBElement<String> createIdentityLinkDomainIdentifier(String value) { + return new JAXBElement<String>(_IdentityLinkDomainIdentifier_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxDeleteResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxDeleteResponse") + public JAXBElement<InfoboxDeleteResponseType> createInfoboxDeleteResponse(InfoboxDeleteResponseType value) { + return new JAXBElement<InfoboxDeleteResponseType>(_InfoboxDeleteResponse_QNAME, InfoboxDeleteResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EncryptCMSResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "EncryptCMSResponse") + public JAXBElement<EncryptCMSResponseType> createEncryptCMSResponse(EncryptCMSResponseType value) { + return new JAXBElement<EncryptCMSResponseType>(_EncryptCMSResponse_QNAME, EncryptCMSResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VerifyXMLSignatureResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyXMLSignatureResponse") + public JAXBElement<VerifyXMLSignatureResponseType> createVerifyXMLSignatureResponse(VerifyXMLSignatureResponseType value) { + return new JAXBElement<VerifyXMLSignatureResponseType>(_VerifyXMLSignatureResponse_QNAME, VerifyXMLSignatureResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxUpdateRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxUpdateRequest") + public JAXBElement<InfoboxUpdateRequestType> createInfoboxUpdateRequest(InfoboxUpdateRequestType value) { + return new JAXBElement<InfoboxUpdateRequestType>(_InfoboxUpdateRequest_QNAME, InfoboxUpdateRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DecryptXMLRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "DecryptXMLRequest") + public JAXBElement<DecryptXMLRequestType> createDecryptXMLRequest(DecryptXMLRequestType value) { + return new JAXBElement<DecryptXMLRequestType>(_DecryptXMLRequest_QNAME, DecryptXMLRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ErrorResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "ErrorResponse") + public JAXBElement<ErrorResponseType> createErrorResponse(ErrorResponseType value) { + return new JAXBElement<ErrorResponseType>(_ErrorResponse_QNAME, ErrorResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CreateXMLSignatureRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateXMLSignatureRequest") + public JAXBElement<CreateXMLSignatureRequestType> createCreateXMLSignatureRequest(CreateXMLSignatureRequestType value) { + return new JAXBElement<CreateXMLSignatureRequestType>(_CreateXMLSignatureRequest_QNAME, CreateXMLSignatureRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxCreateResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxCreateResponse") + public JAXBElement<InfoboxCreateResponseType> createInfoboxCreateResponse(InfoboxCreateResponseType value) { + return new JAXBElement<InfoboxCreateResponseType>(_InfoboxCreateResponse_QNAME, InfoboxCreateResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VerifyHashRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyHashRequest") + public JAXBElement<VerifyHashRequestType> createVerifyHashRequest(VerifyHashRequestType value) { + return new JAXBElement<VerifyHashRequestType>(_VerifyHashRequest_QNAME, VerifyHashRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link GetStatusRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "GetStatusRequest") + public JAXBElement<GetStatusRequestType> createGetStatusRequest(GetStatusRequestType value) { + return new JAXBElement<GetStatusRequestType>(_GetStatusRequest_QNAME, GetStatusRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VerifyXMLSignatureRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyXMLSignatureRequest") + public JAXBElement<VerifyXMLSignatureRequestType> createVerifyXMLSignatureRequest(VerifyXMLSignatureRequestType value) { + return new JAXBElement<VerifyXMLSignatureRequestType>(_VerifyXMLSignatureRequest_QNAME, VerifyXMLSignatureRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxAvailableRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxAvailableRequest") + public JAXBElement<InfoboxAvailableRequestType> createInfoboxAvailableRequest(InfoboxAvailableRequestType value) { + return new JAXBElement<InfoboxAvailableRequestType>(_InfoboxAvailableRequest_QNAME, InfoboxAvailableRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VerifyHashResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyHashResponse") + public JAXBElement<VerifyHashResponseType> createVerifyHashResponse(VerifyHashResponseType value) { + return new JAXBElement<VerifyHashResponseType>(_VerifyHashResponse_QNAME, VerifyHashResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxUpdateResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxUpdateResponse") + public JAXBElement<InfoboxUpdateResponseType> createInfoboxUpdateResponse(InfoboxUpdateResponseType value) { + return new JAXBElement<InfoboxUpdateResponseType>(_InfoboxUpdateResponse_QNAME, InfoboxUpdateResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxDeleteRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxDeleteRequest") + public JAXBElement<InfoboxDeleteRequestType> createInfoboxDeleteRequest(InfoboxDeleteRequestType value) { + return new JAXBElement<InfoboxDeleteRequestType>(_InfoboxDeleteRequest_QNAME, InfoboxDeleteRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "QualifiedCertificate") + public JAXBElement<Object> createQualifiedCertificate(Object value) { + return new JAXBElement<Object>(_QualifiedCertificate_QNAME, Object.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DecryptCMSRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "DecryptCMSRequest") + public JAXBElement<DecryptCMSRequestType> createDecryptCMSRequest(DecryptCMSRequestType value) { + return new JAXBElement<DecryptCMSRequestType>(_DecryptCMSRequest_QNAME, DecryptCMSRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link NullOperationResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "NullOperationResponse") + public JAXBElement<NullOperationResponseType> createNullOperationResponse(NullOperationResponseType value) { + return new JAXBElement<NullOperationResponseType>(_NullOperationResponse_QNAME, NullOperationResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxCreateRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxCreateRequest") + public JAXBElement<InfoboxCreateRequestType> createInfoboxCreateRequest(InfoboxCreateRequestType value) { + return new JAXBElement<InfoboxCreateRequestType>(_InfoboxCreateRequest_QNAME, InfoboxCreateRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CreateHashResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateHashResponse") + public JAXBElement<CreateHashResponseType> createCreateHashResponse(CreateHashResponseType value) { + return new JAXBElement<CreateHashResponseType>(_CreateHashResponse_QNAME, CreateHashResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxReadRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxReadRequest") + public JAXBElement<InfoboxReadRequestType> createInfoboxReadRequest(InfoboxReadRequestType value) { + return new JAXBElement<InfoboxReadRequestType>(_InfoboxReadRequest_QNAME, InfoboxReadRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DecryptCMSResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "DecryptCMSResponse") + public JAXBElement<DecryptCMSResponseType> createDecryptCMSResponse(DecryptCMSResponseType value) { + return new JAXBElement<DecryptCMSResponseType>(_DecryptCMSResponse_QNAME, DecryptCMSResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EncryptCMSRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "EncryptCMSRequest") + public JAXBElement<EncryptCMSRequestType> createEncryptCMSRequest(EncryptCMSRequestType value) { + return new JAXBElement<EncryptCMSRequestType>(_EncryptCMSRequest_QNAME, EncryptCMSRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EncryptXMLResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "EncryptXMLResponse") + public JAXBElement<EncryptXMLResponseType> createEncryptXMLResponse(EncryptXMLResponseType value) { + return new JAXBElement<EncryptXMLResponseType>(_EncryptXMLResponse_QNAME, EncryptXMLResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CreateHashRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateHashRequest") + public JAXBElement<CreateHashRequestType> createCreateHashRequest(CreateHashRequestType value) { + return new JAXBElement<CreateHashRequestType>(_CreateHashRequest_QNAME, CreateHashRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VerifyCMSSignatureRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyCMSSignatureRequest") + public JAXBElement<VerifyCMSSignatureRequestType> createVerifyCMSSignatureRequest(VerifyCMSSignatureRequestType value) { + return new JAXBElement<VerifyCMSSignatureRequestType>(_VerifyCMSSignatureRequest_QNAME, VerifyCMSSignatureRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxReadResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxReadResponse") + public JAXBElement<InfoboxReadResponseType> createInfoboxReadResponse(InfoboxReadResponseType value) { + return new JAXBElement<InfoboxReadResponseType>(_InfoboxReadResponse_QNAME, InfoboxReadResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link NullOperationRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "NullOperationRequest") + public JAXBElement<NullOperationRequestType> createNullOperationRequest(NullOperationRequestType value) { + return new JAXBElement<NullOperationRequestType>(_NullOperationRequest_QNAME, NullOperationRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link GetStatusResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "GetStatusResponse") + public JAXBElement<GetStatusResponseType> createGetStatusResponse(GetStatusResponseType value) { + return new JAXBElement<GetStatusResponseType>(_GetStatusResponse_QNAME, GetStatusResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CreateCMSSignatureRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateCMSSignatureRequest") + public JAXBElement<CreateCMSSignatureRequestType> createCreateCMSSignatureRequest(CreateCMSSignatureRequestType value) { + return new JAXBElement<CreateCMSSignatureRequestType>(_CreateCMSSignatureRequest_QNAME, CreateCMSSignatureRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VerifyCMSSignatureResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "VerifyCMSSignatureResponse") + public JAXBElement<VerifyCMSSignatureResponseType> createVerifyCMSSignatureResponse(VerifyCMSSignatureResponseType value) { + return new JAXBElement<VerifyCMSSignatureResponseType>(_VerifyCMSSignatureResponse_QNAME, VerifyCMSSignatureResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CreateCMSSignatureResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateCMSSignatureResponse") + public JAXBElement<CreateCMSSignatureResponseType> createCreateCMSSignatureResponse(CreateCMSSignatureResponseType value) { + return new JAXBElement<CreateCMSSignatureResponseType>(_CreateCMSSignatureResponse_QNAME, CreateCMSSignatureResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link InfoboxAvailableResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "InfoboxAvailableResponse") + public JAXBElement<InfoboxAvailableResponseType> createInfoboxAvailableResponse(InfoboxAvailableResponseType value) { + return new JAXBElement<InfoboxAvailableResponseType>(_InfoboxAvailableResponse_QNAME, InfoboxAvailableResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CreateXMLSignatureResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CreateXMLSignatureResponse") + public JAXBElement<CreateXMLSignatureResponseType> createCreateXMLSignatureResponse(CreateXMLSignatureResponseType value) { + return new JAXBElement<CreateXMLSignatureResponseType>(_CreateXMLSignatureResponse_QNAME, CreateXMLSignatureResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CheckResultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "SignatureCheck", scope = VerifyCMSSignatureResponseType.class) + public JAXBElement<CheckResultType> createVerifyCMSSignatureResponseTypeSignatureCheck(CheckResultType value) { + return new JAXBElement<CheckResultType>(_VerifyCMSSignatureResponseTypeSignatureCheck_QNAME, CheckResultType.class, VerifyCMSSignatureResponseType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CheckResultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "CertificateCheck", scope = VerifyCMSSignatureResponseType.class) + public JAXBElement<CheckResultType> createVerifyCMSSignatureResponseTypeCertificateCheck(CheckResultType value) { + return new JAXBElement<CheckResultType>(_VerifyCMSSignatureResponseTypeCertificateCheck_QNAME, CheckResultType.class, VerifyCMSSignatureResponseType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "SignerInfo", scope = VerifyCMSSignatureResponseType.class) + public JAXBElement<KeyInfoType> createVerifyCMSSignatureResponseTypeSignerInfo(KeyInfoType value) { + return new JAXBElement<KeyInfoType>(_VerifyCMSSignatureResponseTypeSignerInfo_QNAME, KeyInfoType.class, VerifyCMSSignatureResponseType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "ReferringSigReference", scope = ManifestRefsCheckResultInfoType.class) + public JAXBElement<BigInteger> createManifestRefsCheckResultInfoTypeReferringSigReference(BigInteger value) { + return new JAXBElement<BigInteger>(_ManifestRefsCheckResultInfoTypeReferringSigReference_QNAME, BigInteger.class, ManifestRefsCheckResultInfoType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "FailedReference", scope = ManifestRefsCheckResultInfoType.class) + public JAXBElement<BigInteger> createManifestRefsCheckResultInfoTypeFailedReference(BigInteger value) { + return new JAXBElement<BigInteger>(_ManifestRefsCheckResultInfoTypeFailedReference_QNAME, BigInteger.class, ManifestRefsCheckResultInfoType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", name = "FailedReference", scope = ReferencesCheckResultInfoType.class) + public JAXBElement<BigInteger> createReferencesCheckResultInfoTypeFailedReference(BigInteger value) { + return new JAXBElement<BigInteger>(_ManifestRefsCheckResultInfoTypeFailedReference_QNAME, BigInteger.class, ReferencesCheckResultInfoType.class, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/QualifiedBoxIdentifierType.java b/src/main/java/at/gv/util/xsd/sl/QualifiedBoxIdentifierType.java new file mode 100644 index 0000000..2118f42 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/QualifiedBoxIdentifierType.java @@ -0,0 +1,108 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for QualifiedBoxIdentifierType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="QualifiedBoxIdentifierType"> + * <simpleContent> + * <extension base="<http://www.buergerkarte.at/namespaces/securitylayer/1.2#>BoxIdentifierType"> + * <attribute name="Signature" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * <attribute name="Encryption" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "QualifiedBoxIdentifierType", propOrder = { + "value" +}) +public class QualifiedBoxIdentifierType { + + @XmlValue + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String value; + @XmlAttribute(name = "Signature", required = true) + protected boolean signature; + @XmlAttribute(name = "Encryption", required = true) + protected boolean encryption; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the signature property. + * + */ + public boolean isSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + */ + public void setSignature(boolean value) { + this.signature = value; + } + + /** + * Gets the value of the encryption property. + * + */ + public boolean isEncryption() { + return encryption; + } + + /** + * Sets the value of the encryption property. + * + */ + public void setEncryption(boolean value) { + this.encryption = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/ReferencesCheckResultInfoType.java b/src/main/java/at/gv/util/xsd/sl/ReferencesCheckResultInfoType.java new file mode 100644 index 0000000..e9a7953 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/ReferencesCheckResultInfoType.java @@ -0,0 +1,87 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for ReferencesCheckResultInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ReferencesCheckResultInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FailedReference" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" maxOccurs="unbounded" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferencesCheckResultInfoType", propOrder = { + "content" +}) +public class ReferencesCheckResultInfoType { + + @XmlElementRef(name = "FailedReference", namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", type = JAXBElement.class) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * {@link Object } + * {@link Element } + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/ReferencesCheckResultType.java b/src/main/java/at/gv/util/xsd/sl/ReferencesCheckResultType.java new file mode 100644 index 0000000..3c496e8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/ReferencesCheckResultType.java @@ -0,0 +1,100 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ReferencesCheckResultType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ReferencesCheckResultType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/> + * <element name="Info" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ReferencesCheckResultInfoType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferencesCheckResultType", propOrder = { + "code", + "info" +}) +public class ReferencesCheckResultType { + + @XmlElement(name = "Code", required = true) + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger code; + @XmlElement(name = "Info") + protected ReferencesCheckResultInfoType info; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link ReferencesCheckResultInfoType } + * + */ + public ReferencesCheckResultInfoType getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link ReferencesCheckResultInfoType } + * + */ + public void setInfo(ReferencesCheckResultInfoType value) { + this.info = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/RequesterIDType.java b/src/main/java/at/gv/util/xsd/sl/RequesterIDType.java new file mode 100644 index 0000000..7ade354 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/RequesterIDType.java @@ -0,0 +1,94 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for RequesterIDType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RequesterIDType"> + * <simpleContent> + * <extension base="<http://www.buergerkarte.at/namespaces/securitylayer/1.2#>RequesterIDSimpleType"> + * <attribute name="AuthenticationClass" use="required" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AuthenticationClassType" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RequesterIDType", propOrder = { + "value" +}) +public class RequesterIDType { + + @XmlValue + protected String value; + @XmlAttribute(name = "AuthenticationClass", required = true) + protected AuthenticationClassType authenticationClass; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the authenticationClass property. + * + * @return + * possible object is + * {@link AuthenticationClassType } + * + */ + public AuthenticationClassType getAuthenticationClass() { + return authenticationClass; + } + + /** + * Sets the value of the authenticationClass property. + * + * @param value + * allowed object is + * {@link AuthenticationClassType } + * + */ + public void setAuthenticationClass(AuthenticationClassType value) { + this.authenticationClass = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/ReturnResultType.java b/src/main/java/at/gv/util/xsd/sl/ReturnResultType.java new file mode 100644 index 0000000..35ae903 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/ReturnResultType.java @@ -0,0 +1,61 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ReturnResultType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="ReturnResultType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="binary"/> + * <enumeration value="xml"/> + * <enumeration value="none"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "ReturnResultType") +@XmlEnum +public enum ReturnResultType { + + @XmlEnumValue("binary") + BINARY("binary"), + @XmlEnumValue("xml") + XML("xml"), + @XmlEnumValue("none") + NONE("none"); + private final String value; + + ReturnResultType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static ReturnResultType fromValue(String v) { + for (ReturnResultType c: ReturnResultType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/SignatureInfoCreationType.java b/src/main/java/at/gv/util/xsd/sl/SignatureInfoCreationType.java new file mode 100644 index 0000000..14fd4b3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/SignatureInfoCreationType.java @@ -0,0 +1,228 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import java.math.BigInteger; +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for SignatureInfoCreationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureInfoCreationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="SignatureEnvironment" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLOptRefContentType"/> + * <element name="SignatureLocation"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>token"> + * <attribute name="Index" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Supplement" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}DataObjectAssociationType" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureInfoCreationType", propOrder = { + "signatureEnvironment", + "signatureLocation", + "supplement" +}) +public class SignatureInfoCreationType { + + @XmlElement(name = "SignatureEnvironment", required = true) + protected Base64XMLOptRefContentType signatureEnvironment; + @XmlElement(name = "SignatureLocation", required = true) + protected SignatureInfoCreationType.SignatureLocation signatureLocation; + @XmlElement(name = "Supplement") + protected List<DataObjectAssociationType> supplement; + + /** + * Gets the value of the signatureEnvironment property. + * + * @return + * possible object is + * {@link Base64XMLOptRefContentType } + * + */ + public Base64XMLOptRefContentType getSignatureEnvironment() { + return signatureEnvironment; + } + + /** + * Sets the value of the signatureEnvironment property. + * + * @param value + * allowed object is + * {@link Base64XMLOptRefContentType } + * + */ + public void setSignatureEnvironment(Base64XMLOptRefContentType value) { + this.signatureEnvironment = value; + } + + /** + * Gets the value of the signatureLocation property. + * + * @return + * possible object is + * {@link SignatureInfoCreationType.SignatureLocation } + * + */ + public SignatureInfoCreationType.SignatureLocation getSignatureLocation() { + return signatureLocation; + } + + /** + * Sets the value of the signatureLocation property. + * + * @param value + * allowed object is + * {@link SignatureInfoCreationType.SignatureLocation } + * + */ + public void setSignatureLocation(SignatureInfoCreationType.SignatureLocation value) { + this.signatureLocation = value; + } + + /** + * Gets the value of the supplement property. + * + * <p> + * 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 <CODE>set</CODE> method for the supplement property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSupplement().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link DataObjectAssociationType } + * + * + */ + public List<DataObjectAssociationType> getSupplement() { + if (supplement == null) { + supplement = new ArrayList<DataObjectAssociationType>(); + } + return this.supplement; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>token"> + * <attribute name="Index" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class SignatureLocation { + + @XmlValue + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String value; + @XmlAttribute(name = "Index", required = true) + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger index; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the index property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getIndex() { + return index; + } + + /** + * Sets the value of the index property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setIndex(BigInteger value) { + this.index = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/SignatureInfoVerificationType.java b/src/main/java/at/gv/util/xsd/sl/SignatureInfoVerificationType.java new file mode 100644 index 0000000..3c8091e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/SignatureInfoVerificationType.java @@ -0,0 +1,102 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +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; + + +/** + * <p>Java class for SignatureInfoVerificationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureInfoVerificationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="SignatureEnvironment" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLOptRefContentType"/> + * <element name="SignatureLocation" type="{http://www.w3.org/2001/XMLSchema}token"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureInfoVerificationType", propOrder = { + "signatureEnvironment", + "signatureLocation" +}) +public class SignatureInfoVerificationType { + + @XmlElement(name = "SignatureEnvironment", required = true) + protected Base64XMLOptRefContentType signatureEnvironment; + @XmlElement(name = "SignatureLocation", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String signatureLocation; + + /** + * Gets the value of the signatureEnvironment property. + * + * @return + * possible object is + * {@link Base64XMLOptRefContentType } + * + */ + public Base64XMLOptRefContentType getSignatureEnvironment() { + return signatureEnvironment; + } + + /** + * Sets the value of the signatureEnvironment property. + * + * @param value + * allowed object is + * {@link Base64XMLOptRefContentType } + * + */ + public void setSignatureEnvironment(Base64XMLOptRefContentType value) { + this.signatureEnvironment = value; + } + + /** + * Gets the value of the signatureLocation property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSignatureLocation() { + return signatureLocation; + } + + /** + * Sets the value of the signatureLocation property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSignatureLocation(String value) { + this.signatureLocation = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/ToBeEncryptedType.java b/src/main/java/at/gv/util/xsd/sl/ToBeEncryptedType.java new file mode 100644 index 0000000..6c43752 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/ToBeEncryptedType.java @@ -0,0 +1,309 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for ToBeEncryptedType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ToBeEncryptedType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="Element"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Selector" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * <attribute name="EncDataReference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="ElementContent"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Selector" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * <attribute name="EncDataReference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="New" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}XMLToBeEncryptedNewType"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ToBeEncryptedType", propOrder = { + "element", + "elementContent", + "_new" +}) +public class ToBeEncryptedType { + + @XmlElement(name = "Element") + protected ToBeEncryptedType.Element element; + @XmlElement(name = "ElementContent") + protected ToBeEncryptedType.ElementContent elementContent; + @XmlElement(name = "New") + protected XMLToBeEncryptedNewType _new; + + /** + * Gets the value of the element property. + * + * @return + * possible object is + * {@link ToBeEncryptedType.Element } + * + */ + public ToBeEncryptedType.Element getElement() { + return element; + } + + /** + * Sets the value of the element property. + * + * @param value + * allowed object is + * {@link ToBeEncryptedType.Element } + * + */ + public void setElement(ToBeEncryptedType.Element value) { + this.element = value; + } + + /** + * Gets the value of the elementContent property. + * + * @return + * possible object is + * {@link ToBeEncryptedType.ElementContent } + * + */ + public ToBeEncryptedType.ElementContent getElementContent() { + return elementContent; + } + + /** + * Sets the value of the elementContent property. + * + * @param value + * allowed object is + * {@link ToBeEncryptedType.ElementContent } + * + */ + public void setElementContent(ToBeEncryptedType.ElementContent value) { + this.elementContent = value; + } + + /** + * Gets the value of the new property. + * + * @return + * possible object is + * {@link XMLToBeEncryptedNewType } + * + */ + public XMLToBeEncryptedNewType getNew() { + return _new; + } + + /** + * Sets the value of the new property. + * + * @param value + * allowed object is + * {@link XMLToBeEncryptedNewType } + * + */ + public void setNew(XMLToBeEncryptedNewType value) { + this._new = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Selector" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * <attribute name="EncDataReference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class Element { + + @XmlAttribute(name = "Selector", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String selector; + @XmlAttribute(name = "EncDataReference") + @XmlSchemaType(name = "anyURI") + protected String encDataReference; + + /** + * Gets the value of the selector property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSelector() { + return selector; + } + + /** + * Sets the value of the selector property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSelector(String value) { + this.selector = value; + } + + /** + * Gets the value of the encDataReference property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncDataReference() { + return encDataReference; + } + + /** + * Sets the value of the encDataReference property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncDataReference(String value) { + this.encDataReference = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Selector" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * <attribute name="EncDataReference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class ElementContent { + + @XmlAttribute(name = "Selector", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String selector; + @XmlAttribute(name = "EncDataReference") + @XmlSchemaType(name = "anyURI") + protected String encDataReference; + + /** + * Gets the value of the selector property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSelector() { + return selector; + } + + /** + * Sets the value of the selector property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSelector(String value) { + this.selector = value; + } + + /** + * Gets the value of the encDataReference property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncDataReference() { + return encDataReference; + } + + /** + * Sets the value of the encDataReference property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncDataReference(String value) { + this.encDataReference = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/TokenStatusType.java b/src/main/java/at/gv/util/xsd/sl/TokenStatusType.java new file mode 100644 index 0000000..07402a6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/TokenStatusType.java @@ -0,0 +1,58 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TokenStatusType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="TokenStatusType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="ready"/> + * <enumeration value="removed"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "TokenStatusType") +@XmlEnum +public enum TokenStatusType { + + @XmlEnumValue("ready") + READY("ready"), + @XmlEnumValue("removed") + REMOVED("removed"); + private final String value; + + TokenStatusType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static TokenStatusType fromValue(String v) { + for (TokenStatusType c: TokenStatusType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/TransformsInfoType.java b/src/main/java/at/gv/util/xsd/sl/TransformsInfoType.java new file mode 100644 index 0000000..845eacd --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/TransformsInfoType.java @@ -0,0 +1,98 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.sl.xmldsig.TransformsType; + + +/** + * <p>Java class for TransformsInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TransformsInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/> + * <element name="FinalDataMetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformsInfoType", propOrder = { + "transforms", + "finalDataMetaInfo" +}) +public class TransformsInfoType { + + @XmlElement(name = "Transforms", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected TransformsType transforms; + @XmlElement(name = "FinalDataMetaInfo", required = true) + protected MetaInfoType finalDataMetaInfo; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the finalDataMetaInfo property. + * + * @return + * possible object is + * {@link MetaInfoType } + * + */ + public MetaInfoType getFinalDataMetaInfo() { + return finalDataMetaInfo; + } + + /** + * Sets the value of the finalDataMetaInfo property. + * + * @param value + * allowed object is + * {@link MetaInfoType } + * + */ + public void setFinalDataMetaInfo(MetaInfoType value) { + this.finalDataMetaInfo = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/UserConfirmationSimpleType.java b/src/main/java/at/gv/util/xsd/sl/UserConfirmationSimpleType.java new file mode 100644 index 0000000..fd83a15 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/UserConfirmationSimpleType.java @@ -0,0 +1,64 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for UserConfirmationSimpleType. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="UserConfirmationSimpleType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="none"/> + * <enumeration value="info"/> + * <enumeration value="confirm"/> + * <enumeration value="confirmWithSecret"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "UserConfirmationSimpleType") +@XmlEnum +public enum UserConfirmationSimpleType { + + @XmlEnumValue("none") + NONE("none"), + @XmlEnumValue("info") + INFO("info"), + @XmlEnumValue("confirm") + CONFIRM("confirm"), + @XmlEnumValue("confirmWithSecret") + CONFIRM_WITH_SECRET("confirmWithSecret"); + private final String value; + + UserConfirmationSimpleType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static UserConfirmationSimpleType fromValue(String v) { + for (UserConfirmationSimpleType c: UserConfirmationSimpleType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/UserConfirmationType.java b/src/main/java/at/gv/util/xsd/sl/UserConfirmationType.java new file mode 100644 index 0000000..cb29346 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/UserConfirmationType.java @@ -0,0 +1,86 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for UserConfirmationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="UserConfirmationType"> + * <simpleContent> + * <extension base="<http://www.buergerkarte.at/namespaces/securitylayer/1.2#>UserConfirmationSimpleType"> + * <attribute name="UserMayChange" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "UserConfirmationType", propOrder = { + "value" +}) +public class UserConfirmationType { + + @XmlValue + protected UserConfirmationSimpleType value; + @XmlAttribute(name = "UserMayChange", required = true) + protected boolean userMayChange; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link UserConfirmationSimpleType } + * + */ + public UserConfirmationSimpleType getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link UserConfirmationSimpleType } + * + */ + public void setValue(UserConfirmationSimpleType value) { + this.value = value; + } + + /** + * Gets the value of the userMayChange property. + * + */ + public boolean isUserMayChange() { + return userMayChange; + } + + /** + * Sets the value of the userMayChange property. + * + */ + public void setUserMayChange(boolean value) { + this.userMayChange = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/VerificationResultType.java b/src/main/java/at/gv/util/xsd/sl/VerificationResultType.java new file mode 100644 index 0000000..3d23900 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/VerificationResultType.java @@ -0,0 +1,89 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for VerificationResultType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VerificationResultType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Result" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VerificationResultType", propOrder = { + "friendlyName", + "result" +}) +public class VerificationResultType { + + @XmlElement(name = "FriendlyName") + protected String friendlyName; + @XmlElement(name = "Result") + protected boolean result; + + /** + * Gets the value of the friendlyName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFriendlyName() { + return friendlyName; + } + + /** + * Sets the value of the friendlyName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFriendlyName(String value) { + this.friendlyName = value; + } + + /** + * Gets the value of the result property. + * + */ + public boolean isResult() { + return result; + } + + /** + * Sets the value of the result property. + * + */ + public void setResult(boolean value) { + this.result = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/VerifyCMSSignatureRequestType.java b/src/main/java/at/gv/util/xsd/sl/VerifyCMSSignatureRequestType.java new file mode 100644 index 0000000..a834ee9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/VerifyCMSSignatureRequestType.java @@ -0,0 +1,161 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for VerifyCMSSignatureRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VerifyCMSSignatureRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> + * <element name="CMSSignature" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="DataObject" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CMSDataObjectOptionalMetaType" minOccurs="0"/> + * </sequence> + * <attribute name="Signatories" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}SignatoriesType" default="1" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VerifyCMSSignatureRequestType", propOrder = { + "dateTime", + "cmsSignature", + "dataObject" +}) +public class VerifyCMSSignatureRequestType { + + @XmlElement(name = "DateTime") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar dateTime; + @XmlElement(name = "CMSSignature", required = true) + protected byte[] cmsSignature; + @XmlElement(name = "DataObject") + protected CMSDataObjectOptionalMetaType dataObject; + @XmlAttribute(name = "Signatories") + protected List<String> signatories; + + /** + * Gets the value of the dateTime property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getDateTime() { + return dateTime; + } + + /** + * Sets the value of the dateTime property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setDateTime(XMLGregorianCalendar value) { + this.dateTime = value; + } + + /** + * Gets the value of the cmsSignature property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getCMSSignature() { + return cmsSignature; + } + + /** + * Sets the value of the cmsSignature property. + * + * @param value + * allowed object is + * byte[] + */ + public void setCMSSignature(byte[] value) { + this.cmsSignature = ((byte[]) value); + } + + /** + * Gets the value of the dataObject property. + * + * @return + * possible object is + * {@link CMSDataObjectOptionalMetaType } + * + */ + public CMSDataObjectOptionalMetaType getDataObject() { + return dataObject; + } + + /** + * Sets the value of the dataObject property. + * + * @param value + * allowed object is + * {@link CMSDataObjectOptionalMetaType } + * + */ + public void setDataObject(CMSDataObjectOptionalMetaType value) { + this.dataObject = value; + } + + /** + * Gets the value of the signatories property. + * + * <p> + * 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 <CODE>set</CODE> method for the signatories property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSignatories().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getSignatories() { + if (signatories == null) { + signatories = new ArrayList<String>(); + } + return this.signatories; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/VerifyCMSSignatureResponseType.java b/src/main/java/at/gv/util/xsd/sl/VerifyCMSSignatureResponseType.java new file mode 100644 index 0000000..747396a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/VerifyCMSSignatureResponseType.java @@ -0,0 +1,87 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.sl.xmldsig.KeyInfoType; + + +/** + * <p>Java class for VerifyCMSSignatureResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VerifyCMSSignatureResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="SignerInfo" type="{http://www.w3.org/2000/09/xmldsig#}KeyInfoType"/> + * <element name="SignatureCheck" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CheckResultType"/> + * <element name="CertificateCheck" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CheckResultType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VerifyCMSSignatureResponseType", propOrder = { + "signerInfoAndSignatureCheckAndCertificateCheck" +}) +public class VerifyCMSSignatureResponseType { + + @XmlElementRefs({ + @XmlElementRef(name = "SignatureCheck", namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", type = JAXBElement.class), + @XmlElementRef(name = "SignerInfo", namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", type = JAXBElement.class), + @XmlElementRef(name = "CertificateCheck", namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", type = JAXBElement.class) + }) + protected List<JAXBElement<?>> signerInfoAndSignatureCheckAndCertificateCheck; + + /** + * Gets the value of the signerInfoAndSignatureCheckAndCertificateCheck property. + * + * <p> + * 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 <CODE>set</CODE> method for the signerInfoAndSignatureCheckAndCertificateCheck property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSignerInfoAndSignatureCheckAndCertificateCheck().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link CheckResultType }{@code >} + * {@link JAXBElement }{@code <}{@link CheckResultType }{@code >} + * {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >} + * + * + */ + public List<JAXBElement<?>> getSignerInfoAndSignatureCheckAndCertificateCheck() { + if (signerInfoAndSignatureCheckAndCertificateCheck == null) { + signerInfoAndSignatureCheckAndCertificateCheck = new ArrayList<JAXBElement<?>>(); + } + return this.signerInfoAndSignatureCheckAndCertificateCheck; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/VerifyHashInfoRequestType.java b/src/main/java/at/gv/util/xsd/sl/VerifyHashInfoRequestType.java new file mode 100644 index 0000000..5e37cd4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/VerifyHashInfoRequestType.java @@ -0,0 +1,153 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for VerifyHashInfoRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VerifyHashInfoRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="HashData" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}HashDataType"/> + * <element name="HashAlgorithm" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="FriendlyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="HashValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VerifyHashInfoRequestType", propOrder = { + "hashData", + "hashAlgorithm", + "friendlyName", + "hashValue" +}) +public class VerifyHashInfoRequestType { + + @XmlElement(name = "HashData", required = true) + protected HashDataType hashData; + @XmlElement(name = "HashAlgorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String hashAlgorithm; + @XmlElement(name = "FriendlyName") + protected String friendlyName; + @XmlElement(name = "HashValue", required = true) + protected byte[] hashValue; + + /** + * Gets the value of the hashData property. + * + * @return + * possible object is + * {@link HashDataType } + * + */ + public HashDataType getHashData() { + return hashData; + } + + /** + * Sets the value of the hashData property. + * + * @param value + * allowed object is + * {@link HashDataType } + * + */ + public void setHashData(HashDataType value) { + this.hashData = value; + } + + /** + * Gets the value of the hashAlgorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHashAlgorithm() { + return hashAlgorithm; + } + + /** + * Sets the value of the hashAlgorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHashAlgorithm(String value) { + this.hashAlgorithm = value; + } + + /** + * Gets the value of the friendlyName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFriendlyName() { + return friendlyName; + } + + /** + * Sets the value of the friendlyName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFriendlyName(String value) { + this.friendlyName = value; + } + + /** + * Gets the value of the hashValue property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getHashValue() { + return hashValue; + } + + /** + * Sets the value of the hashValue property. + * + * @param value + * allowed object is + * byte[] + */ + public void setHashValue(byte[] value) { + this.hashValue = ((byte[]) value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/VerifyHashRequestType.java b/src/main/java/at/gv/util/xsd/sl/VerifyHashRequestType.java new file mode 100644 index 0000000..d685fac --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/VerifyHashRequestType.java @@ -0,0 +1,76 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for VerifyHashRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VerifyHashRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="HashInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}VerifyHashInfoRequestType" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VerifyHashRequestType", propOrder = { + "hashInfo" +}) +public class VerifyHashRequestType { + + @XmlElement(name = "HashInfo", required = true) + protected List<VerifyHashInfoRequestType> hashInfo; + + /** + * Gets the value of the hashInfo property. + * + * <p> + * 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 <CODE>set</CODE> method for the hashInfo property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getHashInfo().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link VerifyHashInfoRequestType } + * + * + */ + public List<VerifyHashInfoRequestType> getHashInfo() { + if (hashInfo == null) { + hashInfo = new ArrayList<VerifyHashInfoRequestType>(); + } + return this.hashInfo; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/VerifyHashResponseType.java b/src/main/java/at/gv/util/xsd/sl/VerifyHashResponseType.java new file mode 100644 index 0000000..77ce149 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/VerifyHashResponseType.java @@ -0,0 +1,76 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for VerifyHashResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VerifyHashResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="VerificationResult" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}VerificationResultType" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VerifyHashResponseType", propOrder = { + "verificationResult" +}) +public class VerifyHashResponseType { + + @XmlElement(name = "VerificationResult", required = true) + protected List<VerificationResultType> verificationResult; + + /** + * Gets the value of the verificationResult property. + * + * <p> + * 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 <CODE>set</CODE> method for the verificationResult property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getVerificationResult().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link VerificationResultType } + * + * + */ + public List<VerificationResultType> getVerificationResult() { + if (verificationResult == null) { + verificationResult = new ArrayList<VerificationResultType>(); + } + return this.verificationResult; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/VerifyXMLSignatureRequestType.java b/src/main/java/at/gv/util/xsd/sl/VerifyXMLSignatureRequestType.java new file mode 100644 index 0000000..4a50a1f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/VerifyXMLSignatureRequestType.java @@ -0,0 +1,135 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for VerifyXMLSignatureRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VerifyXMLSignatureRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> + * <element name="SignatureInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}SignatureInfoVerificationType"/> + * <element name="Supplement" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}DataObjectAssociationType" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VerifyXMLSignatureRequestType", propOrder = { + "dateTime", + "signatureInfo", + "supplement" +}) +public class VerifyXMLSignatureRequestType { + + @XmlElement(name = "DateTime") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar dateTime; + @XmlElement(name = "SignatureInfo", required = true) + protected SignatureInfoVerificationType signatureInfo; + @XmlElement(name = "Supplement") + protected List<DataObjectAssociationType> supplement; + + /** + * Gets the value of the dateTime property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getDateTime() { + return dateTime; + } + + /** + * Sets the value of the dateTime property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setDateTime(XMLGregorianCalendar value) { + this.dateTime = value; + } + + /** + * Gets the value of the signatureInfo property. + * + * @return + * possible object is + * {@link SignatureInfoVerificationType } + * + */ + public SignatureInfoVerificationType getSignatureInfo() { + return signatureInfo; + } + + /** + * Sets the value of the signatureInfo property. + * + * @param value + * allowed object is + * {@link SignatureInfoVerificationType } + * + */ + public void setSignatureInfo(SignatureInfoVerificationType value) { + this.signatureInfo = value; + } + + /** + * Gets the value of the supplement property. + * + * <p> + * 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 <CODE>set</CODE> method for the supplement property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSupplement().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link DataObjectAssociationType } + * + * + */ + public List<DataObjectAssociationType> getSupplement() { + if (supplement == null) { + supplement = new ArrayList<DataObjectAssociationType>(); + } + return this.supplement; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/VerifyXMLSignatureResponseType.java b/src/main/java/at/gv/util/xsd/sl/VerifyXMLSignatureResponseType.java new file mode 100644 index 0000000..fecc39a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/VerifyXMLSignatureResponseType.java @@ -0,0 +1,189 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.sl.xmldsig.KeyInfoType; + + +/** + * <p>Java class for VerifyXMLSignatureResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VerifyXMLSignatureResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="SignerInfo" type="{http://www.w3.org/2000/09/xmldsig#}KeyInfoType"/> + * <element name="SignatureCheck" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ReferencesCheckResultType"/> + * <element name="SignatureManifestCheck" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ReferencesCheckResultType"/> + * <element name="XMLDSIGManifestCheck" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}ManifestRefsCheckResultType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="CertificateCheck" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}CheckResultType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VerifyXMLSignatureResponseType", propOrder = { + "signerInfo", + "signatureCheck", + "signatureManifestCheck", + "xmldsigManifestCheck", + "certificateCheck" +}) +public class VerifyXMLSignatureResponseType { + + @XmlElement(name = "SignerInfo", required = true) + protected KeyInfoType signerInfo; + @XmlElement(name = "SignatureCheck", required = true) + protected ReferencesCheckResultType signatureCheck; + @XmlElement(name = "SignatureManifestCheck", required = true) + protected ReferencesCheckResultType signatureManifestCheck; + @XmlElement(name = "XMLDSIGManifestCheck") + protected List<ManifestRefsCheckResultType> xmldsigManifestCheck; + @XmlElement(name = "CertificateCheck", required = true) + protected CheckResultType certificateCheck; + + /** + * Gets the value of the signerInfo property. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getSignerInfo() { + return signerInfo; + } + + /** + * Sets the value of the signerInfo property. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setSignerInfo(KeyInfoType value) { + this.signerInfo = value; + } + + /** + * Gets the value of the signatureCheck property. + * + * @return + * possible object is + * {@link ReferencesCheckResultType } + * + */ + public ReferencesCheckResultType getSignatureCheck() { + return signatureCheck; + } + + /** + * Sets the value of the signatureCheck property. + * + * @param value + * allowed object is + * {@link ReferencesCheckResultType } + * + */ + public void setSignatureCheck(ReferencesCheckResultType value) { + this.signatureCheck = value; + } + + /** + * Gets the value of the signatureManifestCheck property. + * + * @return + * possible object is + * {@link ReferencesCheckResultType } + * + */ + public ReferencesCheckResultType getSignatureManifestCheck() { + return signatureManifestCheck; + } + + /** + * Sets the value of the signatureManifestCheck property. + * + * @param value + * allowed object is + * {@link ReferencesCheckResultType } + * + */ + public void setSignatureManifestCheck(ReferencesCheckResultType value) { + this.signatureManifestCheck = value; + } + + /** + * Gets the value of the xmldsigManifestCheck property. + * + * <p> + * 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 <CODE>set</CODE> method for the xmldsigManifestCheck property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getXMLDSIGManifestCheck().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ManifestRefsCheckResultType } + * + * + */ + public List<ManifestRefsCheckResultType> getXMLDSIGManifestCheck() { + if (xmldsigManifestCheck == null) { + xmldsigManifestCheck = new ArrayList<ManifestRefsCheckResultType>(); + } + return this.xmldsigManifestCheck; + } + + /** + * Gets the value of the certificateCheck property. + * + * @return + * possible object is + * {@link CheckResultType } + * + */ + public CheckResultType getCertificateCheck() { + return certificateCheck; + } + + /** + * Sets the value of the certificateCheck property. + * + * @param value + * allowed object is + * {@link CheckResultType } + * + */ + public void setCertificateCheck(CheckResultType value) { + this.certificateCheck = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/XMLContentType.java b/src/main/java/at/gv/util/xsd/sl/XMLContentType.java new file mode 100644 index 0000000..f681663 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/XMLContentType.java @@ -0,0 +1,70 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for XMLContentType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="XMLContentType"> + * <complexContent> + * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}AnyMixedChildrenType"> + * <attribute ref="{http://www.w3.org/XML/1998/namespace}space"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "XMLContentType") +public class XMLContentType + extends AnyMixedChildrenType +{ + + @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String space; + + /** + * Gets the value of the space property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSpace() { + return space; + } + + /** + * Sets the value of the space property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSpace(String value) { + this.space = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/XMLRecipientPublicKeyType.java b/src/main/java/at/gv/util/xsd/sl/XMLRecipientPublicKeyType.java new file mode 100644 index 0000000..fe24e4e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/XMLRecipientPublicKeyType.java @@ -0,0 +1,96 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.sl.xmldsig.KeyValueType; + + +/** + * <p>Java class for XMLRecipientPublicKeyType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="XMLRecipientPublicKeyType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyValue"/> + * <element name="X509Certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "XMLRecipientPublicKeyType", propOrder = { + "keyValue", + "x509Certificate" +}) +public class XMLRecipientPublicKeyType { + + @XmlElement(name = "KeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected KeyValueType keyValue; + @XmlElement(name = "X509Certificate") + protected byte[] x509Certificate; + + /** + * Gets the value of the keyValue property. + * + * @return + * possible object is + * {@link KeyValueType } + * + */ + public KeyValueType getKeyValue() { + return keyValue; + } + + /** + * Sets the value of the keyValue property. + * + * @param value + * allowed object is + * {@link KeyValueType } + * + */ + public void setKeyValue(KeyValueType value) { + this.keyValue = value; + } + + /** + * Gets the value of the x509Certificate property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getX509Certificate() { + return x509Certificate; + } + + /** + * Sets the value of the x509Certificate property. + * + * @param value + * allowed object is + * byte[] + */ + public void setX509Certificate(byte[] value) { + this.x509Certificate = ((byte[]) value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/XMLToBeEncryptedNewContentType.java b/src/main/java/at/gv/util/xsd/sl/XMLToBeEncryptedNewContentType.java new file mode 100644 index 0000000..c82c7ce --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/XMLToBeEncryptedNewContentType.java @@ -0,0 +1,69 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for XMLToBeEncryptedNewContentType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="XMLToBeEncryptedNewContentType"> + * <complexContent> + * <extension base="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}Base64XMLLocRefContentType"> + * <attribute name="EncDataReference" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "XMLToBeEncryptedNewContentType") +public class XMLToBeEncryptedNewContentType + extends Base64XMLLocRefContentType +{ + + @XmlAttribute(name = "EncDataReference") + @XmlSchemaType(name = "anyURI") + protected String encDataReference; + + /** + * Gets the value of the encDataReference property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncDataReference() { + return encDataReference; + } + + /** + * Sets the value of the encDataReference property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncDataReference(String value) { + this.encDataReference = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/XMLToBeEncryptedNewType.java b/src/main/java/at/gv/util/xsd/sl/XMLToBeEncryptedNewType.java new file mode 100644 index 0000000..613dfb0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/XMLToBeEncryptedNewType.java @@ -0,0 +1,159 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl; + +import java.math.BigInteger; +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for XMLToBeEncryptedNewType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="XMLToBeEncryptedNewType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="MetaInfo" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}MetaInfoType"/> + * <element name="Content" type="{http://www.buergerkarte.at/namespaces/securitylayer/1.2#}XMLToBeEncryptedNewContentType"/> + * </sequence> + * <attribute name="ParentSelector" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * <attribute name="NodeCount" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "XMLToBeEncryptedNewType", propOrder = { + "metaInfo", + "content" +}) +public class XMLToBeEncryptedNewType { + + @XmlElement(name = "MetaInfo", required = true) + protected MetaInfoType metaInfo; + @XmlElement(name = "Content", required = true) + protected XMLToBeEncryptedNewContentType content; + @XmlAttribute(name = "ParentSelector", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String parentSelector; + @XmlAttribute(name = "NodeCount", required = true) + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger nodeCount; + + /** + * Gets the value of the metaInfo property. + * + * @return + * possible object is + * {@link MetaInfoType } + * + */ + public MetaInfoType getMetaInfo() { + return metaInfo; + } + + /** + * Sets the value of the metaInfo property. + * + * @param value + * allowed object is + * {@link MetaInfoType } + * + */ + public void setMetaInfo(MetaInfoType value) { + this.metaInfo = value; + } + + /** + * Gets the value of the content property. + * + * @return + * possible object is + * {@link XMLToBeEncryptedNewContentType } + * + */ + public XMLToBeEncryptedNewContentType getContent() { + return content; + } + + /** + * Sets the value of the content property. + * + * @param value + * allowed object is + * {@link XMLToBeEncryptedNewContentType } + * + */ + public void setContent(XMLToBeEncryptedNewContentType value) { + this.content = value; + } + + /** + * Gets the value of the parentSelector property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getParentSelector() { + return parentSelector; + } + + /** + * Sets the value of the parentSelector property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setParentSelector(String value) { + this.parentSelector = value; + } + + /** + * Gets the value of the nodeCount property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getNodeCount() { + return nodeCount; + } + + /** + * Sets the value of the nodeCount property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setNodeCount(BigInteger value) { + this.nodeCount = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/package-info.java b/src/main/java/at/gv/util/xsd/sl/package-info.java new file mode 100644 index 0000000..37dc58d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/package-info.java @@ -0,0 +1,9 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.buergerkarte.at/namespaces/securitylayer/1.2#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.sl; diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/CanonicalizationMethodType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/CanonicalizationMethodType.java new file mode 100644 index 0000000..1b05834 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/CanonicalizationMethodType.java @@ -0,0 +1,109 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CanonicalizationMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CanonicalizationMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CanonicalizationMethodType", propOrder = { + "content" +}) +public class CanonicalizationMethodType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/DSAKeyValueType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/DSAKeyValueType.java new file mode 100644 index 0000000..38d99b5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/DSAKeyValueType.java @@ -0,0 +1,241 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <sequence minOccurs="0"> + * <element name="P" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="Q" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * <element name="J" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <element name="G" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <element name="Y" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <sequence minOccurs="0"> + * <element name="Seed" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="PgenCounter" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DSAKeyValueType", propOrder = { + "p", + "q", + "j", + "g", + "y", + "seed", + "pgenCounter" +}) +public class DSAKeyValueType { + + @XmlElement(name = "P") + protected String p; + @XmlElement(name = "Q") + protected String q; + @XmlElement(name = "J") + protected String j; + @XmlElement(name = "G") + protected String g; + @XmlElement(name = "Y", required = true) + protected String y; + @XmlElement(name = "Seed") + protected String seed; + @XmlElement(name = "PgenCounter") + protected String pgenCounter; + + /** + * Gets the value of the p property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getP() { + return p; + } + + /** + * Sets the value of the p property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setP(String value) { + this.p = value; + } + + /** + * Gets the value of the q property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQ() { + return q; + } + + /** + * Sets the value of the q property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQ(String value) { + this.q = value; + } + + /** + * Gets the value of the j property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getJ() { + return j; + } + + /** + * Sets the value of the j property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setJ(String value) { + this.j = value; + } + + /** + * Gets the value of the g property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getG() { + return g; + } + + /** + * Sets the value of the g property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setG(String value) { + this.g = value; + } + + /** + * Gets the value of the y property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getY() { + return y; + } + + /** + * Sets the value of the y property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setY(String value) { + this.y = value; + } + + /** + * Gets the value of the seed property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSeed() { + return seed; + } + + /** + * Sets the value of the seed property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSeed(String value) { + this.seed = value; + } + + /** + * Gets the value of the pgenCounter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPgenCounter() { + return pgenCounter; + } + + /** + * Sets the value of the pgenCounter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPgenCounter(String value) { + this.pgenCounter = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/DigestMethodType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/DigestMethodType.java new file mode 100644 index 0000000..a7edd73 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/DigestMethodType.java @@ -0,0 +1,111 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for DigestMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DigestMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DigestMethodType", propOrder = { + "content" +}) +public class DigestMethodType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/KeyInfoType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/KeyInfoType.java new file mode 100644 index 0000000..96d7472 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/KeyInfoType.java @@ -0,0 +1,142 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for KeyInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="KeyInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyName"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}RetrievalMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}X509Data"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}PGPData"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SPKIData"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}MgmtData"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyInfoType", propOrder = { + "content" +}) +public class KeyInfoType { + + @XmlElementRefs({ + @XmlElementRef(name = "X509Data", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "KeyName", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "KeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "MgmtData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "SPKIData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "PGPData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "RetrievalMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link X509DataType }{@code >} + * {@link Element } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link KeyValueType }{@code >} + * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link SPKIDataType }{@code >} + * {@link JAXBElement }{@code <}{@link PGPDataType }{@code >} + * {@link Object } + * {@link JAXBElement }{@code <}{@link RetrievalMethodType }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/KeyValueType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/KeyValueType.java new file mode 100644 index 0000000..3024831 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/KeyValueType.java @@ -0,0 +1,92 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for KeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="KeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DSAKeyValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}RSAKeyValue"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyValueType", propOrder = { + "content" +}) +public class KeyValueType { + + @XmlElementRefs({ + @XmlElementRef(name = "RSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "DSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link RSAKeyValueType }{@code >} + * {@link Object } + * {@link Element } + * {@link String } + * {@link JAXBElement }{@code <}{@link DSAKeyValueType }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/ManifestType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/ManifestType.java new file mode 100644 index 0000000..576a084 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/ManifestType.java @@ -0,0 +1,111 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +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.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; + + +/** + * <p>Java class for ManifestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ManifestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ManifestType", propOrder = { + "reference" +}) +public class ManifestType { + + @XmlElement(name = "Reference", required = true) + protected List<ReferenceType> reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the reference property. + * + * <p> + * 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 <CODE>set</CODE> method for the reference property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReference().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ReferenceType } + * + * + */ + public List<ReferenceType> getReference() { + if (reference == null) { + reference = new ArrayList<ReferenceType>(); + } + return this.reference; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/ObjectFactory.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/ObjectFactory.java new file mode 100644 index 0000000..ffb2cd8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/ObjectFactory.java @@ -0,0 +1,559 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +import java.math.BigInteger; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.sl.xmldsig package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _PGPDataTypePGPKeyID_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyID"); + private final static QName _PGPDataTypePGPKeyPacket_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyPacket"); + private final static QName _PGPData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPData"); + private final static QName _SPKIData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKIData"); + private final static QName _RetrievalMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RetrievalMethod"); + private final static QName _CanonicalizationMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "CanonicalizationMethod"); + private final static QName _SignatureProperty_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperty"); + private final static QName _Transforms_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transforms"); + private final static QName _Manifest_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Manifest"); + private final static QName _SignatureMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureMethod"); + private final static QName _KeyInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyInfo"); + private final static QName _DigestMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestMethod"); + private final static QName _MgmtData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "MgmtData"); + private final static QName _Reference_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Reference"); + private final static QName _RSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RSAKeyValue"); + private final static QName _Signature_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Signature"); + private final static QName _DSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DSAKeyValue"); + private final static QName _SignedInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignedInfo"); + private final static QName _Object_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Object"); + private final static QName _SignatureValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureValue"); + private final static QName _Transform_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transform"); + private final static QName _X509Data_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Data"); + private final static QName _DigestValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestValue"); + private final static QName _SignatureProperties_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperties"); + private final static QName _KeyName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyName"); + private final static QName _KeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyValue"); + private final static QName _TransformTypeXPath_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "XPath"); + private final static QName _X509DataTypeX509IssuerSerial_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509IssuerSerial"); + private final static QName _X509DataTypeX509Certificate_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Certificate"); + private final static QName _X509DataTypeX509SKI_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SKI"); + private final static QName _X509DataTypeX509SubjectName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SubjectName"); + private final static QName _X509DataTypeX509CRL_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509CRL"); + private final static QName _SignatureMethodTypeHMACOutputLength_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "HMACOutputLength"); + private final static QName _SPKIDataTypeSPKISexp_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKISexp"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.sl.xmldsig + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link CanonicalizationMethodType } + * + */ + public CanonicalizationMethodType createCanonicalizationMethodType() { + return new CanonicalizationMethodType(); + } + + /** + * Create an instance of {@link KeyValueType } + * + */ + public KeyValueType createKeyValueType() { + return new KeyValueType(); + } + + /** + * Create an instance of {@link SignatureType } + * + */ + public SignatureType createSignatureType() { + return new SignatureType(); + } + + /** + * Create an instance of {@link TransformsType } + * + */ + public TransformsType createTransformsType() { + return new TransformsType(); + } + + /** + * Create an instance of {@link RSAKeyValueType } + * + */ + public RSAKeyValueType createRSAKeyValueType() { + return new RSAKeyValueType(); + } + + /** + * Create an instance of {@link SignatureMethodType } + * + */ + public SignatureMethodType createSignatureMethodType() { + return new SignatureMethodType(); + } + + /** + * Create an instance of {@link ObjectType } + * + */ + public ObjectType createObjectType() { + return new ObjectType(); + } + + /** + * Create an instance of {@link RetrievalMethodType } + * + */ + public RetrievalMethodType createRetrievalMethodType() { + return new RetrievalMethodType(); + } + + /** + * Create an instance of {@link DigestMethodType } + * + */ + public DigestMethodType createDigestMethodType() { + return new DigestMethodType(); + } + + /** + * Create an instance of {@link SignaturePropertiesType } + * + */ + public SignaturePropertiesType createSignaturePropertiesType() { + return new SignaturePropertiesType(); + } + + /** + * Create an instance of {@link SignatureValueType } + * + */ + public SignatureValueType createSignatureValueType() { + return new SignatureValueType(); + } + + /** + * Create an instance of {@link SPKIDataType } + * + */ + public SPKIDataType createSPKIDataType() { + return new SPKIDataType(); + } + + /** + * Create an instance of {@link PGPDataType } + * + */ + public PGPDataType createPGPDataType() { + return new PGPDataType(); + } + + /** + * Create an instance of {@link DSAKeyValueType } + * + */ + public DSAKeyValueType createDSAKeyValueType() { + return new DSAKeyValueType(); + } + + /** + * Create an instance of {@link X509IssuerSerialType } + * + */ + public X509IssuerSerialType createX509IssuerSerialType() { + return new X509IssuerSerialType(); + } + + /** + * Create an instance of {@link ManifestType } + * + */ + public ManifestType createManifestType() { + return new ManifestType(); + } + + /** + * Create an instance of {@link SignaturePropertyType } + * + */ + public SignaturePropertyType createSignaturePropertyType() { + return new SignaturePropertyType(); + } + + /** + * Create an instance of {@link KeyInfoType } + * + */ + public KeyInfoType createKeyInfoType() { + return new KeyInfoType(); + } + + /** + * Create an instance of {@link X509DataType } + * + */ + public X509DataType createX509DataType() { + return new X509DataType(); + } + + /** + * Create an instance of {@link SignedInfoType } + * + */ + public SignedInfoType createSignedInfoType() { + return new SignedInfoType(); + } + + /** + * Create an instance of {@link ReferenceType } + * + */ + public ReferenceType createReferenceType() { + return new ReferenceType(); + } + + /** + * Create an instance of {@link TransformType } + * + */ + public TransformType createTransformType() { + return new TransformType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyID", scope = PGPDataType.class) + public JAXBElement<String> createPGPDataTypePGPKeyID(String value) { + return new JAXBElement<String>(_PGPDataTypePGPKeyID_QNAME, String.class, PGPDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyPacket", scope = PGPDataType.class) + public JAXBElement<String> createPGPDataTypePGPKeyPacket(String value) { + return new JAXBElement<String>(_PGPDataTypePGPKeyPacket_QNAME, String.class, PGPDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PGPDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPData") + public JAXBElement<PGPDataType> createPGPData(PGPDataType value) { + return new JAXBElement<PGPDataType>(_PGPData_QNAME, PGPDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SPKIDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKIData") + public JAXBElement<SPKIDataType> createSPKIData(SPKIDataType value) { + return new JAXBElement<SPKIDataType>(_SPKIData_QNAME, SPKIDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RetrievalMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RetrievalMethod") + public JAXBElement<RetrievalMethodType> createRetrievalMethod(RetrievalMethodType value) { + return new JAXBElement<RetrievalMethodType>(_RetrievalMethod_QNAME, RetrievalMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CanonicalizationMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "CanonicalizationMethod") + public JAXBElement<CanonicalizationMethodType> createCanonicalizationMethod(CanonicalizationMethodType value) { + return new JAXBElement<CanonicalizationMethodType>(_CanonicalizationMethod_QNAME, CanonicalizationMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignaturePropertyType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperty") + public JAXBElement<SignaturePropertyType> createSignatureProperty(SignaturePropertyType value) { + return new JAXBElement<SignaturePropertyType>(_SignatureProperty_QNAME, SignaturePropertyType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TransformsType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transforms") + public JAXBElement<TransformsType> createTransforms(TransformsType value) { + return new JAXBElement<TransformsType>(_Transforms_QNAME, TransformsType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ManifestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Manifest") + public JAXBElement<ManifestType> createManifest(ManifestType value) { + return new JAXBElement<ManifestType>(_Manifest_QNAME, ManifestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureMethod") + public JAXBElement<SignatureMethodType> createSignatureMethod(SignatureMethodType value) { + return new JAXBElement<SignatureMethodType>(_SignatureMethod_QNAME, SignatureMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyInfo") + public JAXBElement<KeyInfoType> createKeyInfo(KeyInfoType value) { + return new JAXBElement<KeyInfoType>(_KeyInfo_QNAME, KeyInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DigestMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestMethod") + public JAXBElement<DigestMethodType> createDigestMethod(DigestMethodType value) { + return new JAXBElement<DigestMethodType>(_DigestMethod_QNAME, DigestMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "MgmtData") + public JAXBElement<String> createMgmtData(String value) { + return new JAXBElement<String>(_MgmtData_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Reference") + public JAXBElement<ReferenceType> createReference(ReferenceType value) { + return new JAXBElement<ReferenceType>(_Reference_QNAME, ReferenceType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RSAKeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RSAKeyValue") + public JAXBElement<RSAKeyValueType> createRSAKeyValue(RSAKeyValueType value) { + return new JAXBElement<RSAKeyValueType>(_RSAKeyValue_QNAME, RSAKeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Signature") + public JAXBElement<SignatureType> createSignature(SignatureType value) { + return new JAXBElement<SignatureType>(_Signature_QNAME, SignatureType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DSAKeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DSAKeyValue") + public JAXBElement<DSAKeyValueType> createDSAKeyValue(DSAKeyValueType value) { + return new JAXBElement<DSAKeyValueType>(_DSAKeyValue_QNAME, DSAKeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignedInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignedInfo") + public JAXBElement<SignedInfoType> createSignedInfo(SignedInfoType value) { + return new JAXBElement<SignedInfoType>(_SignedInfo_QNAME, SignedInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ObjectType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Object") + public JAXBElement<ObjectType> createObject(ObjectType value) { + return new JAXBElement<ObjectType>(_Object_QNAME, ObjectType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureValue") + public JAXBElement<SignatureValueType> createSignatureValue(SignatureValueType value) { + return new JAXBElement<SignatureValueType>(_SignatureValue_QNAME, SignatureValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TransformType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transform") + public JAXBElement<TransformType> createTransform(TransformType value) { + return new JAXBElement<TransformType>(_Transform_QNAME, TransformType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link X509DataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Data") + public JAXBElement<X509DataType> createX509Data(X509DataType value) { + return new JAXBElement<X509DataType>(_X509Data_QNAME, X509DataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestValue") + public JAXBElement<String> createDigestValue(String value) { + return new JAXBElement<String>(_DigestValue_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignaturePropertiesType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperties") + public JAXBElement<SignaturePropertiesType> createSignatureProperties(SignaturePropertiesType value) { + return new JAXBElement<SignaturePropertiesType>(_SignatureProperties_QNAME, SignaturePropertiesType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyName") + public JAXBElement<String> createKeyName(String value) { + return new JAXBElement<String>(_KeyName_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyValue") + public JAXBElement<KeyValueType> createKeyValue(KeyValueType value) { + return new JAXBElement<KeyValueType>(_KeyValue_QNAME, KeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "XPath", scope = TransformType.class) + public JAXBElement<String> createTransformTypeXPath(String value) { + return new JAXBElement<String>(_TransformTypeXPath_QNAME, String.class, TransformType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509IssuerSerial", scope = X509DataType.class) + public JAXBElement<X509IssuerSerialType> createX509DataTypeX509IssuerSerial(X509IssuerSerialType value) { + return new JAXBElement<X509IssuerSerialType>(_X509DataTypeX509IssuerSerial_QNAME, X509IssuerSerialType.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Certificate", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509Certificate(String value) { + return new JAXBElement<String>(_X509DataTypeX509Certificate_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SKI", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509SKI(String value) { + return new JAXBElement<String>(_X509DataTypeX509SKI_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SubjectName", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509SubjectName(String value) { + return new JAXBElement<String>(_X509DataTypeX509SubjectName_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509CRL", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509CRL(String value) { + return new JAXBElement<String>(_X509DataTypeX509CRL_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "HMACOutputLength", scope = SignatureMethodType.class) + public JAXBElement<BigInteger> createSignatureMethodTypeHMACOutputLength(BigInteger value) { + return new JAXBElement<BigInteger>(_SignatureMethodTypeHMACOutputLength_QNAME, BigInteger.class, SignatureMethodType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKISexp", scope = SPKIDataType.class) + public JAXBElement<String> createSPKIDataTypeSPKISexp(String value) { + return new JAXBElement<String>(_SPKIDataTypeSPKISexp_QNAME, String.class, SPKIDataType.class, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/ObjectType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/ObjectType.java new file mode 100644 index 0000000..22fdf2f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/ObjectType.java @@ -0,0 +1,171 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for ObjectType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ObjectType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ObjectType", propOrder = { + "content" +}) +public class ObjectType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "MimeType") + protected String mimeType; + @XmlAttribute(name = "Encoding") + @XmlSchemaType(name = "anyURI") + protected String encoding; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * 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; + } + + /** + * Gets the value of the mimeType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMimeType() { + return mimeType; + } + + /** + * Sets the value of the mimeType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMimeType(String value) { + this.mimeType = value; + } + + /** + * Gets the value of the encoding property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncoding() { + return encoding; + } + + /** + * Sets the value of the encoding property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncoding(String value) { + this.encoding = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/PGPDataType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/PGPDataType.java new file mode 100644 index 0000000..10e42c3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/PGPDataType.java @@ -0,0 +1,105 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for PGPDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PGPDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="PGPKeyID" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="PGPKeyPacket" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <sequence> + * <element name="PGPKeyPacket" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PGPDataType", propOrder = { + "content" +}) +public class PGPDataType { + + @XmlElementRefs({ + @XmlElementRef(name = "PGPKeyID", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "PGPKeyPacket", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the rest of the content model. + * + * <p> + * You are getting this "catch-all" property because of the following reason: + * The field name "PGPKeyPacket" is used by two different parts of a schema. See: + * line 190 of file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/sl/W3C-XMLDSig.xsd + * line 186 of file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/sl/W3C-XMLDSig.xsd + * <p> + * To get rid of this property, apply a property customization to one + * of both of the following declarations to change their names: + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/RSAKeyValueType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/RSAKeyValueType.java new file mode 100644 index 0000000..4fc68a8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/RSAKeyValueType.java @@ -0,0 +1,97 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Modulus" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="Exponent" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RSAKeyValueType", propOrder = { + "modulus", + "exponent" +}) +public class RSAKeyValueType { + + @XmlElement(name = "Modulus", required = true) + protected String modulus; + @XmlElement(name = "Exponent", required = true) + protected String exponent; + + /** + * Gets the value of the modulus property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModulus() { + return modulus; + } + + /** + * Sets the value of the modulus property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModulus(String value) { + this.modulus = value; + } + + /** + * Gets the value of the exponent property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getExponent() { + return exponent; + } + + /** + * Sets the value of the exponent property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setExponent(String value) { + this.exponent = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/ReferenceType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/ReferenceType.java new file mode 100644 index 0000000..78c0e19 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/ReferenceType.java @@ -0,0 +1,216 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +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.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; + + +/** + * <p>Java class for ReferenceType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ReferenceType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestValue"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferenceType", propOrder = { + "transforms", + "digestMethod", + "digestValue" +}) +public class ReferenceType { + + @XmlElement(name = "Transforms") + protected TransformsType transforms; + @XmlElement(name = "DigestMethod", required = true) + protected DigestMethodType digestMethod; + @XmlElement(name = "DigestValue", required = true) + protected String digestValue; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "URI") + @XmlSchemaType(name = "anyURI") + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the digestMethod property. + * + * @return + * possible object is + * {@link DigestMethodType } + * + */ + public DigestMethodType getDigestMethod() { + return digestMethod; + } + + /** + * Sets the value of the digestMethod property. + * + * @param value + * allowed object is + * {@link DigestMethodType } + * + */ + public void setDigestMethod(DigestMethodType value) { + this.digestMethod = value; + } + + /** + * Gets the value of the digestValue property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDigestValue() { + return digestValue; + } + + /** + * Sets the value of the digestValue property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDigestValue(String value) { + this.digestValue = value; + } + + /** + * 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; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/RetrievalMethodType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/RetrievalMethodType.java new file mode 100644 index 0000000..45be2cf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/RetrievalMethodType.java @@ -0,0 +1,127 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RetrievalMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RetrievalMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Transforms" type="{http://www.w3.org/2000/09/xmldsig#}TransformsType" minOccurs="0"/> + * </sequence> + * <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RetrievalMethodType", propOrder = { + "transforms" +}) +public class RetrievalMethodType { + + @XmlElement(name = "Transforms") + protected TransformsType transforms; + @XmlAttribute(name = "URI") + @XmlSchemaType(name = "anyURI") + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/SPKIDataType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/SPKIDataType.java new file mode 100644 index 0000000..7eb493f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/SPKIDataType.java @@ -0,0 +1,83 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for SPKIDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SPKIDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="SPKISexp" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other' minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SPKIDataType", propOrder = { + "spkiSexpAndAny" +}) +public class SPKIDataType { + + @XmlElementRef(name = "SPKISexp", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlAnyElement(lax = true) + protected List<Object> spkiSexpAndAny; + + /** + * Gets the value of the spkiSexpAndAny property. + * + * <p> + * 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 <CODE>set</CODE> method for the spkiSexpAndAny property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSPKISexpAndAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getSPKISexpAndAny() { + if (spkiSexpAndAny == null) { + spkiSexpAndAny = new ArrayList<Object>(); + } + return this.spkiSexpAndAny; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/SignatureMethodType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/SignatureMethodType.java new file mode 100644 index 0000000..db8ba67 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/SignatureMethodType.java @@ -0,0 +1,115 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SignatureMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="HMACOutputLength" type="{http://www.w3.org/2000/09/xmldsig#}HMACOutputLengthType" minOccurs="0"/> + * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureMethodType", propOrder = { + "content" +}) +public class SignatureMethodType { + + @XmlElementRef(name = "HMACOutputLength", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/SignaturePropertiesType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/SignaturePropertiesType.java new file mode 100644 index 0000000..9a595bf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/SignaturePropertiesType.java @@ -0,0 +1,111 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +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.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; + + +/** + * <p>Java class for SignaturePropertiesType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignaturePropertiesType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureProperty" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignaturePropertiesType", propOrder = { + "signatureProperty" +}) +public class SignaturePropertiesType { + + @XmlElement(name = "SignatureProperty", required = true) + protected List<SignaturePropertyType> signatureProperty; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the signatureProperty property. + * + * <p> + * 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 <CODE>set</CODE> method for the signatureProperty property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSignatureProperty().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link SignaturePropertyType } + * + * + */ + public List<SignaturePropertyType> getSignatureProperty() { + if (signatureProperty == null) { + signatureProperty = new ArrayList<SignaturePropertyType>(); + } + return this.signatureProperty; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/SignaturePropertyType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/SignaturePropertyType.java new file mode 100644 index 0000000..c846ad0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/SignaturePropertyType.java @@ -0,0 +1,144 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for SignaturePropertyType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignaturePropertyType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <any processContents='lax' namespace='##other'/> + * </choice> + * <attribute name="Target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignaturePropertyType", propOrder = { + "content" +}) +public class SignaturePropertyType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Target", required = true) + @XmlSchemaType(name = "anyURI") + protected String target; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the target property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTarget() { + return target; + } + + /** + * Sets the value of the target property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTarget(String value) { + this.target = value; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/SignatureType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/SignatureType.java new file mode 100644 index 0000000..8cbd09d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/SignatureType.java @@ -0,0 +1,195 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +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.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; + + +/** + * <p>Java class for SignatureType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignedInfo"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Object" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureType", propOrder = { + "signedInfo", + "signatureValue", + "keyInfo", + "object" +}) +public class SignatureType { + + @XmlElement(name = "SignedInfo", required = true) + protected SignedInfoType signedInfo; + @XmlElement(name = "SignatureValue", required = true) + protected SignatureValueType signatureValue; + @XmlElement(name = "KeyInfo") + protected KeyInfoType keyInfo; + @XmlElement(name = "Object") + protected List<ObjectType> object; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the signedInfo property. + * + * @return + * possible object is + * {@link SignedInfoType } + * + */ + public SignedInfoType getSignedInfo() { + return signedInfo; + } + + /** + * Sets the value of the signedInfo property. + * + * @param value + * allowed object is + * {@link SignedInfoType } + * + */ + public void setSignedInfo(SignedInfoType value) { + this.signedInfo = value; + } + + /** + * Gets the value of the signatureValue property. + * + * @return + * possible object is + * {@link SignatureValueType } + * + */ + public SignatureValueType getSignatureValue() { + return signatureValue; + } + + /** + * Sets the value of the signatureValue property. + * + * @param value + * allowed object is + * {@link SignatureValueType } + * + */ + public void setSignatureValue(SignatureValueType value) { + this.signatureValue = value; + } + + /** + * Gets the value of the keyInfo property. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Sets the value of the keyInfo property. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Gets the value of the object property. + * + * <p> + * 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 <CODE>set</CODE> method for the object property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getObject().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ObjectType } + * + * + */ + public List<ObjectType> getObject() { + if (object == null) { + object = new ArrayList<ObjectType>(); + } + return this.object; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/SignatureValueType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/SignatureValueType.java new file mode 100644 index 0000000..4353624 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/SignatureValueType.java @@ -0,0 +1,101 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for SignatureValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureValueType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2000/09/xmldsig#>CryptoBinary"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureValueType", propOrder = { + "value" +}) +public class SignatureValueType { + + @XmlValue + protected String value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/SignedInfoType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/SignedInfoType.java new file mode 100644 index 0000000..c5f0407 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/SignedInfoType.java @@ -0,0 +1,167 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +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.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; + + +/** + * <p>Java class for SignedInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignedInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignedInfoType", propOrder = { + "canonicalizationMethod", + "signatureMethod", + "reference" +}) +public class SignedInfoType { + + @XmlElement(name = "CanonicalizationMethod", required = true) + protected CanonicalizationMethodType canonicalizationMethod; + @XmlElement(name = "SignatureMethod", required = true) + protected SignatureMethodType signatureMethod; + @XmlElement(name = "Reference", required = true) + protected List<ReferenceType> reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * 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 signatureMethod property. + * + * @return + * possible object is + * {@link SignatureMethodType } + * + */ + public SignatureMethodType getSignatureMethod() { + return signatureMethod; + } + + /** + * Sets the value of the signatureMethod property. + * + * @param value + * allowed object is + * {@link SignatureMethodType } + * + */ + public void setSignatureMethod(SignatureMethodType value) { + this.signatureMethod = value; + } + + /** + * Gets the value of the reference property. + * + * <p> + * 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 <CODE>set</CODE> method for the reference property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReference().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ReferenceType } + * + * + */ + public List<ReferenceType> getReference() { + if (reference == null) { + reference = new ArrayList<ReferenceType>(); + } + return this.reference; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/TransformType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/TransformType.java new file mode 100644 index 0000000..67658f0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/TransformType.java @@ -0,0 +1,116 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for TransformType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TransformType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax' namespace='##other'/> + * <element name="XPath" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </choice> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformType", propOrder = { + "content" +}) +public class TransformType { + + @XmlElementRef(name = "XPath", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * {@link Element } + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/TransformsType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/TransformsType.java new file mode 100644 index 0000000..2f1dbc3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/TransformsType.java @@ -0,0 +1,76 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TransformsType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TransformsType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transform" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformsType", propOrder = { + "transform" +}) +public class TransformsType { + + @XmlElement(name = "Transform", required = true) + protected List<TransformType> transform; + + /** + * Gets the value of the transform property. + * + * <p> + * 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 <CODE>set</CODE> method for the transform property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTransform().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TransformType } + * + * + */ + public List<TransformType> getTransform() { + if (transform == null) { + transform = new ArrayList<TransformType>(); + } + return this.transform; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/X509DataType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/X509DataType.java new file mode 100644 index 0000000..5201ffd --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/X509DataType.java @@ -0,0 +1,100 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for X509DataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="X509DataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <choice> + * <element name="X509IssuerSerial" type="{http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType"/> + * <element name="X509SKI" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="X509SubjectName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="X509Certificate" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="X509CRL" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509DataType", propOrder = { + "x509IssuerSerialOrX509SKIOrX509SubjectName" +}) +public class X509DataType { + + @XmlElementRefs({ + @XmlElementRef(name = "X509IssuerSerial", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509Certificate", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509SubjectName", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509CRL", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509SKI", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlAnyElement(lax = true) + protected List<Object> x509IssuerSerialOrX509SKIOrX509SubjectName; + + /** + * Gets the value of the x509IssuerSerialOrX509SKIOrX509SubjectName property. + * + * <p> + * 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 <CODE>set</CODE> method for the x509IssuerSerialOrX509SKIOrX509SubjectName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getX509IssuerSerialOrX509SKIOrX509SubjectName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >} + * {@link Element } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<Object> getX509IssuerSerialOrX509SKIOrX509SubjectName() { + if (x509IssuerSerialOrX509SKIOrX509SubjectName == null) { + x509IssuerSerialOrX509SKIOrX509SubjectName = new ArrayList<Object>(); + } + return this.x509IssuerSerialOrX509SKIOrX509SubjectName; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/X509IssuerSerialType.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/X509IssuerSerialType.java new file mode 100644 index 0000000..77f51ba --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/X509IssuerSerialType.java @@ -0,0 +1,98 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + + +package at.gv.util.xsd.sl.xmldsig; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for X509IssuerSerialType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="X509IssuerSerialType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="X509IssuerName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="X509SerialNumber" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509IssuerSerialType", propOrder = { + "x509IssuerName", + "x509SerialNumber" +}) +public class X509IssuerSerialType { + + @XmlElement(name = "X509IssuerName", required = true) + protected String x509IssuerName; + @XmlElement(name = "X509SerialNumber", required = true) + protected BigInteger x509SerialNumber; + + /** + * Gets the value of the x509IssuerName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getX509IssuerName() { + return x509IssuerName; + } + + /** + * Sets the value of the x509IssuerName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setX509IssuerName(String value) { + this.x509IssuerName = value; + } + + /** + * Gets the value of the x509SerialNumber property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getX509SerialNumber() { + return x509SerialNumber; + } + + /** + * Sets the value of the x509SerialNumber property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setX509SerialNumber(BigInteger value) { + this.x509SerialNumber = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/sl/xmldsig/package-info.java b/src/main/java/at/gv/util/xsd/sl/xmldsig/package-info.java new file mode 100644 index 0000000..5702db8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/sl/xmldsig/package-info.java @@ -0,0 +1,9 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.02.09 at 01:57:24 PM MEZ +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2000/09/xmldsig#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.sl.xmldsig; diff --git a/src/main/java/at/gv/util/xsd/srzgw/CreateIdentityLinkRequest.java b/src/main/java/at/gv/util/xsd/srzgw/CreateIdentityLinkRequest.java new file mode 100644 index 0000000..15aa71b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/srzgw/CreateIdentityLinkRequest.java @@ -0,0 +1,425 @@ + +package at.gv.util.xsd.srzgw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.mis.MandateIdentifiers; +import at.gv.util.xsd.stork.MandateContent; +import at.gv.util.xsd.stork.RepresentationPerson; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PEPSData" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Identifier" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Firstname" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Familyname" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="DateOfBirth" type="{http://reference.e-government.gv.at/namespace/szrgw/20070807/xsd}DateOfBirthType"/> + * <element name="Representative" type="{urn:eu:stork:names:tc:PEPS:1.0:assertion}representationPerson" minOccurs="0"/> + * <element name="Represented" type="{urn:eu:stork:names:tc:PEPS:1.0:assertion}representationPerson" minOccurs="0"/> + * <element name="MandateContent" type="{urn:eu:stork:names:tc:PEPS:1.0:assertion}mandateContent" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Signature"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd}MandateIdentifiers" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "pepsData", + "signature", + "mandateIdentifiers" +}) +@XmlRootElement(name = "CreateIdentityLinkRequest") +public class CreateIdentityLinkRequest { + + @XmlElement(name = "PEPSData") + protected CreateIdentityLinkRequest.PEPSData pepsData; + @XmlElement(name = "Signature", required = true) + protected CreateIdentityLinkRequest.Signature signature; + @XmlElement(name = "MandateIdentifiers", namespace = "http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd") + protected MandateIdentifiers mandateIdentifiers; + + /** + * Gets the value of the pepsData property. + * + * @return + * possible object is + * {@link CreateIdentityLinkRequest.PEPSData } + * + */ + public CreateIdentityLinkRequest.PEPSData getPEPSData() { + return pepsData; + } + + /** + * Sets the value of the pepsData property. + * + * @param value + * allowed object is + * {@link CreateIdentityLinkRequest.PEPSData } + * + */ + public void setPEPSData(CreateIdentityLinkRequest.PEPSData value) { + this.pepsData = value; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link CreateIdentityLinkRequest.Signature } + * + */ + public CreateIdentityLinkRequest.Signature getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link CreateIdentityLinkRequest.Signature } + * + */ + public void setSignature(CreateIdentityLinkRequest.Signature value) { + this.signature = value; + } + + /** + * Gets the value of the mandateIdentifiers property. + * + * @return + * possible object is + * {@link MandateIdentifiers } + * + */ + public MandateIdentifiers getMandateIdentifiers() { + return mandateIdentifiers; + } + + /** + * Sets the value of the mandateIdentifiers property. + * + * @param value + * allowed object is + * {@link MandateIdentifiers } + * + */ + public void setMandateIdentifiers(MandateIdentifiers value) { + this.mandateIdentifiers = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Identifier" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Firstname" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Familyname" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="DateOfBirth" type="{http://reference.e-government.gv.at/namespace/szrgw/20070807/xsd}DateOfBirthType"/> + * <element name="Representative" type="{urn:eu:stork:names:tc:PEPS:1.0:assertion}representationPerson" minOccurs="0"/> + * <element name="Represented" type="{urn:eu:stork:names:tc:PEPS:1.0:assertion}representationPerson" minOccurs="0"/> + * <element name="MandateContent" type="{urn:eu:stork:names:tc:PEPS:1.0:assertion}mandateContent" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "identifier", + "firstname", + "familyname", + "dateOfBirth", + "representative", + "represented", + "mandateContent" + }) + public static class PEPSData { + + @XmlElement(name = "Identifier", required = true) + protected String identifier; + @XmlElement(name = "Firstname", required = true) + protected String firstname; + @XmlElement(name = "Familyname", required = true) + protected String familyname; + @XmlElement(name = "DateOfBirth", required = true) + protected String dateOfBirth; + @XmlElement(name = "Representative") + protected RepresentationPerson representative; + @XmlElement(name = "Represented") + protected RepresentationPerson represented; + @XmlElement(name = "MandateContent") + protected MandateContent mandateContent; + + /** + * Gets the value of the identifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdentifier() { + return identifier; + } + + /** + * Sets the value of the identifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdentifier(String value) { + this.identifier = value; + } + + /** + * Gets the value of the firstname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFirstname() { + return firstname; + } + + /** + * Sets the value of the firstname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFirstname(String value) { + this.firstname = value; + } + + /** + * Gets the value of the familyname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFamilyname() { + return familyname; + } + + /** + * Sets the value of the familyname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFamilyname(String value) { + this.familyname = value; + } + + /** + * Gets the value of the dateOfBirth property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDateOfBirth() { + return dateOfBirth; + } + + /** + * Sets the value of the dateOfBirth property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDateOfBirth(String value) { + this.dateOfBirth = value; + } + + /** + * Gets the value of the representative property. + * + * @return + * possible object is + * {@link RepresentationPerson } + * + */ + public RepresentationPerson getRepresentative() { + return representative; + } + + /** + * Sets the value of the representative property. + * + * @param value + * allowed object is + * {@link RepresentationPerson } + * + */ + public void setRepresentative(RepresentationPerson value) { + this.representative = value; + } + + /** + * Gets the value of the represented property. + * + * @return + * possible object is + * {@link RepresentationPerson } + * + */ + public RepresentationPerson getRepresented() { + return represented; + } + + /** + * Sets the value of the represented property. + * + * @param value + * allowed object is + * {@link RepresentationPerson } + * + */ + public void setRepresented(RepresentationPerson value) { + this.represented = value; + } + + /** + * Gets the value of the mandateContent property. + * + * @return + * possible object is + * {@link MandateContent } + * + */ + public MandateContent getMandateContent() { + return mandateContent; + } + + /** + * Sets the value of the mandateContent property. + * + * @param value + * allowed object is + * {@link MandateContent } + * + */ + public void setMandateContent(MandateContent value) { + this.mandateContent = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "base64Content" + }) + public static class Signature { + + @XmlElement(name = "Base64Content", required = true) + protected byte[] base64Content; + + /** + * Gets the value of the base64Content property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getBase64Content() { + return base64Content; + } + + /** + * Sets the value of the base64Content property. + * + * @param value + * allowed object is + * byte[] + */ + public void setBase64Content(byte[] value) { + this.base64Content = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/srzgw/CreateIdentityLinkResponse.java b/src/main/java/at/gv/util/xsd/srzgw/CreateIdentityLinkResponse.java new file mode 100644 index 0000000..255bd84 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/srzgw/CreateIdentityLinkResponse.java @@ -0,0 +1,128 @@ + +package at.gv.util.xsd.srzgw; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="IdentityLink" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="Mandate" type="{http://www.w3.org/2001/XMLSchema}base64Binary" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <sequence> + * <element name="ErrorResponse" type="{http://reference.e-government.gv.at/namespace/szrgw/20070807/xsd}ErrorResponseType"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "identityLink", + "mandate", + "errorResponse" +}) +@XmlRootElement(name = "CreateIdentityLinkResponse") +public class CreateIdentityLinkResponse { + + @XmlElement(name = "IdentityLink") + protected byte[] identityLink; + @XmlElement(name = "Mandate") + protected List<byte[]> mandate; + @XmlElement(name = "ErrorResponse") + protected ErrorResponseType errorResponse; + + /** + * Gets the value of the identityLink property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getIdentityLink() { + return identityLink; + } + + /** + * Sets the value of the identityLink property. + * + * @param value + * allowed object is + * byte[] + */ + public void setIdentityLink(byte[] value) { + this.identityLink = value; + } + + /** + * Gets the value of the mandate property. + * + * <p> + * 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 <CODE>set</CODE> method for the mandate property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMandate().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * byte[] + * + */ + public List<byte[]> getMandate() { + if (mandate == null) { + mandate = new ArrayList<byte[]>(); + } + return this.mandate; + } + + /** + * Gets the value of the errorResponse property. + * + * @return + * possible object is + * {@link ErrorResponseType } + * + */ + public ErrorResponseType getErrorResponse() { + return errorResponse; + } + + /** + * Sets the value of the errorResponse property. + * + * @param value + * allowed object is + * {@link ErrorResponseType } + * + */ + public void setErrorResponse(ErrorResponseType value) { + this.errorResponse = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/srzgw/ErrorResponseType.java b/src/main/java/at/gv/util/xsd/srzgw/ErrorResponseType.java new file mode 100644 index 0000000..294e59b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/srzgw/ErrorResponseType.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.srzgw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Allgemeiner Typ fuer ErrorResponse + * + * <p>Java class for ErrorResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ErrorResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}anyType"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}anyType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ErrorResponseType", propOrder = { + "errorCode", + "info" +}) +public class ErrorResponseType { + + @XmlElement(name = "ErrorCode", required = true) + protected Object errorCode; + @XmlElement(name = "Info", required = true) + protected Object info; + + /** + * Gets the value of the errorCode property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getErrorCode() { + return errorCode; + } + + /** + * Sets the value of the errorCode property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setErrorCode(Object value) { + this.errorCode = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setInfo(Object value) { + this.info = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/srzgw/ObjectFactory.java b/src/main/java/at/gv/util/xsd/srzgw/ObjectFactory.java new file mode 100644 index 0000000..af0129b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/srzgw/ObjectFactory.java @@ -0,0 +1,72 @@ + +package at.gv.util.xsd.srzgw; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.srzgw package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.srzgw + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link CreateIdentityLinkRequest } + * + */ + public CreateIdentityLinkRequest createCreateIdentityLinkRequest() { + return new CreateIdentityLinkRequest(); + } + + /** + * Create an instance of {@link CreateIdentityLinkRequest.PEPSData } + * + */ + public CreateIdentityLinkRequest.PEPSData createCreateIdentityLinkRequestPEPSData() { + return new CreateIdentityLinkRequest.PEPSData(); + } + + /** + * Create an instance of {@link CreateIdentityLinkRequest.Signature } + * + */ + public CreateIdentityLinkRequest.Signature createCreateIdentityLinkRequestSignature() { + return new CreateIdentityLinkRequest.Signature(); + } + + /** + * Create an instance of {@link CreateIdentityLinkResponse } + * + */ + public CreateIdentityLinkResponse createCreateIdentityLinkResponse() { + return new CreateIdentityLinkResponse(); + } + + /** + * Create an instance of {@link ErrorResponseType } + * + */ + public ErrorResponseType createErrorResponseType() { + return new ErrorResponseType(); + } + +} diff --git a/src/main/java/at/gv/util/xsd/srzgw/package-info.java b/src/main/java/at/gv/util/xsd/srzgw/package-info.java new file mode 100644 index 0000000..d242de2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/srzgw/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/szrgw/20070807/xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.srzgw; diff --git a/src/main/java/at/gv/util/xsd/stork/CanonicalAddressType.java b/src/main/java/at/gv/util/xsd/stork/CanonicalAddressType.java new file mode 100644 index 0000000..23d89ff --- /dev/null +++ b/src/main/java/at/gv/util/xsd/stork/CanonicalAddressType.java @@ -0,0 +1,255 @@ + +package at.gv.util.xsd.stork; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for canonicalAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="canonicalAddressType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{urn:eu:stork:names:tc:PEPS:1.0:assertion}countryCodeAddress"/> + * <element name="state" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="municipalityCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="town" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="postalCode" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="streetName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="streetNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="apartmentNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "canonicalAddressType", propOrder = { + "countryCodeAddress", + "state", + "municipalityCode", + "town", + "postalCode", + "streetName", + "streetNumber", + "apartmentNumber" +}) +public class CanonicalAddressType { + + @XmlElement(required = true) + protected String countryCodeAddress; + @XmlElement(required = true) + protected String state; + protected String municipalityCode; + @XmlElement(required = true) + protected String town; + @XmlElement(required = true) + protected String postalCode; + @XmlElement(required = true) + protected String streetName; + protected String streetNumber; + protected String apartmentNumber; + + /** + * Gets the value of the countryCodeAddress property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryCodeAddress() { + return countryCodeAddress; + } + + /** + * Sets the value of the countryCodeAddress property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryCodeAddress(String value) { + this.countryCodeAddress = value; + } + + /** + * Gets the value of the state property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getState() { + return state; + } + + /** + * Sets the value of the state property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setState(String value) { + this.state = value; + } + + /** + * Gets the value of the municipalityCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMunicipalityCode() { + return municipalityCode; + } + + /** + * Sets the value of the municipalityCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMunicipalityCode(String value) { + this.municipalityCode = value; + } + + /** + * Gets the value of the town property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTown() { + return town; + } + + /** + * Sets the value of the town property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTown(String value) { + this.town = value; + } + + /** + * Gets the value of the postalCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostalCode() { + return postalCode; + } + + /** + * Sets the value of the postalCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostalCode(String value) { + this.postalCode = value; + } + + /** + * Gets the value of the streetName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStreetName() { + return streetName; + } + + /** + * Sets the value of the streetName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStreetName(String value) { + this.streetName = value; + } + + /** + * Gets the value of the streetNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStreetNumber() { + return streetNumber; + } + + /** + * Sets the value of the streetNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStreetNumber(String value) { + this.streetNumber = value; + } + + /** + * Gets the value of the apartmentNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getApartmentNumber() { + return apartmentNumber; + } + + /** + * Sets the value of the apartmentNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setApartmentNumber(String value) { + this.apartmentNumber = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/stork/MandateContent.java b/src/main/java/at/gv/util/xsd/stork/MandateContent.java new file mode 100644 index 0000000..c0eae22 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/stork/MandateContent.java @@ -0,0 +1,175 @@ + +package at.gv.util.xsd.stork; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for mandateContent complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="mandateContent"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="validFrom" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="validTo" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="isJoint" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> + * <element name="isChained" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="typePower" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "mandateContent", propOrder = { + "validFrom", + "validTo", + "isJoint", + "isChained", + "typePower" +}) +public class MandateContent { + + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar validFrom; + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar validTo; + protected BigInteger isJoint; + protected Boolean isChained; + @XmlElement(required = true) + protected BigInteger typePower; + + /** + * Gets the value of the validFrom property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getValidFrom() { + return validFrom; + } + + /** + * Sets the value of the validFrom property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setValidFrom(XMLGregorianCalendar value) { + this.validFrom = value; + } + + /** + * Gets the value of the validTo property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getValidTo() { + return validTo; + } + + /** + * Sets the value of the validTo property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setValidTo(XMLGregorianCalendar value) { + this.validTo = value; + } + + /** + * Gets the value of the isJoint property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getIsJoint() { + return isJoint; + } + + /** + * Sets the value of the isJoint property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setIsJoint(BigInteger value) { + this.isJoint = value; + } + + /** + * Gets the value of the isChained property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isIsChained() { + return isChained; + } + + /** + * Sets the value of the isChained property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setIsChained(Boolean value) { + this.isChained = value; + } + + /** + * Gets the value of the typePower property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getTypePower() { + return typePower; + } + + /** + * Sets the value of the typePower property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setTypePower(BigInteger value) { + this.typePower = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/stork/ObjectFactory.java b/src/main/java/at/gv/util/xsd/stork/ObjectFactory.java new file mode 100644 index 0000000..923299a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/stork/ObjectFactory.java @@ -0,0 +1,69 @@ + +package at.gv.util.xsd.stork; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.stork package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _CountryCodeAddress_QNAME = new QName("urn:eu:stork:names:tc:PEPS:1.0:assertion", "countryCodeAddress"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.stork + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link RepresentationPerson } + * + */ + public RepresentationPerson createRepresentationPerson() { + return new RepresentationPerson(); + } + + /** + * Create an instance of {@link MandateContent } + * + */ + public MandateContent createMandateContent() { + return new MandateContent(); + } + + /** + * Create an instance of {@link CanonicalAddressType } + * + */ + public CanonicalAddressType createCanonicalAddressType() { + return new CanonicalAddressType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:eu:stork:names:tc:PEPS:1.0:assertion", name = "countryCodeAddress") + public JAXBElement<String> createCountryCodeAddress(String value) { + return new JAXBElement<String>(_CountryCodeAddress_QNAME, String.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/stork/RepresentationPerson.java b/src/main/java/at/gv/util/xsd/stork/RepresentationPerson.java new file mode 100644 index 0000000..2c491c5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/stork/RepresentationPerson.java @@ -0,0 +1,340 @@ + +package at.gv.util.xsd.stork; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for representationPerson complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="representationPerson"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="eIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="givenName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="surname" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="dateOfBirth" type="{http://www.w3.org/2001/XMLSchema}date"/> + * <element name="fiscalNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * <sequence> + * <element name="eLPIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="legalName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="canonicalRegisteredAddress" type="{urn:eu:stork:names:tc:PEPS:1.0:assertion}canonicalAddressType"/> + * <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="translatableType" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="LPfiscalNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "representationPerson", propOrder = { + "eIdentifier", + "givenName", + "surname", + "dateOfBirth", + "fiscalNumber", + "elpIdentifier", + "legalName", + "canonicalRegisteredAddress", + "type", + "translatableType", + "lPfiscalNumber" +}) +public class RepresentationPerson { + + protected String eIdentifier; + protected String givenName; + protected String surname; + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar dateOfBirth; + protected String fiscalNumber; + @XmlElement(name = "eLPIdentifier") + protected String elpIdentifier; + protected String legalName; + protected CanonicalAddressType canonicalRegisteredAddress; + protected String type; + protected String translatableType; + @XmlElement(name = "LPfiscalNumber") + protected String lPfiscalNumber; + + /** + * Gets the value of the eIdentifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEIdentifier() { + return eIdentifier; + } + + /** + * Sets the value of the eIdentifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEIdentifier(String value) { + this.eIdentifier = value; + } + + /** + * Gets the value of the givenName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGivenName() { + return givenName; + } + + /** + * Sets the value of the givenName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGivenName(String value) { + this.givenName = value; + } + + /** + * Gets the value of the surname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSurname() { + return surname; + } + + /** + * Sets the value of the surname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSurname(String value) { + this.surname = value; + } + + /** + * Gets the value of the dateOfBirth property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getDateOfBirth() { + return dateOfBirth; + } + + /** + * Sets the value of the dateOfBirth property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setDateOfBirth(XMLGregorianCalendar value) { + this.dateOfBirth = value; + } + + /** + * Gets the value of the fiscalNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFiscalNumber() { + return fiscalNumber; + } + + /** + * Sets the value of the fiscalNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFiscalNumber(String value) { + this.fiscalNumber = value; + } + + /** + * Gets the value of the elpIdentifier property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getELPIdentifier() { + return elpIdentifier; + } + + /** + * Sets the value of the elpIdentifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setELPIdentifier(String value) { + this.elpIdentifier = value; + } + + /** + * Gets the value of the legalName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLegalName() { + return legalName; + } + + /** + * Sets the value of the legalName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLegalName(String value) { + this.legalName = value; + } + + /** + * Gets the value of the canonicalRegisteredAddress property. + * + * @return + * possible object is + * {@link CanonicalAddressType } + * + */ + public CanonicalAddressType getCanonicalRegisteredAddress() { + return canonicalRegisteredAddress; + } + + /** + * Sets the value of the canonicalRegisteredAddress property. + * + * @param value + * allowed object is + * {@link CanonicalAddressType } + * + */ + public void setCanonicalRegisteredAddress(CanonicalAddressType value) { + this.canonicalRegisteredAddress = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the translatableType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTranslatableType() { + return translatableType; + } + + /** + * Sets the value of the translatableType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTranslatableType(String value) { + this.translatableType = value; + } + + /** + * Gets the value of the lPfiscalNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLPfiscalNumber() { + return lPfiscalNumber; + } + + /** + * Sets the value of the lPfiscalNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLPfiscalNumber(String value) { + this.lPfiscalNumber = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/stork/package-info.java b/src/main/java/at/gv/util/xsd/stork/package-info.java new file mode 100644 index 0000000..49c23d7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/stork/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "urn:eu:stork:names:tc:PEPS:1.0:assertion", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.stork; diff --git a/src/main/java/at/gv/util/xsd/szr/AddressCodesType.java b/src/main/java/at/gv/util/xsd/szr/AddressCodesType.java new file mode 100644 index 0000000..a748c71 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/AddressCodesType.java @@ -0,0 +1,230 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for AddressCodesType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AddressCodesType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="GKZ" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="OKZ" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="SKZ" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="ADRCD" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="SUBCD" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="OBJNR" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="NTZLNR" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AddressCodesType", propOrder = { + "gkz", + "okz", + "skz", + "adrcd", + "subcd", + "objnr", + "ntzlnr" +}) +public class AddressCodesType { + + @XmlElement(name = "GKZ") + protected String gkz; + @XmlElement(name = "OKZ") + protected String okz; + @XmlElement(name = "SKZ") + protected String skz; + @XmlElement(name = "ADRCD") + protected String adrcd; + @XmlElement(name = "SUBCD") + protected String subcd; + @XmlElement(name = "OBJNR") + protected String objnr; + @XmlElement(name = "NTZLNR") + protected String ntzlnr; + + /** + * Gets the value of the gkz property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGKZ() { + return gkz; + } + + /** + * Sets the value of the gkz property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGKZ(String value) { + this.gkz = value; + } + + /** + * Gets the value of the okz property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOKZ() { + return okz; + } + + /** + * Sets the value of the okz property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOKZ(String value) { + this.okz = value; + } + + /** + * Gets the value of the skz property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSKZ() { + return skz; + } + + /** + * Sets the value of the skz property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSKZ(String value) { + this.skz = value; + } + + /** + * Gets the value of the adrcd property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getADRCD() { + return adrcd; + } + + /** + * Sets the value of the adrcd property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setADRCD(String value) { + this.adrcd = value; + } + + /** + * Gets the value of the subcd property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSUBCD() { + return subcd; + } + + /** + * Sets the value of the subcd property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSUBCD(String value) { + this.subcd = value; + } + + /** + * Gets the value of the objnr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOBJNR() { + return objnr; + } + + /** + * Sets the value of the objnr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOBJNR(String value) { + this.objnr = value; + } + + /** + * Gets the value of the ntzlnr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNTZLNR() { + return ntzlnr; + } + + /** + * Sets the value of the ntzlnr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNTZLNR(String value) { + this.ntzlnr = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/BPKzuBasiszahl.java b/src/main/java/at/gv/util/xsd/szr/BPKzuBasiszahl.java new file mode 100644 index 0000000..c201f68 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/BPKzuBasiszahl.java @@ -0,0 +1,127 @@ + +package at.gv.util.xsd.szr; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Bereich" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="BPK" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="BasisZahl" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "bereich", + "bpk", + "basisZahl" +}) +@XmlRootElement(name = "BPKzuBasiszahl") +public class BPKzuBasiszahl { + + @XmlElement(name = "Bereich", required = true) + protected String bereich; + @XmlElement(name = "BPK", required = true) + protected String bpk; + @XmlElement(name = "BasisZahl", required = true) + protected List<String> basisZahl; + + /** + * Gets the value of the bereich property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBereich() { + return bereich; + } + + /** + * Sets the value of the bereich property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBereich(String value) { + this.bereich = value; + } + + /** + * Gets the value of the bpk property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBPK() { + return bpk; + } + + /** + * Sets the value of the bpk property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBPK(String value) { + this.bpk = value; + } + + /** + * Gets the value of the basisZahl property. + * + * <p> + * 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 <CODE>set</CODE> method for the basisZahl property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBasisZahl().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getBasisZahl() { + if (basisZahl == null) { + basisZahl = new ArrayList<String>(); + } + return this.basisZahl; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/BPKzuBasiszahlResponse.java b/src/main/java/at/gv/util/xsd/szr/BPKzuBasiszahlResponse.java new file mode 100644 index 0000000..dec4714 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/BPKzuBasiszahlResponse.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="BPKzuBasiszahlReturn" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "bpKzuBasiszahlReturn" +}) +@XmlRootElement(name = "BPKzuBasiszahlResponse") +public class BPKzuBasiszahlResponse { + + @XmlElement(name = "BPKzuBasiszahlReturn", required = true) + protected String bpKzuBasiszahlReturn; + + /** + * Gets the value of the bpKzuBasiszahlReturn property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBPKzuBasiszahlReturn() { + return bpKzuBasiszahlReturn; + } + + /** + * Sets the value of the bpKzuBasiszahlReturn property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBPKzuBasiszahlReturn(String value) { + this.bpKzuBasiszahlReturn = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/BasiszahlZuBPK.java b/src/main/java/at/gv/util/xsd/szr/BasiszahlZuBPK.java new file mode 100644 index 0000000..fb3a1fa --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/BasiszahlZuBPK.java @@ -0,0 +1,132 @@ + +package at.gv.util.xsd.szr; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="BasisZahl" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> + * <element name="Bereich" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="FremdBPKTargets" type="{urn:SZRServices}FremdBPKRequestType" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "basisZahl", + "bereich", + "fremdBPKTargets" +}) +@XmlRootElement(name = "BasiszahlZuBPK") +public class BasiszahlZuBPK { + + @XmlElement(name = "BasisZahl", required = true) + protected List<String> basisZahl; + @XmlElement(name = "Bereich", required = true) + protected String bereich; + @XmlElement(name = "FremdBPKTargets") + protected List<FremdBPKRequestType> fremdBPKTargets; + + /** + * Gets the value of the basisZahl property. + * + * <p> + * 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 <CODE>set</CODE> method for the basisZahl property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBasisZahl().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getBasisZahl() { + if (basisZahl == null) { + basisZahl = new ArrayList<String>(); + } + return this.basisZahl; + } + + /** + * Gets the value of the bereich property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBereich() { + return bereich; + } + + /** + * Sets the value of the bereich property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBereich(String value) { + this.bereich = value; + } + + /** + * Gets the value of the fremdBPKTargets property. + * + * <p> + * 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 <CODE>set</CODE> method for the fremdBPKTargets property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFremdBPKTargets().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link FremdBPKRequestType } + * + * + */ + public List<FremdBPKRequestType> getFremdBPKTargets() { + if (fremdBPKTargets == null) { + fremdBPKTargets = new ArrayList<FremdBPKRequestType>(); + } + return this.fremdBPKTargets; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/BasiszahlZuBPKResponse.java b/src/main/java/at/gv/util/xsd/szr/BasiszahlZuBPKResponse.java new file mode 100644 index 0000000..ed2b23b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/BasiszahlZuBPKResponse.java @@ -0,0 +1,71 @@ + +package at.gv.util.xsd.szr; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="BasiszahlZuBPKReturn" type="{urn:SZRServices}BasiszahlZuBPKReturnType" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "basiszahlZuBPKReturn" +}) +@XmlRootElement(name = "BasiszahlZuBPKResponse") +public class BasiszahlZuBPKResponse { + + @XmlElement(name = "BasiszahlZuBPKReturn", required = true) + protected List<BasiszahlZuBPKReturnType> basiszahlZuBPKReturn; + + /** + * Gets the value of the basiszahlZuBPKReturn property. + * + * <p> + * 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 <CODE>set</CODE> method for the basiszahlZuBPKReturn property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBasiszahlZuBPKReturn().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link BasiszahlZuBPKReturnType } + * + * + */ + public List<BasiszahlZuBPKReturnType> getBasiszahlZuBPKReturn() { + if (basiszahlZuBPKReturn == null) { + basiszahlZuBPKReturn = new ArrayList<BasiszahlZuBPKReturnType>(); + } + return this.basiszahlZuBPKReturn; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/BasiszahlZuBPKReturnType.java b/src/main/java/at/gv/util/xsd/szr/BasiszahlZuBPKReturnType.java new file mode 100644 index 0000000..2755e56 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/BasiszahlZuBPKReturnType.java @@ -0,0 +1,97 @@ + +package at.gv.util.xsd.szr; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for BasiszahlZuBPKReturnType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="BasiszahlZuBPKReturnType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="BPK" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="FremdBPKs" type="{urn:SZRServices}FremdBPKType" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BasiszahlZuBPKReturnType", propOrder = { + "bpk", + "fremdBPKs" +}) +public class BasiszahlZuBPKReturnType { + + @XmlElement(name = "BPK", required = true) + protected String bpk; + @XmlElement(name = "FremdBPKs") + protected List<FremdBPKType> fremdBPKs; + + /** + * Gets the value of the bpk property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBPK() { + return bpk; + } + + /** + * Sets the value of the bpk property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBPK(String value) { + this.bpk = value; + } + + /** + * Gets the value of the fremdBPKs property. + * + * <p> + * 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 <CODE>set</CODE> method for the fremdBPKs property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFremdBPKs().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link FremdBPKType } + * + * + */ + public List<FremdBPKType> getFremdBPKs() { + if (fremdBPKs == null) { + fremdBPKs = new ArrayList<FremdBPKType>(); + } + return this.fremdBPKs; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/FremdBPKRequestType.java b/src/main/java/at/gv/util/xsd/szr/FremdBPKRequestType.java new file mode 100644 index 0000000..7039b63 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/FremdBPKRequestType.java @@ -0,0 +1,90 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for FremdBPKRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FremdBPKRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="BereichsKennung" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="VKZ" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FremdBPKRequestType", propOrder = { + "bereichsKennung", + "vkz" +}) +public class FremdBPKRequestType { + + @XmlElement(name = "BereichsKennung", required = true) + protected String bereichsKennung; + @XmlElement(name = "VKZ", required = true) + protected String vkz; + + /** + * Gets the value of the bereichsKennung property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBereichsKennung() { + return bereichsKennung; + } + + /** + * Sets the value of the bereichsKennung property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBereichsKennung(String value) { + this.bereichsKennung = value; + } + + /** + * Gets the value of the vkz property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVKZ() { + return vkz; + } + + /** + * Sets the value of the vkz property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVKZ(String value) { + this.vkz = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/FremdBPKType.java b/src/main/java/at/gv/util/xsd/szr/FremdBPKType.java new file mode 100644 index 0000000..ba7c084 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/FremdBPKType.java @@ -0,0 +1,90 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for FremdBPKType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FremdBPKType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="BereichsKennung" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="FremdBPK" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FremdBPKType", propOrder = { + "bereichsKennung", + "fremdBPK" +}) +public class FremdBPKType { + + @XmlElement(name = "BereichsKennung", required = true) + protected String bereichsKennung; + @XmlElement(name = "FremdBPK", required = true) + protected String fremdBPK; + + /** + * Gets the value of the bereichsKennung property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBereichsKennung() { + return bereichsKennung; + } + + /** + * Sets the value of the bereichsKennung property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBereichsKennung(String value) { + this.bereichsKennung = value; + } + + /** + * Gets the value of the fremdBPK property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFremdBPK() { + return fremdBPK; + } + + /** + * Sets the value of the fremdBPK property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFremdBPK(String value) { + this.fremdBPK = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/GetBPK.java b/src/main/java/at/gv/util/xsd/szr/GetBPK.java new file mode 100644 index 0000000..179b007 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/GetBPK.java @@ -0,0 +1,183 @@ + +package at.gv.util.xsd.szr; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PersonInfo" type="{urn:SZRServices}PersonInfoType"/> + * <element name="BereichsKennung" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="VKZ" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Target" type="{urn:SZRServices}FremdBPKRequestType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="ListMultiplePersons" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "personInfo", + "bereichsKennung", + "vkz", + "target", + "listMultiplePersons" +}) +@XmlRootElement(name = "GetBPK") +public class GetBPK { + + @XmlElement(name = "PersonInfo", required = true) + protected PersonInfoType personInfo; + @XmlElement(name = "BereichsKennung", required = true) + protected String bereichsKennung; + @XmlElement(name = "VKZ", required = true) + protected String vkz; + @XmlElement(name = "Target") + protected List<FremdBPKRequestType> target; + @XmlElement(name = "ListMultiplePersons") + protected Boolean listMultiplePersons; + + /** + * Gets the value of the personInfo property. + * + * @return + * possible object is + * {@link PersonInfoType } + * + */ + public PersonInfoType getPersonInfo() { + return personInfo; + } + + /** + * Sets the value of the personInfo property. + * + * @param value + * allowed object is + * {@link PersonInfoType } + * + */ + public void setPersonInfo(PersonInfoType value) { + this.personInfo = value; + } + + /** + * Gets the value of the bereichsKennung property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBereichsKennung() { + return bereichsKennung; + } + + /** + * Sets the value of the bereichsKennung property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBereichsKennung(String value) { + this.bereichsKennung = value; + } + + /** + * Gets the value of the vkz property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVKZ() { + return vkz; + } + + /** + * Sets the value of the vkz property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVKZ(String value) { + this.vkz = value; + } + + /** + * Gets the value of the target property. + * + * <p> + * 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 <CODE>set</CODE> method for the target property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTarget().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link FremdBPKRequestType } + * + * + */ + public List<FremdBPKRequestType> getTarget() { + if (target == null) { + target = new ArrayList<FremdBPKRequestType>(); + } + return this.target; + } + + /** + * Gets the value of the listMultiplePersons property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isListMultiplePersons() { + return listMultiplePersons; + } + + /** + * Sets the value of the listMultiplePersons property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setListMultiplePersons(Boolean value) { + this.listMultiplePersons = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/GetBPKKombi.java b/src/main/java/at/gv/util/xsd/szr/GetBPKKombi.java new file mode 100644 index 0000000..ad486a8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/GetBPKKombi.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="GetBPKKombiRequest" type="{urn:SZRServices}GetBPKKombiRequestType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "getBPKKombiRequest" +}) +@XmlRootElement(name = "GetBPKKombi") +public class GetBPKKombi { + + @XmlElement(name = "GetBPKKombiRequest", required = true) + protected GetBPKKombiRequestType getBPKKombiRequest; + + /** + * Gets the value of the getBPKKombiRequest property. + * + * @return + * possible object is + * {@link GetBPKKombiRequestType } + * + */ + public GetBPKKombiRequestType getGetBPKKombiRequest() { + return getBPKKombiRequest; + } + + /** + * Sets the value of the getBPKKombiRequest property. + * + * @param value + * allowed object is + * {@link GetBPKKombiRequestType } + * + */ + public void setGetBPKKombiRequest(GetBPKKombiRequestType value) { + this.getBPKKombiRequest = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/GetBPKKombiRequestType.java b/src/main/java/at/gv/util/xsd/szr/GetBPKKombiRequestType.java new file mode 100644 index 0000000..a04262e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/GetBPKKombiRequestType.java @@ -0,0 +1,273 @@ + +package at.gv.util.xsd.szr; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for GetBPKKombiRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="GetBPKKombiRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PersonInfo" type="{urn:SZRServices}PersonInfoType"/> + * <element name="InsertERnP" minOccurs="0"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="NoInsert"/> + * <enumeration value="InsertOnNoMatch"/> + * <enumeration value="ForceInsert"/> + * </restriction> + * </simpleType> + * </element> + * <element name="Suchwizard" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="VKZ" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="BehoerdenKennzeichen" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="BereichsKennung" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Target" type="{urn:SZRServices}FremdBPKRequestType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Sessionid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "GetBPKKombiRequestType", propOrder = { + "personInfo", + "insertERnP", + "suchwizard", + "vkz", + "behoerdenKennzeichen", + "bereichsKennung", + "target", + "sessionid" +}) +public class GetBPKKombiRequestType { + + @XmlElement(name = "PersonInfo", required = true) + protected PersonInfoType personInfo; + @XmlElement(name = "InsertERnP") + protected String insertERnP; + @XmlElement(name = "Suchwizard") + protected Boolean suchwizard; + @XmlElement(name = "VKZ", required = true) + protected String vkz; + @XmlElement(name = "BehoerdenKennzeichen") + protected String behoerdenKennzeichen; + @XmlElement(name = "BereichsKennung", required = true) + protected String bereichsKennung; + @XmlElement(name = "Target") + protected List<FremdBPKRequestType> target; + @XmlElement(name = "Sessionid") + protected String sessionid; + + /** + * Gets the value of the personInfo property. + * + * @return + * possible object is + * {@link PersonInfoType } + * + */ + public PersonInfoType getPersonInfo() { + return personInfo; + } + + /** + * Sets the value of the personInfo property. + * + * @param value + * allowed object is + * {@link PersonInfoType } + * + */ + public void setPersonInfo(PersonInfoType value) { + this.personInfo = value; + } + + /** + * Gets the value of the insertERnP property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInsertERnP() { + return insertERnP; + } + + /** + * Sets the value of the insertERnP property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInsertERnP(String value) { + this.insertERnP = value; + } + + /** + * Gets the value of the suchwizard property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isSuchwizard() { + return suchwizard; + } + + /** + * Sets the value of the suchwizard property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setSuchwizard(Boolean value) { + this.suchwizard = value; + } + + /** + * Gets the value of the vkz property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVKZ() { + return vkz; + } + + /** + * Sets the value of the vkz property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVKZ(String value) { + this.vkz = value; + } + + /** + * Gets the value of the behoerdenKennzeichen property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBehoerdenKennzeichen() { + return behoerdenKennzeichen; + } + + /** + * Sets the value of the behoerdenKennzeichen property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBehoerdenKennzeichen(String value) { + this.behoerdenKennzeichen = value; + } + + /** + * Gets the value of the bereichsKennung property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBereichsKennung() { + return bereichsKennung; + } + + /** + * Sets the value of the bereichsKennung property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBereichsKennung(String value) { + this.bereichsKennung = value; + } + + /** + * Gets the value of the target property. + * + * <p> + * 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 <CODE>set</CODE> method for the target property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTarget().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link FremdBPKRequestType } + * + * + */ + public List<FremdBPKRequestType> getTarget() { + if (target == null) { + target = new ArrayList<FremdBPKRequestType>(); + } + return this.target; + } + + /** + * Gets the value of the sessionid property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSessionid() { + return sessionid; + } + + /** + * Sets the value of the sessionid property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSessionid(String value) { + this.sessionid = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/GetBPKKombiResponse.java b/src/main/java/at/gv/util/xsd/szr/GetBPKKombiResponse.java new file mode 100644 index 0000000..6335cee --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/GetBPKKombiResponse.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="GetBPKKombiResponse" type="{urn:SZRServices}GetBPKKombiResponseType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "getBPKKombiResponse" +}) +@XmlRootElement(name = "GetBPKKombiResponse") +public class GetBPKKombiResponse { + + @XmlElement(name = "GetBPKKombiResponse", required = true) + protected GetBPKKombiResponseType getBPKKombiResponse; + + /** + * Gets the value of the getBPKKombiResponse property. + * + * @return + * possible object is + * {@link GetBPKKombiResponseType } + * + */ + public GetBPKKombiResponseType getGetBPKKombiResponse() { + return getBPKKombiResponse; + } + + /** + * Sets the value of the getBPKKombiResponse property. + * + * @param value + * allowed object is + * {@link GetBPKKombiResponseType } + * + */ + public void setGetBPKKombiResponse(GetBPKKombiResponseType value) { + this.getBPKKombiResponse = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/GetBPKKombiResponseType.java b/src/main/java/at/gv/util/xsd/szr/GetBPKKombiResponseType.java new file mode 100644 index 0000000..d010526 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/GetBPKKombiResponseType.java @@ -0,0 +1,294 @@ + +package at.gv.util.xsd.szr; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for GetBPKKombiResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="GetBPKKombiResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ResultRecord" maxOccurs="unbounded"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PersonInfo" type="{urn:SZRServices}PersonInfoType"/> + * <element name="Register" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="bPK" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="FremdBPK" type="{urn:SZRServices}FremdBPKType" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="InsertERnPResult" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="FoundWithSuchwizard" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="Sessionid" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "GetBPKKombiResponseType", propOrder = { + "resultRecord", + "insertERnPResult", + "foundWithSuchwizard", + "sessionid" +}) +public class GetBPKKombiResponseType { + + @XmlElement(name = "ResultRecord", required = true) + protected List<GetBPKKombiResponseType.ResultRecord> resultRecord; + @XmlElement(name = "InsertERnPResult") + protected boolean insertERnPResult; + @XmlElement(name = "FoundWithSuchwizard") + protected boolean foundWithSuchwizard; + @XmlElement(name = "Sessionid", required = true) + protected String sessionid; + + /** + * Gets the value of the resultRecord property. + * + * <p> + * 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 <CODE>set</CODE> method for the resultRecord property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getResultRecord().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link GetBPKKombiResponseType.ResultRecord } + * + * + */ + public List<GetBPKKombiResponseType.ResultRecord> getResultRecord() { + if (resultRecord == null) { + resultRecord = new ArrayList<GetBPKKombiResponseType.ResultRecord>(); + } + return this.resultRecord; + } + + /** + * Gets the value of the insertERnPResult property. + * + */ + public boolean isInsertERnPResult() { + return insertERnPResult; + } + + /** + * Sets the value of the insertERnPResult property. + * + */ + public void setInsertERnPResult(boolean value) { + this.insertERnPResult = value; + } + + /** + * Gets the value of the foundWithSuchwizard property. + * + */ + public boolean isFoundWithSuchwizard() { + return foundWithSuchwizard; + } + + /** + * Sets the value of the foundWithSuchwizard property. + * + */ + public void setFoundWithSuchwizard(boolean value) { + this.foundWithSuchwizard = value; + } + + /** + * Gets the value of the sessionid property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSessionid() { + return sessionid; + } + + /** + * Sets the value of the sessionid property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSessionid(String value) { + this.sessionid = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PersonInfo" type="{urn:SZRServices}PersonInfoType"/> + * <element name="Register" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="bPK" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="FremdBPK" type="{urn:SZRServices}FremdBPKType" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "personInfo", + "register", + "bpk", + "fremdBPK" + }) + public static class ResultRecord { + + @XmlElement(name = "PersonInfo", required = true) + protected PersonInfoType personInfo; + @XmlElement(name = "Register", required = true) + protected String register; + @XmlElement(name = "bPK", required = true) + protected String bpk; + @XmlElement(name = "FremdBPK") + protected List<FremdBPKType> fremdBPK; + + /** + * Gets the value of the personInfo property. + * + * @return + * possible object is + * {@link PersonInfoType } + * + */ + public PersonInfoType getPersonInfo() { + return personInfo; + } + + /** + * Sets the value of the personInfo property. + * + * @param value + * allowed object is + * {@link PersonInfoType } + * + */ + public void setPersonInfo(PersonInfoType value) { + this.personInfo = value; + } + + /** + * Gets the value of the register property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRegister() { + return register; + } + + /** + * Sets the value of the register property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRegister(String value) { + this.register = value; + } + + /** + * Gets the value of the bpk property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBPK() { + return bpk; + } + + /** + * Sets the value of the bpk property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBPK(String value) { + this.bpk = value; + } + + /** + * Gets the value of the fremdBPK property. + * + * <p> + * 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 <CODE>set</CODE> method for the fremdBPK property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFremdBPK().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link FremdBPKType } + * + * + */ + public List<FremdBPKType> getFremdBPK() { + if (fremdBPK == null) { + fremdBPK = new ArrayList<FremdBPKType>(); + } + return this.fremdBPK; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/GetBPKResponse.java b/src/main/java/at/gv/util/xsd/szr/GetBPKResponse.java new file mode 100644 index 0000000..96d6ab9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/GetBPKResponse.java @@ -0,0 +1,132 @@ + +package at.gv.util.xsd.szr; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="GetBPKReturn" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="FremdBPK" type="{urn:SZRServices}FremdBPKType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="PersonInfo" type="{urn:SZRServices}PersonInfoType" maxOccurs="5" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "getBPKReturn", + "fremdBPK", + "personInfo" +}) +@XmlRootElement(name = "GetBPKResponse") +public class GetBPKResponse { + + @XmlElement(name = "GetBPKReturn") + protected String getBPKReturn; + @XmlElement(name = "FremdBPK") + protected List<FremdBPKType> fremdBPK; + @XmlElement(name = "PersonInfo") + protected List<PersonInfoType> personInfo; + + /** + * Gets the value of the getBPKReturn property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGetBPKReturn() { + return getBPKReturn; + } + + /** + * Sets the value of the getBPKReturn property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGetBPKReturn(String value) { + this.getBPKReturn = value; + } + + /** + * Gets the value of the fremdBPK property. + * + * <p> + * 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 <CODE>set</CODE> method for the fremdBPK property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFremdBPK().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link FremdBPKType } + * + * + */ + public List<FremdBPKType> getFremdBPK() { + if (fremdBPK == null) { + fremdBPK = new ArrayList<FremdBPKType>(); + } + return this.fremdBPK; + } + + /** + * Gets the value of the personInfo property. + * + * <p> + * 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 <CODE>set</CODE> method for the personInfo property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getPersonInfo().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonInfoType } + * + * + */ + public List<PersonInfoType> getPersonInfo() { + if (personInfo == null) { + personInfo = new ArrayList<PersonInfoType>(); + } + return this.personInfo; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/GetIdentityLink.java b/src/main/java/at/gv/util/xsd/szr/GetIdentityLink.java new file mode 100644 index 0000000..c718338 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/GetIdentityLink.java @@ -0,0 +1,128 @@ + +package at.gv.util.xsd.szr; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.szr.xmldsig.KeyValueType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PersonInfo" type="{urn:SZRServices}PersonInfoType"/> + * <element name="KeyValue" type="{http://www.w3.org/2000/09/xmldsig#}KeyValueType" maxOccurs="unbounded"/> + * <element name="InsertERnP" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "personInfo", + "keyValue", + "insertERnP" +}) +@XmlRootElement(name = "GetIdentityLink") +public class GetIdentityLink { + + @XmlElement(name = "PersonInfo", required = true) + protected PersonInfoType personInfo; + @XmlElement(name = "KeyValue", required = true) + protected List<KeyValueType> keyValue; + @XmlElement(name = "InsertERnP") + protected Boolean insertERnP; + + /** + * Gets the value of the personInfo property. + * + * @return + * possible object is + * {@link PersonInfoType } + * + */ + public PersonInfoType getPersonInfo() { + return personInfo; + } + + /** + * Sets the value of the personInfo property. + * + * @param value + * allowed object is + * {@link PersonInfoType } + * + */ + public void setPersonInfo(PersonInfoType value) { + this.personInfo = value; + } + + /** + * Gets the value of the keyValue property. + * + * <p> + * 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 <CODE>set</CODE> method for the keyValue property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getKeyValue().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link KeyValueType } + * + * + */ + public List<KeyValueType> getKeyValue() { + if (keyValue == null) { + keyValue = new ArrayList<KeyValueType>(); + } + return this.keyValue; + } + + /** + * Gets the value of the insertERnP property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isInsertERnP() { + return insertERnP; + } + + /** + * Sets the value of the insertERnP property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setInsertERnP(Boolean value) { + this.insertERnP = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/GetIdentityLinkResponse.java b/src/main/java/at/gv/util/xsd/szr/GetIdentityLinkResponse.java new file mode 100644 index 0000000..b20b371 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/GetIdentityLinkResponse.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="GetIdentityLinkReturn" type="{urn:SZRServices}IdentityLinkType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "getIdentityLinkReturn" +}) +@XmlRootElement(name = "GetIdentityLinkResponse") +public class GetIdentityLinkResponse { + + @XmlElement(name = "GetIdentityLinkReturn", required = true) + protected IdentityLinkType getIdentityLinkReturn; + + /** + * Gets the value of the getIdentityLinkReturn property. + * + * @return + * possible object is + * {@link IdentityLinkType } + * + */ + public IdentityLinkType getGetIdentityLinkReturn() { + return getIdentityLinkReturn; + } + + /** + * Sets the value of the getIdentityLinkReturn property. + * + * @param value + * allowed object is + * {@link IdentityLinkType } + * + */ + public void setGetIdentityLinkReturn(IdentityLinkType value) { + this.getIdentityLinkReturn = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/GetStammzahl.java b/src/main/java/at/gv/util/xsd/szr/GetStammzahl.java new file mode 100644 index 0000000..c4bb690 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/GetStammzahl.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PersonInfo" type="{urn:SZRServices}PersonInfoType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "personInfo" +}) +@XmlRootElement(name = "GetStammzahl") +public class GetStammzahl { + + @XmlElement(name = "PersonInfo", required = true) + protected PersonInfoType personInfo; + + /** + * Gets the value of the personInfo property. + * + * @return + * possible object is + * {@link PersonInfoType } + * + */ + public PersonInfoType getPersonInfo() { + return personInfo; + } + + /** + * Sets the value of the personInfo property. + * + * @param value + * allowed object is + * {@link PersonInfoType } + * + */ + public void setPersonInfo(PersonInfoType value) { + this.personInfo = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/GetStammzahlResponse.java b/src/main/java/at/gv/util/xsd/szr/GetStammzahlResponse.java new file mode 100644 index 0000000..d1ff252 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/GetStammzahlResponse.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Stammzahl" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "stammzahl" +}) +@XmlRootElement(name = "GetStammzahlResponse") +public class GetStammzahlResponse { + + @XmlElement(name = "Stammzahl", required = true) + protected String stammzahl; + + /** + * Gets the value of the stammzahl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStammzahl() { + return stammzahl; + } + + /** + * Sets the value of the stammzahl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStammzahl(String value) { + this.stammzahl = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/GetVersionResponse.java b/src/main/java/at/gv/util/xsd/szr/GetVersionResponse.java new file mode 100644 index 0000000..eccfb9e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/GetVersionResponse.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Version" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "version" +}) +@XmlRootElement(name = "GetVersionResponse") +public class GetVersionResponse { + + @XmlElement(name = "Version", required = true) + protected String version; + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/IdentityLinkType.java b/src/main/java/at/gv/util/xsd/szr/IdentityLinkType.java new file mode 100644 index 0000000..42feaad --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/IdentityLinkType.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for IdentityLinkType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="IdentityLinkType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PersonInfo" type="{urn:SZRServices}PersonInfoType"/> + * <element name="Assertion" type="{http://www.w3.org/2001/XMLSchema}anyType"/> + * <element name="AdditionalInfo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IdentityLinkType", propOrder = { + "personInfo", + "assertion", + "additionalInfo" +}) +public class IdentityLinkType { + + @XmlElement(name = "PersonInfo", required = true) + protected PersonInfoType personInfo; + @XmlElement(name = "Assertion", required = true) + protected Object assertion; + @XmlElement(name = "AdditionalInfo") + protected String additionalInfo; + + /** + * Gets the value of the personInfo property. + * + * @return + * possible object is + * {@link PersonInfoType } + * + */ + public PersonInfoType getPersonInfo() { + return personInfo; + } + + /** + * Sets the value of the personInfo property. + * + * @param value + * allowed object is + * {@link PersonInfoType } + * + */ + public void setPersonInfo(PersonInfoType value) { + this.personInfo = value; + } + + /** + * Gets the value of the assertion property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getAssertion() { + return assertion; + } + + /** + * Sets the value of the assertion property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setAssertion(Object value) { + this.assertion = value; + } + + /** + * Gets the value of the additionalInfo property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdditionalInfo() { + return additionalInfo; + } + + /** + * Sets the value of the additionalInfo property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdditionalInfo(String value) { + this.additionalInfo = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/ObjectFactory.java new file mode 100644 index 0000000..c6ef806 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ObjectFactory.java @@ -0,0 +1,323 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.szr package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _SZRException_QNAME = new QName("urn:SZRServices", "SZRException"); + private final static QName _GetVersion_QNAME = new QName("urn:SZRServices", "GetVersion"); + private final static QName _PersonInfoTypeTravelDocument_QNAME = new QName("urn:SZRServices", "TravelDocument"); + private final static QName _PersonInfoTypeDateOfBirthWildcard_QNAME = new QName("urn:SZRServices", "DateOfBirthWildcard"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.szr + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link BasiszahlZuBPK } + * + */ + public BasiszahlZuBPK createBasiszahlZuBPK() { + return new BasiszahlZuBPK(); + } + + /** + * Create an instance of {@link GetStammzahl } + * + */ + public GetStammzahl createGetStammzahl() { + return new GetStammzahl(); + } + + /** + * Create an instance of {@link ZMRAnwendungsIntegrationReturnType } + * + */ + public ZMRAnwendungsIntegrationReturnType createZMRAnwendungsIntegrationReturnType() { + return new ZMRAnwendungsIntegrationReturnType(); + } + + /** + * Create an instance of {@link TransformBPKResponse } + * + */ + public TransformBPKResponse createTransformBPKResponse() { + return new TransformBPKResponse(); + } + + /** + * Create an instance of {@link IdentityLinkType } + * + */ + public IdentityLinkType createIdentityLinkType() { + return new IdentityLinkType(); + } + + /** + * Create an instance of {@link GetBPKKombiResponseType.ResultRecord } + * + */ + public GetBPKKombiResponseType.ResultRecord createGetBPKKombiResponseTypeResultRecord() { + return new GetBPKKombiResponseType.ResultRecord(); + } + + /** + * Create an instance of {@link PersonInfoType } + * + */ + public PersonInfoType createPersonInfoType() { + return new PersonInfoType(); + } + + /** + * Create an instance of {@link FremdBPKRequestType } + * + */ + public FremdBPKRequestType createFremdBPKRequestType() { + return new FremdBPKRequestType(); + } + + /** + * Create an instance of {@link BPKzuBasiszahlResponse } + * + */ + public BPKzuBasiszahlResponse createBPKzuBasiszahlResponse() { + return new BPKzuBasiszahlResponse(); + } + + /** + * Create an instance of {@link GetBPK } + * + */ + public GetBPK createGetBPK() { + return new GetBPK(); + } + + /** + * Create an instance of {@link GetIdentityLinkResponse } + * + */ + public GetIdentityLinkResponse createGetIdentityLinkResponse() { + return new GetIdentityLinkResponse(); + } + + /** + * Create an instance of {@link TransformBPK } + * + */ + public TransformBPK createTransformBPK() { + return new TransformBPK(); + } + + /** + * Create an instance of {@link GetBPKKombiResponse } + * + */ + public GetBPKKombiResponse createGetBPKKombiResponse() { + return new GetBPKKombiResponse(); + } + + /** + * Create an instance of {@link GetBPKKombiRequestType } + * + */ + public GetBPKKombiRequestType createGetBPKKombiRequestType() { + return new GetBPKKombiRequestType(); + } + + /** + * Create an instance of {@link GetVersionResponse } + * + */ + public GetVersionResponse createGetVersionResponse() { + return new GetVersionResponse(); + } + + /** + * Create an instance of {@link TravelDocumentType } + * + */ + public TravelDocumentType createTravelDocumentType() { + return new TravelDocumentType(); + } + + /** + * Create an instance of {@link BasiszahlZuBPKResponse } + * + */ + public BasiszahlZuBPKResponse createBasiszahlZuBPKResponse() { + return new BasiszahlZuBPKResponse(); + } + + /** + * Create an instance of {@link ZMRAnwendungsIntegrationResponse } + * + */ + public ZMRAnwendungsIntegrationResponse createZMRAnwendungsIntegrationResponse() { + return new ZMRAnwendungsIntegrationResponse(); + } + + /** + * Create an instance of {@link ZMRAnwendungsIntegration } + * + */ + public ZMRAnwendungsIntegration createZMRAnwendungsIntegration() { + return new ZMRAnwendungsIntegration(); + } + + /** + * Create an instance of {@link GetBPKKombi } + * + */ + public GetBPKKombi createGetBPKKombi() { + return new GetBPKKombi(); + } + + /** + * Create an instance of {@link ValidateIdentityLinkResponse } + * + */ + public ValidateIdentityLinkResponse createValidateIdentityLinkResponse() { + return new ValidateIdentityLinkResponse(); + } + + /** + * Create an instance of {@link FremdBPKType } + * + */ + public FremdBPKType createFremdBPKType() { + return new FremdBPKType(); + } + + /** + * Create an instance of {@link GetIdentityLink } + * + */ + public GetIdentityLink createGetIdentityLink() { + return new GetIdentityLink(); + } + + /** + * Create an instance of {@link GetBPKResponse } + * + */ + public GetBPKResponse createGetBPKResponse() { + return new GetBPKResponse(); + } + + /** + * Create an instance of {@link BPKzuBasiszahl } + * + */ + public BPKzuBasiszahl createBPKzuBasiszahl() { + return new BPKzuBasiszahl(); + } + + /** + * Create an instance of {@link BasiszahlZuBPKReturnType } + * + */ + public BasiszahlZuBPKReturnType createBasiszahlZuBPKReturnType() { + return new BasiszahlZuBPKReturnType(); + } + + /** + * Create an instance of {@link GetStammzahlResponse } + * + */ + public GetStammzahlResponse createGetStammzahlResponse() { + return new GetStammzahlResponse(); + } + + /** + * Create an instance of {@link SZRException } + * + */ + public SZRException createSZRException() { + return new SZRException(); + } + + /** + * Create an instance of {@link AddressCodesType } + * + */ + public AddressCodesType createAddressCodesType() { + return new AddressCodesType(); + } + + /** + * Create an instance of {@link ValidateIdentityLink } + * + */ + public ValidateIdentityLink createValidateIdentityLink() { + return new ValidateIdentityLink(); + } + + /** + * Create an instance of {@link GetBPKKombiResponseType } + * + */ + public GetBPKKombiResponseType createGetBPKKombiResponseType() { + return new GetBPKKombiResponseType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SZRException }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:SZRServices", name = "SZRException") + public JAXBElement<SZRException> createSZRException(SZRException value) { + return new JAXBElement<SZRException>(_SZRException_QNAME, SZRException.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:SZRServices", name = "GetVersion") + public JAXBElement<Object> createGetVersion(Object value) { + return new JAXBElement<Object>(_GetVersion_QNAME, Object.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TravelDocumentType }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:SZRServices", name = "TravelDocument", scope = PersonInfoType.class) + public JAXBElement<TravelDocumentType> createPersonInfoTypeTravelDocument(TravelDocumentType value) { + return new JAXBElement<TravelDocumentType>(_PersonInfoTypeTravelDocument_QNAME, TravelDocumentType.class, PersonInfoType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "urn:SZRServices", name = "DateOfBirthWildcard", scope = PersonInfoType.class) + public JAXBElement<Boolean> createPersonInfoTypeDateOfBirthWildcard(Boolean value) { + return new JAXBElement<Boolean>(_PersonInfoTypeDateOfBirthWildcard_QNAME, Boolean.class, PersonInfoType.class, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/PersonInfoType.java b/src/main/java/at/gv/util/xsd/szr/PersonInfoType.java new file mode 100644 index 0000000..84b7248 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/PersonInfoType.java @@ -0,0 +1,178 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.szr.persondata.PhysicalPersonType; +import at.gv.util.xsd.szr.persondata.PostalAddressType; + + +/** + * <p>Java class for PersonInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Person" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPersonType"/> + * <element name="RegularDomicile" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PostalAddressType" minOccurs="0"/> + * <element name="AddressCodes" type="{urn:SZRServices}AddressCodesType" minOccurs="0"/> + * <element name="TravelDocument" type="{urn:SZRServices}TravelDocumentType" minOccurs="0"/> + * <element name="DateOfBirthWildcard" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonInfoType", propOrder = { + "person", + "regularDomicile", + "addressCodes", + "travelDocument", + "dateOfBirthWildcard" +}) +public class PersonInfoType { + + @XmlElement(name = "Person", required = true) + protected PhysicalPersonType person; + @XmlElement(name = "RegularDomicile") + protected PostalAddressType regularDomicile; + @XmlElement(name = "AddressCodes") + protected AddressCodesType addressCodes; + @XmlElementRef(name = "TravelDocument", namespace = "urn:SZRServices", type = JAXBElement.class) + protected JAXBElement<TravelDocumentType> travelDocument; + @XmlElementRef(name = "DateOfBirthWildcard", namespace = "urn:SZRServices", type = JAXBElement.class) + protected JAXBElement<Boolean> dateOfBirthWildcard; + + /** + * Gets the value of the person property. + * + * @return + * possible object is + * {@link PhysicalPersonType } + * + */ + public PhysicalPersonType getPerson() { + return person; + } + + /** + * Sets the value of the person property. + * + * @param value + * allowed object is + * {@link PhysicalPersonType } + * + */ + public void setPerson(PhysicalPersonType value) { + this.person = value; + } + + /** + * Gets the value of the regularDomicile property. + * + * @return + * possible object is + * {@link PostalAddressType } + * + */ + public PostalAddressType getRegularDomicile() { + return regularDomicile; + } + + /** + * Sets the value of the regularDomicile property. + * + * @param value + * allowed object is + * {@link PostalAddressType } + * + */ + public void setRegularDomicile(PostalAddressType value) { + this.regularDomicile = value; + } + + /** + * Gets the value of the addressCodes property. + * + * @return + * possible object is + * {@link AddressCodesType } + * + */ + public AddressCodesType getAddressCodes() { + return addressCodes; + } + + /** + * Sets the value of the addressCodes property. + * + * @param value + * allowed object is + * {@link AddressCodesType } + * + */ + public void setAddressCodes(AddressCodesType value) { + this.addressCodes = value; + } + + /** + * Gets the value of the travelDocument property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link TravelDocumentType }{@code >} + * + */ + public JAXBElement<TravelDocumentType> getTravelDocument() { + return travelDocument; + } + + /** + * Sets the value of the travelDocument property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link TravelDocumentType }{@code >} + * + */ + public void setTravelDocument(JAXBElement<TravelDocumentType> value) { + this.travelDocument = ((JAXBElement<TravelDocumentType> ) value); + } + + /** + * Gets the value of the dateOfBirthWildcard property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * + */ + public JAXBElement<Boolean> getDateOfBirthWildcard() { + return dateOfBirthWildcard; + } + + /** + * Sets the value of the dateOfBirthWildcard property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * + */ + public void setDateOfBirthWildcard(JAXBElement<Boolean> value) { + this.dateOfBirthWildcard = ((JAXBElement<Boolean> ) value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/SZRException.java b/src/main/java/at/gv/util/xsd/szr/SZRException.java new file mode 100644 index 0000000..6498ce6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/SZRException.java @@ -0,0 +1,30 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SZRException complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SZRException"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SZRException") +public class SZRException { + + +} diff --git a/src/main/java/at/gv/util/xsd/szr/TransformBPK.java b/src/main/java/at/gv/util/xsd/szr/TransformBPK.java new file mode 100644 index 0000000..c8c9179 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/TransformBPK.java @@ -0,0 +1,183 @@ + +package at.gv.util.xsd.szr; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PersonInfo" type="{urn:SZRServices}PersonInfoType"/> + * <element name="InputBPK" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="InputBereichsKennung" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Begruendung" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Target" type="{urn:SZRServices}FremdBPKRequestType" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "personInfo", + "inputBPK", + "inputBereichsKennung", + "begruendung", + "target" +}) +@XmlRootElement(name = "TransformBPK") +public class TransformBPK { + + @XmlElement(name = "PersonInfo", required = true) + protected PersonInfoType personInfo; + @XmlElement(name = "InputBPK", required = true) + protected String inputBPK; + @XmlElement(name = "InputBereichsKennung", required = true) + protected String inputBereichsKennung; + @XmlElement(name = "Begruendung", required = true) + protected String begruendung; + @XmlElement(name = "Target", required = true) + protected List<FremdBPKRequestType> target; + + /** + * Gets the value of the personInfo property. + * + * @return + * possible object is + * {@link PersonInfoType } + * + */ + public PersonInfoType getPersonInfo() { + return personInfo; + } + + /** + * Sets the value of the personInfo property. + * + * @param value + * allowed object is + * {@link PersonInfoType } + * + */ + public void setPersonInfo(PersonInfoType value) { + this.personInfo = value; + } + + /** + * Gets the value of the inputBPK property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInputBPK() { + return inputBPK; + } + + /** + * Sets the value of the inputBPK property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInputBPK(String value) { + this.inputBPK = value; + } + + /** + * Gets the value of the inputBereichsKennung property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInputBereichsKennung() { + return inputBereichsKennung; + } + + /** + * Sets the value of the inputBereichsKennung property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInputBereichsKennung(String value) { + this.inputBereichsKennung = value; + } + + /** + * Gets the value of the begruendung property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBegruendung() { + return begruendung; + } + + /** + * Sets the value of the begruendung property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBegruendung(String value) { + this.begruendung = value; + } + + /** + * Gets the value of the target property. + * + * <p> + * 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 <CODE>set</CODE> method for the target property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTarget().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link FremdBPKRequestType } + * + * + */ + public List<FremdBPKRequestType> getTarget() { + if (target == null) { + target = new ArrayList<FremdBPKRequestType>(); + } + return this.target; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/TransformBPKResponse.java b/src/main/java/at/gv/util/xsd/szr/TransformBPKResponse.java new file mode 100644 index 0000000..73471e6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/TransformBPKResponse.java @@ -0,0 +1,71 @@ + +package at.gv.util.xsd.szr; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="TransformBPKReturn" type="{urn:SZRServices}FremdBPKType" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "transformBPKReturn" +}) +@XmlRootElement(name = "TransformBPKResponse") +public class TransformBPKResponse { + + @XmlElement(name = "TransformBPKReturn", required = true) + protected List<FremdBPKType> transformBPKReturn; + + /** + * Gets the value of the transformBPKReturn property. + * + * <p> + * 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 <CODE>set</CODE> method for the transformBPKReturn property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTransformBPKReturn().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link FremdBPKType } + * + * + */ + public List<FremdBPKType> getTransformBPKReturn() { + if (transformBPKReturn == null) { + transformBPKReturn = new ArrayList<FremdBPKType>(); + } + return this.transformBPKReturn; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/TravelDocumentType.java b/src/main/java/at/gv/util/xsd/szr/TravelDocumentType.java new file mode 100644 index 0000000..6df406b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/TravelDocumentType.java @@ -0,0 +1,174 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TravelDocumentType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TravelDocumentType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DocumentNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DocumentType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="IssueDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="IssuingAuthority" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="IssuingCountry" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TravelDocumentType", propOrder = { + "documentNumber", + "documentType", + "issueDate", + "issuingAuthority", + "issuingCountry" +}) +public class TravelDocumentType { + + @XmlElement(name = "DocumentNumber") + protected String documentNumber; + @XmlElement(name = "DocumentType") + protected String documentType; + @XmlElement(name = "IssueDate") + protected String issueDate; + @XmlElement(name = "IssuingAuthority") + protected String issuingAuthority; + @XmlElement(name = "IssuingCountry") + protected String issuingCountry; + + /** + * Gets the value of the documentNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDocumentNumber() { + return documentNumber; + } + + /** + * Sets the value of the documentNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDocumentNumber(String value) { + this.documentNumber = value; + } + + /** + * Gets the value of the documentType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDocumentType() { + return documentType; + } + + /** + * Sets the value of the documentType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDocumentType(String value) { + this.documentType = value; + } + + /** + * Gets the value of the issueDate property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIssueDate() { + return issueDate; + } + + /** + * Sets the value of the issueDate property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIssueDate(String value) { + this.issueDate = value; + } + + /** + * Gets the value of the issuingAuthority property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIssuingAuthority() { + return issuingAuthority; + } + + /** + * Sets the value of the issuingAuthority property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIssuingAuthority(String value) { + this.issuingAuthority = value; + } + + /** + * Gets the value of the issuingCountry property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIssuingCountry() { + return issuingCountry; + } + + /** + * Sets the value of the issuingCountry property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIssuingCountry(String value) { + this.issuingCountry = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ValidateIdentityLink.java b/src/main/java/at/gv/util/xsd/szr/ValidateIdentityLink.java new file mode 100644 index 0000000..79392df --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ValidateIdentityLink.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="IdentityLink" type="{urn:SZRServices}IdentityLinkType"/> + * <element name="BereichsKennung" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "identityLink", + "bereichsKennung" +}) +@XmlRootElement(name = "ValidateIdentityLink") +public class ValidateIdentityLink { + + @XmlElement(name = "IdentityLink", required = true) + protected IdentityLinkType identityLink; + @XmlElement(name = "BereichsKennung", required = true) + protected String bereichsKennung; + + /** + * Gets the value of the identityLink property. + * + * @return + * possible object is + * {@link IdentityLinkType } + * + */ + public IdentityLinkType getIdentityLink() { + return identityLink; + } + + /** + * Sets the value of the identityLink property. + * + * @param value + * allowed object is + * {@link IdentityLinkType } + * + */ + public void setIdentityLink(IdentityLinkType value) { + this.identityLink = value; + } + + /** + * Gets the value of the bereichsKennung property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBereichsKennung() { + return bereichsKennung; + } + + /** + * Sets the value of the bereichsKennung property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBereichsKennung(String value) { + this.bereichsKennung = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ValidateIdentityLinkResponse.java b/src/main/java/at/gv/util/xsd/szr/ValidateIdentityLinkResponse.java new file mode 100644 index 0000000..a353aae --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ValidateIdentityLinkResponse.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.szr; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ValidateIdentityLinkReturn" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "validateIdentityLinkReturn" +}) +@XmlRootElement(name = "ValidateIdentityLinkResponse") +public class ValidateIdentityLinkResponse { + + @XmlElement(name = "ValidateIdentityLinkReturn", required = true) + protected String validateIdentityLinkReturn; + + /** + * Gets the value of the validateIdentityLinkReturn property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValidateIdentityLinkReturn() { + return validateIdentityLinkReturn; + } + + /** + * Sets the value of the validateIdentityLinkReturn property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValidateIdentityLinkReturn(String value) { + this.validateIdentityLinkReturn = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ZMRAnwendungsIntegration.java b/src/main/java/at/gv/util/xsd/szr/ZMRAnwendungsIntegration.java new file mode 100644 index 0000000..96e86c8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ZMRAnwendungsIntegration.java @@ -0,0 +1,132 @@ + +package at.gv.util.xsd.szr; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Bereich" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="FremdBPKTargets" type="{urn:SZRServices}FremdBPKRequestType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="ZMRfremdbPK" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "bereich", + "fremdBPKTargets", + "zmRfremdbPK" +}) +@XmlRootElement(name = "ZMRAnwendungsIntegration") +public class ZMRAnwendungsIntegration { + + @XmlElement(name = "Bereich", required = true) + protected String bereich; + @XmlElement(name = "FremdBPKTargets") + protected List<FremdBPKRequestType> fremdBPKTargets; + @XmlElement(name = "ZMRfremdbPK", required = true) + protected List<String> zmRfremdbPK; + + /** + * Gets the value of the bereich property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBereich() { + return bereich; + } + + /** + * Sets the value of the bereich property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBereich(String value) { + this.bereich = value; + } + + /** + * Gets the value of the fremdBPKTargets property. + * + * <p> + * 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 <CODE>set</CODE> method for the fremdBPKTargets property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFremdBPKTargets().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link FremdBPKRequestType } + * + * + */ + public List<FremdBPKRequestType> getFremdBPKTargets() { + if (fremdBPKTargets == null) { + fremdBPKTargets = new ArrayList<FremdBPKRequestType>(); + } + return this.fremdBPKTargets; + } + + /** + * Gets the value of the zmRfremdbPK property. + * + * <p> + * 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 <CODE>set</CODE> method for the zmRfremdbPK property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getZMRfremdbPK().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getZMRfremdbPK() { + if (zmRfremdbPK == null) { + zmRfremdbPK = new ArrayList<String>(); + } + return this.zmRfremdbPK; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ZMRAnwendungsIntegrationResponse.java b/src/main/java/at/gv/util/xsd/szr/ZMRAnwendungsIntegrationResponse.java new file mode 100644 index 0000000..903832b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ZMRAnwendungsIntegrationResponse.java @@ -0,0 +1,71 @@ + +package at.gv.util.xsd.szr; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ZMRAnwendungsIntegrationReturn" type="{urn:SZRServices}ZMRAnwendungsIntegrationReturnType" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "zmrAnwendungsIntegrationReturn" +}) +@XmlRootElement(name = "ZMRAnwendungsIntegrationResponse") +public class ZMRAnwendungsIntegrationResponse { + + @XmlElement(name = "ZMRAnwendungsIntegrationReturn", required = true) + protected List<ZMRAnwendungsIntegrationReturnType> zmrAnwendungsIntegrationReturn; + + /** + * Gets the value of the zmrAnwendungsIntegrationReturn property. + * + * <p> + * 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 <CODE>set</CODE> method for the zmrAnwendungsIntegrationReturn property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getZMRAnwendungsIntegrationReturn().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ZMRAnwendungsIntegrationReturnType } + * + * + */ + public List<ZMRAnwendungsIntegrationReturnType> getZMRAnwendungsIntegrationReturn() { + if (zmrAnwendungsIntegrationReturn == null) { + zmrAnwendungsIntegrationReturn = new ArrayList<ZMRAnwendungsIntegrationReturnType>(); + } + return this.zmrAnwendungsIntegrationReturn; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ZMRAnwendungsIntegrationReturnType.java b/src/main/java/at/gv/util/xsd/szr/ZMRAnwendungsIntegrationReturnType.java new file mode 100644 index 0000000..cc2a1be --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ZMRAnwendungsIntegrationReturnType.java @@ -0,0 +1,97 @@ + +package at.gv.util.xsd.szr; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ZMRAnwendungsIntegrationReturnType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ZMRAnwendungsIntegrationReturnType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="BPK" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="FremdBPKs" type="{urn:SZRServices}FremdBPKType" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ZMRAnwendungsIntegrationReturnType", propOrder = { + "bpk", + "fremdBPKs" +}) +public class ZMRAnwendungsIntegrationReturnType { + + @XmlElement(name = "BPK", required = true) + protected String bpk; + @XmlElement(name = "FremdBPKs") + protected List<FremdBPKType> fremdBPKs; + + /** + * Gets the value of the bpk property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBPK() { + return bpk; + } + + /** + * Sets the value of the bpk property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBPK(String value) { + this.bpk = value; + } + + /** + * Gets the value of the fremdBPKs property. + * + * <p> + * 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 <CODE>set</CODE> method for the fremdBPKs property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFremdBPKs().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link FremdBPKType } + * + * + */ + public List<FremdBPKType> getFremdBPKs() { + if (fremdBPKs == null) { + fremdBPKs = new ArrayList<FremdBPKType>(); + } + return this.fremdBPKs; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/DomainParamsType.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/DomainParamsType.java new file mode 100644 index 0000000..e3d6d69 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/DomainParamsType.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.szr.ecdsa; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DomainParamsType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DomainParamsType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="NamedCurve" type="{http://www.w3.org/2001/04/xmldsig-more#}NamedCurveType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DomainParamsType", propOrder = { + "namedCurve" +}) +public class DomainParamsType { + + @XmlElement(name = "NamedCurve") + protected NamedCurveType namedCurve; + + /** + * Gets the value of the namedCurve property. + * + * @return + * possible object is + * {@link NamedCurveType } + * + */ + public NamedCurveType getNamedCurve() { + return namedCurve; + } + + /** + * Sets the value of the namedCurve property. + * + * @param value + * allowed object is + * {@link NamedCurveType } + * + */ + public void setNamedCurve(NamedCurveType value) { + this.namedCurve = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/ECDSAKeyValueType.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/ECDSAKeyValueType.java new file mode 100644 index 0000000..25e1c3e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/ECDSAKeyValueType.java @@ -0,0 +1,90 @@ + +package at.gv.util.xsd.szr.ecdsa; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ECDSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ECDSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DomainParameters" type="{http://www.w3.org/2001/04/xmldsig-more#}DomainParamsType" minOccurs="0"/> + * <element name="PublicKey" type="{http://www.w3.org/2001/04/xmldsig-more#}ECPointType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ECDSAKeyValueType", propOrder = { + "domainParameters", + "publicKey" +}) +public class ECDSAKeyValueType { + + @XmlElement(name = "DomainParameters") + protected DomainParamsType domainParameters; + @XmlElement(name = "PublicKey", required = true) + protected ECPointType publicKey; + + /** + * Gets the value of the domainParameters property. + * + * @return + * possible object is + * {@link DomainParamsType } + * + */ + public DomainParamsType getDomainParameters() { + return domainParameters; + } + + /** + * Sets the value of the domainParameters property. + * + * @param value + * allowed object is + * {@link DomainParamsType } + * + */ + public void setDomainParameters(DomainParamsType value) { + this.domainParameters = value; + } + + /** + * Gets the value of the publicKey property. + * + * @return + * possible object is + * {@link ECPointType } + * + */ + public ECPointType getPublicKey() { + return publicKey; + } + + /** + * Sets the value of the publicKey property. + * + * @param value + * allowed object is + * {@link ECPointType } + * + */ + public void setPublicKey(ECPointType value) { + this.publicKey = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/ECPointType.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/ECPointType.java new file mode 100644 index 0000000..895fd6c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/ECPointType.java @@ -0,0 +1,90 @@ + +package at.gv.util.xsd.szr.ecdsa; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ECPointType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ECPointType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element name="X" type="{http://www.w3.org/2001/04/xmldsig-more#}PrimeFieldElemType"/> + * <element name="Y" type="{http://www.w3.org/2001/04/xmldsig-more#}PrimeFieldElemType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ECPointType", propOrder = { + "x", + "y" +}) +public class ECPointType { + + @XmlElement(name = "X") + protected PrimeFieldElemType x; + @XmlElement(name = "Y") + protected PrimeFieldElemType y; + + /** + * Gets the value of the x property. + * + * @return + * possible object is + * {@link PrimeFieldElemType } + * + */ + public PrimeFieldElemType getX() { + return x; + } + + /** + * Sets the value of the x property. + * + * @param value + * allowed object is + * {@link PrimeFieldElemType } + * + */ + public void setX(PrimeFieldElemType value) { + this.x = value; + } + + /** + * Gets the value of the y property. + * + * @return + * possible object is + * {@link PrimeFieldElemType } + * + */ + public PrimeFieldElemType getY() { + return y; + } + + /** + * Sets the value of the y property. + * + * @param value + * allowed object is + * {@link PrimeFieldElemType } + * + */ + public void setY(PrimeFieldElemType value) { + this.y = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/NamedCurveType.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/NamedCurveType.java new file mode 100644 index 0000000..e612756 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/NamedCurveType.java @@ -0,0 +1,58 @@ + +package at.gv.util.xsd.szr.ecdsa; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for NamedCurveType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="NamedCurveType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="URN" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NamedCurveType") +public class NamedCurveType { + + @XmlAttribute(name = "URN", required = true) + protected String urn; + + /** + * Gets the value of the urn property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURN() { + return urn; + } + + /** + * Sets the value of the urn property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURN(String value) { + this.urn = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/ObjectFactory.java new file mode 100644 index 0000000..70cca4f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/ObjectFactory.java @@ -0,0 +1,85 @@ + +package at.gv.util.xsd.szr.ecdsa; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.szr.ecdsa package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _ECDSAKeyValue_QNAME = new QName("http://www.w3.org/2001/04/xmldsig-more#", "ECDSAKeyValue"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.szr.ecdsa + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ECDSAKeyValueType } + * + */ + public ECDSAKeyValueType createECDSAKeyValueType() { + return new ECDSAKeyValueType(); + } + + /** + * Create an instance of {@link DomainParamsType } + * + */ + public DomainParamsType createDomainParamsType() { + return new DomainParamsType(); + } + + /** + * Create an instance of {@link NamedCurveType } + * + */ + public NamedCurveType createNamedCurveType() { + return new NamedCurveType(); + } + + /** + * Create an instance of {@link ECPointType } + * + */ + public ECPointType createECPointType() { + return new ECPointType(); + } + + /** + * Create an instance of {@link PrimeFieldElemType } + * + */ + public PrimeFieldElemType createPrimeFieldElemType() { + return new PrimeFieldElemType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ECDSAKeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmldsig-more#", name = "ECDSAKeyValue") + public JAXBElement<ECDSAKeyValueType> createECDSAKeyValue(ECDSAKeyValueType value) { + return new JAXBElement<ECDSAKeyValueType>(_ECDSAKeyValue_QNAME, ECDSAKeyValueType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/PrimeFieldElemType.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/PrimeFieldElemType.java new file mode 100644 index 0000000..030dd66 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/PrimeFieldElemType.java @@ -0,0 +1,58 @@ + +package at.gv.util.xsd.szr.ecdsa; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for PrimeFieldElemType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PrimeFieldElemType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PrimeFieldElemType") +public class PrimeFieldElemType { + + @XmlAttribute(name = "Value", required = true) + protected String value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/package-info.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/package-info.java new file mode 100644 index 0000000..d31ae70 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2001/04/xmldsig-more#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.szr.ecdsa; diff --git a/src/main/java/at/gv/util/xsd/szr/package-info.java b/src/main/java/at/gv/util/xsd/szr/package-info.java new file mode 100644 index 0000000..d3ee2d6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "urn:SZRServices", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.szr; diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/AlternativeNameType.java b/src/main/java/at/gv/util/xsd/szr/persondata/AlternativeNameType.java new file mode 100644 index 0000000..34b3bdf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/persondata/AlternativeNameType.java @@ -0,0 +1,96 @@ + +package at.gv.util.xsd.szr.persondata; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for AlternativeNameType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AlternativeNameType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FamilyName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" fixed="MaidenName" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AlternativeNameType", propOrder = { + "familyName" +}) +public class AlternativeNameType { + + @XmlElement(name = "FamilyName", required = true) + protected String familyName; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anySimpleType") + protected String type; + + /** + * Gets the value of the familyName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFamilyName() { + return familyName; + } + + /** + * Sets the value of the familyName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFamilyName(String value) { + this.familyName = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "MaidenName"; + } else { + return type; + } + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/DeliveryAddressType.java b/src/main/java/at/gv/util/xsd/szr/persondata/DeliveryAddressType.java new file mode 100644 index 0000000..02ce4d9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/persondata/DeliveryAddressType.java @@ -0,0 +1,174 @@ + +package at.gv.util.xsd.szr.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DeliveryAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DeliveryAddressType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="AddressLine" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DoorNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DeliveryAddressType", propOrder = { + "addressLine", + "streetName", + "buildingNumber", + "unit", + "doorNumber" +}) +public class DeliveryAddressType { + + @XmlElement(name = "AddressLine") + protected String addressLine; + @XmlElement(name = "StreetName") + protected String streetName; + @XmlElement(name = "BuildingNumber") + protected String buildingNumber; + @XmlElement(name = "Unit") + protected String unit; + @XmlElement(name = "DoorNumber") + protected String doorNumber; + + /** + * Gets the value of the addressLine property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAddressLine() { + return addressLine; + } + + /** + * Sets the value of the addressLine property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAddressLine(String value) { + this.addressLine = value; + } + + /** + * Gets the value of the streetName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStreetName() { + return streetName; + } + + /** + * Sets the value of the streetName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStreetName(String value) { + this.streetName = value; + } + + /** + * Gets the value of the buildingNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBuildingNumber() { + return buildingNumber; + } + + /** + * Sets the value of the buildingNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBuildingNumber(String value) { + this.buildingNumber = value; + } + + /** + * Gets the value of the unit property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUnit() { + return unit; + } + + /** + * Sets the value of the unit property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUnit(String value) { + this.unit = value; + } + + /** + * Gets the value of the doorNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDoorNumber() { + return doorNumber; + } + + /** + * Sets the value of the doorNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDoorNumber(String value) { + this.doorNumber = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/IdentificationType.java b/src/main/java/at/gv/util/xsd/szr/persondata/IdentificationType.java new file mode 100644 index 0000000..861528e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/persondata/IdentificationType.java @@ -0,0 +1,90 @@ + +package at.gv.util.xsd.szr.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for IdentificationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="IdentificationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IdentificationType", propOrder = { + "value", + "type" +}) +public class IdentificationType { + + @XmlElement(name = "Value") + protected String value; + @XmlElement(name = "Type") + protected String type; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/persondata/ObjectFactory.java new file mode 100644 index 0000000..94788d8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/persondata/ObjectFactory.java @@ -0,0 +1,80 @@ + +package at.gv.util.xsd.szr.persondata; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.szr.persondata package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.szr.persondata + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link IdentificationType } + * + */ + public IdentificationType createIdentificationType() { + return new IdentificationType(); + } + + /** + * Create an instance of {@link PostalAddressType } + * + */ + public PostalAddressType createPostalAddressType() { + return new PostalAddressType(); + } + + /** + * Create an instance of {@link AlternativeNameType } + * + */ + public AlternativeNameType createAlternativeNameType() { + return new AlternativeNameType(); + } + + /** + * Create an instance of {@link PersonNameType } + * + */ + public PersonNameType createPersonNameType() { + return new PersonNameType(); + } + + /** + * Create an instance of {@link PhysicalPersonType } + * + */ + public PhysicalPersonType createPhysicalPersonType() { + return new PhysicalPersonType(); + } + + /** + * Create an instance of {@link DeliveryAddressType } + * + */ + public DeliveryAddressType createDeliveryAddressType() { + return new DeliveryAddressType(); + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/PersonNameType.java b/src/main/java/at/gv/util/xsd/szr/persondata/PersonNameType.java new file mode 100644 index 0000000..0914b6b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/persondata/PersonNameType.java @@ -0,0 +1,146 @@ + +package at.gv.util.xsd.szr.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for PersonNameType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonNameType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PrefixedDegree" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="FamilyName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="SuffixedDegree" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonNameType", propOrder = { + "prefixedDegree", + "givenName", + "familyName", + "suffixedDegree" +}) +public class PersonNameType { + + @XmlElement(name = "PrefixedDegree") + protected String prefixedDegree; + @XmlElement(name = "GivenName", required = true) + protected String givenName; + @XmlElement(name = "FamilyName", required = true) + protected String familyName; + @XmlElement(name = "SuffixedDegree") + protected String suffixedDegree; + + /** + * Gets the value of the prefixedDegree property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrefixedDegree() { + return prefixedDegree; + } + + /** + * Sets the value of the prefixedDegree property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrefixedDegree(String value) { + this.prefixedDegree = value; + } + + /** + * Gets the value of the givenName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGivenName() { + return givenName; + } + + /** + * Sets the value of the givenName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGivenName(String value) { + this.givenName = value; + } + + /** + * Gets the value of the familyName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFamilyName() { + return familyName; + } + + /** + * Sets the value of the familyName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFamilyName(String value) { + this.familyName = value; + } + + /** + * Gets the value of the suffixedDegree property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSuffixedDegree() { + return suffixedDegree; + } + + /** + * Sets the value of the suffixedDegree property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSuffixedDegree(String value) { + this.suffixedDegree = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/PhysicalPersonType.java b/src/main/java/at/gv/util/xsd/szr/persondata/PhysicalPersonType.java new file mode 100644 index 0000000..123c50e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/persondata/PhysicalPersonType.java @@ -0,0 +1,258 @@ + +package at.gv.util.xsd.szr.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for PhysicalPersonType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PhysicalPersonType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Identification" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}IdentificationType" minOccurs="0"/> + * <element name="Name" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType"/> + * <element name="AlternativeName" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AlternativeNameType" minOccurs="0"/> + * <element name="Sex" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DateOfBirth" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PlaceOfBirth" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="CountryOfBirth" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Nationality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PhysicalPersonType", propOrder = { + "identification", + "name", + "alternativeName", + "sex", + "dateOfBirth", + "placeOfBirth", + "countryOfBirth", + "nationality" +}) +public class PhysicalPersonType { + + @XmlElement(name = "Identification") + protected IdentificationType identification; + @XmlElement(name = "Name", required = true) + protected PersonNameType name; + @XmlElement(name = "AlternativeName") + protected AlternativeNameType alternativeName; + @XmlElement(name = "Sex") + protected String sex; + @XmlElement(name = "DateOfBirth") + protected String dateOfBirth; + @XmlElement(name = "PlaceOfBirth") + protected String placeOfBirth; + @XmlElement(name = "CountryOfBirth") + protected String countryOfBirth; + @XmlElement(name = "Nationality") + protected String nationality; + + /** + * Gets the value of the identification property. + * + * @return + * possible object is + * {@link IdentificationType } + * + */ + public IdentificationType getIdentification() { + return identification; + } + + /** + * Sets the value of the identification property. + * + * @param value + * allowed object is + * {@link IdentificationType } + * + */ + public void setIdentification(IdentificationType value) { + this.identification = value; + } + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link PersonNameType } + * + */ + public PersonNameType getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link PersonNameType } + * + */ + public void setName(PersonNameType value) { + this.name = value; + } + + /** + * Gets the value of the alternativeName property. + * + * @return + * possible object is + * {@link AlternativeNameType } + * + */ + public AlternativeNameType getAlternativeName() { + return alternativeName; + } + + /** + * Sets the value of the alternativeName property. + * + * @param value + * allowed object is + * {@link AlternativeNameType } + * + */ + public void setAlternativeName(AlternativeNameType value) { + this.alternativeName = value; + } + + /** + * Gets the value of the sex property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSex() { + return sex; + } + + /** + * Sets the value of the sex property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSex(String value) { + this.sex = value; + } + + /** + * Gets the value of the dateOfBirth property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDateOfBirth() { + return dateOfBirth; + } + + /** + * Sets the value of the dateOfBirth property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDateOfBirth(String value) { + this.dateOfBirth = value; + } + + /** + * Gets the value of the placeOfBirth property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlaceOfBirth() { + return placeOfBirth; + } + + /** + * Sets the value of the placeOfBirth property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlaceOfBirth(String value) { + this.placeOfBirth = value; + } + + /** + * Gets the value of the countryOfBirth property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryOfBirth() { + return countryOfBirth; + } + + /** + * Sets the value of the countryOfBirth property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryOfBirth(String value) { + this.countryOfBirth = value; + } + + /** + * Gets the value of the nationality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNationality() { + return nationality; + } + + /** + * Sets the value of the nationality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNationality(String value) { + this.nationality = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/PostalAddressType.java b/src/main/java/at/gv/util/xsd/szr/persondata/PostalAddressType.java new file mode 100644 index 0000000..eb10a12 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/persondata/PostalAddressType.java @@ -0,0 +1,174 @@ + +package at.gv.util.xsd.szr.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for PostalAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PostalAddressType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Locality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="StateCode3" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DeliveryAddress" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}DeliveryAddressType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PostalAddressType", propOrder = { + "postalCode", + "municipality", + "locality", + "stateCode3", + "deliveryAddress" +}) +public class PostalAddressType { + + @XmlElement(name = "PostalCode") + protected String postalCode; + @XmlElement(name = "Municipality") + protected String municipality; + @XmlElement(name = "Locality") + protected String locality; + @XmlElement(name = "StateCode3") + protected String stateCode3; + @XmlElement(name = "DeliveryAddress") + protected DeliveryAddressType deliveryAddress; + + /** + * Gets the value of the postalCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostalCode() { + return postalCode; + } + + /** + * Sets the value of the postalCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostalCode(String value) { + this.postalCode = value; + } + + /** + * Gets the value of the municipality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMunicipality() { + return municipality; + } + + /** + * Sets the value of the municipality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMunicipality(String value) { + this.municipality = value; + } + + /** + * Gets the value of the locality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLocality() { + return locality; + } + + /** + * Sets the value of the locality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLocality(String value) { + this.locality = value; + } + + /** + * Gets the value of the stateCode3 property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStateCode3() { + return stateCode3; + } + + /** + * Sets the value of the stateCode3 property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStateCode3(String value) { + this.stateCode3 = value; + } + + /** + * Gets the value of the deliveryAddress property. + * + * @return + * possible object is + * {@link DeliveryAddressType } + * + */ + public DeliveryAddressType getDeliveryAddress() { + return deliveryAddress; + } + + /** + * Sets the value of the deliveryAddress property. + * + * @param value + * allowed object is + * {@link DeliveryAddressType } + * + */ + public void setDeliveryAddress(DeliveryAddressType value) { + this.deliveryAddress = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/package-info.java b/src/main/java/at/gv/util/xsd/szr/persondata/package-info.java new file mode 100644 index 0000000..927aee9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/persondata/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.szr.persondata; diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/pvp/ObjectFactory.java new file mode 100644 index 0000000..b7d4820 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/ObjectFactory.java @@ -0,0 +1,133 @@ + +package at.gv.util.xsd.szr.pvp; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.szr.pvp package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _PvpToken_QNAME = new QName("http://egov.gv.at/pvp1.xsd", "pvpToken"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.szr.pvp + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link PvpTokenType.Accounting.GvCostCenterId } + * + */ + public PvpTokenType.Accounting.GvCostCenterId createPvpTokenTypeAccountingGvCostCenterId() { + return new PvpTokenType.Accounting.GvCostCenterId(); + } + + /** + * Create an instance of {@link Role } + * + */ + public Role createRole() { + return new Role(); + } + + /** + * Create an instance of {@link PvpTokenType.Accounting } + * + */ + public PvpTokenType.Accounting createPvpTokenTypeAccounting() { + return new PvpTokenType.Accounting(); + } + + /** + * Create an instance of {@link PvpTokenType } + * + */ + public PvpTokenType createPvpTokenType() { + return new PvpTokenType(); + } + + /** + * Create an instance of {@link PvpTokenType.Authenticate.UserPrincipal } + * + */ + public PvpTokenType.Authenticate.UserPrincipal createPvpTokenTypeAuthenticateUserPrincipal() { + return new PvpTokenType.Authenticate.UserPrincipal(); + } + + /** + * Create an instance of {@link PvpTokenType.Authenticate } + * + */ + public PvpTokenType.Authenticate createPvpTokenTypeAuthenticate() { + return new PvpTokenType.Authenticate(); + } + + /** + * Create an instance of {@link PvpPrincipalType } + * + */ + public PvpPrincipalType createPvpPrincipalType() { + return new PvpPrincipalType(); + } + + /** + * Create an instance of {@link PvpTokenType.PvpExtension } + * + */ + public PvpTokenType.PvpExtension createPvpTokenTypePvpExtension() { + return new PvpTokenType.PvpExtension(); + } + + /** + * Create an instance of {@link PvpTokenType.Authorize } + * + */ + public PvpTokenType.Authorize createPvpTokenTypeAuthorize() { + return new PvpTokenType.Authorize(); + } + + /** + * Create an instance of {@link Param } + * + */ + public Param createParam() { + return new Param(); + } + + /** + * Create an instance of {@link PvpTokenType.Accounting.GvChargeCode } + * + */ + public PvpTokenType.Accounting.GvChargeCode createPvpTokenTypeAccountingGvChargeCode() { + return new PvpTokenType.Accounting.GvChargeCode(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PvpTokenType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://egov.gv.at/pvp1.xsd", name = "pvpToken") + public JAXBElement<PvpTokenType> createPvpToken(PvpTokenType value) { + return new JAXBElement<PvpTokenType>(_PvpToken_QNAME, PvpTokenType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/Param.java b/src/main/java/at/gv/util/xsd/szr/pvp/Param.java new file mode 100644 index 0000000..7a33c83 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/Param.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.szr.pvp; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "key", + "value" +}) +@XmlRootElement(name = "param") +public class Param { + + @XmlElement(required = true) + protected String key; + @XmlElement(required = true) + protected String value; + + /** + * Gets the value of the key property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKey() { + return key; + } + + /** + * Sets the value of the key property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKey(String value) { + this.key = value; + } + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/PvpPrincipalType.java b/src/main/java/at/gv/util/xsd/szr/pvp/PvpPrincipalType.java new file mode 100644 index 0000000..eeadb45 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/PvpPrincipalType.java @@ -0,0 +1,203 @@ + +package at.gv.util.xsd.szr.pvp; + +import java.math.BigInteger; +import java.util.HashMap; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.namespace.QName; + + +/** + * <p>Java class for pvpPrincipalType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="pvpPrincipalType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="userId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="cn" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="gvOuId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="ou" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="gvSecClass" type="{http://egov.gv.at/pvp1.xsd}gvSecClassType" minOccurs="0"/> + * </sequence> + * <anyAttribute processContents='lax'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "pvpPrincipalType", propOrder = { + "userId", + "cn", + "gvOuId", + "ou", + "gvSecClass" +}) +@XmlSeeAlso({ + at.gv.util.xsd.szr.pvp.PvpTokenType.Authenticate.UserPrincipal.class +}) +public class PvpPrincipalType { + + @XmlElement(required = true) + protected String userId; + @XmlElement(required = true) + protected String cn; + @XmlElement(required = true) + protected String gvOuId; + @XmlElement(required = true) + protected String ou; + protected BigInteger gvSecClass; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Gets the value of the userId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUserId() { + return userId; + } + + /** + * Sets the value of the userId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUserId(String value) { + this.userId = value; + } + + /** + * Gets the value of the cn property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCn() { + return cn; + } + + /** + * Sets the value of the cn property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCn(String value) { + this.cn = value; + } + + /** + * Gets the value of the gvOuId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvOuId() { + return gvOuId; + } + + /** + * Sets the value of the gvOuId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvOuId(String value) { + this.gvOuId = value; + } + + /** + * Gets the value of the ou property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOu() { + return ou; + } + + /** + * Sets the value of the ou property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOu(String value) { + this.ou = value; + } + + /** + * Gets the value of the gvSecClass property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getGvSecClass() { + return gvSecClass; + } + + /** + * Sets the value of the gvSecClass property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setGvSecClass(BigInteger value) { + this.gvSecClass = value; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java b/src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java new file mode 100644 index 0000000..0c1e55f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java @@ -0,0 +1,990 @@ + +package at.gv.util.xsd.szr.pvp; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.namespace.QName; +import org.w3c.dom.Element; + + +/** + * <p>Java class for pvpTokenType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="pvpTokenType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="authenticate"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="participantId" type="{http://www.w3.org/2001/XMLSchema}anyType"/> + * <element name="gvOuDomain" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * <choice> + * <element name="userPrincipal"> + * <complexType> + * <complexContent> + * <extension base="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType"> + * <sequence> + * <element name="gvGid" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="gvFunction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * <anyAttribute processContents='lax'/> + * </extension> + * </complexContent> + * </complexType> + * </element> + * <element name="systemPrincipal" type="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType"/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="authorize" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://egov.gv.at/pvp1.xsd}role" maxOccurs="unbounded"/> + * <element name="dummy" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="accounting" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="invoiceRecptId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="gvCostCenterId" maxOccurs="unbounded"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="gvChargeCode" maxOccurs="unbounded"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="pvpChainedToken" type="{http://egov.gv.at/pvp1.xsd}pvpTokenType" minOccurs="0"/> + * <element name="pvpExtension" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <attribute name="version" use="required" type="{http://egov.gv.at/pvp1.xsd}gvVersionType" /> + * <anyAttribute processContents='lax'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "pvpTokenType", propOrder = { + "authenticate", + "authorize", + "accounting", + "pvpChainedToken", + "pvpExtension" +}) +public class PvpTokenType { + + @XmlElement(required = true) + protected PvpTokenType.Authenticate authenticate; + protected PvpTokenType.Authorize authorize; + protected PvpTokenType.Accounting accounting; + protected PvpTokenType pvpChainedToken; + protected PvpTokenType.PvpExtension pvpExtension; + @XmlAttribute(required = true) + protected String version; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Gets the value of the authenticate property. + * + * @return + * possible object is + * {@link PvpTokenType.Authenticate } + * + */ + public PvpTokenType.Authenticate getAuthenticate() { + return authenticate; + } + + /** + * Sets the value of the authenticate property. + * + * @param value + * allowed object is + * {@link PvpTokenType.Authenticate } + * + */ + public void setAuthenticate(PvpTokenType.Authenticate value) { + this.authenticate = value; + } + + /** + * Gets the value of the authorize property. + * + * @return + * possible object is + * {@link PvpTokenType.Authorize } + * + */ + public PvpTokenType.Authorize getAuthorize() { + return authorize; + } + + /** + * Sets the value of the authorize property. + * + * @param value + * allowed object is + * {@link PvpTokenType.Authorize } + * + */ + public void setAuthorize(PvpTokenType.Authorize value) { + this.authorize = value; + } + + /** + * Gets the value of the accounting property. + * + * @return + * possible object is + * {@link PvpTokenType.Accounting } + * + */ + public PvpTokenType.Accounting getAccounting() { + return accounting; + } + + /** + * Sets the value of the accounting property. + * + * @param value + * allowed object is + * {@link PvpTokenType.Accounting } + * + */ + public void setAccounting(PvpTokenType.Accounting value) { + this.accounting = value; + } + + /** + * Gets the value of the pvpChainedToken property. + * + * @return + * possible object is + * {@link PvpTokenType } + * + */ + public PvpTokenType getPvpChainedToken() { + return pvpChainedToken; + } + + /** + * Sets the value of the pvpChainedToken property. + * + * @param value + * allowed object is + * {@link PvpTokenType } + * + */ + public void setPvpChainedToken(PvpTokenType value) { + this.pvpChainedToken = value; + } + + /** + * Gets the value of the pvpExtension property. + * + * @return + * possible object is + * {@link PvpTokenType.PvpExtension } + * + */ + public PvpTokenType.PvpExtension getPvpExtension() { + return pvpExtension; + } + + /** + * Sets the value of the pvpExtension property. + * + * @param value + * allowed object is + * {@link PvpTokenType.PvpExtension } + * + */ + public void setPvpExtension(PvpTokenType.PvpExtension value) { + this.pvpExtension = value; + } + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="invoiceRecptId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="gvCostCenterId" maxOccurs="unbounded"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="gvChargeCode" maxOccurs="unbounded"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "invoiceRecptId", + "gvCostCenterId", + "gvChargeCode" + }) + public static class Accounting { + + @XmlElement(required = true) + protected String invoiceRecptId; + @XmlElement(required = true) + protected List<PvpTokenType.Accounting.GvCostCenterId> gvCostCenterId; + @XmlElement(required = true) + protected List<PvpTokenType.Accounting.GvChargeCode> gvChargeCode; + + /** + * Gets the value of the invoiceRecptId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInvoiceRecptId() { + return invoiceRecptId; + } + + /** + * Sets the value of the invoiceRecptId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInvoiceRecptId(String value) { + this.invoiceRecptId = value; + } + + /** + * Gets the value of the gvCostCenterId property. + * + * <p> + * 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 <CODE>set</CODE> method for the gvCostCenterId property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getGvCostCenterId().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PvpTokenType.Accounting.GvCostCenterId } + * + * + */ + public List<PvpTokenType.Accounting.GvCostCenterId> getGvCostCenterId() { + if (gvCostCenterId == null) { + gvCostCenterId = new ArrayList<PvpTokenType.Accounting.GvCostCenterId>(); + } + return this.gvCostCenterId; + } + + /** + * Gets the value of the gvChargeCode property. + * + * <p> + * 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 <CODE>set</CODE> method for the gvChargeCode property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getGvChargeCode().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PvpTokenType.Accounting.GvChargeCode } + * + * + */ + public List<PvpTokenType.Accounting.GvChargeCode> getGvChargeCode() { + if (gvChargeCode == null) { + gvChargeCode = new ArrayList<PvpTokenType.Accounting.GvChargeCode>(); + } + return this.gvChargeCode; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class GvChargeCode { + + @XmlValue + protected String value; + @XmlAttribute(name = "default") + protected Boolean _default; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the default property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean isDefault() { + if (_default == null) { + return false; + } else { + return _default; + } + } + + /** + * Sets the value of the default property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setDefault(Boolean value) { + this._default = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class GvCostCenterId { + + @XmlValue + protected String value; + @XmlAttribute(name = "default") + protected Boolean _default; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the default property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public boolean isDefault() { + if (_default == null) { + return false; + } else { + return _default; + } + } + + /** + * Sets the value of the default property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setDefault(Boolean value) { + this._default = value; + } + + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="participantId" type="{http://www.w3.org/2001/XMLSchema}anyType"/> + * <element name="gvOuDomain" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * <choice> + * <element name="userPrincipal"> + * <complexType> + * <complexContent> + * <extension base="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType"> + * <sequence> + * <element name="gvGid" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="gvFunction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * <anyAttribute processContents='lax'/> + * </extension> + * </complexContent> + * </complexType> + * </element> + * <element name="systemPrincipal" type="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType"/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "participantId", + "gvOuDomain", + "userPrincipal", + "systemPrincipal" + }) + public static class Authenticate { + + @XmlElement(required = true) + protected Object participantId; + protected Object gvOuDomain; + protected PvpTokenType.Authenticate.UserPrincipal userPrincipal; + protected PvpPrincipalType systemPrincipal; + + /** + * Gets the value of the participantId property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getParticipantId() { + return participantId; + } + + /** + * Sets the value of the participantId property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setParticipantId(Object value) { + this.participantId = value; + } + + /** + * Gets the value of the gvOuDomain property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getGvOuDomain() { + return gvOuDomain; + } + + /** + * Sets the value of the gvOuDomain property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setGvOuDomain(Object value) { + this.gvOuDomain = value; + } + + /** + * Gets the value of the userPrincipal property. + * + * @return + * possible object is + * {@link PvpTokenType.Authenticate.UserPrincipal } + * + */ + public PvpTokenType.Authenticate.UserPrincipal getUserPrincipal() { + return userPrincipal; + } + + /** + * Sets the value of the userPrincipal property. + * + * @param value + * allowed object is + * {@link PvpTokenType.Authenticate.UserPrincipal } + * + */ + public void setUserPrincipal(PvpTokenType.Authenticate.UserPrincipal value) { + this.userPrincipal = value; + } + + /** + * Gets the value of the systemPrincipal property. + * + * @return + * possible object is + * {@link PvpPrincipalType } + * + */ + public PvpPrincipalType getSystemPrincipal() { + return systemPrincipal; + } + + /** + * Sets the value of the systemPrincipal property. + * + * @param value + * allowed object is + * {@link PvpPrincipalType } + * + */ + public void setSystemPrincipal(PvpPrincipalType value) { + this.systemPrincipal = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <extension base="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType"> + * <sequence> + * <element name="gvGid" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="gvFunction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * <anyAttribute processContents='lax'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "gvGid", + "gvFunction" + }) + public static class UserPrincipal + extends PvpPrincipalType + { + + @XmlElement(required = true) + protected String gvGid; + protected String gvFunction; + + /** + * Gets the value of the gvGid property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvGid() { + return gvGid; + } + + /** + * Sets the value of the gvGid property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvGid(String value) { + this.gvGid = value; + } + + /** + * Gets the value of the gvFunction property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvFunction() { + return gvFunction; + } + + /** + * Sets the value of the gvFunction property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvFunction(String value) { + this.gvFunction = value; + } + + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://egov.gv.at/pvp1.xsd}role" maxOccurs="unbounded"/> + * <element name="dummy" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "role", + "dummy" + }) + public static class Authorize { + + @XmlElement(required = true) + protected List<Role> role; + protected Object dummy; + + /** + * Gets the value of the role property. + * + * <p> + * 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 <CODE>set</CODE> method for the role property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRole().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Role } + * + * + */ + public List<Role> getRole() { + if (role == null) { + role = new ArrayList<Role>(); + } + return this.role; + } + + /** + * Gets the value of the dummy property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getDummy() { + return dummy; + } + + /** + * Sets the value of the dummy property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setDummy(Object value) { + this.dummy = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class PvpExtension { + + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/Role.java b/src/main/java/at/gv/util/xsd/szr/pvp/Role.java new file mode 100644 index 0000000..edf84f0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/Role.java @@ -0,0 +1,126 @@ + +package at.gv.util.xsd.szr.pvp; + +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.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://egov.gv.at/pvp1.xsd}param" maxOccurs="unbounded"/> + * <element name="dummy" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * </sequence> + * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "param", + "dummy" +}) +@XmlRootElement(name = "role") +public class Role { + + @XmlElement(required = true) + protected List<Param> param; + protected Object dummy; + @XmlAttribute(required = true) + protected String value; + + /** + * Gets the value of the param property. + * + * <p> + * 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 <CODE>set</CODE> method for the param property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getParam().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Param } + * + * + */ + public List<Param> getParam() { + if (param == null) { + param = new ArrayList<Param>(); + } + return this.param; + } + + /** + * Gets the value of the dummy property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getDummy() { + return dummy; + } + + /** + * Sets the value of the dummy property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setDummy(Object value) { + this.dummy = value; + } + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/package-info.java b/src/main/java/at/gv/util/xsd/szr/pvp/package-info.java new file mode 100644 index 0000000..3262771 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://egov.gv.at/pvp1.xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.szr.pvp; diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/sec/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/pvp/sec/ObjectFactory.java new file mode 100644 index 0000000..7adad02 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/sec/ObjectFactory.java @@ -0,0 +1,40 @@ + +package at.gv.util.xsd.szr.pvp.sec; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.szr.pvp.sec package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.szr.pvp.sec + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link Security } + * + */ + public Security createSecurity() { + return new Security(); + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/sec/Security.java b/src/main/java/at/gv/util/xsd/szr/pvp/sec/Security.java new file mode 100644 index 0000000..7f70ee2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/sec/Security.java @@ -0,0 +1,65 @@ + +package at.gv.util.xsd.szr.pvp.sec; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.szr.pvp.PvpTokenType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://egov.gv.at/pvp1.xsd}pvpToken"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "pvpToken" +}) +@XmlRootElement(name = "Security") +public class Security { + + @XmlElement(namespace = "http://egov.gv.at/pvp1.xsd", required = true) + protected PvpTokenType pvpToken; + + /** + * Gets the value of the pvpToken property. + * + * @return + * possible object is + * {@link PvpTokenType } + * + */ + public PvpTokenType getPvpToken() { + return pvpToken; + } + + /** + * Sets the value of the pvpToken property. + * + * @param value + * allowed object is + * {@link PvpTokenType } + * + */ + public void setPvpToken(PvpTokenType value) { + this.pvpToken = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/sec/package-info.java b/src/main/java/at/gv/util/xsd/szr/pvp/sec/package-info.java new file mode 100644 index 0000000..1f88098 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/sec/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://schemas.xmlsoap.org/ws/2002/04/secext", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.szr.pvp.sec; diff --git a/src/main/java/at/gv/util/xsd/szr/xmldsig/DSAKeyValueType.java b/src/main/java/at/gv/util/xsd/szr/xmldsig/DSAKeyValueType.java new file mode 100644 index 0000000..c544a9c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/xmldsig/DSAKeyValueType.java @@ -0,0 +1,230 @@ + +package at.gv.util.xsd.szr.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="P" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Q" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="J" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="G" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Y" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PgenCounter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Seed" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DSAKeyValueType", propOrder = { + "p", + "q", + "j", + "g", + "y", + "pgenCounter", + "seed" +}) +public class DSAKeyValueType { + + @XmlElement(name = "P") + protected String p; + @XmlElement(name = "Q") + protected String q; + @XmlElement(name = "J") + protected String j; + @XmlElement(name = "G") + protected String g; + @XmlElement(name = "Y") + protected String y; + @XmlElement(name = "PgenCounter") + protected String pgenCounter; + @XmlElement(name = "Seed") + protected String seed; + + /** + * Gets the value of the p property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getP() { + return p; + } + + /** + * Sets the value of the p property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setP(String value) { + this.p = value; + } + + /** + * Gets the value of the q property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQ() { + return q; + } + + /** + * Sets the value of the q property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQ(String value) { + this.q = value; + } + + /** + * Gets the value of the j property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getJ() { + return j; + } + + /** + * Sets the value of the j property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setJ(String value) { + this.j = value; + } + + /** + * Gets the value of the g property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getG() { + return g; + } + + /** + * Sets the value of the g property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setG(String value) { + this.g = value; + } + + /** + * Gets the value of the y property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getY() { + return y; + } + + /** + * Sets the value of the y property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setY(String value) { + this.y = value; + } + + /** + * Gets the value of the pgenCounter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPgenCounter() { + return pgenCounter; + } + + /** + * Sets the value of the pgenCounter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPgenCounter(String value) { + this.pgenCounter = value; + } + + /** + * Gets the value of the seed property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSeed() { + return seed; + } + + /** + * Sets the value of the seed property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSeed(String value) { + this.seed = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/xmldsig/KeyValueType.java b/src/main/java/at/gv/util/xsd/szr/xmldsig/KeyValueType.java new file mode 100644 index 0000000..840b549 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/xmldsig/KeyValueType.java @@ -0,0 +1,119 @@ + +package at.gv.util.xsd.szr.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.szr.ecdsa.ECDSAKeyValueType; + + +/** + * <p>Java class for KeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="KeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DSAKeyValue" type="{http://www.w3.org/2000/09/xmldsig#}DSAKeyValueType" minOccurs="0"/> + * <element name="RSAKeyValue" type="{http://www.w3.org/2000/09/xmldsig#}RSAKeyValueType" minOccurs="0"/> + * <element ref="{http://www.w3.org/2001/04/xmldsig-more#}ECDSAKeyValue"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyValueType", propOrder = { + "dsaKeyValue", + "rsaKeyValue", + "ecdsaKeyValue" +}) +public class KeyValueType { + + @XmlElement(name = "DSAKeyValue") + protected DSAKeyValueType dsaKeyValue; + @XmlElement(name = "RSAKeyValue") + protected RSAKeyValueType rsaKeyValue; + @XmlElement(name = "ECDSAKeyValue", namespace = "http://www.w3.org/2001/04/xmldsig-more#", required = true) + protected ECDSAKeyValueType ecdsaKeyValue; + + /** + * Gets the value of the dsaKeyValue property. + * + * @return + * possible object is + * {@link DSAKeyValueType } + * + */ + public DSAKeyValueType getDSAKeyValue() { + return dsaKeyValue; + } + + /** + * Sets the value of the dsaKeyValue property. + * + * @param value + * allowed object is + * {@link DSAKeyValueType } + * + */ + public void setDSAKeyValue(DSAKeyValueType value) { + this.dsaKeyValue = value; + } + + /** + * Gets the value of the rsaKeyValue property. + * + * @return + * possible object is + * {@link RSAKeyValueType } + * + */ + public RSAKeyValueType getRSAKeyValue() { + return rsaKeyValue; + } + + /** + * Sets the value of the rsaKeyValue property. + * + * @param value + * allowed object is + * {@link RSAKeyValueType } + * + */ + public void setRSAKeyValue(RSAKeyValueType value) { + this.rsaKeyValue = value; + } + + /** + * Gets the value of the ecdsaKeyValue property. + * + * @return + * possible object is + * {@link ECDSAKeyValueType } + * + */ + public ECDSAKeyValueType getECDSAKeyValue() { + return ecdsaKeyValue; + } + + /** + * Sets the value of the ecdsaKeyValue property. + * + * @param value + * allowed object is + * {@link ECDSAKeyValueType } + * + */ + public void setECDSAKeyValue(ECDSAKeyValueType value) { + this.ecdsaKeyValue = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/xmldsig/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/xmldsig/ObjectFactory.java new file mode 100644 index 0000000..5267115 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/xmldsig/ObjectFactory.java @@ -0,0 +1,56 @@ + +package at.gv.util.xsd.szr.xmldsig; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.szr.xmldsig package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.szr.xmldsig + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link RSAKeyValueType } + * + */ + public RSAKeyValueType createRSAKeyValueType() { + return new RSAKeyValueType(); + } + + /** + * Create an instance of {@link DSAKeyValueType } + * + */ + public DSAKeyValueType createDSAKeyValueType() { + return new DSAKeyValueType(); + } + + /** + * Create an instance of {@link KeyValueType } + * + */ + public KeyValueType createKeyValueType() { + return new KeyValueType(); + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/xmldsig/RSAKeyValueType.java b/src/main/java/at/gv/util/xsd/szr/xmldsig/RSAKeyValueType.java new file mode 100644 index 0000000..9deeb6b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/xmldsig/RSAKeyValueType.java @@ -0,0 +1,90 @@ + +package at.gv.util.xsd.szr.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Modulus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Exponent" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RSAKeyValueType", propOrder = { + "modulus", + "exponent" +}) +public class RSAKeyValueType { + + @XmlElement(name = "Modulus") + protected String modulus; + @XmlElement(name = "Exponent") + protected String exponent; + + /** + * Gets the value of the modulus property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModulus() { + return modulus; + } + + /** + * Sets the value of the modulus property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModulus(String value) { + this.modulus = value; + } + + /** + * Gets the value of the exponent property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getExponent() { + return exponent; + } + + /** + * Sets the value of the exponent property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setExponent(String value) { + this.exponent = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/xmldsig/package-info.java b/src/main/java/at/gv/util/xsd/szr/xmldsig/package-info.java new file mode 100644 index 0000000..703923b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/xmldsig/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2000/09/xmldsig#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.szr.xmldsig; diff --git a/src/main/java/at/gv/util/xsd/ur/pd/AbstractAddressType.java b/src/main/java/at/gv/util/xsd/ur/pd/AbstractAddressType.java new file mode 100644 index 0000000..4fbf6e7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/AbstractAddressType.java @@ -0,0 +1,97 @@ + +package at.gv.util.xsd.ur.pd; + +import java.util.HashMap; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +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 javax.xml.namespace.QName; + + +/** + * Struktur des Abstrakten Address Elements + * + * <p>Java class for AbstractAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractAddressType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='##other'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractAddressType") +@XmlSeeAlso({ + PostAdresseTyp.class, + TypisiertePostAdresseTyp.class +}) +public class AbstractAddressType { + + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * 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; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/AbstractPersonType.java b/src/main/java/at/gv/util/xsd/ur/pd/AbstractPersonType.java new file mode 100644 index 0000000..9804ab0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/AbstractPersonType.java @@ -0,0 +1,137 @@ + +package at.gv.util.xsd.ur.pd; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +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 javax.xml.namespace.QName; + + +/** + * main structure of person data + * + * <p>Java class for AbstractPersonType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractPersonType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice minOccurs="0"> + * <element name="Identification" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}IdentificationType" maxOccurs="unbounded" minOccurs="0"/> + * </choice> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='##other'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractPersonType", propOrder = { + "identification" +}) +@XmlSeeAlso({ + NatuerlichePersonTyp.class, + PersonenDatenTyp.class, + NichtNatuerlichePersonTyp.class +}) +public class AbstractPersonType { + + @XmlElement(name = "Identification") + protected List<IdentificationType> identification; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Gets the value of the identification property. + * + * <p> + * 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 <CODE>set</CODE> method for the identification property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getIdentification().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link IdentificationType } + * + * + */ + public List<IdentificationType> getIdentification() { + if (identification == null) { + identification = new ArrayList<IdentificationType>(); + } + return this.identification; + } + + /** + * 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; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/IdentificationType.java b/src/main/java/at/gv/util/xsd/ur/pd/IdentificationType.java new file mode 100644 index 0000000..6474b2e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/IdentificationType.java @@ -0,0 +1,282 @@ + +package at.gv.util.xsd.ur.pd; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; +import org.w3c.dom.Element; + + +/** + * Container für beliebige Identifikationsmerkmale, besteht aus Type und Value Unterelementen, aus technischen Gründen nur auf Englisch verfügbar + * + * <p>Java class for IdentificationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="IdentificationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Value"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='##other'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IdentificationType", propOrder = { + "value", + "type", + "any" +}) +public class IdentificationType { + + @XmlElement(name = "Value", required = true) + protected IdentificationType.Value value; + @XmlElement(name = "Type", required = true) + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlAnyElement(lax = true) + protected List<Object> any; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link IdentificationType.Value } + * + */ + public IdentificationType.Value getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link IdentificationType.Value } + * + */ + public void setValue(IdentificationType.Value value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + + /** + * 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; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Value { + + @XmlValue + protected String value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/NatuerlichePersonTyp.java b/src/main/java/at/gv/util/xsd/ur/pd/NatuerlichePersonTyp.java new file mode 100644 index 0000000..f9632ff --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/NatuerlichePersonTyp.java @@ -0,0 +1,133 @@ + +package at.gv.util.xsd.ur.pd; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * entspricht PhysicalPersonType + * + * <p>Java class for NatuerlichePersonTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="NatuerlichePersonTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PersonenName" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}Geburtsdatum" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NatuerlichePersonTyp", propOrder = { + "personenName", + "geburtsdatum", + "any" +}) +public class NatuerlichePersonTyp + extends AbstractPersonType +{ + + @XmlElement(name = "PersonenName") + protected PersonenNameTyp personenName; + @XmlElement(name = "Geburtsdatum") + protected String geburtsdatum; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the personenName property. + * + * @return + * possible object is + * {@link PersonenNameTyp } + * + */ + public PersonenNameTyp getPersonenName() { + return personenName; + } + + /** + * Sets the value of the personenName property. + * + * @param value + * allowed object is + * {@link PersonenNameTyp } + * + */ + public void setPersonenName(PersonenNameTyp value) { + this.personenName = value; + } + + /** + * Gets the value of the geburtsdatum property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGeburtsdatum() { + return geburtsdatum; + } + + /** + * Sets the value of the geburtsdatum property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGeburtsdatum(String value) { + this.geburtsdatum = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/NichtNatuerlichePersonTyp.java b/src/main/java/at/gv/util/xsd/ur/pd/NichtNatuerlichePersonTyp.java new file mode 100644 index 0000000..858446e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/NichtNatuerlichePersonTyp.java @@ -0,0 +1,139 @@ + +package at.gv.util.xsd.ur.pd; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +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; +import org.w3c.dom.Element; + + +/** + * entspricht CorporateBodyType + * + * <p>Java class for NichtNatuerlichePersonTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="NichtNatuerlichePersonTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element name="VollerName" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Rechtsform" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NichtNatuerlichePersonTyp", propOrder = { + "vollerName", + "rechtsform", + "any" +}) +public class NichtNatuerlichePersonTyp + extends AbstractPersonType +{ + + @XmlElement(name = "VollerName") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String vollerName; + @XmlElement(name = "Rechtsform") + @XmlSchemaType(name = "anyURI") + protected String rechtsform; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the vollerName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVollerName() { + return vollerName; + } + + /** + * Sets the value of the vollerName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVollerName(String value) { + this.vollerName = value; + } + + /** + * Gets the value of the rechtsform property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRechtsform() { + return rechtsform; + } + + /** + * Sets the value of the rechtsform property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRechtsform(String value) { + this.rechtsform = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ur/pd/ObjectFactory.java new file mode 100644 index 0000000..6758f36 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/ObjectFactory.java @@ -0,0 +1,247 @@ + +package at.gv.util.xsd.ur.pd; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ur.pd package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Person_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "Person"); + private final static QName _PostAdresse_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "PostAdresse"); + private final static QName _Address_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "Address"); + private final static QName _Geburtsdatum_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "Geburtsdatum"); + private final static QName _NatuerlichePerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "NatuerlichePerson"); + private final static QName _NichtNatuerlichePerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "NichtNatuerlichePerson"); + private final static QName _AbstractPersonData_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "AbstractPersonData"); + private final static QName _TypisiertePostAdresse_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "TypisiertePostAdresse"); + private final static QName _PersonenName_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "PersonenName"); + private final static QName _PersonenDaten_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "PersonenDaten"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur.pd + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link IdentificationType } + * + */ + public IdentificationType createIdentificationType() { + return new IdentificationType(); + } + + /** + * Create an instance of {@link PersonenNameTyp } + * + */ + public PersonenNameTyp createPersonenNameTyp() { + return new PersonenNameTyp(); + } + + /** + * Create an instance of {@link PostAdresseTyp } + * + */ + public PostAdresseTyp createPostAdresseTyp() { + return new PostAdresseTyp(); + } + + /** + * Create an instance of {@link PersonenDatenTyp } + * + */ + public PersonenDatenTyp createPersonenDatenTyp() { + return new PersonenDatenTyp(); + } + + /** + * Create an instance of {@link NatuerlichePersonTyp } + * + */ + public NatuerlichePersonTyp createNatuerlichePersonTyp() { + return new NatuerlichePersonTyp(); + } + + /** + * Create an instance of {@link AbstractPersonType } + * + */ + public AbstractPersonType createAbstractPersonType() { + return new AbstractPersonType(); + } + + /** + * Create an instance of {@link AbstractAddressType } + * + */ + public AbstractAddressType createAbstractAddressType() { + return new AbstractAddressType(); + } + + /** + * Create an instance of {@link TypisiertePostAdresseTyp } + * + */ + public TypisiertePostAdresseTyp createTypisiertePostAdresseTyp() { + return new TypisiertePostAdresseTyp(); + } + + /** + * Create an instance of {@link NichtNatuerlichePersonTyp } + * + */ + public NichtNatuerlichePersonTyp createNichtNatuerlichePersonTyp() { + return new NichtNatuerlichePersonTyp(); + } + + /** + * Create an instance of {@link IdentificationType.Value } + * + */ + public IdentificationType.Value createIdentificationTypeValue() { + return new IdentificationType.Value(); + } + + /** + * Create an instance of {@link PersonenNameTyp.Familienname } + * + */ + public PersonenNameTyp.Familienname createPersonenNameTypFamilienname() { + return new PersonenNameTyp.Familienname(); + } + + /** + * Create an instance of {@link PersonenNameTyp.Affix } + * + */ + public PersonenNameTyp.Affix createPersonenNameTypAffix() { + return new PersonenNameTyp.Affix(); + } + + /** + * Create an instance of {@link PostAdresseTyp.Zustelladresse } + * + */ + public PostAdresseTyp.Zustelladresse createPostAdresseTypZustelladresse() { + return new PostAdresseTyp.Zustelladresse(); + } + + /** + * Create an instance of {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public PersonenDatenTyp.Zusatzdaten createPersonenDatenTypZusatzdaten() { + return new PersonenDatenTyp.Zusatzdaten(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "Person") + public JAXBElement<AbstractPersonType> createPerson(AbstractPersonType value) { + return new JAXBElement<AbstractPersonType>(_Person_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PostAdresseTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "PostAdresse", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Address") + public JAXBElement<PostAdresseTyp> createPostAdresse(PostAdresseTyp value) { + return new JAXBElement<PostAdresseTyp>(_PostAdresse_QNAME, PostAdresseTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "Address") + public JAXBElement<AbstractAddressType> createAddress(AbstractAddressType value) { + return new JAXBElement<AbstractAddressType>(_Address_QNAME, AbstractAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "Geburtsdatum") + public JAXBElement<String> createGeburtsdatum(String value) { + return new JAXBElement<String>(_Geburtsdatum_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link NatuerlichePersonTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "NatuerlichePerson", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Person") + public JAXBElement<NatuerlichePersonTyp> createNatuerlichePerson(NatuerlichePersonTyp value) { + return new JAXBElement<NatuerlichePersonTyp>(_NatuerlichePerson_QNAME, NatuerlichePersonTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link NichtNatuerlichePersonTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "NichtNatuerlichePerson", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Person") + public JAXBElement<NichtNatuerlichePersonTyp> createNichtNatuerlichePerson(NichtNatuerlichePersonTyp value) { + return new JAXBElement<NichtNatuerlichePersonTyp>(_NichtNatuerlichePerson_QNAME, NichtNatuerlichePersonTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "AbstractPersonData") + public JAXBElement<AbstractPersonType> createAbstractPersonData(AbstractPersonType value) { + return new JAXBElement<AbstractPersonType>(_AbstractPersonData_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TypisiertePostAdresseTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "TypisiertePostAdresse", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Address") + public JAXBElement<TypisiertePostAdresseTyp> createTypisiertePostAdresse(TypisiertePostAdresseTyp value) { + return new JAXBElement<TypisiertePostAdresseTyp>(_TypisiertePostAdresse_QNAME, TypisiertePostAdresseTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonenNameTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "PersonenName") + public JAXBElement<PersonenNameTyp> createPersonenName(PersonenNameTyp value) { + return new JAXBElement<PersonenNameTyp>(_PersonenName_QNAME, PersonenNameTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonenDatenTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "PersonenDaten", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "AbstractPersonData") + public JAXBElement<PersonenDatenTyp> createPersonenDaten(PersonenDatenTyp value) { + return new JAXBElement<PersonenDatenTyp>(_PersonenDaten_QNAME, PersonenDatenTyp.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/PersonenDatenTyp.java b/src/main/java/at/gv/util/xsd/ur/pd/PersonenDatenTyp.java new file mode 100644 index 0000000..633d2f2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/PersonenDatenTyp.java @@ -0,0 +1,214 @@ + +package at.gv.util.xsd.ur.pd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * Container um eine Person und ihre Adressen zu speichern + * + * <p>Java class for PersonenDatenTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonenDatenTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}Person"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}Address" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Zusatzdaten" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonenDatenTyp", propOrder = { + "person", + "address", + "zusatzdaten" +}) +public class PersonenDatenTyp + extends AbstractPersonType +{ + + @XmlElementRef(name = "Person", namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", type = JAXBElement.class) + protected JAXBElement<? extends AbstractPersonType> person; + @XmlElementRef(name = "Address", namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", type = JAXBElement.class, required = false) + protected List<JAXBElement<? extends AbstractAddressType>> address; + @XmlElement(name = "Zusatzdaten") + protected PersonenDatenTyp.Zusatzdaten zusatzdaten; + + /** + * Gets the value of the person property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link NichtNatuerlichePersonTyp }{@code >} + * {@link JAXBElement }{@code <}{@link NatuerlichePersonTyp }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * + */ + public JAXBElement<? extends AbstractPersonType> getPerson() { + return person; + } + + /** + * Sets the value of the person property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link NichtNatuerlichePersonTyp }{@code >} + * {@link JAXBElement }{@code <}{@link NatuerlichePersonTyp }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * + */ + public void setPerson(JAXBElement<? extends AbstractPersonType> value) { + this.person = value; + } + + /** + * Gets the value of the address property. + * + * <p> + * 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 <CODE>set</CODE> method for the address property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAddress().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link TypisiertePostAdresseTyp }{@code >} + * {@link JAXBElement }{@code <}{@link PostAdresseTyp }{@code >} + * + * + */ + public List<JAXBElement<? extends AbstractAddressType>> getAddress() { + if (address == null) { + address = new ArrayList<JAXBElement<? extends AbstractAddressType>>(); + } + return this.address; + } + + /** + * Gets the value of the zusatzdaten property. + * + * @return + * possible object is + * {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public PersonenDatenTyp.Zusatzdaten getZusatzdaten() { + return zusatzdaten; + } + + /** + * Sets the value of the zusatzdaten property. + * + * @param value + * allowed object is + * {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public void setZusatzdaten(PersonenDatenTyp.Zusatzdaten value) { + this.zusatzdaten = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "content" + }) + public static class Zusatzdaten { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/PersonenNameTyp.java b/src/main/java/at/gv/util/xsd/ur/pd/PersonenNameTyp.java new file mode 100644 index 0000000..8c640e8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/PersonenNameTyp.java @@ -0,0 +1,408 @@ + +package at.gv.util.xsd.ur.pd; + +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.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * entspricht NameType + * + * <p>Java class for PersonenNameTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonenNameTyp"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Vorname" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Familienname"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primaer" default="undefiniert"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="wahr"/> + * <enumeration value="falsch"/> + * <enumeration value="undefiniert"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Affix" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="typ"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="akademischerGrad"/> + * <enumeration value="Adelstitel"/> + * <enumeration value="FamiliennamenAffix"/> + * <enumeration value="Anrede"/> + * <enumeration value="Generation"/> + * <enumeration value="Qualifikation"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonenNameTyp", propOrder = { + "vorname", + "familienname", + "affix" +}) +public class PersonenNameTyp { + + @XmlElement(name = "Vorname", required = true) + protected String vorname; + @XmlElement(name = "Familienname", required = true) + protected PersonenNameTyp.Familienname familienname; + @XmlElement(name = "Affix") + protected PersonenNameTyp.Affix affix; + + /** + * Gets the value of the vorname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVorname() { + return vorname; + } + + /** + * Sets the value of the vorname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVorname(String value) { + this.vorname = value; + } + + /** + * Gets the value of the familienname property. + * + * @return + * possible object is + * {@link PersonenNameTyp.Familienname } + * + */ + public PersonenNameTyp.Familienname getFamilienname() { + return familienname; + } + + /** + * Sets the value of the familienname property. + * + * @param value + * allowed object is + * {@link PersonenNameTyp.Familienname } + * + */ + public void setFamilienname(PersonenNameTyp.Familienname value) { + this.familienname = value; + } + + /** + * Gets the value of the affix property. + * + * @return + * possible object is + * {@link PersonenNameTyp.Affix } + * + */ + public PersonenNameTyp.Affix getAffix() { + return affix; + } + + /** + * Sets the value of the affix property. + * + * @param value + * allowed object is + * {@link PersonenNameTyp.Affix } + * + */ + public void setAffix(PersonenNameTyp.Affix value) { + this.affix = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="typ"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="akademischerGrad"/> + * <enumeration value="Adelstitel"/> + * <enumeration value="FamiliennamenAffix"/> + * <enumeration value="Anrede"/> + * <enumeration value="Generation"/> + * <enumeration value="Qualifikation"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Affix { + + @XmlValue + protected String value; + @XmlAttribute(name = "typ") + protected String typ; + @XmlAttribute(name = "position") + protected String position; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the typ property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTyp() { + return typ; + } + + /** + * Sets the value of the typ property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTyp(String value) { + this.typ = value; + } + + /** + * Gets the value of the position property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPosition() { + return position; + } + + /** + * Sets the value of the position property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPosition(String value) { + this.position = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primaer" default="undefiniert"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="wahr"/> + * <enumeration value="falsch"/> + * <enumeration value="undefiniert"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Familienname { + + @XmlValue + protected String value; + @XmlAttribute(name = "primaer") + protected String primaer; + @XmlAttribute(name = "prefix") + protected String prefix; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the primaer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrimaer() { + if (primaer == null) { + return "undefiniert"; + } else { + return primaer; + } + } + + /** + * Sets the value of the primaer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrimaer(String value) { + this.primaer = value; + } + + /** + * Gets the value of the prefix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrefix() { + return prefix; + } + + /** + * Sets the value of the prefix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrefix(String value) { + this.prefix = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/PostAdresseTyp.java b/src/main/java/at/gv/util/xsd/ur/pd/PostAdresseTyp.java new file mode 100644 index 0000000..5335fc2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/PostAdresseTyp.java @@ -0,0 +1,355 @@ + +package at.gv.util.xsd.ur.pd; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * entspricht PostalAddressType + * + * <p>Java class for PostAdresseTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PostAdresseTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractAddressType"> + * <sequence> + * <element name="Staatscode" minOccurs="0"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <pattern value="[A-Z]{3}"/> + * </restriction> + * </simpleType> + * </element> + * <element name="Postleitzahl" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Gemeinde" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Gemeindekennziffer" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * <element name="Ortschaft" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Zustelladresse" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Strassenname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Orientierungsnummer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <attribute name="type" default="undefiniert"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="Postfachadresse"/> + * <enumeration value="Anschrift"/> + * <enumeration value="MilitaerischeAdresse"/> + * <enumeration value="undefiniert"/> + * </restriction> + * </simpleType> + * </attribute> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PostAdresseTyp", propOrder = { + "staatscode", + "postleitzahl", + "gemeinde", + "gemeindekennziffer", + "ortschaft", + "zustelladresse" +}) +public class PostAdresseTyp + extends AbstractAddressType +{ + + @XmlElement(name = "Staatscode") + protected String staatscode; + @XmlElement(name = "Postleitzahl") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String postleitzahl; + @XmlElement(name = "Gemeinde") + protected String gemeinde; + @XmlElement(name = "Gemeindekennziffer") + protected Object gemeindekennziffer; + @XmlElement(name = "Ortschaft") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String ortschaft; + @XmlElement(name = "Zustelladresse") + protected PostAdresseTyp.Zustelladresse zustelladresse; + @XmlAttribute(name = "type") + protected String type; + + /** + * Gets the value of the staatscode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStaatscode() { + return staatscode; + } + + /** + * Sets the value of the staatscode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStaatscode(String value) { + this.staatscode = value; + } + + /** + * Gets the value of the postleitzahl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostleitzahl() { + return postleitzahl; + } + + /** + * Sets the value of the postleitzahl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostleitzahl(String value) { + this.postleitzahl = value; + } + + /** + * Gets the value of the gemeinde property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGemeinde() { + return gemeinde; + } + + /** + * Sets the value of the gemeinde property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGemeinde(String value) { + this.gemeinde = value; + } + + /** + * Gets the value of the gemeindekennziffer property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getGemeindekennziffer() { + return gemeindekennziffer; + } + + /** + * Sets the value of the gemeindekennziffer property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setGemeindekennziffer(Object value) { + this.gemeindekennziffer = value; + } + + /** + * Gets the value of the ortschaft property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrtschaft() { + return ortschaft; + } + + /** + * Sets the value of the ortschaft property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrtschaft(String value) { + this.ortschaft = value; + } + + /** + * Gets the value of the zustelladresse property. + * + * @return + * possible object is + * {@link PostAdresseTyp.Zustelladresse } + * + */ + public PostAdresseTyp.Zustelladresse getZustelladresse() { + return zustelladresse; + } + + /** + * Sets the value of the zustelladresse property. + * + * @param value + * allowed object is + * {@link PostAdresseTyp.Zustelladresse } + * + */ + public void setZustelladresse(PostAdresseTyp.Zustelladresse value) { + this.zustelladresse = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "undefiniert"; + } else { + return type; + } + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Strassenname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Orientierungsnummer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "strassenname", + "orientierungsnummer" + }) + public static class Zustelladresse { + + @XmlElement(name = "Strassenname") + protected String strassenname; + @XmlElement(name = "Orientierungsnummer") + protected String orientierungsnummer; + + /** + * Gets the value of the strassenname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStrassenname() { + return strassenname; + } + + /** + * Sets the value of the strassenname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStrassenname(String value) { + this.strassenname = value; + } + + /** + * Gets the value of the orientierungsnummer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrientierungsnummer() { + return orientierungsnummer; + } + + /** + * Sets the value of the orientierungsnummer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrientierungsnummer(String value) { + this.orientierungsnummer = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/TypisiertePostAdresseTyp.java b/src/main/java/at/gv/util/xsd/ur/pd/TypisiertePostAdresseTyp.java new file mode 100644 index 0000000..e669638 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/TypisiertePostAdresseTyp.java @@ -0,0 +1,105 @@ + +package at.gv.util.xsd.ur.pd; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * entspricht TypedPostalAddressType + * + * <p>Java class for TypisiertePostAdresseTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TypisiertePostAdresseTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractAddressType"> + * <sequence minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PostAdresse"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TypisiertePostAdresseTyp", propOrder = { + "postAdresse", + "any" +}) +public class TypisiertePostAdresseTyp + extends AbstractAddressType +{ + + @XmlElement(name = "PostAdresse") + protected PostAdresseTyp postAdresse; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the postAdresse property. + * + * @return + * possible object is + * {@link PostAdresseTyp } + * + */ + public PostAdresseTyp getPostAdresse() { + return postAdresse; + } + + /** + * Sets the value of the postAdresse property. + * + * @param value + * allowed object is + * {@link PostAdresseTyp } + * + */ + public void setPostAdresse(PostAdresseTyp value) { + this.postAdresse = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/package-info.java b/src/main/java/at/gv/util/xsd/ur/pd/package-info.java new file mode 100644 index 0000000..64113f9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/pd/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.ur.pd; diff --git a/src/main/java/at/gv/util/xsd/ur/search/Branche.java b/src/main/java/at/gv/util/xsd/ur/search/Branche.java new file mode 100644 index 0000000..d7a4ab8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/Branche.java @@ -0,0 +1,175 @@ + +package at.gv.util.xsd.ur.search; + +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.XmlType; +import at.gv.util.xsd.ur.simpletypes.OenaceArtTyp; + + +/** + * <p>Java class for Branche complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Branche"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Oenace" type="{http://statistik.at/namespace/ur/stammdaten/1#}OenaceType"/> + * <element name="OenaceText" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Beginn" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType"/> + * <element name="Ende" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType" minOccurs="0"/> + * </sequence> + * <attribute name="art" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/1#}OenaceArtTyp" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Branche", propOrder = { + "oenace", + "oenaceText", + "beginn", + "ende" +}) +public class Branche { + + @XmlElement(name = "Oenace", required = true) + protected OenaceType oenace; + @XmlElement(name = "OenaceText", required = true) + protected String oenaceText; + @XmlElement(name = "Beginn", required = true) + protected QuellenType beginn; + @XmlElement(name = "Ende") + protected QuellenType ende; + @XmlAttribute(name = "art", required = true) + protected OenaceArtTyp art; + + /** + * Gets the value of the oenace property. + * + * @return + * possible object is + * {@link OenaceType } + * + */ + public OenaceType getOenace() { + return oenace; + } + + /** + * Sets the value of the oenace property. + * + * @param value + * allowed object is + * {@link OenaceType } + * + */ + public void setOenace(OenaceType value) { + this.oenace = value; + } + + /** + * Gets the value of the oenaceText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOenaceText() { + return oenaceText; + } + + /** + * Sets the value of the oenaceText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOenaceText(String value) { + this.oenaceText = value; + } + + /** + * Gets the value of the beginn property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getBeginn() { + return beginn; + } + + /** + * Sets the value of the beginn property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setBeginn(QuellenType value) { + this.beginn = value; + } + + /** + * Gets the value of the ende property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getEnde() { + return ende; + } + + /** + * Sets the value of the ende property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setEnde(QuellenType value) { + this.ende = value; + } + + /** + * Gets the value of the art property. + * + * @return + * possible object is + * {@link OenaceArtTyp } + * + */ + public OenaceArtTyp getArt() { + return art; + } + + /** + * Sets the value of the art property. + * + * @param value + * allowed object is + * {@link OenaceArtTyp } + * + */ + public void setArt(OenaceArtTyp value) { + this.art = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/DecodeBpkRequest.java b/src/main/java/at/gv/util/xsd/ur/search/DecodeBpkRequest.java new file mode 100644 index 0000000..318c639 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/DecodeBpkRequest.java @@ -0,0 +1,89 @@ + +package at.gv.util.xsd.ur.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DecodeBpkRequest complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DecodeBpkRequest"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VersionTyp" minOccurs="0"/> + * <element name="bpkWTUREncoded" type="{http://statistik.at/namespace/ur/simpleTypes/1#}BpkEncodedTyp"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DecodeBpkRequest", propOrder = { + "version", + "bpkWTUREncoded" +}) +public class DecodeBpkRequest { + + protected String version; + @XmlElement(required = true) + protected String bpkWTUREncoded; + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the bpkWTUREncoded property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBpkWTUREncoded() { + return bpkWTUREncoded; + } + + /** + * Sets the value of the bpkWTUREncoded property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBpkWTUREncoded(String value) { + this.bpkWTUREncoded = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/Funktion.java b/src/main/java/at/gv/util/xsd/ur/search/Funktion.java new file mode 100644 index 0000000..717b187 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/Funktion.java @@ -0,0 +1,268 @@ + +package at.gv.util.xsd.ur.search; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for Funktion complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Funktion"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FktName" type="{http://statistik.at/namespace/ur/simpleTypes/1#}FunktionTyp"/> + * <element name="Vertretungsbefugnis" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VertretungsbefugnisTyp"/> + * <element name="VertretungsbefugnisText" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/simpleTypes/1#>VertretungsbefugnisTextTyp"> + * <attribute name="beginn" use="required" type="{http://www.w3.org/2001/XMLSchema}date" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Beginn" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType"/> + * <element name="Ende" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Funktion", propOrder = { + "fktName", + "vertretungsbefugnis", + "vertretungsbefugnisText", + "beginn", + "ende" +}) +public class Funktion { + + @XmlElement(name = "FktName", required = true) + protected String fktName; + @XmlElement(name = "Vertretungsbefugnis", required = true) + protected String vertretungsbefugnis; + @XmlElement(name = "VertretungsbefugnisText") + protected Funktion.VertretungsbefugnisText vertretungsbefugnisText; + @XmlElement(name = "Beginn", required = true) + protected QuellenType beginn; + @XmlElement(name = "Ende") + protected QuellenType ende; + + /** + * Gets the value of the fktName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFktName() { + return fktName; + } + + /** + * Sets the value of the fktName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFktName(String value) { + this.fktName = value; + } + + /** + * Gets the value of the vertretungsbefugnis property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVertretungsbefugnis() { + return vertretungsbefugnis; + } + + /** + * Sets the value of the vertretungsbefugnis property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVertretungsbefugnis(String value) { + this.vertretungsbefugnis = value; + } + + /** + * Gets the value of the vertretungsbefugnisText property. + * + * @return + * possible object is + * {@link Funktion.VertretungsbefugnisText } + * + */ + public Funktion.VertretungsbefugnisText getVertretungsbefugnisText() { + return vertretungsbefugnisText; + } + + /** + * Sets the value of the vertretungsbefugnisText property. + * + * @param value + * allowed object is + * {@link Funktion.VertretungsbefugnisText } + * + */ + public void setVertretungsbefugnisText(Funktion.VertretungsbefugnisText value) { + this.vertretungsbefugnisText = value; + } + + /** + * Gets the value of the beginn property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getBeginn() { + return beginn; + } + + /** + * Sets the value of the beginn property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setBeginn(QuellenType value) { + this.beginn = value; + } + + /** + * Gets the value of the ende property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getEnde() { + return ende; + } + + /** + * Sets the value of the ende property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setEnde(QuellenType value) { + this.ende = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/simpleTypes/1#>VertretungsbefugnisTextTyp"> + * <attribute name="beginn" use="required" type="{http://www.w3.org/2001/XMLSchema}date" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class VertretungsbefugnisText { + + @XmlValue + protected String value; + @XmlAttribute(name = "beginn", required = true) + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar beginn; + + /** + * + * Beschreibung der Vertretungsbefugnis + * + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the beginn property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getBeginn() { + return beginn; + } + + /** + * Sets the value of the beginn property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setBeginn(XMLGregorianCalendar value) { + this.beginn = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ur/search/ObjectFactory.java new file mode 100644 index 0000000..a4fa294 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/ObjectFactory.java @@ -0,0 +1,314 @@ + +package at.gv.util.xsd.ur.search; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ur.search package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _UntName_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "UntName"); + private final static QName _SucheUnternehmenNachAendDatRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "SucheUnternehmenNachAendDatRequest"); + private final static QName _DecodeBpkRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "DecodeBpkRequest"); + private final static QName _Funktion_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "Funktion"); + private final static QName _SucheUnternehmenNachBpkRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "SucheUnternehmenNachBpkRequest"); + private final static QName _TypeText_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "TypeText"); + private final static QName _SucheUnternehmenNachIdsRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "SucheUnternehmenNachIdsRequest"); + private final static QName _BpkWTUR_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "bpkWTUR"); + private final static QName _AendDat_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "AendDat"); + private final static QName _Branche_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "Branche"); + private final static QName _Beginn_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "Beginn"); + private final static QName _SucheUnternehmenNachBpkEncodedRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "SucheUnternehmenNachBpkEncodedRequest"); + private final static QName _Ende_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "Ende"); + private final static QName _Rechtsform_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "Rechtsform"); + private final static QName _SucheUnternehmenRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "SucheUnternehmenRequest"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur.search + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link Funktion } + * + */ + public Funktion createFunktion() { + return new Funktion(); + } + + /** + * Create an instance of {@link QuellenType } + * + */ + public QuellenType createQuellenType() { + return new QuellenType(); + } + + /** + * Create an instance of {@link SucheUnternehmenNachBpkRequest } + * + */ + public SucheUnternehmenNachBpkRequest createSucheUnternehmenNachBpkRequest() { + return new SucheUnternehmenNachBpkRequest(); + } + + /** + * Create an instance of {@link UntName } + * + */ + public UntName createUntName() { + return new UntName(); + } + + /** + * Create an instance of {@link SucheUnternehmenNachIdsRequest } + * + */ + public SucheUnternehmenNachIdsRequest createSucheUnternehmenNachIdsRequest() { + return new SucheUnternehmenNachIdsRequest(); + } + + /** + * Create an instance of {@link DecodeBpkRequest } + * + */ + public DecodeBpkRequest createDecodeBpkRequest() { + return new DecodeBpkRequest(); + } + + /** + * Create an instance of {@link SucheUnternehmenNachAendDatRequest } + * + */ + public SucheUnternehmenNachAendDatRequest createSucheUnternehmenNachAendDatRequest() { + return new SucheUnternehmenNachAendDatRequest(); + } + + /** + * Create an instance of {@link Rechtsform } + * + */ + public Rechtsform createRechtsform() { + return new Rechtsform(); + } + + /** + * Create an instance of {@link Branche } + * + */ + public Branche createBranche() { + return new Branche(); + } + + /** + * Create an instance of {@link SucheUnternehmenNachBpkEncodedRequest } + * + */ + public SucheUnternehmenNachBpkEncodedRequest createSucheUnternehmenNachBpkEncodedRequest() { + return new SucheUnternehmenNachBpkEncodedRequest(); + } + + /** + * Create an instance of {@link SucheUnternehmenRequest } + * + */ + public SucheUnternehmenRequest createSucheUnternehmenRequest() { + return new SucheUnternehmenRequest(); + } + + /** + * Create an instance of {@link SucheUnternehmensdaten } + * + */ + public SucheUnternehmensdaten createSucheUnternehmensdaten() { + return new SucheUnternehmensdaten(); + } + + /** + * Create an instance of {@link OenaceType } + * + */ + public OenaceType createOenaceType() { + return new OenaceType(); + } + + /** + * Create an instance of {@link SucheBranche } + * + */ + public SucheBranche createSucheBranche() { + return new SucheBranche(); + } + + /** + * Create an instance of {@link SuchePersonendaten } + * + */ + public SuchePersonendaten createSuchePersonendaten() { + return new SuchePersonendaten(); + } + + /** + * Create an instance of {@link Funktion.VertretungsbefugnisText } + * + */ + public Funktion.VertretungsbefugnisText createFunktionVertretungsbefugnisText() { + return new Funktion.VertretungsbefugnisText(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link UntName }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "UntName") + public JAXBElement<UntName> createUntName(UntName value) { + return new JAXBElement<UntName>(_UntName_QNAME, UntName.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachAendDatRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "SucheUnternehmenNachAendDatRequest") + public JAXBElement<SucheUnternehmenNachAendDatRequest> createSucheUnternehmenNachAendDatRequest(SucheUnternehmenNachAendDatRequest value) { + return new JAXBElement<SucheUnternehmenNachAendDatRequest>(_SucheUnternehmenNachAendDatRequest_QNAME, SucheUnternehmenNachAendDatRequest.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DecodeBpkRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "DecodeBpkRequest") + public JAXBElement<DecodeBpkRequest> createDecodeBpkRequest(DecodeBpkRequest value) { + return new JAXBElement<DecodeBpkRequest>(_DecodeBpkRequest_QNAME, DecodeBpkRequest.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Funktion }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "Funktion") + public JAXBElement<Funktion> createFunktion(Funktion value) { + return new JAXBElement<Funktion>(_Funktion_QNAME, Funktion.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachBpkRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "SucheUnternehmenNachBpkRequest") + public JAXBElement<SucheUnternehmenNachBpkRequest> createSucheUnternehmenNachBpkRequest(SucheUnternehmenNachBpkRequest value) { + return new JAXBElement<SucheUnternehmenNachBpkRequest>(_SucheUnternehmenNachBpkRequest_QNAME, SucheUnternehmenNachBpkRequest.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "TypeText") + public JAXBElement<String> createTypeText(String value) { + return new JAXBElement<String>(_TypeText_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachIdsRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "SucheUnternehmenNachIdsRequest") + public JAXBElement<SucheUnternehmenNachIdsRequest> createSucheUnternehmenNachIdsRequest(SucheUnternehmenNachIdsRequest value) { + return new JAXBElement<SucheUnternehmenNachIdsRequest>(_SucheUnternehmenNachIdsRequest_QNAME, SucheUnternehmenNachIdsRequest.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "bpkWTUR") + public JAXBElement<String> createBpkWTUR(String value) { + return new JAXBElement<String>(_BpkWTUR_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "AendDat") + public JAXBElement<XMLGregorianCalendar> createAendDat(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_AendDat_QNAME, XMLGregorianCalendar.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Branche }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "Branche") + public JAXBElement<Branche> createBranche(Branche value) { + return new JAXBElement<Branche>(_Branche_QNAME, Branche.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link QuellenType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "Beginn") + public JAXBElement<QuellenType> createBeginn(QuellenType value) { + return new JAXBElement<QuellenType>(_Beginn_QNAME, QuellenType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachBpkEncodedRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "SucheUnternehmenNachBpkEncodedRequest") + public JAXBElement<SucheUnternehmenNachBpkEncodedRequest> createSucheUnternehmenNachBpkEncodedRequest(SucheUnternehmenNachBpkEncodedRequest value) { + return new JAXBElement<SucheUnternehmenNachBpkEncodedRequest>(_SucheUnternehmenNachBpkEncodedRequest_QNAME, SucheUnternehmenNachBpkEncodedRequest.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link QuellenType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "Ende") + public JAXBElement<QuellenType> createEnde(QuellenType value) { + return new JAXBElement<QuellenType>(_Ende_QNAME, QuellenType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Rechtsform }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "Rechtsform") + public JAXBElement<Rechtsform> createRechtsform(Rechtsform value) { + return new JAXBElement<Rechtsform>(_Rechtsform_QNAME, Rechtsform.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "SucheUnternehmenRequest") + public JAXBElement<SucheUnternehmenRequest> createSucheUnternehmenRequest(SucheUnternehmenRequest value) { + return new JAXBElement<SucheUnternehmenRequest>(_SucheUnternehmenRequest_QNAME, SucheUnternehmenRequest.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/OenaceType.java b/src/main/java/at/gv/util/xsd/ur/search/OenaceType.java new file mode 100644 index 0000000..9f5f2ee --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/OenaceType.java @@ -0,0 +1,81 @@ + +package at.gv.util.xsd.ur.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for OenaceType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="OenaceType"> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/simpleTypes/1#>OenaceCodeTyp"> + * <attribute name="jahr" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/1#}OenaceJahrTyp" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "OenaceType", propOrder = { + "value" +}) +public class OenaceType { + + @XmlValue + protected String value; + @XmlAttribute(name = "jahr", required = true) + protected int jahr; + + /** + * + * ÖNACE - Branchenkennzahl + * + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the jahr property. + * + */ + public int getJahr() { + return jahr; + } + + /** + * Sets the value of the jahr property. + * + */ + public void setJahr(int value) { + this.jahr = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/QuellenType.java b/src/main/java/at/gv/util/xsd/ur/search/QuellenType.java new file mode 100644 index 0000000..6c9eebb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/QuellenType.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.ur.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for QuellenType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="QuellenType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>date"> + * <attribute name="quelle" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/1#}QuelleTyp" /> + * <attribute name="quText" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "QuellenType", propOrder = { + "value" +}) +public class QuellenType { + + @XmlValue + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar value; + @XmlAttribute(name = "quelle", required = true) + protected String quelle; + @XmlAttribute(name = "quText", required = true) + @XmlSchemaType(name = "anySimpleType") + protected String quText; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setValue(XMLGregorianCalendar value) { + this.value = value; + } + + /** + * Gets the value of the quelle property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuelle() { + return quelle; + } + + /** + * Sets the value of the quelle property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuelle(String value) { + this.quelle = value; + } + + /** + * Gets the value of the quText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuText() { + return quText; + } + + /** + * Sets the value of the quText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuText(String value) { + this.quText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/Rechtsform.java b/src/main/java/at/gv/util/xsd/ur/search/Rechtsform.java new file mode 100644 index 0000000..1e6df01 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/Rechtsform.java @@ -0,0 +1,174 @@ + +package at.gv.util.xsd.ur.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for Rechtsform complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Rechtsform"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ReForm" type="{http://statistik.at/namespace/ur/simpleTypes/1#}RechtsformTyp"/> + * <element name="ReFormText" type="{http://statistik.at/namespace/ur/simpleTypes/1#}RechtsformTextTyp"/> + * <element name="ReFormExtern" type="{http://statistik.at/namespace/ur/simpleTypes/1#}RechtsformTextTyp"/> + * <element name="Beginn" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType"/> + * <element name="Ende" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Rechtsform", propOrder = { + "reForm", + "reFormText", + "reFormExtern", + "beginn", + "ende" +}) +public class Rechtsform { + + @XmlElement(name = "ReForm", required = true) + protected String reForm; + @XmlElement(name = "ReFormText", required = true) + protected String reFormText; + @XmlElement(name = "ReFormExtern", required = true) + protected String reFormExtern; + @XmlElement(name = "Beginn", required = true) + protected QuellenType beginn; + @XmlElement(name = "Ende") + protected QuellenType ende; + + /** + * Gets the value of the reForm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReForm() { + return reForm; + } + + /** + * Sets the value of the reForm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReForm(String value) { + this.reForm = value; + } + + /** + * Gets the value of the reFormText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReFormText() { + return reFormText; + } + + /** + * Sets the value of the reFormText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReFormText(String value) { + this.reFormText = value; + } + + /** + * Gets the value of the reFormExtern property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReFormExtern() { + return reFormExtern; + } + + /** + * Sets the value of the reFormExtern property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReFormExtern(String value) { + this.reFormExtern = value; + } + + /** + * Gets the value of the beginn property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getBeginn() { + return beginn; + } + + /** + * Sets the value of the beginn property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setBeginn(QuellenType value) { + this.beginn = value; + } + + /** + * Gets the value of the ende property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getEnde() { + return ende; + } + + /** + * Sets the value of the ende property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setEnde(QuellenType value) { + this.ende = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/SucheBranche.java b/src/main/java/at/gv/util/xsd/ur/search/SucheBranche.java new file mode 100644 index 0000000..1131840 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/SucheBranche.java @@ -0,0 +1,115 @@ + +package at.gv.util.xsd.ur.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ur.simpletypes.OenaceArtTyp; + + +/** + * <p>Java class for SucheBranche complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheBranche"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="oenaceJahr" type="{http://statistik.at/namespace/ur/simpleTypes/1#}OenaceJahrTyp" minOccurs="0"/> + * <element name="oenaceCode" type="{http://statistik.at/namespace/ur/simpleTypes/1#}OenaceCodeTyp" minOccurs="0"/> + * <element name="oenaceArt" type="{http://statistik.at/namespace/ur/simpleTypes/1#}OenaceArtTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheBranche", propOrder = { + "oenaceJahr", + "oenaceCode", + "oenaceArt" +}) +public class SucheBranche { + + protected Integer oenaceJahr; + protected String oenaceCode; + protected OenaceArtTyp oenaceArt; + + /** + * Gets the value of the oenaceJahr property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getOenaceJahr() { + return oenaceJahr; + } + + /** + * Sets the value of the oenaceJahr property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setOenaceJahr(Integer value) { + this.oenaceJahr = value; + } + + /** + * Gets the value of the oenaceCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOenaceCode() { + return oenaceCode; + } + + /** + * Sets the value of the oenaceCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOenaceCode(String value) { + this.oenaceCode = value; + } + + /** + * Gets the value of the oenaceArt property. + * + * @return + * possible object is + * {@link OenaceArtTyp } + * + */ + public OenaceArtTyp getOenaceArt() { + return oenaceArt; + } + + /** + * Sets the value of the oenaceArt property. + * + * @param value + * allowed object is + * {@link OenaceArtTyp } + * + */ + public void setOenaceArt(OenaceArtTyp value) { + this.oenaceArt = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/SuchePersonendaten.java b/src/main/java/at/gv/util/xsd/ur/search/SuchePersonendaten.java new file mode 100644 index 0000000..19fd338 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/SuchePersonendaten.java @@ -0,0 +1,279 @@ + +package at.gv.util.xsd.ur.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for SuchePersonendaten complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SuchePersonendaten"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="nachname" type="{http://statistik.at/namespace/ur/simpleTypes/1#}NachnameTyp" minOccurs="0"/> + * <element name="vorname" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VornameTyp" minOccurs="0"/> + * <element name="gebDatum" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="strasse" type="{http://statistik.at/namespace/ur/simpleTypes/1#}StrasseTyp" minOccurs="0"/> + * <element name="hNr" type="{http://statistik.at/namespace/ur/simpleTypes/1#}HNrTyp" minOccurs="0"/> + * <element name="ort" type="{http://statistik.at/namespace/ur/simpleTypes/1#}OrtTyp" minOccurs="0"/> + * <element name="gemnr" type="{http://statistik.at/namespace/ur/simpleTypes/1#}GemnrTyp" minOccurs="0"/> + * <element name="plz" type="{http://statistik.at/namespace/ur/simpleTypes/1#}PlzTyp" minOccurs="0"/> + * <element name="land" type="{http://statistik.at/namespace/ur/simpleTypes/1#}LandTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SuchePersonendaten", propOrder = { + "nachname", + "vorname", + "gebDatum", + "strasse", + "hNr", + "ort", + "gemnr", + "plz", + "land" +}) +public class SuchePersonendaten { + + protected String nachname; + protected String vorname; + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar gebDatum; + protected String strasse; + protected String hNr; + protected String ort; + protected Integer gemnr; + protected String plz; + protected String land; + + /** + * Gets the value of the nachname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNachname() { + return nachname; + } + + /** + * Sets the value of the nachname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNachname(String value) { + this.nachname = value; + } + + /** + * Gets the value of the vorname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVorname() { + return vorname; + } + + /** + * Sets the value of the vorname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVorname(String value) { + this.vorname = value; + } + + /** + * Gets the value of the gebDatum property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getGebDatum() { + return gebDatum; + } + + /** + * Sets the value of the gebDatum property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setGebDatum(XMLGregorianCalendar value) { + this.gebDatum = value; + } + + /** + * Gets the value of the strasse property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStrasse() { + return strasse; + } + + /** + * Sets the value of the strasse property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStrasse(String value) { + this.strasse = value; + } + + /** + * Gets the value of the hNr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHNr() { + return hNr; + } + + /** + * Sets the value of the hNr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHNr(String value) { + this.hNr = value; + } + + /** + * Gets the value of the ort property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrt() { + return ort; + } + + /** + * Sets the value of the ort property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrt(String value) { + this.ort = value; + } + + /** + * Gets the value of the gemnr property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getGemnr() { + return gemnr; + } + + /** + * Sets the value of the gemnr property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setGemnr(Integer value) { + this.gemnr = value; + } + + /** + * Gets the value of the plz property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlz() { + return plz; + } + + /** + * Sets the value of the plz property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlz(String value) { + this.plz = value; + } + + /** + * Gets the value of the land property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLand() { + return land; + } + + /** + * Sets the value of the land property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLand(String value) { + this.land = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachAendDatRequest.java b/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachAendDatRequest.java new file mode 100644 index 0000000..3a08d16 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachAendDatRequest.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for SucheUnternehmenNachAendDatRequest complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheUnternehmenNachAendDatRequest"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VersionTyp" minOccurs="0"/> + * <element name="aendDat" type="{http://www.w3.org/2001/XMLSchema}date"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheUnternehmenNachAendDatRequest", propOrder = { + "version", + "aendDat" +}) +public class SucheUnternehmenNachAendDatRequest { + + protected String version; + @XmlElement(required = true) + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar aendDat; + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the aendDat property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getAendDat() { + return aendDat; + } + + /** + * Sets the value of the aendDat property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setAendDat(XMLGregorianCalendar value) { + this.aendDat = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachBpkEncodedRequest.java b/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachBpkEncodedRequest.java new file mode 100644 index 0000000..5478d79 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachBpkEncodedRequest.java @@ -0,0 +1,145 @@ + +package at.gv.util.xsd.ur.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SucheUnternehmenNachBpkEncodedRequest complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheUnternehmenNachBpkEncodedRequest"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VersionTyp" minOccurs="0"/> + * <element name="bpkEncodedWTUR" type="{http://statistik.at/namespace/ur/simpleTypes/1#}BpkEncodedTyp"/> + * <element name="bpkEncodedBereich" type="{http://statistik.at/namespace/ur/simpleTypes/1#}BpkEncodedTyp"/> + * <element name="bereich" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheUnternehmenNachBpkEncodedRequest", propOrder = { + "version", + "bpkEncodedWTUR", + "bpkEncodedBereich", + "bereich" +}) +public class SucheUnternehmenNachBpkEncodedRequest { + + protected String version; + @XmlElement(required = true) + protected String bpkEncodedWTUR; + @XmlElement(required = true) + protected String bpkEncodedBereich; + @XmlElement(required = true) + protected String bereich; + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the bpkEncodedWTUR property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBpkEncodedWTUR() { + return bpkEncodedWTUR; + } + + /** + * Sets the value of the bpkEncodedWTUR property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBpkEncodedWTUR(String value) { + this.bpkEncodedWTUR = value; + } + + /** + * Gets the value of the bpkEncodedBereich property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBpkEncodedBereich() { + return bpkEncodedBereich; + } + + /** + * Sets the value of the bpkEncodedBereich property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBpkEncodedBereich(String value) { + this.bpkEncodedBereich = value; + } + + /** + * Gets the value of the bereich property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBereich() { + return bereich; + } + + /** + * Sets the value of the bereich property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBereich(String value) { + this.bereich = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachBpkRequest.java b/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachBpkRequest.java new file mode 100644 index 0000000..6e146ae --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachBpkRequest.java @@ -0,0 +1,116 @@ + +package at.gv.util.xsd.ur.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SucheUnternehmenNachBpkRequest complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheUnternehmenNachBpkRequest"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VersionTyp" minOccurs="0"/> + * <choice> + * <element name="bpkWTUR" type="{http://statistik.at/namespace/ur/simpleTypes/1#}BpkTyp"/> + * <element name="bpkWTUREncoded" type="{http://statistik.at/namespace/ur/simpleTypes/1#}BpkEncodedTyp"/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheUnternehmenNachBpkRequest", propOrder = { + "version", + "bpkWTUR", + "bpkWTUREncoded" +}) +public class SucheUnternehmenNachBpkRequest { + + protected String version; + protected String bpkWTUR; + protected String bpkWTUREncoded; + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the bpkWTUR property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBpkWTUR() { + return bpkWTUR; + } + + /** + * Sets the value of the bpkWTUR property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBpkWTUR(String value) { + this.bpkWTUR = value; + } + + /** + * Gets the value of the bpkWTUREncoded property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBpkWTUREncoded() { + return bpkWTUREncoded; + } + + /** + * Sets the value of the bpkWTUREncoded property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBpkWTUREncoded(String value) { + this.bpkWTUREncoded = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachIdsRequest.java b/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachIdsRequest.java new file mode 100644 index 0000000..1d6914d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachIdsRequest.java @@ -0,0 +1,96 @@ + +package at.gv.util.xsd.ur.search; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SucheUnternehmenNachIdsRequest complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheUnternehmenNachIdsRequest"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VersionTyp" minOccurs="0"/> + * <element name="kur" type="{http://statistik.at/namespace/ur/simpleTypes/1#}KurTyp" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheUnternehmenNachIdsRequest", propOrder = { + "version", + "kur" +}) +public class SucheUnternehmenNachIdsRequest { + + protected String version; + @XmlElement(required = true) + protected List<String> kur; + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the kur property. + * + * <p> + * 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 <CODE>set</CODE> method for the kur property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getKur().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getKur() { + if (kur == null) { + kur = new ArrayList<String>(); + } + return this.kur; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenRequest.java b/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenRequest.java new file mode 100644 index 0000000..bfc7d9d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenRequest.java @@ -0,0 +1,199 @@ + +package at.gv.util.xsd.ur.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for SucheUnternehmenRequest complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheUnternehmenRequest"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VersionTyp" minOccurs="0"/> + * <element name="unternehmensdaten" type="{http://statistik.at/namespace/ur/stammdaten/1#}SucheUnternehmensdaten" minOccurs="0"/> + * <element name="branche" type="{http://statistik.at/namespace/ur/stammdaten/1#}SucheBranche" minOccurs="0"/> + * <element name="personendaten" type="{http://statistik.at/namespace/ur/stammdaten/1#}SuchePersonendaten" minOccurs="0"/> + * <element name="zeitraumVon" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="zeitraumBis" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheUnternehmenRequest", propOrder = { + "version", + "unternehmensdaten", + "branche", + "personendaten", + "zeitraumVon", + "zeitraumBis" +}) +public class SucheUnternehmenRequest { + + protected String version; + protected SucheUnternehmensdaten unternehmensdaten; + protected SucheBranche branche; + protected SuchePersonendaten personendaten; + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar zeitraumVon; + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar zeitraumBis; + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the unternehmensdaten property. + * + * @return + * possible object is + * {@link SucheUnternehmensdaten } + * + */ + public SucheUnternehmensdaten getUnternehmensdaten() { + return unternehmensdaten; + } + + /** + * Sets the value of the unternehmensdaten property. + * + * @param value + * allowed object is + * {@link SucheUnternehmensdaten } + * + */ + public void setUnternehmensdaten(SucheUnternehmensdaten value) { + this.unternehmensdaten = value; + } + + /** + * Gets the value of the branche property. + * + * @return + * possible object is + * {@link SucheBranche } + * + */ + public SucheBranche getBranche() { + return branche; + } + + /** + * Sets the value of the branche property. + * + * @param value + * allowed object is + * {@link SucheBranche } + * + */ + public void setBranche(SucheBranche value) { + this.branche = value; + } + + /** + * Gets the value of the personendaten property. + * + * @return + * possible object is + * {@link SuchePersonendaten } + * + */ + public SuchePersonendaten getPersonendaten() { + return personendaten; + } + + /** + * Sets the value of the personendaten property. + * + * @param value + * allowed object is + * {@link SuchePersonendaten } + * + */ + public void setPersonendaten(SuchePersonendaten value) { + this.personendaten = value; + } + + /** + * Gets the value of the zeitraumVon property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getZeitraumVon() { + return zeitraumVon; + } + + /** + * Sets the value of the zeitraumVon property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setZeitraumVon(XMLGregorianCalendar value) { + this.zeitraumVon = value; + } + + /** + * Gets the value of the zeitraumBis property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getZeitraumBis() { + return zeitraumBis; + } + + /** + * Sets the value of the zeitraumBis property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setZeitraumBis(XMLGregorianCalendar value) { + this.zeitraumBis = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmensdaten.java b/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmensdaten.java new file mode 100644 index 0000000..d09b891 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmensdaten.java @@ -0,0 +1,357 @@ + +package at.gv.util.xsd.ur.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SucheUnternehmensdaten complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheUnternehmensdaten"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="phonetisch" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="klammer" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="untName" type="{http://statistik.at/namespace/ur/simpleTypes/1#}UntNameTyp" minOccurs="0"/> + * <element name="rechtsform" type="{http://statistik.at/namespace/ur/simpleTypes/1#}RechtsformTyp" minOccurs="0"/> + * <element name="id" type="{http://statistik.at/namespace/ur/simpleTypes/1#}IdTyp" minOccurs="0"/> + * <element name="idArt" type="{http://statistik.at/namespace/ur/simpleTypes/1#}IdArtTyp" minOccurs="0"/> + * <element name="strasse" type="{http://statistik.at/namespace/ur/simpleTypes/1#}StrasseTyp" minOccurs="0"/> + * <element name="hNr" type="{http://statistik.at/namespace/ur/simpleTypes/1#}HNrTyp" minOccurs="0"/> + * <element name="ort" type="{http://statistik.at/namespace/ur/simpleTypes/1#}OrtTyp" minOccurs="0"/> + * <element name="gemnr" type="{http://statistik.at/namespace/ur/simpleTypes/1#}GemnrTyp" minOccurs="0"/> + * <element name="plz" type="{http://statistik.at/namespace/ur/simpleTypes/1#}PlzTyp" minOccurs="0"/> + * <element name="land" type="{http://statistik.at/namespace/ur/simpleTypes/1#}LandTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheUnternehmensdaten", propOrder = { + "phonetisch", + "klammer", + "untName", + "rechtsform", + "id", + "idArt", + "strasse", + "hNr", + "ort", + "gemnr", + "plz", + "land" +}) +public class SucheUnternehmensdaten { + + protected Boolean phonetisch; + protected Boolean klammer; + protected String untName; + protected String rechtsform; + protected String id; + protected String idArt; + protected String strasse; + protected String hNr; + protected String ort; + protected Integer gemnr; + protected String plz; + protected String land; + + /** + * Gets the value of the phonetisch property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isPhonetisch() { + return phonetisch; + } + + /** + * Sets the value of the phonetisch property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setPhonetisch(Boolean value) { + this.phonetisch = value; + } + + /** + * Gets the value of the klammer property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isKlammer() { + return klammer; + } + + /** + * Sets the value of the klammer property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setKlammer(Boolean value) { + this.klammer = value; + } + + /** + * Gets the value of the untName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUntName() { + return untName; + } + + /** + * Sets the value of the untName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUntName(String value) { + this.untName = value; + } + + /** + * Gets the value of the rechtsform property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRechtsform() { + return rechtsform; + } + + /** + * Sets the value of the rechtsform property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRechtsform(String value) { + this.rechtsform = value; + } + + /** + * 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; + } + + /** + * Gets the value of the idArt property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdArt() { + return idArt; + } + + /** + * Sets the value of the idArt property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdArt(String value) { + this.idArt = value; + } + + /** + * Gets the value of the strasse property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStrasse() { + return strasse; + } + + /** + * Sets the value of the strasse property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStrasse(String value) { + this.strasse = value; + } + + /** + * Gets the value of the hNr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHNr() { + return hNr; + } + + /** + * Sets the value of the hNr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHNr(String value) { + this.hNr = value; + } + + /** + * Gets the value of the ort property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrt() { + return ort; + } + + /** + * Sets the value of the ort property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrt(String value) { + this.ort = value; + } + + /** + * Gets the value of the gemnr property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getGemnr() { + return gemnr; + } + + /** + * Sets the value of the gemnr property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setGemnr(Integer value) { + this.gemnr = value; + } + + /** + * Gets the value of the plz property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlz() { + return plz; + } + + /** + * Sets the value of the plz property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlz(String value) { + this.plz = value; + } + + /** + * Gets the value of the land property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLand() { + return land; + } + + /** + * Sets the value of the land property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLand(String value) { + this.land = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/UntName.java b/src/main/java/at/gv/util/xsd/ur/search/UntName.java new file mode 100644 index 0000000..2924ac8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/UntName.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.ur.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for UntName complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="UntName"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="VollerName" type="{http://statistik.at/namespace/ur/simpleTypes/1#}UntNameTyp"/> + * <element name="Beginn" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType"/> + * <element name="Ende" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "UntName", propOrder = { + "vollerName", + "beginn", + "ende" +}) +public class UntName { + + @XmlElement(name = "VollerName", required = true) + protected String vollerName; + @XmlElement(name = "Beginn", required = true) + protected QuellenType beginn; + @XmlElement(name = "Ende") + protected QuellenType ende; + + /** + * Gets the value of the vollerName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVollerName() { + return vollerName; + } + + /** + * Sets the value of the vollerName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVollerName(String value) { + this.vollerName = value; + } + + /** + * Gets the value of the beginn property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getBeginn() { + return beginn; + } + + /** + * Sets the value of the beginn property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setBeginn(QuellenType value) { + this.beginn = value; + } + + /** + * Gets the value of the ende property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getEnde() { + return ende; + } + + /** + * Sets the value of the ende property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setEnde(QuellenType value) { + this.ende = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/package-info.java b/src/main/java/at/gv/util/xsd/ur/search/package-info.java new file mode 100644 index 0000000..b2d6987 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/search/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.ur.search; diff --git a/src/main/java/at/gv/util/xsd/ur/simpletypes/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ur/simpletypes/ObjectFactory.java new file mode 100644 index 0000000..1653fad --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/simpletypes/ObjectFactory.java @@ -0,0 +1,32 @@ + +package at.gv.util.xsd.ur.simpletypes; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ur.simpletypes package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur.simpletypes + * + */ + public ObjectFactory() { + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/simpletypes/OenaceArtTyp.java b/src/main/java/at/gv/util/xsd/ur/simpletypes/OenaceArtTyp.java new file mode 100644 index 0000000..9788faf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/simpletypes/OenaceArtTyp.java @@ -0,0 +1,38 @@ + +package at.gv.util.xsd.ur.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for OenaceArtTyp. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="OenaceArtTyp"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="H"/> + * <enumeration value="N"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "OenaceArtTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/1#") +@XmlEnum +public enum OenaceArtTyp { + + H, + N; + + public String value() { + return name(); + } + + public static OenaceArtTyp fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/CustomFaultType.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/CustomFaultType.java new file mode 100644 index 0000000..83138df --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/CustomFaultType.java @@ -0,0 +1,156 @@ + +package at.gv.util.xsd.ur.xmlsw; + +import java.math.BigInteger; +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * CustomFault reporting structure + * + * <p>Java class for CustomFaultType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CustomFaultType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * <element name="Reason" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> + * <element name="Help" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Detail" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CustomFaultType", propOrder = { + "code", + "reason", + "help", + "detail" +}) +public class CustomFaultType { + + @XmlElement(name = "Code", required = true) + protected BigInteger code; + @XmlElement(name = "Reason", required = true) + protected List<String> reason; + @XmlElement(name = "Help") + protected String help; + @XmlElement(name = "Detail") + protected Object detail; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the reason property. + * + * <p> + * 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 <CODE>set</CODE> method for the reason property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReason().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getReason() { + if (reason == null) { + reason = new ArrayList<String>(); + } + return this.reason; + } + + /** + * Gets the value of the help property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHelp() { + return help; + } + + /** + * Sets the value of the help property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHelp(String value) { + this.help = value; + } + + /** + * Gets the value of the detail property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getDetail() { + return detail; + } + + /** + * Sets the value of the detail property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setDetail(Object value) { + this.detail = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/ExtraResultCriteria.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/ExtraResultCriteria.java new file mode 100644 index 0000000..feec384 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/ExtraResultCriteria.java @@ -0,0 +1,73 @@ + +package at.gv.util.xsd.ur.xmlsw; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "any" +}) +@XmlRootElement(name = "ExtraResultCriteria") +public class ExtraResultCriteria { + + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/ExtraResultInfo.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/ExtraResultInfo.java new file mode 100644 index 0000000..0258127 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/ExtraResultInfo.java @@ -0,0 +1,73 @@ + +package at.gv.util.xsd.ur.xmlsw; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "any" +}) +@XmlRootElement(name = "ExtraResultInfo") +public class ExtraResultInfo { + + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/ObjectFactory.java new file mode 100644 index 0000000..4cbb57d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/ObjectFactory.java @@ -0,0 +1,445 @@ + +package at.gv.util.xsd.ur.xmlsw; + +import java.math.BigInteger; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ur.xmlsw package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _FaultHint_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "FaultHint"); + private final static QName _CaseSensitive_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "CaseSensitive"); + private final static QName _Path_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "Path"); + private final static QName _SearchRequestInfo_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchRequestInfo"); + private final static QName _ResultSetId_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "ResultSetId"); + private final static QName _SortKey_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SortKey"); + private final static QName _RecordId_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "RecordId"); + private final static QName _SearchCriteria_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchCriteria"); + private final static QName _Costs_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "Costs"); + private final static QName _Detail_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "Detail"); + private final static QName _SearchByExample_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchByExample"); + private final static QName _SearchRequestId_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchRequestId"); + private final static QName _ResultCriteria_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "ResultCriteria"); + private final static QName _ReturnedRecords_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "ReturnedRecords"); + private final static QName _SearchResponse_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchResponse"); + private final static QName _AccountedUnits_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "AccountedUnits"); + private final static QName _FoundRecords_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "FoundRecords"); + private final static QName _StartRecord_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "StartRecord"); + private final static QName _Ascending_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "Ascending"); + private final static QName _TimeStamp_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "TimeStamp"); + private final static QName _TimeOut_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "TimeOut"); + private final static QName _InvoiceId_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "InvoiceId"); + private final static QName _Message_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "Message"); + private final static QName _SortKeys_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SortKeys"); + private final static QName _MaxRecords_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "MaxRecords"); + private final static QName _SearchById_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchById"); + private final static QName _ResultInfo_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "ResultInfo"); + private final static QName _PaymentInfo_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "PaymentInfo"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur.xmlsw + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ResultCriteriaType } + * + */ + public ResultCriteriaType createResultCriteriaType() { + return new ResultCriteriaType(); + } + + /** + * Create an instance of {@link SearchResponseType } + * + */ + public SearchResponseType createSearchResponseType() { + return new SearchResponseType(); + } + + /** + * Create an instance of {@link SearchByExampleType } + * + */ + public SearchByExampleType createSearchByExampleType() { + return new SearchByExampleType(); + } + + /** + * Create an instance of {@link ExtraResultCriteria } + * + */ + public ExtraResultCriteria createExtraResultCriteria() { + return new ExtraResultCriteria(); + } + + /** + * Create an instance of {@link SortKeysType } + * + */ + public SortKeysType createSortKeysType() { + return new SortKeysType(); + } + + /** + * Create an instance of {@link CustomFaultType } + * + */ + public CustomFaultType createCustomFaultType() { + return new CustomFaultType(); + } + + /** + * Create an instance of {@link ResultInfoType } + * + */ + public ResultInfoType createResultInfoType() { + return new ResultInfoType(); + } + + /** + * Create an instance of {@link SearchByIdType } + * + */ + public SearchByIdType createSearchByIdType() { + return new SearchByIdType(); + } + + /** + * Create an instance of {@link ResultRecords } + * + */ + public ResultRecords createResultRecords() { + return new ResultRecords(); + } + + /** + * Create an instance of {@link ResultRecord } + * + */ + public ResultRecord createResultRecord() { + return new ResultRecord(); + } + + /** + * Create an instance of {@link PaymentInfoType } + * + */ + public PaymentInfoType createPaymentInfoType() { + return new PaymentInfoType(); + } + + /** + * Create an instance of {@link SearchCriteriaType } + * + */ + public SearchCriteriaType createSearchCriteriaType() { + return new SearchCriteriaType(); + } + + /** + * Create an instance of {@link RecordFieldList } + * + */ + public RecordFieldList createRecordFieldList() { + return new RecordFieldList(); + } + + /** + * Create an instance of {@link ExtraResultInfo } + * + */ + public ExtraResultInfo createExtraResultInfo() { + return new ExtraResultInfo(); + } + + /** + * Create an instance of {@link SortKeyType } + * + */ + public SortKeyType createSortKeyType() { + return new SortKeyType(); + } + + /** + * Create an instance of {@link SearchRequestInfoType } + * + */ + public SearchRequestInfoType createSearchRequestInfoType() { + return new SearchRequestInfoType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "FaultHint") + public JAXBElement<String> createFaultHint(String value) { + return new JAXBElement<String>(_FaultHint_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "CaseSensitive") + public JAXBElement<Boolean> createCaseSensitive(Boolean value) { + return new JAXBElement<Boolean>(_CaseSensitive_QNAME, Boolean.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "Path") + public JAXBElement<String> createPath(String value) { + return new JAXBElement<String>(_Path_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SearchRequestInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SearchRequestInfo") + public JAXBElement<SearchRequestInfoType> createSearchRequestInfo(SearchRequestInfoType value) { + return new JAXBElement<SearchRequestInfoType>(_SearchRequestInfo_QNAME, SearchRequestInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "ResultSetId") + public JAXBElement<String> createResultSetId(String value) { + return new JAXBElement<String>(_ResultSetId_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SortKeyType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SortKey") + public JAXBElement<SortKeyType> createSortKey(SortKeyType value) { + return new JAXBElement<SortKeyType>(_SortKey_QNAME, SortKeyType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "RecordId") + public JAXBElement<BigInteger> createRecordId(BigInteger value) { + return new JAXBElement<BigInteger>(_RecordId_QNAME, BigInteger.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SearchCriteriaType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SearchCriteria") + public JAXBElement<SearchCriteriaType> createSearchCriteria(SearchCriteriaType value) { + return new JAXBElement<SearchCriteriaType>(_SearchCriteria_QNAME, SearchCriteriaType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Float }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "Costs") + public JAXBElement<Float> createCosts(Float value) { + return new JAXBElement<Float>(_Costs_QNAME, Float.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "Detail") + public JAXBElement<String> createDetail(String value) { + return new JAXBElement<String>(_Detail_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SearchByExampleType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SearchByExample") + public JAXBElement<SearchByExampleType> createSearchByExample(SearchByExampleType value) { + return new JAXBElement<SearchByExampleType>(_SearchByExample_QNAME, SearchByExampleType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SearchRequestId") + public JAXBElement<String> createSearchRequestId(String value) { + return new JAXBElement<String>(_SearchRequestId_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ResultCriteriaType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "ResultCriteria") + public JAXBElement<ResultCriteriaType> createResultCriteria(ResultCriteriaType value) { + return new JAXBElement<ResultCriteriaType>(_ResultCriteria_QNAME, ResultCriteriaType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "ReturnedRecords") + public JAXBElement<BigInteger> createReturnedRecords(BigInteger value) { + return new JAXBElement<BigInteger>(_ReturnedRecords_QNAME, BigInteger.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SearchResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SearchResponse") + public JAXBElement<SearchResponseType> createSearchResponse(SearchResponseType value) { + return new JAXBElement<SearchResponseType>(_SearchResponse_QNAME, SearchResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "AccountedUnits") + public JAXBElement<BigInteger> createAccountedUnits(BigInteger value) { + return new JAXBElement<BigInteger>(_AccountedUnits_QNAME, BigInteger.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "FoundRecords") + public JAXBElement<BigInteger> createFoundRecords(BigInteger value) { + return new JAXBElement<BigInteger>(_FoundRecords_QNAME, BigInteger.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "StartRecord") + public JAXBElement<BigInteger> createStartRecord(BigInteger value) { + return new JAXBElement<BigInteger>(_StartRecord_QNAME, BigInteger.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "Ascending") + public JAXBElement<Boolean> createAscending(Boolean value) { + return new JAXBElement<Boolean>(_Ascending_QNAME, Boolean.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "TimeStamp") + public JAXBElement<XMLGregorianCalendar> createTimeStamp(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_TimeStamp_QNAME, XMLGregorianCalendar.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "TimeOut") + public JAXBElement<BigInteger> createTimeOut(BigInteger value) { + return new JAXBElement<BigInteger>(_TimeOut_QNAME, BigInteger.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "InvoiceId") + public JAXBElement<String> createInvoiceId(String value) { + return new JAXBElement<String>(_InvoiceId_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CustomFaultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "Message") + public JAXBElement<CustomFaultType> createMessage(CustomFaultType value) { + return new JAXBElement<CustomFaultType>(_Message_QNAME, CustomFaultType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SortKeysType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SortKeys") + public JAXBElement<SortKeysType> createSortKeys(SortKeysType value) { + return new JAXBElement<SortKeysType>(_SortKeys_QNAME, SortKeysType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "MaxRecords") + public JAXBElement<BigInteger> createMaxRecords(BigInteger value) { + return new JAXBElement<BigInteger>(_MaxRecords_QNAME, BigInteger.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SearchByIdType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SearchById") + public JAXBElement<SearchByIdType> createSearchById(SearchByIdType value) { + return new JAXBElement<SearchByIdType>(_SearchById_QNAME, SearchByIdType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ResultInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "ResultInfo") + public JAXBElement<ResultInfoType> createResultInfo(ResultInfoType value) { + return new JAXBElement<ResultInfoType>(_ResultInfo_QNAME, ResultInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PaymentInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "PaymentInfo") + public JAXBElement<PaymentInfoType> createPaymentInfo(PaymentInfoType value) { + return new JAXBElement<PaymentInfoType>(_PaymentInfo_QNAME, PaymentInfoType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/PaymentInfoType.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/PaymentInfoType.java new file mode 100644 index 0000000..9ce4339 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/PaymentInfoType.java @@ -0,0 +1,181 @@ + +package at.gv.util.xsd.ur.xmlsw; + +import java.math.BigInteger; +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; +import org.w3c.dom.Element; + + +/** + * <p>Java class for PaymentInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PaymentInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}InvoiceId" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}Costs"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}AccountedUnits" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}TimeStamp"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PaymentInfoType", propOrder = { + "invoiceId", + "costs", + "accountedUnits", + "timeStamp", + "any" +}) +public class PaymentInfoType { + + @XmlElement(name = "InvoiceId") + protected String invoiceId; + @XmlElement(name = "Costs") + protected float costs; + @XmlElement(name = "AccountedUnits") + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger accountedUnits; + @XmlElement(name = "TimeStamp", required = true) + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar timeStamp; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the invoiceId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInvoiceId() { + return invoiceId; + } + + /** + * Sets the value of the invoiceId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInvoiceId(String value) { + this.invoiceId = value; + } + + /** + * Gets the value of the costs property. + * + */ + public float getCosts() { + return costs; + } + + /** + * Sets the value of the costs property. + * + */ + public void setCosts(float value) { + this.costs = value; + } + + /** + * Gets the value of the accountedUnits property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getAccountedUnits() { + return accountedUnits; + } + + /** + * Sets the value of the accountedUnits property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setAccountedUnits(BigInteger value) { + this.accountedUnits = value; + } + + /** + * Gets the value of the timeStamp property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTimeStamp() { + return timeStamp; + } + + /** + * Sets the value of the timeStamp property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setTimeStamp(XMLGregorianCalendar value) { + this.timeStamp = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/RecordFieldList.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/RecordFieldList.java new file mode 100644 index 0000000..9dc8b7b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/RecordFieldList.java @@ -0,0 +1,73 @@ + +package at.gv.util.xsd.ur.xmlsw; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "any" +}) +@XmlRootElement(name = "RecordFieldList") +public class RecordFieldList { + + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultCriteriaType.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultCriteriaType.java new file mode 100644 index 0000000..e1f1de7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultCriteriaType.java @@ -0,0 +1,207 @@ + +package at.gv.util.xsd.ur.xmlsw; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ResultCriteriaType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ResultCriteriaType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}MaxRecords" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}StartRecord" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SortKeys" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}TimeOut" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}RecordFieldList" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ExtraResultCriteria" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ResultCriteriaType", propOrder = { + "maxRecords", + "startRecord", + "sortKeys", + "timeOut", + "recordFieldList", + "extraResultCriteria" +}) +public class ResultCriteriaType { + + @XmlElement(name = "MaxRecords") + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger maxRecords; + @XmlElement(name = "StartRecord") + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger startRecord; + @XmlElement(name = "SortKeys") + protected SortKeysType sortKeys; + @XmlElement(name = "TimeOut") + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger timeOut; + @XmlElement(name = "RecordFieldList") + protected RecordFieldList recordFieldList; + @XmlElement(name = "ExtraResultCriteria") + protected ExtraResultCriteria extraResultCriteria; + + /** + * Gets the value of the maxRecords property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getMaxRecords() { + return maxRecords; + } + + /** + * Sets the value of the maxRecords property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setMaxRecords(BigInteger value) { + this.maxRecords = value; + } + + /** + * Gets the value of the startRecord property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getStartRecord() { + return startRecord; + } + + /** + * Sets the value of the startRecord property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setStartRecord(BigInteger value) { + this.startRecord = value; + } + + /** + * Gets the value of the sortKeys property. + * + * @return + * possible object is + * {@link SortKeysType } + * + */ + public SortKeysType getSortKeys() { + return sortKeys; + } + + /** + * Sets the value of the sortKeys property. + * + * @param value + * allowed object is + * {@link SortKeysType } + * + */ + public void setSortKeys(SortKeysType value) { + this.sortKeys = value; + } + + /** + * Gets the value of the timeOut property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getTimeOut() { + return timeOut; + } + + /** + * Sets the value of the timeOut property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setTimeOut(BigInteger value) { + this.timeOut = value; + } + + /** + * Gets the value of the recordFieldList property. + * + * @return + * possible object is + * {@link RecordFieldList } + * + */ + public RecordFieldList getRecordFieldList() { + return recordFieldList; + } + + /** + * Sets the value of the recordFieldList property. + * + * @param value + * allowed object is + * {@link RecordFieldList } + * + */ + public void setRecordFieldList(RecordFieldList value) { + this.recordFieldList = value; + } + + /** + * Gets the value of the extraResultCriteria property. + * + * @return + * possible object is + * {@link ExtraResultCriteria } + * + */ + public ExtraResultCriteria getExtraResultCriteria() { + return extraResultCriteria; + } + + /** + * Sets the value of the extraResultCriteria property. + * + * @param value + * allowed object is + * {@link ExtraResultCriteria } + * + */ + public void setExtraResultCriteria(ExtraResultCriteria value) { + this.extraResultCriteria = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultInfoType.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultInfoType.java new file mode 100644 index 0000000..d82d0dc --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultInfoType.java @@ -0,0 +1,178 @@ + +package at.gv.util.xsd.ur.xmlsw; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ResultInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ResultInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ResultSetId" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}FoundRecords" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ReturnedRecords"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}PaymentInfo" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ExtraResultInfo" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ResultInfoType", propOrder = { + "resultSetId", + "foundRecords", + "returnedRecords", + "paymentInfo", + "extraResultInfo" +}) +public class ResultInfoType { + + @XmlElement(name = "ResultSetId") + protected String resultSetId; + @XmlElement(name = "FoundRecords") + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger foundRecords; + @XmlElement(name = "ReturnedRecords", required = true) + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger returnedRecords; + @XmlElement(name = "PaymentInfo") + protected PaymentInfoType paymentInfo; + @XmlElement(name = "ExtraResultInfo") + protected ExtraResultInfo extraResultInfo; + + /** + * Gets the value of the resultSetId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getResultSetId() { + return resultSetId; + } + + /** + * Sets the value of the resultSetId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setResultSetId(String value) { + this.resultSetId = value; + } + + /** + * Gets the value of the foundRecords property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getFoundRecords() { + return foundRecords; + } + + /** + * Sets the value of the foundRecords property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setFoundRecords(BigInteger value) { + this.foundRecords = value; + } + + /** + * Gets the value of the returnedRecords property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getReturnedRecords() { + return returnedRecords; + } + + /** + * Sets the value of the returnedRecords property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setReturnedRecords(BigInteger value) { + this.returnedRecords = value; + } + + /** + * Gets the value of the paymentInfo property. + * + * @return + * possible object is + * {@link PaymentInfoType } + * + */ + public PaymentInfoType getPaymentInfo() { + return paymentInfo; + } + + /** + * Sets the value of the paymentInfo property. + * + * @param value + * allowed object is + * {@link PaymentInfoType } + * + */ + public void setPaymentInfo(PaymentInfoType value) { + this.paymentInfo = value; + } + + /** + * Gets the value of the extraResultInfo property. + * + * @return + * possible object is + * {@link ExtraResultInfo } + * + */ + public ExtraResultInfo getExtraResultInfo() { + return extraResultInfo; + } + + /** + * Sets the value of the extraResultInfo property. + * + * @param value + * allowed object is + * {@link ExtraResultInfo } + * + */ + public void setExtraResultInfo(ExtraResultInfo value) { + this.extraResultInfo = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultRecord.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultRecord.java new file mode 100644 index 0000000..e3d945e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultRecord.java @@ -0,0 +1,104 @@ + +package at.gv.util.xsd.ur.xmlsw; + +import java.math.BigInteger; +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "any" +}) +@XmlRootElement(name = "ResultRecord") +public class ResultRecord { + + @XmlAnyElement(lax = true) + protected List<Object> any; + @XmlAttribute(name = "id") + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger id; + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setId(BigInteger value) { + this.id = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultRecords.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultRecords.java new file mode 100644 index 0000000..05126a3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultRecords.java @@ -0,0 +1,71 @@ + +package at.gv.util.xsd.ur.xmlsw; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ResultRecord" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "resultRecord" +}) +@XmlRootElement(name = "ResultRecords") +public class ResultRecords { + + @XmlElement(name = "ResultRecord", required = true) + protected List<ResultRecord> resultRecord; + + /** + * Gets the value of the resultRecord property. + * + * <p> + * 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 <CODE>set</CODE> method for the resultRecord property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getResultRecord().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ResultRecord } + * + * + */ + public List<ResultRecord> getResultRecord() { + if (resultRecord == null) { + resultRecord = new ArrayList<ResultRecord>(); + } + return this.resultRecord; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchByExampleType.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchByExampleType.java new file mode 100644 index 0000000..10b8812 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchByExampleType.java @@ -0,0 +1,146 @@ + +package at.gv.util.xsd.ur.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SearchByExampleType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SearchByExampleType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SearchRequestId"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SearchRequestInfo" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ResultCriteria" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SearchCriteria"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SearchByExampleType", propOrder = { + "searchRequestId", + "searchRequestInfo", + "resultCriteria", + "searchCriteria" +}) +public class SearchByExampleType { + + @XmlElement(name = "SearchRequestId", required = true) + protected String searchRequestId; + @XmlElement(name = "SearchRequestInfo") + protected SearchRequestInfoType searchRequestInfo; + @XmlElement(name = "ResultCriteria") + protected ResultCriteriaType resultCriteria; + @XmlElement(name = "SearchCriteria", required = true) + protected SearchCriteriaType searchCriteria; + + /** + * Gets the value of the searchRequestId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSearchRequestId() { + return searchRequestId; + } + + /** + * Sets the value of the searchRequestId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSearchRequestId(String value) { + this.searchRequestId = value; + } + + /** + * Gets the value of the searchRequestInfo property. + * + * @return + * possible object is + * {@link SearchRequestInfoType } + * + */ + public SearchRequestInfoType getSearchRequestInfo() { + return searchRequestInfo; + } + + /** + * Sets the value of the searchRequestInfo property. + * + * @param value + * allowed object is + * {@link SearchRequestInfoType } + * + */ + public void setSearchRequestInfo(SearchRequestInfoType value) { + this.searchRequestInfo = value; + } + + /** + * Gets the value of the resultCriteria property. + * + * @return + * possible object is + * {@link ResultCriteriaType } + * + */ + public ResultCriteriaType getResultCriteria() { + return resultCriteria; + } + + /** + * Sets the value of the resultCriteria property. + * + * @param value + * allowed object is + * {@link ResultCriteriaType } + * + */ + public void setResultCriteria(ResultCriteriaType value) { + this.resultCriteria = value; + } + + /** + * Gets the value of the searchCriteria property. + * + * @return + * possible object is + * {@link SearchCriteriaType } + * + */ + public SearchCriteriaType getSearchCriteria() { + return searchCriteria; + } + + /** + * Sets the value of the searchCriteria property. + * + * @param value + * allowed object is + * {@link SearchCriteriaType } + * + */ + public void setSearchCriteria(SearchCriteriaType value) { + this.searchCriteria = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchByIdType.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchByIdType.java new file mode 100644 index 0000000..217f526 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchByIdType.java @@ -0,0 +1,121 @@ + +package at.gv.util.xsd.ur.xmlsw; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SearchByIdType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SearchByIdType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SearchRequestId"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SearchRequestInfo" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}RecordId"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SearchByIdType", propOrder = { + "searchRequestId", + "searchRequestInfo", + "recordId" +}) +public class SearchByIdType { + + @XmlElement(name = "SearchRequestId", required = true) + protected String searchRequestId; + @XmlElement(name = "SearchRequestInfo") + protected SearchRequestInfoType searchRequestInfo; + @XmlElement(name = "RecordId", required = true) + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger recordId; + + /** + * Gets the value of the searchRequestId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSearchRequestId() { + return searchRequestId; + } + + /** + * Sets the value of the searchRequestId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSearchRequestId(String value) { + this.searchRequestId = value; + } + + /** + * Gets the value of the searchRequestInfo property. + * + * @return + * possible object is + * {@link SearchRequestInfoType } + * + */ + public SearchRequestInfoType getSearchRequestInfo() { + return searchRequestInfo; + } + + /** + * Sets the value of the searchRequestInfo property. + * + * @param value + * allowed object is + * {@link SearchRequestInfoType } + * + */ + public void setSearchRequestInfo(SearchRequestInfoType value) { + this.searchRequestInfo = value; + } + + /** + * Gets the value of the recordId property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getRecordId() { + return recordId; + } + + /** + * Sets the value of the recordId property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setRecordId(BigInteger value) { + this.recordId = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchCriteriaType.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchCriteriaType.java new file mode 100644 index 0000000..f15c61f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchCriteriaType.java @@ -0,0 +1,100 @@ + +package at.gv.util.xsd.ur.xmlsw; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for SearchCriteriaType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SearchCriteriaType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ResultSetId" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SearchCriteriaType", propOrder = { + "resultSetId", + "any" +}) +public class SearchCriteriaType { + + @XmlElement(name = "ResultSetId") + protected String resultSetId; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the resultSetId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getResultSetId() { + return resultSetId; + } + + /** + * Sets the value of the resultSetId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setResultSetId(String value) { + this.resultSetId = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchRequestInfoType.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchRequestInfoType.java new file mode 100644 index 0000000..d3f0ad6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchRequestInfoType.java @@ -0,0 +1,71 @@ + +package at.gv.util.xsd.ur.xmlsw; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for SearchRequestInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SearchRequestInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SearchRequestInfoType", propOrder = { + "any" +}) +public class SearchRequestInfoType { + + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchResponseType.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchResponseType.java new file mode 100644 index 0000000..4af6e3e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchResponseType.java @@ -0,0 +1,146 @@ + +package at.gv.util.xsd.ur.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SearchResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SearchResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SearchRequestId"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}Message" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ResultInfo"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ResultRecords" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SearchResponseType", propOrder = { + "searchRequestId", + "message", + "resultInfo", + "resultRecords" +}) +public class SearchResponseType { + + @XmlElement(name = "SearchRequestId", required = true) + protected String searchRequestId; + @XmlElement(name = "Message") + protected CustomFaultType message; + @XmlElement(name = "ResultInfo", required = true) + protected ResultInfoType resultInfo; + @XmlElement(name = "ResultRecords") + protected ResultRecords resultRecords; + + /** + * Gets the value of the searchRequestId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSearchRequestId() { + return searchRequestId; + } + + /** + * Sets the value of the searchRequestId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSearchRequestId(String value) { + this.searchRequestId = value; + } + + /** + * Gets the value of the message property. + * + * @return + * possible object is + * {@link CustomFaultType } + * + */ + public CustomFaultType getMessage() { + return message; + } + + /** + * Sets the value of the message property. + * + * @param value + * allowed object is + * {@link CustomFaultType } + * + */ + public void setMessage(CustomFaultType value) { + this.message = value; + } + + /** + * Gets the value of the resultInfo property. + * + * @return + * possible object is + * {@link ResultInfoType } + * + */ + public ResultInfoType getResultInfo() { + return resultInfo; + } + + /** + * Sets the value of the resultInfo property. + * + * @param value + * allowed object is + * {@link ResultInfoType } + * + */ + public void setResultInfo(ResultInfoType value) { + this.resultInfo = value; + } + + /** + * Gets the value of the resultRecords property. + * + * @return + * possible object is + * {@link ResultRecords } + * + */ + public ResultRecords getResultRecords() { + return resultRecords; + } + + /** + * Sets the value of the resultRecords property. + * + * @param value + * allowed object is + * {@link ResultRecords } + * + */ + public void setResultRecords(ResultRecords value) { + this.resultRecords = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/SortKeyType.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/SortKeyType.java new file mode 100644 index 0000000..274365b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/SortKeyType.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.ur.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SortKeyType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SortKeyType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}Path"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}Ascending" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}CaseSensitive" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SortKeyType", propOrder = { + "path", + "ascending", + "caseSensitive" +}) +public class SortKeyType { + + @XmlElement(name = "Path", required = true) + protected String path; + @XmlElement(name = "Ascending") + protected Boolean ascending; + @XmlElement(name = "CaseSensitive") + protected Boolean caseSensitive; + + /** + * Gets the value of the path property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPath() { + return path; + } + + /** + * Sets the value of the path property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPath(String value) { + this.path = value; + } + + /** + * Gets the value of the ascending property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isAscending() { + return ascending; + } + + /** + * Sets the value of the ascending property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setAscending(Boolean value) { + this.ascending = value; + } + + /** + * Gets the value of the caseSensitive property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isCaseSensitive() { + return caseSensitive; + } + + /** + * Sets the value of the caseSensitive property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setCaseSensitive(Boolean value) { + this.caseSensitive = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/SortKeysType.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/SortKeysType.java new file mode 100644 index 0000000..ce78a67 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/SortKeysType.java @@ -0,0 +1,69 @@ + +package at.gv.util.xsd.ur.xmlsw; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SortKeysType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SortKeysType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SortKey" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SortKeysType", propOrder = { + "sortKey" +}) +public class SortKeysType { + + @XmlElement(name = "SortKey", required = true) + protected List<SortKeyType> sortKey; + + /** + * Gets the value of the sortKey property. + * + * <p> + * 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 <CODE>set</CODE> method for the sortKey property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSortKey().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link SortKeyType } + * + * + */ + public List<SortKeyType> getSortKey() { + if (sortKey == null) { + sortKey = new ArrayList<SortKeyType>(); + } + return this.sortKey; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/package-info.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/package-info.java new file mode 100644 index 0000000..5a4e788 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.ur.xmlsw; diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Bestandsnachweis.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Bestandsnachweis.java new file mode 100644 index 0000000..f22c3a5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Bestandsnachweis.java @@ -0,0 +1,65 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import at.gv.util.xsd.ersb.BestandsnachweisErsb; + + +/** + * <p>Java class for Bestandsnachweis complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Bestandsnachweis"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Bestandsnachweis", propOrder = { + "value" +}) +@XmlSeeAlso({ + BestandsnachweisErsb.class, + BestandsnachweisVollzug.class +}) +public abstract class Bestandsnachweis { + + @XmlValue + protected String value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/BestandsnachweisVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/BestandsnachweisVollzug.java new file mode 100644 index 0000000..d7fec20 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/BestandsnachweisVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for BestandsnachweisVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="BestandsnachweisVollzug"> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/stammdaten/2#>Bestandsnachweis"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BestandsnachweisVollzug") +public class BestandsnachweisVollzug + extends Bestandsnachweis +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Bestandszeitraum.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Bestandszeitraum.java new file mode 100644 index 0000000..3dbf718 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Bestandszeitraum.java @@ -0,0 +1,100 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; +import at.gv.util.xsd.ersb.BestandszeitraumErsb; + + +/** + * <p>Java class for Bestandszeitraum complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Bestandszeitraum"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="BestandVon" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="BestandBis" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Bestandszeitraum", propOrder = { + "bestandVon", + "bestandBis" +}) +@XmlSeeAlso({ + BestandszeitraumErsb.class, + BestandszeitraumVollzug.class +}) +public abstract class Bestandszeitraum { + + @XmlElement(name = "BestandVon") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar bestandVon; + @XmlElement(name = "BestandBis") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar bestandBis; + + /** + * Gets the value of the bestandVon property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getBestandVon() { + return bestandVon; + } + + /** + * Sets the value of the bestandVon property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setBestandVon(XMLGregorianCalendar value) { + this.bestandVon = value; + } + + /** + * Gets the value of the bestandBis property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getBestandBis() { + return bestandBis; + } + + /** + * Sets the value of the bestandBis property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setBestandBis(XMLGregorianCalendar value) { + this.bestandBis = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/BestandszeitraumVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/BestandszeitraumVollzug.java new file mode 100644 index 0000000..69980e8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/BestandszeitraumVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for BestandszeitraumVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="BestandszeitraumVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Bestandszeitraum"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BestandszeitraumVollzug") +public class BestandszeitraumVollzug + extends Bestandszeitraum +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Branche.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Branche.java new file mode 100644 index 0000000..3511617 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Branche.java @@ -0,0 +1,175 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +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.XmlType; +import at.gv.util.xsd.ur_V2.simpletypes.OenaceArtTyp; + + +/** + * <p>Java class for Branche complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Branche"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Oenace" type="{http://statistik.at/namespace/ur/stammdaten/2#}OenaceType"/> + * <element name="OenaceText" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Beginn" type="{http://statistik.at/namespace/ur/stammdaten/2#}QuellenType"/> + * <element name="Ende" type="{http://statistik.at/namespace/ur/stammdaten/2#}QuellenType" minOccurs="0"/> + * </sequence> + * <attribute name="art" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OenaceArtTyp" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Branche", propOrder = { + "oenace", + "oenaceText", + "beginn", + "ende" +}) +public class Branche { + + @XmlElement(name = "Oenace", required = true) + protected OenaceType oenace; + @XmlElement(name = "OenaceText", required = true) + protected String oenaceText; + @XmlElement(name = "Beginn", required = true) + protected QuellenType beginn; + @XmlElement(name = "Ende") + protected QuellenType ende; + @XmlAttribute(name = "art", required = true) + protected OenaceArtTyp art; + + /** + * Gets the value of the oenace property. + * + * @return + * possible object is + * {@link OenaceType } + * + */ + public OenaceType getOenace() { + return oenace; + } + + /** + * Sets the value of the oenace property. + * + * @param value + * allowed object is + * {@link OenaceType } + * + */ + public void setOenace(OenaceType value) { + this.oenace = value; + } + + /** + * Gets the value of the oenaceText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOenaceText() { + return oenaceText; + } + + /** + * Sets the value of the oenaceText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOenaceText(String value) { + this.oenaceText = value; + } + + /** + * Gets the value of the beginn property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getBeginn() { + return beginn; + } + + /** + * Sets the value of the beginn property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setBeginn(QuellenType value) { + this.beginn = value; + } + + /** + * Gets the value of the ende property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getEnde() { + return ende; + } + + /** + * Sets the value of the ende property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setEnde(QuellenType value) { + this.ende = value; + } + + /** + * Gets the value of the art property. + * + * @return + * possible object is + * {@link OenaceArtTyp } + * + */ + public OenaceArtTyp getArt() { + return art; + } + + /** + * Sets the value of the art property. + * + * @param value + * allowed object is + * {@link OenaceArtTyp } + * + */ + public void setArt(OenaceArtTyp value) { + this.art = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/FktRegelTyp.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/FktRegelTyp.java new file mode 100644 index 0000000..2448204 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/FktRegelTyp.java @@ -0,0 +1,128 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; +import at.gv.util.xsd.ersb.FktRegelTypErsb; + + +/** + * <p>Java class for FktRegelTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FktRegelTyp"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FktRegelVon" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="FktRegelBis" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="FktRegelText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FktRegelTextTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FktRegelTyp", propOrder = { + "fktRegelVon", + "fktRegelBis", + "fktRegelText" +}) +@XmlSeeAlso({ + FktRegelTypErsb.class, + FktRegelTypVollzug.class +}) +public abstract class FktRegelTyp { + + @XmlElement(name = "FktRegelVon") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar fktRegelVon; + @XmlElement(name = "FktRegelBis") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar fktRegelBis; + @XmlElement(name = "FktRegelText") + protected String fktRegelText; + + /** + * Gets the value of the fktRegelVon property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getFktRegelVon() { + return fktRegelVon; + } + + /** + * Sets the value of the fktRegelVon property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setFktRegelVon(XMLGregorianCalendar value) { + this.fktRegelVon = value; + } + + /** + * Gets the value of the fktRegelBis property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getFktRegelBis() { + return fktRegelBis; + } + + /** + * Sets the value of the fktRegelBis property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setFktRegelBis(XMLGregorianCalendar value) { + this.fktRegelBis = value; + } + + /** + * Gets the value of the fktRegelText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFktRegelText() { + return fktRegelText; + } + + /** + * Sets the value of the fktRegelText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFktRegelText(String value) { + this.fktRegelText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/FktRegelTypVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/FktRegelTypVollzug.java new file mode 100644 index 0000000..a4a0fda --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/FktRegelTypVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for FktRegelTypVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FktRegelTypVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}FktRegelTyp"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FktRegelTypVollzug") +public class FktRegelTypVollzug + extends FktRegelTyp +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Funktion.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Funktion.java new file mode 100644 index 0000000..b462d17 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Funktion.java @@ -0,0 +1,88 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.FunktionErsb; + + +/** + * <p>Java class for Funktion complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Funktion"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FktName" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FunktionTyp"/> + * <element name="FktNameText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FunktionTextTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Funktion", propOrder = { + "fktName", + "fktNameText" +}) +@XmlSeeAlso({ + FunktionErsb.class, + FunktionVollzug.class +}) +public abstract class Funktion { + + @XmlElement(name = "FktName") + protected int fktName; + @XmlElement(name = "FktNameText") + protected String fktNameText; + + /** + * Gets the value of the fktName property. + * + */ + public int getFktName() { + return fktName; + } + + /** + * Sets the value of the fktName property. + * + */ + public void setFktName(int value) { + this.fktName = value; + } + + /** + * Gets the value of the fktNameText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFktNameText() { + return fktNameText; + } + + /** + * Sets the value of the fktNameText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFktNameText(String value) { + this.fktNameText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/FunktionVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/FunktionVollzug.java new file mode 100644 index 0000000..e290e1f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/FunktionVollzug.java @@ -0,0 +1,159 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +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.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for FunktionVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FunktionVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Funktion"> + * <sequence> + * <element name="FktRegel" type="{http://statistik.at/namespace/ur/stammdaten/2#}FktRegelTypVollzug" minOccurs="0"/> + * <element name="Rechtstatsachen" type="{http://statistik.at/namespace/ur/stammdaten/2#}RechtstatsachenVollzug" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FunktionVollzug", propOrder = { + "fktRegel", + "rechtstatsachen" +}) +public class FunktionVollzug + extends Funktion +{ + + @XmlElement(name = "FktRegel") + protected FktRegelTypVollzug fktRegel; + @XmlElement(name = "Rechtstatsachen") + protected List<RechtstatsachenVollzug> rechtstatsachen; + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the fktRegel property. + * + * @return + * possible object is + * {@link FktRegelTypVollzug } + * + */ + public FktRegelTypVollzug getFktRegel() { + return fktRegel; + } + + /** + * Sets the value of the fktRegel property. + * + * @param value + * allowed object is + * {@link FktRegelTypVollzug } + * + */ + public void setFktRegel(FktRegelTypVollzug value) { + this.fktRegel = value; + } + + /** + * Gets the value of the rechtstatsachen property. + * + * <p> + * 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 <CODE>set</CODE> method for the rechtstatsachen property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRechtstatsachen().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link RechtstatsachenVollzug } + * + * + */ + public List<RechtstatsachenVollzug> getRechtstatsachen() { + if (rechtstatsachen == null) { + rechtstatsachen = new ArrayList<RechtstatsachenVollzug>(); + } + return this.rechtstatsachen; + } + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/ObjectFactory.java new file mode 100644 index 0000000..ca63802 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/ObjectFactory.java @@ -0,0 +1,320 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; +import at.gv.util.xsd.ur_V2.simpletypes.AdressTyp; +import at.gv.util.xsd.ur_V2.simpletypes.EvbStatusTyp; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ur_V2.basicTypes package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Bestandsnachweis_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Bestandsnachweis"); + private final static QName _Vertretung_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Vertretung"); + private final static QName _Bestandszeitraum_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Bestandszeitraum"); + private final static QName _Rechtstatsachen_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Rechtstatsachen"); + private final static QName _Typ_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Typ"); + private final static QName _Rechtsform_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Rechtsform"); + private final static QName _EvbStatus_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "EvbStatus"); + private final static QName _TypeText_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "TypeText"); + private final static QName _Ende_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Ende"); + private final static QName _Taetigkeitszeitraum_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Taetigkeitszeitraum"); + private final static QName _Funktion_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Funktion"); + private final static QName _Vollzug_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Vollzug"); + private final static QName _Beginn_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Beginn"); + private final static QName _Branche_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Branche"); + private final static QName _BpkWTUR_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "bpkWTUR"); + private final static QName _AendDat_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "AendDat"); + private final static QName _UntName_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "UntName"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur_V2.basicTypes + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link QuellenType } + * + */ + public QuellenType createQuellenType() { + return new QuellenType(); + } + + /** + * Create an instance of {@link UntNameVollzug } + * + */ + public UntNameVollzug createUntNameVollzug() { + return new UntNameVollzug(); + } + + /** + * Create an instance of {@link RechtsformVollzug } + * + */ + public RechtsformVollzug createRechtsformVollzug() { + return new RechtsformVollzug(); + } + + /** + * Create an instance of {@link RechtstatsachenVollzug } + * + */ + public RechtstatsachenVollzug createRechtstatsachenVollzug() { + return new RechtstatsachenVollzug(); + } + + /** + * Create an instance of {@link Branche } + * + */ + public Branche createBranche() { + return new Branche(); + } + + /** + * Create an instance of {@link BestandszeitraumVollzug } + * + */ + public BestandszeitraumVollzug createBestandszeitraumVollzug() { + return new BestandszeitraumVollzug(); + } + + /** + * Create an instance of {@link VertretungVollzug } + * + */ + public VertretungVollzug createVertretungVollzug() { + return new VertretungVollzug(); + } + + /** + * Create an instance of {@link Vollzug } + * + */ + public Vollzug createVollzug() { + return new Vollzug(); + } + + /** + * Create an instance of {@link BestandsnachweisVollzug } + * + */ + public BestandsnachweisVollzug createBestandsnachweisVollzug() { + return new BestandsnachweisVollzug(); + } + + /** + * Create an instance of {@link FunktionVollzug } + * + */ + public FunktionVollzug createFunktionVollzug() { + return new FunktionVollzug(); + } + + /** + * Create an instance of {@link TaetigkeitszeitraumVollzug } + * + */ + public TaetigkeitszeitraumVollzug createTaetigkeitszeitraumVollzug() { + return new TaetigkeitszeitraumVollzug(); + } + + /** + * Create an instance of {@link OenaceType } + * + */ + public OenaceType createOenaceType() { + return new OenaceType(); + } + + /** + * Create an instance of {@link VollzugElem } + * + */ + public VollzugElem createVollzugElem() { + return new VollzugElem(); + } + + /** + * Create an instance of {@link FktRegelTypVollzug } + * + */ + public FktRegelTypVollzug createFktRegelTypVollzug() { + return new FktRegelTypVollzug(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BestandsnachweisVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Bestandsnachweis") + public JAXBElement<BestandsnachweisVollzug> createBestandsnachweis(BestandsnachweisVollzug value) { + return new JAXBElement<BestandsnachweisVollzug>(_Bestandsnachweis_QNAME, BestandsnachweisVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VertretungVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Vertretung") + public JAXBElement<VertretungVollzug> createVertretung(VertretungVollzug value) { + return new JAXBElement<VertretungVollzug>(_Vertretung_QNAME, VertretungVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BestandszeitraumVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Bestandszeitraum") + public JAXBElement<BestandszeitraumVollzug> createBestandszeitraum(BestandszeitraumVollzug value) { + return new JAXBElement<BestandszeitraumVollzug>(_Bestandszeitraum_QNAME, BestandszeitraumVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RechtstatsachenVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Rechtstatsachen") + public JAXBElement<RechtstatsachenVollzug> createRechtstatsachen(RechtstatsachenVollzug value) { + return new JAXBElement<RechtstatsachenVollzug>(_Rechtstatsachen_QNAME, RechtstatsachenVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AdressTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Typ") + public JAXBElement<AdressTyp> createTyp(AdressTyp value) { + return new JAXBElement<AdressTyp>(_Typ_QNAME, AdressTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RechtsformVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Rechtsform") + public JAXBElement<RechtsformVollzug> createRechtsform(RechtsformVollzug value) { + return new JAXBElement<RechtsformVollzug>(_Rechtsform_QNAME, RechtsformVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EvbStatusTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "EvbStatus") + public JAXBElement<EvbStatusTyp> createEvbStatus(EvbStatusTyp value) { + return new JAXBElement<EvbStatusTyp>(_EvbStatus_QNAME, EvbStatusTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "TypeText") + public JAXBElement<String> createTypeText(String value) { + return new JAXBElement<String>(_TypeText_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link QuellenType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Ende") + public JAXBElement<QuellenType> createEnde(QuellenType value) { + return new JAXBElement<QuellenType>(_Ende_QNAME, QuellenType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TaetigkeitszeitraumVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Taetigkeitszeitraum") + public JAXBElement<TaetigkeitszeitraumVollzug> createTaetigkeitszeitraum(TaetigkeitszeitraumVollzug value) { + return new JAXBElement<TaetigkeitszeitraumVollzug>(_Taetigkeitszeitraum_QNAME, TaetigkeitszeitraumVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link FunktionVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Funktion") + public JAXBElement<FunktionVollzug> createFunktion(FunktionVollzug value) { + return new JAXBElement<FunktionVollzug>(_Funktion_QNAME, FunktionVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Vollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Vollzug") + public JAXBElement<Vollzug> createVollzug(Vollzug value) { + return new JAXBElement<Vollzug>(_Vollzug_QNAME, Vollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link QuellenType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Beginn") + public JAXBElement<QuellenType> createBeginn(QuellenType value) { + return new JAXBElement<QuellenType>(_Beginn_QNAME, QuellenType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Branche }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Branche") + public JAXBElement<Branche> createBranche(Branche value) { + return new JAXBElement<Branche>(_Branche_QNAME, Branche.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "bpkWTUR") + public JAXBElement<String> createBpkWTUR(String value) { + return new JAXBElement<String>(_BpkWTUR_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "AendDat") + public JAXBElement<XMLGregorianCalendar> createAendDat(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_AendDat_QNAME, XMLGregorianCalendar.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link UntNameVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "UntName") + public JAXBElement<UntNameVollzug> createUntName(UntNameVollzug value) { + return new JAXBElement<UntNameVollzug>(_UntName_QNAME, UntNameVollzug.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/OenaceType.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/OenaceType.java new file mode 100644 index 0000000..2015fda --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/OenaceType.java @@ -0,0 +1,81 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for OenaceType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="OenaceType"> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/simpleTypes/2#>OenaceCodeTyp"> + * <attribute name="jahr" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OenaceJahrTyp" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "OenaceType", propOrder = { + "value" +}) +public class OenaceType { + + @XmlValue + protected String value; + @XmlAttribute(name = "jahr", required = true) + protected int jahr; + + /** + * + * Ö\u0096NACE - Branchenkennzahl + * + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the jahr property. + * + */ + public int getJahr() { + return jahr; + } + + /** + * Sets the value of the jahr property. + * + */ + public void setJahr(int value) { + this.jahr = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/QuellenType.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/QuellenType.java new file mode 100644 index 0000000..abdd751 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/QuellenType.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for QuellenType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="QuellenType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>date"> + * <attribute name="quelle" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}QuelleTyp" /> + * <attribute name="quText" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "QuellenType", propOrder = { + "value" +}) +public class QuellenType { + + @XmlValue + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar value; + @XmlAttribute(name = "quelle", required = true) + protected String quelle; + @XmlAttribute(name = "quText", required = true) + @XmlSchemaType(name = "anySimpleType") + protected String quText; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setValue(XMLGregorianCalendar value) { + this.value = value; + } + + /** + * Gets the value of the quelle property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuelle() { + return quelle; + } + + /** + * Sets the value of the quelle property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuelle(String value) { + this.quelle = value; + } + + /** + * Gets the value of the quText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuText() { + return quText; + } + + /** + * Sets the value of the quText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuText(String value) { + this.quText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Rechtsform.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Rechtsform.java new file mode 100644 index 0000000..c5afa4f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Rechtsform.java @@ -0,0 +1,144 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.RechtsformErsb; + + +/** + * <p>Java class for Rechtsform complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Rechtsform"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ReForm" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTyp" minOccurs="0"/> + * <element name="ReFormText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTextTyp" minOccurs="0"/> + * <element name="ReFormExtern" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTyp"/> + * <element name="ReFormExternText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTextTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Rechtsform", propOrder = { + "reForm", + "reFormText", + "reFormExtern", + "reFormExternText" +}) +@XmlSeeAlso({ + RechtsformErsb.class, + RechtsformVollzug.class +}) +public abstract class Rechtsform { + + @XmlElement(name = "ReForm") + protected Integer reForm; + @XmlElement(name = "ReFormText") + protected String reFormText; + @XmlElement(name = "ReFormExtern") + protected int reFormExtern; + @XmlElement(name = "ReFormExternText") + protected String reFormExternText; + + /** + * Gets the value of the reForm property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getReForm() { + return reForm; + } + + /** + * Sets the value of the reForm property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setReForm(Integer value) { + this.reForm = value; + } + + /** + * Gets the value of the reFormText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReFormText() { + return reFormText; + } + + /** + * Sets the value of the reFormText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReFormText(String value) { + this.reFormText = value; + } + + /** + * Gets the value of the reFormExtern property. + * + */ + public int getReFormExtern() { + return reFormExtern; + } + + /** + * Sets the value of the reFormExtern property. + * + */ + public void setReFormExtern(int value) { + this.reFormExtern = value; + } + + /** + * Gets the value of the reFormExternText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReFormExternText() { + return reFormExternText; + } + + /** + * Sets the value of the reFormExternText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReFormExternText(String value) { + this.reFormExternText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/RechtsformVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/RechtsformVollzug.java new file mode 100644 index 0000000..a63c7ef --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/RechtsformVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RechtsformVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RechtsformVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtsform"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RechtsformVollzug") +public class RechtsformVollzug + extends Rechtsform +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Rechtstatsachen.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Rechtstatsachen.java new file mode 100644 index 0000000..9fbfd5d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Rechtstatsachen.java @@ -0,0 +1,124 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.RechtstatsachenErsb; + + +/** + * <p>Java class for Rechtstatsachen complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Rechtstatsachen"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="RT_Nummer" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RT_NummerTyp" minOccurs="0"/> + * <element name="RT_Code" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RT_CodeTyp" minOccurs="0"/> + * <element name="RT_Text" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Rechtstatsachen", propOrder = { + "rtNummer", + "rtCode", + "rtText" +}) +@XmlSeeAlso({ + RechtstatsachenErsb.class, + RechtstatsachenVollzug.class +}) +public abstract class Rechtstatsachen { + + @XmlElement(name = "RT_Nummer") + protected String rtNummer; + @XmlElement(name = "RT_Code") + protected String rtCode; + @XmlElement(name = "RT_Text") + protected String rtText; + + /** + * Gets the value of the rtNummer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRTNummer() { + return rtNummer; + } + + /** + * Sets the value of the rtNummer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRTNummer(String value) { + this.rtNummer = value; + } + + /** + * Gets the value of the rtCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRTCode() { + return rtCode; + } + + /** + * Sets the value of the rtCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRTCode(String value) { + this.rtCode = value; + } + + /** + * Gets the value of the rtText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRTText() { + return rtText; + } + + /** + * Sets the value of the rtText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRTText(String value) { + this.rtText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/RechtstatsachenVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/RechtstatsachenVollzug.java new file mode 100644 index 0000000..b6f06bd --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/RechtstatsachenVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RechtstatsachenVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RechtstatsachenVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtstatsachen"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RechtstatsachenVollzug") +public class RechtstatsachenVollzug + extends Rechtstatsachen +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Taetigkeitszeitraum.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Taetigkeitszeitraum.java new file mode 100644 index 0000000..50e4e3d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Taetigkeitszeitraum.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for Taetigkeitszeitraum complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Taetigkeitszeitraum"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="TaetigVon" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="TaetigBis" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Taetigkeitszeitraum", propOrder = { + "taetigVon", + "taetigBis" +}) +@XmlSeeAlso({ + TaetigkeitszeitraumVollzug.class +}) +public abstract class Taetigkeitszeitraum { + + @XmlElement(name = "TaetigVon") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar taetigVon; + @XmlElement(name = "TaetigBis") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar taetigBis; + + /** + * Gets the value of the taetigVon property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTaetigVon() { + return taetigVon; + } + + /** + * Sets the value of the taetigVon property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setTaetigVon(XMLGregorianCalendar value) { + this.taetigVon = value; + } + + /** + * Gets the value of the taetigBis property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTaetigBis() { + return taetigBis; + } + + /** + * Sets the value of the taetigBis property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setTaetigBis(XMLGregorianCalendar value) { + this.taetigBis = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/TaetigkeitszeitraumVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/TaetigkeitszeitraumVollzug.java new file mode 100644 index 0000000..4e2f932 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/TaetigkeitszeitraumVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TaetigkeitszeitraumVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TaetigkeitszeitraumVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Taetigkeitszeitraum"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TaetigkeitszeitraumVollzug") +public class TaetigkeitszeitraumVollzug + extends Taetigkeitszeitraum +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/UntName.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/UntName.java new file mode 100644 index 0000000..c5261e4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/UntName.java @@ -0,0 +1,68 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ersb.UntNameErsb; + + +/** + * <p>Java class for UntName complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="UntName"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="VollerName" type="{http://statistik.at/namespace/ur/simpleTypes/2#}UntNameTyp"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "UntName", propOrder = { + "vollerName" +}) +@XmlSeeAlso({ + UntNameErsb.class, + UntNameVollzug.class +}) +public abstract class UntName { + + @XmlElement(name = "VollerName", required = true) + protected String vollerName; + + /** + * Gets the value of the vollerName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVollerName() { + return vollerName; + } + + /** + * Sets the value of the vollerName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVollerName(String value) { + this.vollerName = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/UntNameVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/UntNameVollzug.java new file mode 100644 index 0000000..0e74bda --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/UntNameVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for UntNameVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="UntNameVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}UntName"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "UntNameVollzug") +public class UntNameVollzug + extends UntName +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Vertretung.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Vertretung.java new file mode 100644 index 0000000..4a8ccbe --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Vertretung.java @@ -0,0 +1,65 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import at.gv.util.xsd.ersb.VertretungErsb; + + +/** + * <p>Java class for Vertretung complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Vertretung"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Vertretung", propOrder = { + "value" +}) +@XmlSeeAlso({ + VertretungErsb.class, + VertretungVollzug.class +}) +public abstract class Vertretung { + + @XmlValue + protected String value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/VertretungVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/VertretungVollzug.java new file mode 100644 index 0000000..80e95cd --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/VertretungVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for VertretungVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VertretungVollzug"> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/stammdaten/2#>Vertretung"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VertretungVollzug") +public class VertretungVollzug + extends Vertretung +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Vollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Vollzug.java new file mode 100644 index 0000000..09d2580 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/Vollzug.java @@ -0,0 +1,209 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import java.math.BigInteger; +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.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; +import at.gv.util.xsd.ur_V2.simpletypes.VollzugStatusTyp; + + +/** + * <p>Java class for Vollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Vollzug"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Antrag" type="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugElem"/> + * <element name="Vollzug" type="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugElem" minOccurs="0"/> + * <element name="Zurueckstellung" type="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugElem" minOccurs="0"/> + * </sequence> + * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="nummer" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * <attribute name="status" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VollzugStatusTyp" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Vollzug", propOrder = { + "antrag", + "vollzug", + "zurueckstellung" +}) +public class Vollzug { + + @XmlElement(name = "Antrag", required = true) + protected VollzugElem antrag; + @XmlElement(name = "Vollzug") + protected VollzugElem vollzug; + @XmlElement(name = "Zurueckstellung") + protected VollzugElem zurueckstellung; + @XmlAttribute(name = "id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "nummer", required = true) + protected BigInteger nummer; + @XmlAttribute(name = "status", required = true) + protected VollzugStatusTyp status; + + /** + * Gets the value of the antrag property. + * + * @return + * possible object is + * {@link VollzugElem } + * + */ + public VollzugElem getAntrag() { + return antrag; + } + + /** + * Sets the value of the antrag property. + * + * @param value + * allowed object is + * {@link VollzugElem } + * + */ + public void setAntrag(VollzugElem value) { + this.antrag = value; + } + + /** + * Gets the value of the vollzug property. + * + * @return + * possible object is + * {@link VollzugElem } + * + */ + public VollzugElem getVollzug() { + return vollzug; + } + + /** + * Sets the value of the vollzug property. + * + * @param value + * allowed object is + * {@link VollzugElem } + * + */ + public void setVollzug(VollzugElem value) { + this.vollzug = value; + } + + /** + * Gets the value of the zurueckstellung property. + * + * @return + * possible object is + * {@link VollzugElem } + * + */ + public VollzugElem getZurueckstellung() { + return zurueckstellung; + } + + /** + * Sets the value of the zurueckstellung property. + * + * @param value + * allowed object is + * {@link VollzugElem } + * + */ + public void setZurueckstellung(VollzugElem value) { + this.zurueckstellung = value; + } + + /** + * 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; + } + + /** + * Gets the value of the nummer property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getNummer() { + return nummer; + } + + /** + * Sets the value of the nummer property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setNummer(BigInteger value) { + this.nummer = value; + } + + /** + * Gets the value of the status property. + * + * @return + * possible object is + * {@link VollzugStatusTyp } + * + */ + public VollzugStatusTyp getStatus() { + return status; + } + + /** + * Sets the value of the status property. + * + * @param value + * allowed object is + * {@link VollzugStatusTyp } + * + */ + public void setStatus(VollzugStatusTyp value) { + this.status = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/VollzugElem.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/VollzugElem.java new file mode 100644 index 0000000..3615e13 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/VollzugElem.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.ur_V2.basicTypes; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for VollzugElem complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VollzugElem"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>date"> + * <attribute name="quelle" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}QuelleTyp" /> + * <attribute name="quText" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VollzugElem", propOrder = { + "value" +}) +public class VollzugElem { + + @XmlValue + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar value; + @XmlAttribute(name = "quelle", required = true) + protected String quelle; + @XmlAttribute(name = "quText", required = true) + @XmlSchemaType(name = "anySimpleType") + protected String quText; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setValue(XMLGregorianCalendar value) { + this.value = value; + } + + /** + * Gets the value of the quelle property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuelle() { + return quelle; + } + + /** + * Sets the value of the quelle property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuelle(String value) { + this.quelle = value; + } + + /** + * Gets the value of the quText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuText() { + return quText; + } + + /** + * Sets the value of the quText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuText(String value) { + this.quText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/package-info.java b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/package-info.java new file mode 100644 index 0000000..50ccabe --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/basicTypes/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.ur_V2.basicTypes; diff --git a/src/main/java/at/gv/util/xsd/ur_V2/pd/AbstractAddressType.java b/src/main/java/at/gv/util/xsd/ur_V2/pd/AbstractAddressType.java new file mode 100644 index 0000000..c6bb275 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/pd/AbstractAddressType.java @@ -0,0 +1,73 @@ + +package at.gv.util.xsd.ur_V2.pd; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +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; + + +/** + * Struktur des Abstrakten Address Elements + * + * + * <p>Java class for AbstractAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractAddressType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractAddressType") +@XmlSeeAlso({ + PostAdresseTyp.class, + TypisiertePostAdresseTyp.class +}) +public class AbstractAddressType { + + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/pd/AbstractPersonType.java b/src/main/java/at/gv/util/xsd/ur_V2/pd/AbstractPersonType.java new file mode 100644 index 0000000..3652c09 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/pd/AbstractPersonType.java @@ -0,0 +1,113 @@ + +package at.gv.util.xsd.ur_V2.pd; + +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.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; + + +/** + * main structure of person data + * + * <p>Java class for AbstractPersonType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractPersonType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice minOccurs="0"> + * <element name="Identification" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}IdentificationType" maxOccurs="unbounded" minOccurs="0"/> + * </choice> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractPersonType", propOrder = { + "identification" +}) +@XmlSeeAlso({ + PersonenDatenTyp.class, + NatuerlichePersonTyp.class, + NichtNatuerlichePersonTyp.class, + PersonenDatenZusatzdatenTyp.class +}) +public class AbstractPersonType { + + @XmlElement(name = "Identification") + protected List<IdentificationType> identification; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the identification property. + * + * <p> + * 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 <CODE>set</CODE> method for the identification property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getIdentification().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link IdentificationType } + * + * + */ + public List<IdentificationType> getIdentification() { + if (identification == null) { + identification = new ArrayList<IdentificationType>(); + } + return this.identification; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/pd/IdentificationType.java b/src/main/java/at/gv/util/xsd/ur_V2/pd/IdentificationType.java new file mode 100644 index 0000000..9247e8e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/pd/IdentificationType.java @@ -0,0 +1,306 @@ + +package at.gv.util.xsd.ur_V2.pd; + +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.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import at.gv.util.xsd.ur_V2.search.QuellenType; + + +/** + * Container für beliebige Identifikationsmerkmale, + * besteht aus Type und Value Unterelementen, aus technischen Gründen + * nur auf Englisch verfügbar + * + * <p>Java class for IdentificationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="IdentificationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Value"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}TypeText" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Beginn" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Ende" minOccurs="0"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IdentificationType", propOrder = { + "value", + "type", + "typeText", + "beginn", + "ende" +}) +public class IdentificationType { + + @XmlElement(name = "Value", required = true) + protected IdentificationType.Value value; + @XmlElement(name = "Type", required = true) + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlElement(name = "TypeText", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected String typeText; + @XmlElement(name = "Beginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected QuellenType beginn; + @XmlElement(name = "Ende", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected QuellenType ende; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link IdentificationType.Value } + * + */ + public IdentificationType.Value getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link IdentificationType.Value } + * + */ + public void setValue(IdentificationType.Value value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the typeText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTypeText() { + return typeText; + } + + /** + * Sets the value of the typeText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTypeText(String value) { + this.typeText = value; + } + + /** + * Gets the value of the beginn property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getBeginn() { + return beginn; + } + + /** + * Sets the value of the beginn property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setBeginn(QuellenType value) { + this.beginn = value; + } + + /** + * Gets the value of the ende property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getEnde() { + return ende; + } + + /** + * Sets the value of the ende property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setEnde(QuellenType value) { + this.ende = value; + } + + /** + * 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; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Value { + + @XmlValue + protected String value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/pd/NatuerlichePersonTyp.java b/src/main/java/at/gv/util/xsd/ur_V2/pd/NatuerlichePersonTyp.java new file mode 100644 index 0000000..d40edf5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/pd/NatuerlichePersonTyp.java @@ -0,0 +1,154 @@ + +package at.gv.util.xsd.ur_V2.pd; + +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.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * entspricht PhysicalPersonType + * + * <p>Java class for NatuerlichePersonTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="NatuerlichePersonTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PersonenName" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}Geburtsdatum" minOccurs="0"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NatuerlichePersonTyp", propOrder = { + "personenName", + "geburtsdatum" +}) +public class NatuerlichePersonTyp + extends AbstractPersonType +{ + + @XmlElement(name = "PersonenName") + protected PersonenNameTyp personenName; + @XmlElement(name = "Geburtsdatum") + protected String geburtsdatum; + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the personenName property. + * + * @return + * possible object is + * {@link PersonenNameTyp } + * + */ + public PersonenNameTyp getPersonenName() { + return personenName; + } + + /** + * Sets the value of the personenName property. + * + * @param value + * allowed object is + * {@link PersonenNameTyp } + * + */ + public void setPersonenName(PersonenNameTyp value) { + this.personenName = value; + } + + /** + * Gets the value of the geburtsdatum property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGeburtsdatum() { + return geburtsdatum; + } + + /** + * Sets the value of the geburtsdatum property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGeburtsdatum(String value) { + this.geburtsdatum = value; + } + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/pd/NichtNatuerlichePersonTyp.java b/src/main/java/at/gv/util/xsd/ur_V2/pd/NichtNatuerlichePersonTyp.java new file mode 100644 index 0000000..850e08c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/pd/NichtNatuerlichePersonTyp.java @@ -0,0 +1,158 @@ + +package at.gv.util.xsd.ur_V2.pd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ur_V2.search.RechtsformVollzug; +import at.gv.util.xsd.ur_V2.search.UntNameVollzug; + + +/** + * entspricht CorporateBodyType + * + * <p>Java class for NichtNatuerlichePersonTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="NichtNatuerlichePersonTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element name="VollerName" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Rechtsform" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}UntName" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtsform" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NichtNatuerlichePersonTyp", propOrder = { + "rest" +}) +public class NichtNatuerlichePersonTyp + extends AbstractPersonType +{ + + @XmlElementRefs({ + @XmlElementRef(name = "UntName", namespace = "http://statistik.at/namespace/ur/stammdaten/2#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "Rechtsform", namespace = "http://statistik.at/namespace/ur/stammdaten/2#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "Rechtsform", namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "VollerName", namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", type = JAXBElement.class, required = false) + }) + protected List<JAXBElement<?>> rest; + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the rest of the content model. + * + * <p> + * You are getting this "catch-all" property because of the following reason: + * The field name "Rechtsform" is used by two different parts of a schema. See: + * line 317 of file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ur_V2/schema/PersonData_URSuche.xsd + * line 306 of file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ur_V2/schema/PersonData_URSuche.xsd + * <p> + * To get rid of this property, apply a property customization to one + * of both of the following declarations to change their names: + * Gets the value of the rest property. + * + * <p> + * 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 <CODE>set</CODE> method for the rest property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRest().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link UntNameVollzug }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link RechtsformVollzug }{@code >} + * + * + */ + public List<JAXBElement<?>> getRest() { + if (rest == null) { + rest = new ArrayList<JAXBElement<?>>(); + } + return this.rest; + } + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/pd/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ur_V2/pd/ObjectFactory.java new file mode 100644 index 0000000..63602f2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/pd/ObjectFactory.java @@ -0,0 +1,294 @@ + +package at.gv.util.xsd.ur_V2.pd; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ur_V2.pd package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Person_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "Person"); + private final static QName _PostAdresse_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "PostAdresse"); + private final static QName _Address_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "Address"); + private final static QName _Geburtsdatum_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "Geburtsdatum"); + private final static QName _NatuerlichePerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "NatuerlichePerson"); + private final static QName _NichtNatuerlichePerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "NichtNatuerlichePerson"); + private final static QName _AbstractPersonData_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "AbstractPersonData"); + private final static QName _TypisiertePostAdresse_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "TypisiertePostAdresse"); + private final static QName _PersonenName_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "PersonenName"); + private final static QName _PersonenDaten_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "PersonenDaten"); + private final static QName _NichtNatuerlichePersonTypRechtsform_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "Rechtsform"); + private final static QName _NichtNatuerlichePersonTypVollerName_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "VollerName"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur_V2.pd + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link IdentificationType } + * + */ + public IdentificationType createIdentificationType() { + return new IdentificationType(); + } + + /** + * Create an instance of {@link PersonenNameTyp } + * + */ + public PersonenNameTyp createPersonenNameTyp() { + return new PersonenNameTyp(); + } + + /** + * Create an instance of {@link PostAdresseTyp } + * + */ + public PostAdresseTyp createPostAdresseTyp() { + return new PostAdresseTyp(); + } + + /** + * Create an instance of {@link PostAdresseTyp.Zustelladresse } + * + */ + public PostAdresseTyp.Zustelladresse createPostAdresseTypZustelladresse() { + return new PostAdresseTyp.Zustelladresse(); + } + + /** + * Create an instance of {@link PersonenDatenTyp } + * + */ + public PersonenDatenTyp createPersonenDatenTyp() { + return new PersonenDatenTyp(); + } + + /** + * Create an instance of {@link AbstractPersonType } + * + */ + public AbstractPersonType createAbstractPersonType() { + return new AbstractPersonType(); + } + + /** + * Create an instance of {@link NatuerlichePersonTyp } + * + */ + public NatuerlichePersonTyp createNatuerlichePersonTyp() { + return new NatuerlichePersonTyp(); + } + + /** + * Create an instance of {@link AbstractAddressType } + * + */ + public AbstractAddressType createAbstractAddressType() { + return new AbstractAddressType(); + } + + /** + * Create an instance of {@link TypisiertePostAdresseTyp } + * + */ + public TypisiertePostAdresseTyp createTypisiertePostAdresseTyp() { + return new TypisiertePostAdresseTyp(); + } + + /** + * Create an instance of {@link NichtNatuerlichePersonTyp } + * + */ + public NichtNatuerlichePersonTyp createNichtNatuerlichePersonTyp() { + return new NichtNatuerlichePersonTyp(); + } + + /** + * Create an instance of {@link PersonenDatenZusatzdatenTyp } + * + */ + public PersonenDatenZusatzdatenTyp createPersonenDatenZusatzdatenTyp() { + return new PersonenDatenZusatzdatenTyp(); + } + + /** + * Create an instance of {@link ZusatzdatenPersonenTyp } + * + */ + public ZusatzdatenPersonenTyp createZusatzdatenPersonenTyp() { + return new ZusatzdatenPersonenTyp(); + } + + /** + * Create an instance of {@link IdentificationType.Value } + * + */ + public IdentificationType.Value createIdentificationTypeValue() { + return new IdentificationType.Value(); + } + + /** + * Create an instance of {@link PersonenNameTyp.Familienname } + * + */ + public PersonenNameTyp.Familienname createPersonenNameTypFamilienname() { + return new PersonenNameTyp.Familienname(); + } + + /** + * Create an instance of {@link PersonenNameTyp.Affix } + * + */ + public PersonenNameTyp.Affix createPersonenNameTypAffix() { + return new PersonenNameTyp.Affix(); + } + + /** + * Create an instance of {@link PostAdresseTyp.Zustelladresse.AdressRegisterEintrag } + * + */ + public PostAdresseTyp.Zustelladresse.AdressRegisterEintrag createPostAdresseTypZustelladresseAdressRegisterEintrag() { + return new PostAdresseTyp.Zustelladresse.AdressRegisterEintrag(); + } + + /** + * Create an instance of {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public PersonenDatenTyp.Zusatzdaten createPersonenDatenTypZusatzdaten() { + return new PersonenDatenTyp.Zusatzdaten(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "Person") + public JAXBElement<AbstractPersonType> createPerson(AbstractPersonType value) { + return new JAXBElement<AbstractPersonType>(_Person_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PostAdresseTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "PostAdresse", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Address") + public JAXBElement<PostAdresseTyp> createPostAdresse(PostAdresseTyp value) { + return new JAXBElement<PostAdresseTyp>(_PostAdresse_QNAME, PostAdresseTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "Address") + public JAXBElement<AbstractAddressType> createAddress(AbstractAddressType value) { + return new JAXBElement<AbstractAddressType>(_Address_QNAME, AbstractAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "Geburtsdatum") + public JAXBElement<String> createGeburtsdatum(String value) { + return new JAXBElement<String>(_Geburtsdatum_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link NatuerlichePersonTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "NatuerlichePerson", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Person") + public JAXBElement<NatuerlichePersonTyp> createNatuerlichePerson(NatuerlichePersonTyp value) { + return new JAXBElement<NatuerlichePersonTyp>(_NatuerlichePerson_QNAME, NatuerlichePersonTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link NichtNatuerlichePersonTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "NichtNatuerlichePerson", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Person") + public JAXBElement<NichtNatuerlichePersonTyp> createNichtNatuerlichePerson(NichtNatuerlichePersonTyp value) { + return new JAXBElement<NichtNatuerlichePersonTyp>(_NichtNatuerlichePerson_QNAME, NichtNatuerlichePersonTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "AbstractPersonData") + public JAXBElement<AbstractPersonType> createAbstractPersonData(AbstractPersonType value) { + return new JAXBElement<AbstractPersonType>(_AbstractPersonData_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TypisiertePostAdresseTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "TypisiertePostAdresse", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "Address") + public JAXBElement<TypisiertePostAdresseTyp> createTypisiertePostAdresse(TypisiertePostAdresseTyp value) { + return new JAXBElement<TypisiertePostAdresseTyp>(_TypisiertePostAdresse_QNAME, TypisiertePostAdresseTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonenNameTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "PersonenName") + public JAXBElement<PersonenNameTyp> createPersonenName(PersonenNameTyp value) { + return new JAXBElement<PersonenNameTyp>(_PersonenName_QNAME, PersonenNameTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonenDatenTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "PersonenDaten", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", substitutionHeadName = "AbstractPersonData") + public JAXBElement<PersonenDatenTyp> createPersonenDaten(PersonenDatenTyp value) { + return new JAXBElement<PersonenDatenTyp>(_PersonenDaten_QNAME, PersonenDatenTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "Rechtsform", scope = NichtNatuerlichePersonTyp.class) + public JAXBElement<String> createNichtNatuerlichePersonTypRechtsform(String value) { + return new JAXBElement<String>(_NichtNatuerlichePersonTypRechtsform_QNAME, String.class, NichtNatuerlichePersonTyp.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "VollerName", scope = NichtNatuerlichePersonTyp.class) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createNichtNatuerlichePersonTypVollerName(String value) { + return new JAXBElement<String>(_NichtNatuerlichePersonTypVollerName_QNAME, String.class, NichtNatuerlichePersonTyp.class, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/pd/PersonenDatenTyp.java b/src/main/java/at/gv/util/xsd/ur_V2/pd/PersonenDatenTyp.java new file mode 100644 index 0000000..ba09c79 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/pd/PersonenDatenTyp.java @@ -0,0 +1,442 @@ + +package at.gv.util.xsd.ur_V2.pd; + +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.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; +import at.gv.util.xsd.ur_V2.search.BestandsnachweisVollzug; +import at.gv.util.xsd.ur_V2.search.BestandszeitraumVollzug; +import at.gv.util.xsd.ur_V2.search.Branche; +import at.gv.util.xsd.ur_V2.search.RechtstatsachenVollzug; +import at.gv.util.xsd.ur_V2.search.VertretungVollzug; +import at.gv.util.xsd.ur_V2.search.Vollzug; + + +/** + * Container um eine Person und ihre Adressen zu + * speichern + * + * <p>Java class for PersonenDatenTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonenDatenTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}NichtNatuerlichePerson"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}TypisiertePostAdresse" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Zusatzdaten" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}AendDat" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Bestandszeitraum" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Bestandsnachweis" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Vertretung" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtstatsachen" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Branche" maxOccurs="unbounded" minOccurs="0"/> + * <element name="PersonenDaten" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PersonenDatenZusatzdatenTyp" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Vollzug" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonenDatenTyp", propOrder = { + "nichtNatuerlichePerson", + "typisiertePostAdresse", + "zusatzdaten" +}) +public class PersonenDatenTyp + extends AbstractPersonType +{ + + @XmlElement(name = "NichtNatuerlichePerson", required = true) + protected NichtNatuerlichePersonTyp nichtNatuerlichePerson; + @XmlElement(name = "TypisiertePostAdresse") + protected List<TypisiertePostAdresseTyp> typisiertePostAdresse; + @XmlElement(name = "Zusatzdaten") + protected PersonenDatenTyp.Zusatzdaten zusatzdaten; + + /** + * Gets the value of the nichtNatuerlichePerson property. + * + * @return + * possible object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public NichtNatuerlichePersonTyp getNichtNatuerlichePerson() { + return nichtNatuerlichePerson; + } + + /** + * Sets the value of the nichtNatuerlichePerson property. + * + * @param value + * allowed object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public void setNichtNatuerlichePerson(NichtNatuerlichePersonTyp value) { + this.nichtNatuerlichePerson = value; + } + + /** + * Gets the value of the typisiertePostAdresse property. + * + * <p> + * 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 <CODE>set</CODE> method for the typisiertePostAdresse property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTypisiertePostAdresse().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TypisiertePostAdresseTyp } + * + * + */ + public List<TypisiertePostAdresseTyp> getTypisiertePostAdresse() { + if (typisiertePostAdresse == null) { + typisiertePostAdresse = new ArrayList<TypisiertePostAdresseTyp>(); + } + return this.typisiertePostAdresse; + } + + /** + * Gets the value of the zusatzdaten property. + * + * @return + * possible object is + * {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public PersonenDatenTyp.Zusatzdaten getZusatzdaten() { + return zusatzdaten; + } + + /** + * Sets the value of the zusatzdaten property. + * + * @param value + * allowed object is + * {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public void setZusatzdaten(PersonenDatenTyp.Zusatzdaten value) { + this.zusatzdaten = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}AendDat" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Bestandszeitraum" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Bestandsnachweis" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Vertretung" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtstatsachen" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Branche" maxOccurs="unbounded" minOccurs="0"/> + * <element name="PersonenDaten" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PersonenDatenZusatzdatenTyp" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Vollzug" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "aendDat", + "bestandszeitraum", + "bestandsnachweis", + "vertretung", + "rechtstatsachen", + "branche", + "personenDaten", + "vollzug" + }) + public static class Zusatzdaten { + + @XmlElement(name = "AendDat", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar aendDat; + @XmlElement(name = "Bestandszeitraum", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<BestandszeitraumVollzug> bestandszeitraum; + @XmlElement(name = "Bestandsnachweis", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<BestandsnachweisVollzug> bestandsnachweis; + @XmlElement(name = "Vertretung", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<VertretungVollzug> vertretung; + @XmlElement(name = "Rechtstatsachen", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<RechtstatsachenVollzug> rechtstatsachen; + @XmlElement(name = "Branche", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<Branche> branche; + @XmlElement(name = "PersonenDaten") + protected List<PersonenDatenZusatzdatenTyp> personenDaten; + @XmlElement(name = "Vollzug", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<Vollzug> vollzug; + + /** + * Gets the value of the aendDat property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getAendDat() { + return aendDat; + } + + /** + * Sets the value of the aendDat property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setAendDat(XMLGregorianCalendar value) { + this.aendDat = value; + } + + /** + * Gets the value of the bestandszeitraum property. + * + * <p> + * 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 <CODE>set</CODE> method for the bestandszeitraum property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBestandszeitraum().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link BestandszeitraumVollzug } + * + * + */ + public List<BestandszeitraumVollzug> getBestandszeitraum() { + if (bestandszeitraum == null) { + bestandszeitraum = new ArrayList<BestandszeitraumVollzug>(); + } + return this.bestandszeitraum; + } + + /** + * Gets the value of the bestandsnachweis property. + * + * <p> + * 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 <CODE>set</CODE> method for the bestandsnachweis property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBestandsnachweis().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link BestandsnachweisVollzug } + * + * + */ + public List<BestandsnachweisVollzug> getBestandsnachweis() { + if (bestandsnachweis == null) { + bestandsnachweis = new ArrayList<BestandsnachweisVollzug>(); + } + return this.bestandsnachweis; + } + + /** + * Gets the value of the vertretung property. + * + * <p> + * 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 <CODE>set</CODE> method for the vertretung property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getVertretung().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link VertretungVollzug } + * + * + */ + public List<VertretungVollzug> getVertretung() { + if (vertretung == null) { + vertretung = new ArrayList<VertretungVollzug>(); + } + return this.vertretung; + } + + /** + * Gets the value of the rechtstatsachen property. + * + * <p> + * 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 <CODE>set</CODE> method for the rechtstatsachen property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRechtstatsachen().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link RechtstatsachenVollzug } + * + * + */ + public List<RechtstatsachenVollzug> getRechtstatsachen() { + if (rechtstatsachen == null) { + rechtstatsachen = new ArrayList<RechtstatsachenVollzug>(); + } + return this.rechtstatsachen; + } + + /** + * Gets the value of the branche property. + * + * <p> + * 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 <CODE>set</CODE> method for the branche property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBranche().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Branche } + * + * + */ + public List<Branche> getBranche() { + if (branche == null) { + branche = new ArrayList<Branche>(); + } + return this.branche; + } + + /** + * Gets the value of the personenDaten property. + * + * <p> + * 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 <CODE>set</CODE> method for the personenDaten property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getPersonenDaten().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonenDatenZusatzdatenTyp } + * + * + */ + public List<PersonenDatenZusatzdatenTyp> getPersonenDaten() { + if (personenDaten == null) { + personenDaten = new ArrayList<PersonenDatenZusatzdatenTyp>(); + } + return this.personenDaten; + } + + /** + * Gets the value of the vollzug property. + * + * <p> + * 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 <CODE>set</CODE> method for the vollzug property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getVollzug().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Vollzug } + * + * + */ + public List<Vollzug> getVollzug() { + if (vollzug == null) { + vollzug = new ArrayList<Vollzug>(); + } + return this.vollzug; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/pd/PersonenDatenZusatzdatenTyp.java b/src/main/java/at/gv/util/xsd/ur_V2/pd/PersonenDatenZusatzdatenTyp.java new file mode 100644 index 0000000..ad27c46 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/pd/PersonenDatenZusatzdatenTyp.java @@ -0,0 +1,160 @@ + +package at.gv.util.xsd.ur_V2.pd; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Container um eine Person und ihre Adressen zu + * speichern + * + * <p>Java class for PersonenDatenZusatzdatenTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonenDatenZusatzdatenTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> + * <sequence> + * <choice minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}NichtNatuerlichePerson"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}NatuerlichePerson"/> + * </choice> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}TypisiertePostAdresse" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Zusatzdaten" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}ZusatzdatenPersonenTyp" minOccurs="0"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonenDatenZusatzdatenTyp", propOrder = { + "nichtNatuerlichePerson", + "natuerlichePerson", + "typisiertePostAdresse", + "zusatzdaten" +}) +public class PersonenDatenZusatzdatenTyp + extends AbstractPersonType +{ + + @XmlElement(name = "NichtNatuerlichePerson") + protected NichtNatuerlichePersonTyp nichtNatuerlichePerson; + @XmlElement(name = "NatuerlichePerson") + protected NatuerlichePersonTyp natuerlichePerson; + @XmlElement(name = "TypisiertePostAdresse") + protected List<TypisiertePostAdresseTyp> typisiertePostAdresse; + @XmlElement(name = "Zusatzdaten") + protected ZusatzdatenPersonenTyp zusatzdaten; + + /** + * Gets the value of the nichtNatuerlichePerson property. + * + * @return + * possible object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public NichtNatuerlichePersonTyp getNichtNatuerlichePerson() { + return nichtNatuerlichePerson; + } + + /** + * Sets the value of the nichtNatuerlichePerson property. + * + * @param value + * allowed object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public void setNichtNatuerlichePerson(NichtNatuerlichePersonTyp value) { + this.nichtNatuerlichePerson = value; + } + + /** + * Gets the value of the natuerlichePerson property. + * + * @return + * possible object is + * {@link NatuerlichePersonTyp } + * + */ + public NatuerlichePersonTyp getNatuerlichePerson() { + return natuerlichePerson; + } + + /** + * Sets the value of the natuerlichePerson property. + * + * @param value + * allowed object is + * {@link NatuerlichePersonTyp } + * + */ + public void setNatuerlichePerson(NatuerlichePersonTyp value) { + this.natuerlichePerson = value; + } + + /** + * Gets the value of the typisiertePostAdresse property. + * + * <p> + * 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 <CODE>set</CODE> method for the typisiertePostAdresse property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTypisiertePostAdresse().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TypisiertePostAdresseTyp } + * + * + */ + public List<TypisiertePostAdresseTyp> getTypisiertePostAdresse() { + if (typisiertePostAdresse == null) { + typisiertePostAdresse = new ArrayList<TypisiertePostAdresseTyp>(); + } + return this.typisiertePostAdresse; + } + + /** + * Gets the value of the zusatzdaten property. + * + * @return + * possible object is + * {@link ZusatzdatenPersonenTyp } + * + */ + public ZusatzdatenPersonenTyp getZusatzdaten() { + return zusatzdaten; + } + + /** + * Sets the value of the zusatzdaten property. + * + * @param value + * allowed object is + * {@link ZusatzdatenPersonenTyp } + * + */ + public void setZusatzdaten(ZusatzdatenPersonenTyp value) { + this.zusatzdaten = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/pd/PersonenNameTyp.java b/src/main/java/at/gv/util/xsd/ur_V2/pd/PersonenNameTyp.java new file mode 100644 index 0000000..bcce00f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/pd/PersonenNameTyp.java @@ -0,0 +1,415 @@ + +package at.gv.util.xsd.ur_V2.pd; + +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.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * entspricht NameType + * + * <p>Java class for PersonenNameTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonenNameTyp"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Vorname" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Familienname"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primaer" default="undefiniert"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="wahr"/> + * <enumeration value="falsch"/> + * <enumeration value="undefiniert"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Affix" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="typ"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="akademischerGrad"/> + * <enumeration value="Adelstitel"/> + * <enumeration value="FamiliennamenAffix"/> + * <enumeration value="Anrede"/> + * <enumeration value="Generation"/> + * <enumeration value="Qualifikation"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonenNameTyp", propOrder = { + "vorname", + "familienname", + "affix" +}) +public class PersonenNameTyp { + + @XmlElement(name = "Vorname", required = true) + protected String vorname; + @XmlElement(name = "Familienname", required = true) + protected PersonenNameTyp.Familienname familienname; + @XmlElement(name = "Affix") + protected List<PersonenNameTyp.Affix> affix; + + /** + * Gets the value of the vorname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVorname() { + return vorname; + } + + /** + * Sets the value of the vorname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVorname(String value) { + this.vorname = value; + } + + /** + * Gets the value of the familienname property. + * + * @return + * possible object is + * {@link PersonenNameTyp.Familienname } + * + */ + public PersonenNameTyp.Familienname getFamilienname() { + return familienname; + } + + /** + * Sets the value of the familienname property. + * + * @param value + * allowed object is + * {@link PersonenNameTyp.Familienname } + * + */ + public void setFamilienname(PersonenNameTyp.Familienname value) { + this.familienname = value; + } + + /** + * Gets the value of the affix property. + * + * <p> + * 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 <CODE>set</CODE> method for the affix property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAffix().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonenNameTyp.Affix } + * + * + */ + public List<PersonenNameTyp.Affix> getAffix() { + if (affix == null) { + affix = new ArrayList<PersonenNameTyp.Affix>(); + } + return this.affix; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="typ"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="akademischerGrad"/> + * <enumeration value="Adelstitel"/> + * <enumeration value="FamiliennamenAffix"/> + * <enumeration value="Anrede"/> + * <enumeration value="Generation"/> + * <enumeration value="Qualifikation"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Affix { + + @XmlValue + protected String value; + @XmlAttribute(name = "typ") + protected String typ; + @XmlAttribute(name = "position") + protected String position; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the typ property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTyp() { + return typ; + } + + /** + * Sets the value of the typ property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTyp(String value) { + this.typ = value; + } + + /** + * Gets the value of the position property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPosition() { + return position; + } + + /** + * Sets the value of the position property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPosition(String value) { + this.position = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primaer" default="undefiniert"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="wahr"/> + * <enumeration value="falsch"/> + * <enumeration value="undefiniert"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Familienname { + + @XmlValue + protected String value; + @XmlAttribute(name = "primaer") + protected String primaer; + @XmlAttribute(name = "prefix") + protected String prefix; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the primaer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrimaer() { + if (primaer == null) { + return "undefiniert"; + } else { + return primaer; + } + } + + /** + * Sets the value of the primaer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrimaer(String value) { + this.primaer = value; + } + + /** + * Gets the value of the prefix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrefix() { + return prefix; + } + + /** + * Sets the value of the prefix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrefix(String value) { + this.prefix = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/pd/PostAdresseTyp.java b/src/main/java/at/gv/util/xsd/ur_V2/pd/PostAdresseTyp.java new file mode 100644 index 0000000..301dc59 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/pd/PostAdresseTyp.java @@ -0,0 +1,477 @@ + +package at.gv.util.xsd.ur_V2.pd; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +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; + + +/** + * entspricht PostalAddressType + * + * <p>Java class for PostAdresseTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PostAdresseTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractAddressType"> + * <sequence> + * <element name="Staatscode" minOccurs="0"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <pattern value="[A-Z]{3}"/> + * </restriction> + * </simpleType> + * </element> + * <element name="Postleitzahl" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Gemeinde" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Gemeindekennziffer" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * <element name="Ortschaft" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Zustelladresse" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Strassenname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Orientierungsnummer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="AdressRegisterEintrag" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Adresscode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7"/> + * <element name="Subcode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string3" minOccurs="0"/> + * <element name="Objektnummer" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PostAdresseTyp", propOrder = { + "staatscode", + "postleitzahl", + "gemeinde", + "gemeindekennziffer", + "ortschaft", + "zustelladresse" +}) +public class PostAdresseTyp + extends AbstractAddressType +{ + + @XmlElement(name = "Staatscode") + protected String staatscode; + @XmlElement(name = "Postleitzahl") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String postleitzahl; + @XmlElement(name = "Gemeinde") + protected String gemeinde; + @XmlElement(name = "Gemeindekennziffer") + protected Object gemeindekennziffer; + @XmlElement(name = "Ortschaft") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String ortschaft; + @XmlElement(name = "Zustelladresse") + protected PostAdresseTyp.Zustelladresse zustelladresse; + + /** + * Gets the value of the staatscode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStaatscode() { + return staatscode; + } + + /** + * Sets the value of the staatscode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStaatscode(String value) { + this.staatscode = value; + } + + /** + * Gets the value of the postleitzahl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostleitzahl() { + return postleitzahl; + } + + /** + * Sets the value of the postleitzahl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostleitzahl(String value) { + this.postleitzahl = value; + } + + /** + * Gets the value of the gemeinde property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGemeinde() { + return gemeinde; + } + + /** + * Sets the value of the gemeinde property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGemeinde(String value) { + this.gemeinde = value; + } + + /** + * Gets the value of the gemeindekennziffer property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getGemeindekennziffer() { + return gemeindekennziffer; + } + + /** + * Sets the value of the gemeindekennziffer property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setGemeindekennziffer(Object value) { + this.gemeindekennziffer = value; + } + + /** + * Gets the value of the ortschaft property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrtschaft() { + return ortschaft; + } + + /** + * Sets the value of the ortschaft property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrtschaft(String value) { + this.ortschaft = value; + } + + /** + * Gets the value of the zustelladresse property. + * + * @return + * possible object is + * {@link PostAdresseTyp.Zustelladresse } + * + */ + public PostAdresseTyp.Zustelladresse getZustelladresse() { + return zustelladresse; + } + + /** + * Sets the value of the zustelladresse property. + * + * @param value + * allowed object is + * {@link PostAdresseTyp.Zustelladresse } + * + */ + public void setZustelladresse(PostAdresseTyp.Zustelladresse value) { + this.zustelladresse = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Strassenname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Orientierungsnummer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="AdressRegisterEintrag" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Adresscode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7"/> + * <element name="Subcode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string3" minOccurs="0"/> + * <element name="Objektnummer" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "strassenname", + "orientierungsnummer", + "adressRegisterEintrag" + }) + public static class Zustelladresse { + + @XmlElement(name = "Strassenname") + protected String strassenname; + @XmlElement(name = "Orientierungsnummer") + protected String orientierungsnummer; + @XmlElement(name = "AdressRegisterEintrag") + protected PostAdresseTyp.Zustelladresse.AdressRegisterEintrag adressRegisterEintrag; + + /** + * Gets the value of the strassenname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStrassenname() { + return strassenname; + } + + /** + * Sets the value of the strassenname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStrassenname(String value) { + this.strassenname = value; + } + + /** + * Gets the value of the orientierungsnummer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrientierungsnummer() { + return orientierungsnummer; + } + + /** + * Sets the value of the orientierungsnummer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrientierungsnummer(String value) { + this.orientierungsnummer = value; + } + + /** + * Gets the value of the adressRegisterEintrag property. + * + * @return + * possible object is + * {@link PostAdresseTyp.Zustelladresse.AdressRegisterEintrag } + * + */ + public PostAdresseTyp.Zustelladresse.AdressRegisterEintrag getAdressRegisterEintrag() { + return adressRegisterEintrag; + } + + /** + * Sets the value of the adressRegisterEintrag property. + * + * @param value + * allowed object is + * {@link PostAdresseTyp.Zustelladresse.AdressRegisterEintrag } + * + */ + public void setAdressRegisterEintrag(PostAdresseTyp.Zustelladresse.AdressRegisterEintrag value) { + this.adressRegisterEintrag = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Adresscode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7"/> + * <element name="Subcode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string3" minOccurs="0"/> + * <element name="Objektnummer" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "adresscode", + "subcode", + "objektnummer" + }) + public static class AdressRegisterEintrag { + + @XmlElement(name = "Adresscode", required = true) + protected String adresscode; + @XmlElement(name = "Subcode") + protected String subcode; + @XmlElement(name = "Objektnummer") + protected String objektnummer; + + /** + * Gets the value of the adresscode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdresscode() { + return adresscode; + } + + /** + * Sets the value of the adresscode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdresscode(String value) { + this.adresscode = value; + } + + /** + * Gets the value of the subcode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSubcode() { + return subcode; + } + + /** + * Sets the value of the subcode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSubcode(String value) { + this.subcode = value; + } + + /** + * Gets the value of the objektnummer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getObjektnummer() { + return objektnummer; + } + + /** + * Sets the value of the objektnummer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setObjektnummer(String value) { + this.objektnummer = value; + } + + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/pd/TypisiertePostAdresseTyp.java b/src/main/java/at/gv/util/xsd/ur_V2/pd/TypisiertePostAdresseTyp.java new file mode 100644 index 0000000..65189fa --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/pd/TypisiertePostAdresseTyp.java @@ -0,0 +1,156 @@ + +package at.gv.util.xsd.ur_V2.pd; + +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.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ur_V2.simpletypes.AdressTyp; + + +/** + * entspricht TypedPostalAddressType + * + * + * <p>Java class for TypisiertePostAdresseTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TypisiertePostAdresseTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractAddressType"> + * <sequence minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PostAdresse"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Typ"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TypisiertePostAdresseTyp", propOrder = { + "postAdresse", + "typ" +}) +public class TypisiertePostAdresseTyp + extends AbstractAddressType +{ + + @XmlElement(name = "PostAdresse") + protected PostAdresseTyp postAdresse; + @XmlElement(name = "Typ", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected AdressTyp typ; + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the postAdresse property. + * + * @return + * possible object is + * {@link PostAdresseTyp } + * + */ + public PostAdresseTyp getPostAdresse() { + return postAdresse; + } + + /** + * Sets the value of the postAdresse property. + * + * @param value + * allowed object is + * {@link PostAdresseTyp } + * + */ + public void setPostAdresse(PostAdresseTyp value) { + this.postAdresse = value; + } + + /** + * Gets the value of the typ property. + * + * @return + * possible object is + * {@link AdressTyp } + * + */ + public AdressTyp getTyp() { + return typ; + } + + /** + * Sets the value of the typ property. + * + * @param value + * allowed object is + * {@link AdressTyp } + * + */ + public void setTyp(AdressTyp value) { + this.typ = value; + } + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/pd/ZusatzdatenPersonenTyp.java b/src/main/java/at/gv/util/xsd/ur_V2/pd/ZusatzdatenPersonenTyp.java new file mode 100644 index 0000000..56d0cf3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/pd/ZusatzdatenPersonenTyp.java @@ -0,0 +1,133 @@ + +package at.gv.util.xsd.ur_V2.pd; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ur_V2.search.FunktionVollzug; +import at.gv.util.xsd.ur_V2.search.RechtstatsachenVollzug; +import at.gv.util.xsd.ur_V2.simpletypes.EvbStatusTyp; + + +/** + * <p>Java class for ZusatzdatenPersonenTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ZusatzdatenPersonenTyp"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}EvbStatus" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Funktion" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtstatsachen" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ZusatzdatenPersonenTyp", propOrder = { + "evbStatus", + "funktion", + "rechtstatsachen" +}) +public class ZusatzdatenPersonenTyp { + + @XmlElement(name = "EvbStatus", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected EvbStatusTyp evbStatus; + @XmlElement(name = "Funktion", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<FunktionVollzug> funktion; + @XmlElement(name = "Rechtstatsachen", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected List<RechtstatsachenVollzug> rechtstatsachen; + + /** + * Gets the value of the evbStatus property. + * + * @return + * possible object is + * {@link EvbStatusTyp } + * + */ + public EvbStatusTyp getEvbStatus() { + return evbStatus; + } + + /** + * Sets the value of the evbStatus property. + * + * @param value + * allowed object is + * {@link EvbStatusTyp } + * + */ + public void setEvbStatus(EvbStatusTyp value) { + this.evbStatus = value; + } + + /** + * Gets the value of the funktion property. + * + * <p> + * 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 <CODE>set</CODE> method for the funktion property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFunktion().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link FunktionVollzug } + * + * + */ + public List<FunktionVollzug> getFunktion() { + if (funktion == null) { + funktion = new ArrayList<FunktionVollzug>(); + } + return this.funktion; + } + + /** + * Gets the value of the rechtstatsachen property. + * + * <p> + * 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 <CODE>set</CODE> method for the rechtstatsachen property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRechtstatsachen().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link RechtstatsachenVollzug } + * + * + */ + public List<RechtstatsachenVollzug> getRechtstatsachen() { + if (rechtstatsachen == null) { + rechtstatsachen = new ArrayList<RechtstatsachenVollzug>(); + } + return this.rechtstatsachen; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/pd/package-info.java b/src/main/java/at/gv/util/xsd/ur_V2/pd/package-info.java new file mode 100644 index 0000000..4f73295 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/pd/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.ur_V2.pd; diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/Bestandsnachweis.java b/src/main/java/at/gv/util/xsd/ur_V2/search/Bestandsnachweis.java new file mode 100644 index 0000000..287d1d7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/Bestandsnachweis.java @@ -0,0 +1,63 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for Bestandsnachweis complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Bestandsnachweis"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Bestandsnachweis", propOrder = { + "value" +}) +@XmlSeeAlso({ + BestandsnachweisVollzug.class +}) +public abstract class Bestandsnachweis { + + @XmlValue + protected String value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/BestandsnachweisVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/search/BestandsnachweisVollzug.java new file mode 100644 index 0000000..d47c8e9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/BestandsnachweisVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for BestandsnachweisVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="BestandsnachweisVollzug"> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/stammdaten/2#>Bestandsnachweis"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BestandsnachweisVollzug") +public class BestandsnachweisVollzug + extends Bestandsnachweis +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/Bestandszeitraum.java b/src/main/java/at/gv/util/xsd/ur_V2/search/Bestandszeitraum.java new file mode 100644 index 0000000..a8180e4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/Bestandszeitraum.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for Bestandszeitraum complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Bestandszeitraum"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="BestandVon" type="{http://www.w3.org/2001/XMLSchema}date"/> + * <element name="BestandBis" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Bestandszeitraum", propOrder = { + "bestandVon", + "bestandBis" +}) +@XmlSeeAlso({ + BestandszeitraumVollzug.class +}) +public abstract class Bestandszeitraum { + + @XmlElement(name = "BestandVon", required = true) + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar bestandVon; + @XmlElement(name = "BestandBis") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar bestandBis; + + /** + * Gets the value of the bestandVon property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getBestandVon() { + return bestandVon; + } + + /** + * Sets the value of the bestandVon property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setBestandVon(XMLGregorianCalendar value) { + this.bestandVon = value; + } + + /** + * Gets the value of the bestandBis property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getBestandBis() { + return bestandBis; + } + + /** + * Sets the value of the bestandBis property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setBestandBis(XMLGregorianCalendar value) { + this.bestandBis = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/BestandszeitraumVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/search/BestandszeitraumVollzug.java new file mode 100644 index 0000000..99fbdff --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/BestandszeitraumVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for BestandszeitraumVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="BestandszeitraumVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Bestandszeitraum"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BestandszeitraumVollzug") +public class BestandszeitraumVollzug + extends Bestandszeitraum +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/Branche.java b/src/main/java/at/gv/util/xsd/ur_V2/search/Branche.java new file mode 100644 index 0000000..625fd87 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/Branche.java @@ -0,0 +1,175 @@ + +package at.gv.util.xsd.ur_V2.search; + +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.XmlType; +import at.gv.util.xsd.ur_V2.simpletypes.OenaceArtTyp; + + +/** + * <p>Java class for Branche complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Branche"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Oenace" type="{http://statistik.at/namespace/ur/stammdaten/2#}OenaceType"/> + * <element name="OenaceText" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Beginn" type="{http://statistik.at/namespace/ur/stammdaten/2#}QuellenType"/> + * <element name="Ende" type="{http://statistik.at/namespace/ur/stammdaten/2#}QuellenType" minOccurs="0"/> + * </sequence> + * <attribute name="art" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OenaceArtTyp" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Branche", propOrder = { + "oenace", + "oenaceText", + "beginn", + "ende" +}) +public class Branche { + + @XmlElement(name = "Oenace", required = true) + protected OenaceType oenace; + @XmlElement(name = "OenaceText", required = true) + protected String oenaceText; + @XmlElement(name = "Beginn", required = true) + protected QuellenType beginn; + @XmlElement(name = "Ende") + protected QuellenType ende; + @XmlAttribute(name = "art", required = true) + protected OenaceArtTyp art; + + /** + * Gets the value of the oenace property. + * + * @return + * possible object is + * {@link OenaceType } + * + */ + public OenaceType getOenace() { + return oenace; + } + + /** + * Sets the value of the oenace property. + * + * @param value + * allowed object is + * {@link OenaceType } + * + */ + public void setOenace(OenaceType value) { + this.oenace = value; + } + + /** + * Gets the value of the oenaceText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOenaceText() { + return oenaceText; + } + + /** + * Sets the value of the oenaceText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOenaceText(String value) { + this.oenaceText = value; + } + + /** + * Gets the value of the beginn property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getBeginn() { + return beginn; + } + + /** + * Sets the value of the beginn property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setBeginn(QuellenType value) { + this.beginn = value; + } + + /** + * Gets the value of the ende property. + * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getEnde() { + return ende; + } + + /** + * Sets the value of the ende property. + * + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setEnde(QuellenType value) { + this.ende = value; + } + + /** + * Gets the value of the art property. + * + * @return + * possible object is + * {@link OenaceArtTyp } + * + */ + public OenaceArtTyp getArt() { + return art; + } + + /** + * Sets the value of the art property. + * + * @param value + * allowed object is + * {@link OenaceArtTyp } + * + */ + public void setArt(OenaceArtTyp value) { + this.art = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/FktRegelTyp.java b/src/main/java/at/gv/util/xsd/ur_V2/search/FktRegelTyp.java new file mode 100644 index 0000000..30d8627 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/FktRegelTyp.java @@ -0,0 +1,126 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for FktRegelTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FktRegelTyp"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FktRegelVon" type="{http://www.w3.org/2001/XMLSchema}date"/> + * <element name="FktRegelBis" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="FktRegelText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FktRegelTextTyp"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FktRegelTyp", propOrder = { + "fktRegelVon", + "fktRegelBis", + "fktRegelText" +}) +@XmlSeeAlso({ + FktRegelTypVollzug.class +}) +public abstract class FktRegelTyp { + + @XmlElement(name = "FktRegelVon", required = true) + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar fktRegelVon; + @XmlElement(name = "FktRegelBis") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar fktRegelBis; + @XmlElement(name = "FktRegelText", required = true) + protected String fktRegelText; + + /** + * Gets the value of the fktRegelVon property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getFktRegelVon() { + return fktRegelVon; + } + + /** + * Sets the value of the fktRegelVon property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setFktRegelVon(XMLGregorianCalendar value) { + this.fktRegelVon = value; + } + + /** + * Gets the value of the fktRegelBis property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getFktRegelBis() { + return fktRegelBis; + } + + /** + * Sets the value of the fktRegelBis property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setFktRegelBis(XMLGregorianCalendar value) { + this.fktRegelBis = value; + } + + /** + * Gets the value of the fktRegelText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFktRegelText() { + return fktRegelText; + } + + /** + * Sets the value of the fktRegelText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFktRegelText(String value) { + this.fktRegelText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/FktRegelTypVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/search/FktRegelTypVollzug.java new file mode 100644 index 0000000..fc5207e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/FktRegelTypVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for FktRegelTypVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FktRegelTypVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}FktRegelTyp"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FktRegelTypVollzug") +public class FktRegelTypVollzug + extends FktRegelTyp +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/Funktion.java b/src/main/java/at/gv/util/xsd/ur_V2/search/Funktion.java new file mode 100644 index 0000000..6166f79 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/Funktion.java @@ -0,0 +1,86 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for Funktion complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Funktion"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FktName" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FunktionTyp"/> + * <element name="FktNameText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FunktionTextTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Funktion", propOrder = { + "fktName", + "fktNameText" +}) +@XmlSeeAlso({ + FunktionVollzug.class +}) +public abstract class Funktion { + + @XmlElement(name = "FktName") + protected int fktName; + @XmlElement(name = "FktNameText") + protected String fktNameText; + + /** + * Gets the value of the fktName property. + * + */ + public int getFktName() { + return fktName; + } + + /** + * Sets the value of the fktName property. + * + */ + public void setFktName(int value) { + this.fktName = value; + } + + /** + * Gets the value of the fktNameText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFktNameText() { + return fktNameText; + } + + /** + * Sets the value of the fktNameText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFktNameText(String value) { + this.fktNameText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/FunktionVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/search/FunktionVollzug.java new file mode 100644 index 0000000..a244c30 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/FunktionVollzug.java @@ -0,0 +1,159 @@ + +package at.gv.util.xsd.ur_V2.search; + +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.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for FunktionVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FunktionVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Funktion"> + * <sequence> + * <element name="FktRegel" type="{http://statistik.at/namespace/ur/stammdaten/2#}FktRegelTypVollzug" minOccurs="0"/> + * <element name="Rechtstatsachen" type="{http://statistik.at/namespace/ur/stammdaten/2#}RechtstatsachenVollzug" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FunktionVollzug", propOrder = { + "fktRegel", + "rechtstatsachen" +}) +public class FunktionVollzug + extends Funktion +{ + + @XmlElement(name = "FktRegel") + protected FktRegelTypVollzug fktRegel; + @XmlElement(name = "Rechtstatsachen") + protected List<RechtstatsachenVollzug> rechtstatsachen; + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the fktRegel property. + * + * @return + * possible object is + * {@link FktRegelTypVollzug } + * + */ + public FktRegelTypVollzug getFktRegel() { + return fktRegel; + } + + /** + * Sets the value of the fktRegel property. + * + * @param value + * allowed object is + * {@link FktRegelTypVollzug } + * + */ + public void setFktRegel(FktRegelTypVollzug value) { + this.fktRegel = value; + } + + /** + * Gets the value of the rechtstatsachen property. + * + * <p> + * 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 <CODE>set</CODE> method for the rechtstatsachen property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRechtstatsachen().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link RechtstatsachenVollzug } + * + * + */ + public List<RechtstatsachenVollzug> getRechtstatsachen() { + if (rechtstatsachen == null) { + rechtstatsachen = new ArrayList<RechtstatsachenVollzug>(); + } + return this.rechtstatsachen; + } + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ur_V2/search/ObjectFactory.java new file mode 100644 index 0000000..dcdcfd1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/ObjectFactory.java @@ -0,0 +1,436 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; +import at.gv.util.xsd.ur_V2.simpletypes.AdressTyp; +import at.gv.util.xsd.ur_V2.simpletypes.EvbStatusTyp; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ur_V2.search package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _SucheUnternehmenRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "SucheUnternehmenRequest"); + private final static QName _URVPdf_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "URV_pdf"); + private final static QName _Rechtstatsachen_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Rechtstatsachen"); + private final static QName _Typ_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Typ"); + private final static QName _Rechtsform_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Rechtsform"); + private final static QName _Ende_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Ende"); + private final static QName _Vollzug_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Vollzug"); + private final static QName _Beginn_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Beginn"); + private final static QName _Branche_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Branche"); + private final static QName _ErsbAttribute_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "ErsbAttribute"); + private final static QName _BpkWTUR_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "bpkWTUR"); + private final static QName _AendDat_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "AendDat"); + private final static QName _SucheUnternehmenNachIdsRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "SucheUnternehmenNachIdsRequest"); + private final static QName _SucheUnternehmenNachIdRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "SucheUnternehmenNachIdRequest"); + private final static QName _Bestandsnachweis_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Bestandsnachweis"); + private final static QName _Vertretung_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Vertretung"); + private final static QName _Bestandszeitraum_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Bestandszeitraum"); + private final static QName _EvbStatus_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "EvbStatus"); + private final static QName _SucheUnternehmenNachBpkRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "SucheUnternehmenNachBpkRequest"); + private final static QName _TypeText_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "TypeText"); + private final static QName _Funktion_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "Funktion"); + private final static QName _SucheUnternehmenNachAendDatRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "SucheUnternehmenNachAendDatRequest"); + private final static QName _UntName_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/2#", "UntName"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur_V2.search + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link QuellenType } + * + */ + public QuellenType createQuellenType() { + return new QuellenType(); + } + + /** + * Create an instance of {@link SucheUnternehmenNachBpkRequest } + * + */ + public SucheUnternehmenNachBpkRequest createSucheUnternehmenNachBpkRequest() { + return new SucheUnternehmenNachBpkRequest(); + } + + /** + * Create an instance of {@link UntNameVollzug } + * + */ + public UntNameVollzug createUntNameVollzug() { + return new UntNameVollzug(); + } + + /** + * Create an instance of {@link SucheUnternehmenNachIdsRequest } + * + */ + public SucheUnternehmenNachIdsRequest createSucheUnternehmenNachIdsRequest() { + return new SucheUnternehmenNachIdsRequest(); + } + + /** + * Create an instance of {@link SucheUnternehmenNachAendDatRequest } + * + */ + public SucheUnternehmenNachAendDatRequest createSucheUnternehmenNachAendDatRequest() { + return new SucheUnternehmenNachAendDatRequest(); + } + + /** + * Create an instance of {@link RechtsformVollzug } + * + */ + public RechtsformVollzug createRechtsformVollzug() { + return new RechtsformVollzug(); + } + + /** + * Create an instance of {@link RechtstatsachenVollzug } + * + */ + public RechtstatsachenVollzug createRechtstatsachenVollzug() { + return new RechtstatsachenVollzug(); + } + + /** + * Create an instance of {@link BestandszeitraumVollzug } + * + */ + public BestandszeitraumVollzug createBestandszeitraumVollzug() { + return new BestandszeitraumVollzug(); + } + + /** + * Create an instance of {@link Branche } + * + */ + public Branche createBranche() { + return new Branche(); + } + + /** + * Create an instance of {@link VertretungVollzug } + * + */ + public VertretungVollzug createVertretungVollzug() { + return new VertretungVollzug(); + } + + /** + * Create an instance of {@link Vollzug } + * + */ + public Vollzug createVollzug() { + return new Vollzug(); + } + + /** + * Create an instance of {@link BestandsnachweisVollzug } + * + */ + public BestandsnachweisVollzug createBestandsnachweisVollzug() { + return new BestandsnachweisVollzug(); + } + + /** + * Create an instance of {@link SucheUnternehmenNachIdRequest } + * + */ + public SucheUnternehmenNachIdRequest createSucheUnternehmenNachIdRequest() { + return new SucheUnternehmenNachIdRequest(); + } + + /** + * Create an instance of {@link SucheUnternehmenRequest } + * + */ + public SucheUnternehmenRequest createSucheUnternehmenRequest() { + return new SucheUnternehmenRequest(); + } + + /** + * Create an instance of {@link FunktionVollzug } + * + */ + public FunktionVollzug createFunktionVollzug() { + return new FunktionVollzug(); + } + + /** + * Create an instance of {@link SucheUnternehmensdaten } + * + */ + public SucheUnternehmensdaten createSucheUnternehmensdaten() { + return new SucheUnternehmensdaten(); + } + + /** + * Create an instance of {@link OenaceType } + * + */ + public OenaceType createOenaceType() { + return new OenaceType(); + } + + /** + * Create an instance of {@link VollzugElem } + * + */ + public VollzugElem createVollzugElem() { + return new VollzugElem(); + } + + /** + * Create an instance of {@link SucheBranche } + * + */ + public SucheBranche createSucheBranche() { + return new SucheBranche(); + } + + /** + * Create an instance of {@link FktRegelTypVollzug } + * + */ + public FktRegelTypVollzug createFktRegelTypVollzug() { + return new FktRegelTypVollzug(); + } + + /** + * Create an instance of {@link SuchePersonendaten } + * + */ + public SuchePersonendaten createSuchePersonendaten() { + return new SuchePersonendaten(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "SucheUnternehmenRequest") + public JAXBElement<SucheUnternehmenRequest> createSucheUnternehmenRequest(SucheUnternehmenRequest value) { + return new JAXBElement<SucheUnternehmenRequest>(_SucheUnternehmenRequest_QNAME, SucheUnternehmenRequest.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "URV_pdf") + public JAXBElement<byte[]> createURVPdf(byte[] value) { + return new JAXBElement<byte[]>(_URVPdf_QNAME, byte[].class, null, ((byte[]) value)); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RechtstatsachenVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Rechtstatsachen") + public JAXBElement<RechtstatsachenVollzug> createRechtstatsachen(RechtstatsachenVollzug value) { + return new JAXBElement<RechtstatsachenVollzug>(_Rechtstatsachen_QNAME, RechtstatsachenVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AdressTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Typ") + public JAXBElement<AdressTyp> createTyp(AdressTyp value) { + return new JAXBElement<AdressTyp>(_Typ_QNAME, AdressTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RechtsformVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Rechtsform") + public JAXBElement<RechtsformVollzug> createRechtsform(RechtsformVollzug value) { + return new JAXBElement<RechtsformVollzug>(_Rechtsform_QNAME, RechtsformVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link QuellenType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Ende") + public JAXBElement<QuellenType> createEnde(QuellenType value) { + return new JAXBElement<QuellenType>(_Ende_QNAME, QuellenType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Vollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Vollzug") + public JAXBElement<Vollzug> createVollzug(Vollzug value) { + return new JAXBElement<Vollzug>(_Vollzug_QNAME, Vollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link QuellenType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Beginn") + public JAXBElement<QuellenType> createBeginn(QuellenType value) { + return new JAXBElement<QuellenType>(_Beginn_QNAME, QuellenType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Branche }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Branche") + public JAXBElement<Branche> createBranche(Branche value) { + return new JAXBElement<Branche>(_Branche_QNAME, Branche.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "ErsbAttribute", defaultValue = "false") + public JAXBElement<Boolean> createErsbAttribute(Boolean value) { + return new JAXBElement<Boolean>(_ErsbAttribute_QNAME, Boolean.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "bpkWTUR") + public JAXBElement<String> createBpkWTUR(String value) { + return new JAXBElement<String>(_BpkWTUR_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "AendDat") + public JAXBElement<XMLGregorianCalendar> createAendDat(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_AendDat_QNAME, XMLGregorianCalendar.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachIdsRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "SucheUnternehmenNachIdsRequest") + public JAXBElement<SucheUnternehmenNachIdsRequest> createSucheUnternehmenNachIdsRequest(SucheUnternehmenNachIdsRequest value) { + return new JAXBElement<SucheUnternehmenNachIdsRequest>(_SucheUnternehmenNachIdsRequest_QNAME, SucheUnternehmenNachIdsRequest.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachIdRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "SucheUnternehmenNachIdRequest") + public JAXBElement<SucheUnternehmenNachIdRequest> createSucheUnternehmenNachIdRequest(SucheUnternehmenNachIdRequest value) { + return new JAXBElement<SucheUnternehmenNachIdRequest>(_SucheUnternehmenNachIdRequest_QNAME, SucheUnternehmenNachIdRequest.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BestandsnachweisVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Bestandsnachweis") + public JAXBElement<BestandsnachweisVollzug> createBestandsnachweis(BestandsnachweisVollzug value) { + return new JAXBElement<BestandsnachweisVollzug>(_Bestandsnachweis_QNAME, BestandsnachweisVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VertretungVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Vertretung") + public JAXBElement<VertretungVollzug> createVertretung(VertretungVollzug value) { + return new JAXBElement<VertretungVollzug>(_Vertretung_QNAME, VertretungVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BestandszeitraumVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Bestandszeitraum") + public JAXBElement<BestandszeitraumVollzug> createBestandszeitraum(BestandszeitraumVollzug value) { + return new JAXBElement<BestandszeitraumVollzug>(_Bestandszeitraum_QNAME, BestandszeitraumVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EvbStatusTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "EvbStatus") + public JAXBElement<EvbStatusTyp> createEvbStatus(EvbStatusTyp value) { + return new JAXBElement<EvbStatusTyp>(_EvbStatus_QNAME, EvbStatusTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachBpkRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "SucheUnternehmenNachBpkRequest") + public JAXBElement<SucheUnternehmenNachBpkRequest> createSucheUnternehmenNachBpkRequest(SucheUnternehmenNachBpkRequest value) { + return new JAXBElement<SucheUnternehmenNachBpkRequest>(_SucheUnternehmenNachBpkRequest_QNAME, SucheUnternehmenNachBpkRequest.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "TypeText") + public JAXBElement<String> createTypeText(String value) { + return new JAXBElement<String>(_TypeText_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link FunktionVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "Funktion") + public JAXBElement<FunktionVollzug> createFunktion(FunktionVollzug value) { + return new JAXBElement<FunktionVollzug>(_Funktion_QNAME, FunktionVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachAendDatRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "SucheUnternehmenNachAendDatRequest") + public JAXBElement<SucheUnternehmenNachAendDatRequest> createSucheUnternehmenNachAendDatRequest(SucheUnternehmenNachAendDatRequest value) { + return new JAXBElement<SucheUnternehmenNachAendDatRequest>(_SucheUnternehmenNachAendDatRequest_QNAME, SucheUnternehmenNachAendDatRequest.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link UntNameVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", name = "UntName") + public JAXBElement<UntNameVollzug> createUntName(UntNameVollzug value) { + return new JAXBElement<UntNameVollzug>(_UntName_QNAME, UntNameVollzug.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/OenaceType.java b/src/main/java/at/gv/util/xsd/ur_V2/search/OenaceType.java new file mode 100644 index 0000000..75341fc --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/OenaceType.java @@ -0,0 +1,81 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for OenaceType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="OenaceType"> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/simpleTypes/2#>OenaceCodeTyp"> + * <attribute name="jahr" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OenaceJahrTyp" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "OenaceType", propOrder = { + "value" +}) +public class OenaceType { + + @XmlValue + protected String value; + @XmlAttribute(name = "jahr", required = true) + protected int jahr; + + /** + * + * ÖNACE - Branchenkennzahl + * + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the jahr property. + * + */ + public int getJahr() { + return jahr; + } + + /** + * Sets the value of the jahr property. + * + */ + public void setJahr(int value) { + this.jahr = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/QuellenType.java b/src/main/java/at/gv/util/xsd/ur_V2/search/QuellenType.java new file mode 100644 index 0000000..458ba9d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/QuellenType.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for QuellenType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="QuellenType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>date"> + * <attribute name="quelle" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}QuelleTyp" /> + * <attribute name="quText" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "QuellenType", propOrder = { + "value" +}) +public class QuellenType { + + @XmlValue + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar value; + @XmlAttribute(name = "quelle", required = true) + protected String quelle; + @XmlAttribute(name = "quText", required = true) + @XmlSchemaType(name = "anySimpleType") + protected String quText; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setValue(XMLGregorianCalendar value) { + this.value = value; + } + + /** + * Gets the value of the quelle property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuelle() { + return quelle; + } + + /** + * Sets the value of the quelle property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuelle(String value) { + this.quelle = value; + } + + /** + * Gets the value of the quText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuText() { + return quText; + } + + /** + * Sets the value of the quText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuText(String value) { + this.quText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/Rechtsform.java b/src/main/java/at/gv/util/xsd/ur_V2/search/Rechtsform.java new file mode 100644 index 0000000..341094d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/Rechtsform.java @@ -0,0 +1,142 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for Rechtsform complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Rechtsform"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ReForm" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTyp" minOccurs="0"/> + * <element name="ReFormText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTextTyp" minOccurs="0"/> + * <element name="ReFormExtern" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTyp"/> + * <element name="ReFormExternText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTextTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Rechtsform", propOrder = { + "reForm", + "reFormText", + "reFormExtern", + "reFormExternText" +}) +@XmlSeeAlso({ + RechtsformVollzug.class +}) +public abstract class Rechtsform { + + @XmlElement(name = "ReForm") + protected Integer reForm; + @XmlElement(name = "ReFormText") + protected String reFormText; + @XmlElement(name = "ReFormExtern") + protected int reFormExtern; + @XmlElement(name = "ReFormExternText") + protected String reFormExternText; + + /** + * Gets the value of the reForm property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getReForm() { + return reForm; + } + + /** + * Sets the value of the reForm property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setReForm(Integer value) { + this.reForm = value; + } + + /** + * Gets the value of the reFormText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReFormText() { + return reFormText; + } + + /** + * Sets the value of the reFormText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReFormText(String value) { + this.reFormText = value; + } + + /** + * Gets the value of the reFormExtern property. + * + */ + public int getReFormExtern() { + return reFormExtern; + } + + /** + * Sets the value of the reFormExtern property. + * + */ + public void setReFormExtern(int value) { + this.reFormExtern = value; + } + + /** + * Gets the value of the reFormExternText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReFormExternText() { + return reFormExternText; + } + + /** + * Sets the value of the reFormExternText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReFormExternText(String value) { + this.reFormExternText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/RechtsformVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/search/RechtsformVollzug.java new file mode 100644 index 0000000..ed2aa94 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/RechtsformVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RechtsformVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RechtsformVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtsform"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RechtsformVollzug") +public class RechtsformVollzug + extends Rechtsform +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/Rechtstatsachen.java b/src/main/java/at/gv/util/xsd/ur_V2/search/Rechtstatsachen.java new file mode 100644 index 0000000..b0c0b05 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/Rechtstatsachen.java @@ -0,0 +1,122 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for Rechtstatsachen complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Rechtstatsachen"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="RT_Nummer" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RT_NummerTyp" minOccurs="0"/> + * <element name="RT_Code" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RT_CodeTyp" minOccurs="0"/> + * <element name="RT_Text" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Rechtstatsachen", propOrder = { + "rtNummer", + "rtCode", + "rtText" +}) +@XmlSeeAlso({ + RechtstatsachenVollzug.class +}) +public abstract class Rechtstatsachen { + + @XmlElement(name = "RT_Nummer") + protected String rtNummer; + @XmlElement(name = "RT_Code") + protected String rtCode; + @XmlElement(name = "RT_Text") + protected String rtText; + + /** + * Gets the value of the rtNummer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRTNummer() { + return rtNummer; + } + + /** + * Sets the value of the rtNummer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRTNummer(String value) { + this.rtNummer = value; + } + + /** + * Gets the value of the rtCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRTCode() { + return rtCode; + } + + /** + * Sets the value of the rtCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRTCode(String value) { + this.rtCode = value; + } + + /** + * Gets the value of the rtText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRTText() { + return rtText; + } + + /** + * Sets the value of the rtText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRTText(String value) { + this.rtText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/RechtstatsachenVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/search/RechtstatsachenVollzug.java new file mode 100644 index 0000000..6be4703 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/RechtstatsachenVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RechtstatsachenVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RechtstatsachenVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}Rechtstatsachen"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RechtstatsachenVollzug") +public class RechtstatsachenVollzug + extends Rechtstatsachen +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/SucheBranche.java b/src/main/java/at/gv/util/xsd/ur_V2/search/SucheBranche.java new file mode 100644 index 0000000..04cb553 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/SucheBranche.java @@ -0,0 +1,115 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ur_V2.simpletypes.OenaceArtTyp; + + +/** + * <p>Java class for SucheBranche complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheBranche"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="oenaceJahr" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OenaceJahrTyp" minOccurs="0"/> + * <element name="oenaceCode" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OenaceCodeTyp" minOccurs="0"/> + * <element name="oenaceArt" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OenaceArtTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheBranche", propOrder = { + "oenaceJahr", + "oenaceCode", + "oenaceArt" +}) +public class SucheBranche { + + protected Integer oenaceJahr; + protected String oenaceCode; + protected OenaceArtTyp oenaceArt; + + /** + * Gets the value of the oenaceJahr property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getOenaceJahr() { + return oenaceJahr; + } + + /** + * Sets the value of the oenaceJahr property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setOenaceJahr(Integer value) { + this.oenaceJahr = value; + } + + /** + * Gets the value of the oenaceCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOenaceCode() { + return oenaceCode; + } + + /** + * Sets the value of the oenaceCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOenaceCode(String value) { + this.oenaceCode = value; + } + + /** + * Gets the value of the oenaceArt property. + * + * @return + * possible object is + * {@link OenaceArtTyp } + * + */ + public OenaceArtTyp getOenaceArt() { + return oenaceArt; + } + + /** + * Sets the value of the oenaceArt property. + * + * @param value + * allowed object is + * {@link OenaceArtTyp } + * + */ + public void setOenaceArt(OenaceArtTyp value) { + this.oenaceArt = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/SuchePersonendaten.java b/src/main/java/at/gv/util/xsd/ur_V2/search/SuchePersonendaten.java new file mode 100644 index 0000000..aa890e6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/SuchePersonendaten.java @@ -0,0 +1,360 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for SuchePersonendaten complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SuchePersonendaten"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="phonetisch" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="nachname" type="{http://statistik.at/namespace/ur/simpleTypes/2#}NachnameTyp" minOccurs="0"/> + * <element name="vorname" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VornameTyp" minOccurs="0"/> + * <element name="gebDatum" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="strasse" type="{http://statistik.at/namespace/ur/simpleTypes/2#}StrasseTyp" minOccurs="0"/> + * <element name="hNr" type="{http://statistik.at/namespace/ur/simpleTypes/2#}HNrTyp" minOccurs="0"/> + * <element name="ort" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OrtTyp" minOccurs="0"/> + * <element name="gemnr" type="{http://statistik.at/namespace/ur/simpleTypes/2#}GemnrTyp" minOccurs="0"/> + * <element name="plz" type="{http://statistik.at/namespace/ur/simpleTypes/2#}PlzTyp" minOccurs="0"/> + * <element name="land" type="{http://statistik.at/namespace/ur/simpleTypes/2#}LandTyp" minOccurs="0"/> + * <element name="stammzahl" type="{http://statistik.at/namespace/ur/simpleTypes/2#}IdTyp" minOccurs="0"/> + * <element name="stammregister" type="{http://statistik.at/namespace/ur/simpleTypes/2#}IdArtTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SuchePersonendaten", propOrder = { + "phonetisch", + "nachname", + "vorname", + "gebDatum", + "strasse", + "hNr", + "ort", + "gemnr", + "plz", + "land", + "stammzahl", + "stammregister" +}) +public class SuchePersonendaten { + + protected Boolean phonetisch; + protected String nachname; + protected String vorname; + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar gebDatum; + protected String strasse; + protected String hNr; + protected String ort; + protected Integer gemnr; + protected String plz; + protected String land; + protected String stammzahl; + protected String stammregister; + + /** + * Gets the value of the phonetisch property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isPhonetisch() { + return phonetisch; + } + + /** + * Sets the value of the phonetisch property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setPhonetisch(Boolean value) { + this.phonetisch = value; + } + + /** + * Gets the value of the nachname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNachname() { + return nachname; + } + + /** + * Sets the value of the nachname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNachname(String value) { + this.nachname = value; + } + + /** + * Gets the value of the vorname property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVorname() { + return vorname; + } + + /** + * Sets the value of the vorname property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVorname(String value) { + this.vorname = value; + } + + /** + * Gets the value of the gebDatum property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getGebDatum() { + return gebDatum; + } + + /** + * Sets the value of the gebDatum property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setGebDatum(XMLGregorianCalendar value) { + this.gebDatum = value; + } + + /** + * Gets the value of the strasse property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStrasse() { + return strasse; + } + + /** + * Sets the value of the strasse property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStrasse(String value) { + this.strasse = value; + } + + /** + * Gets the value of the hNr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHNr() { + return hNr; + } + + /** + * Sets the value of the hNr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHNr(String value) { + this.hNr = value; + } + + /** + * Gets the value of the ort property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrt() { + return ort; + } + + /** + * Sets the value of the ort property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrt(String value) { + this.ort = value; + } + + /** + * Gets the value of the gemnr property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getGemnr() { + return gemnr; + } + + /** + * Sets the value of the gemnr property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setGemnr(Integer value) { + this.gemnr = value; + } + + /** + * Gets the value of the plz property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlz() { + return plz; + } + + /** + * Sets the value of the plz property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlz(String value) { + this.plz = value; + } + + /** + * Gets the value of the land property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLand() { + return land; + } + + /** + * Sets the value of the land property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLand(String value) { + this.land = value; + } + + /** + * Gets the value of the stammzahl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStammzahl() { + return stammzahl; + } + + /** + * Sets the value of the stammzahl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStammzahl(String value) { + this.stammzahl = value; + } + + /** + * Gets the value of the stammregister property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStammregister() { + return stammregister; + } + + /** + * Sets the value of the stammregister property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStammregister(String value) { + this.stammregister = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmenNachAendDatRequest.java b/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmenNachAendDatRequest.java new file mode 100644 index 0000000..0729e11 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmenNachAendDatRequest.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for SucheUnternehmenNachAendDatRequest complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheUnternehmenNachAendDatRequest"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VersionTyp" minOccurs="0"/> + * <element name="aendDat" type="{http://www.w3.org/2001/XMLSchema}date"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheUnternehmenNachAendDatRequest", propOrder = { + "version", + "aendDat" +}) +public class SucheUnternehmenNachAendDatRequest { + + protected String version; + @XmlElement(required = true) + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar aendDat; + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the aendDat property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getAendDat() { + return aendDat; + } + + /** + * Sets the value of the aendDat property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setAendDat(XMLGregorianCalendar value) { + this.aendDat = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmenNachBpkRequest.java b/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmenNachBpkRequest.java new file mode 100644 index 0000000..cc5645e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmenNachBpkRequest.java @@ -0,0 +1,143 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SucheUnternehmenNachBpkRequest complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheUnternehmenNachBpkRequest"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VersionTyp" minOccurs="0"/> + * <choice> + * <element name="bpkWTUR" type="{http://statistik.at/namespace/ur/simpleTypes/2#}BpkTyp"/> + * <element name="bpkWTUREncoded" type="{http://statistik.at/namespace/ur/simpleTypes/2#}BpkEncodedTyp"/> + * </choice> + * <element name="nurAktive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheUnternehmenNachBpkRequest", propOrder = { + "version", + "bpkWTUR", + "bpkWTUREncoded", + "nurAktive" +}) +public class SucheUnternehmenNachBpkRequest { + + protected String version; + protected String bpkWTUR; + protected String bpkWTUREncoded; + protected Boolean nurAktive; + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the bpkWTUR property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBpkWTUR() { + return bpkWTUR; + } + + /** + * Sets the value of the bpkWTUR property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBpkWTUR(String value) { + this.bpkWTUR = value; + } + + /** + * Gets the value of the bpkWTUREncoded property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBpkWTUREncoded() { + return bpkWTUREncoded; + } + + /** + * Sets the value of the bpkWTUREncoded property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBpkWTUREncoded(String value) { + this.bpkWTUREncoded = value; + } + + /** + * Gets the value of the nurAktive property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isNurAktive() { + return nurAktive; + } + + /** + * Sets the value of the nurAktive property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setNurAktive(Boolean value) { + this.nurAktive = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmenNachIdRequest.java b/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmenNachIdRequest.java new file mode 100644 index 0000000..8aaa9e0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmenNachIdRequest.java @@ -0,0 +1,277 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; +import at.gv.util.xsd.ur_V2.simpletypes.ErgebnisVollzugStatusTyp; + + +/** + * <p>Java class for SucheUnternehmenNachIdRequest complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheUnternehmenNachIdRequest"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VersionTyp" minOccurs="0"/> + * <choice> + * <element name="kur" type="{http://statistik.at/namespace/ur/simpleTypes/2#}KurTyp"/> + * <element name="fbn" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FbnTyp"/> + * <element name="zvr" type="{http://statistik.at/namespace/ur/simpleTypes/2#}ZvrTyp"/> + * <element name="erj" type="{http://statistik.at/namespace/ur/simpleTypes/2#}ErjTyp"/> + * </choice> + * <element name="URV_pdf" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="stichtag" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="mitHistorie" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="vollzugStatus" type="{http://statistik.at/namespace/ur/simpleTypes/2#}ErgebnisVollzugStatusTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheUnternehmenNachIdRequest", propOrder = { + "version", + "kur", + "fbn", + "zvr", + "erj", + "urvPdf", + "stichtag", + "mitHistorie", + "vollzugStatus" +}) +public class SucheUnternehmenNachIdRequest { + + protected String version; + protected String kur; + protected String fbn; + protected String zvr; + protected String erj; + @XmlElement(name = "URV_pdf", defaultValue = "false") + protected Boolean urvPdf; + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar stichtag; + @XmlElement(defaultValue = "false") + protected boolean mitHistorie; + protected ErgebnisVollzugStatusTyp vollzugStatus; + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the kur property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKur() { + return kur; + } + + /** + * Sets the value of the kur property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKur(String value) { + this.kur = value; + } + + /** + * Gets the value of the fbn property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFbn() { + return fbn; + } + + /** + * Sets the value of the fbn property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFbn(String value) { + this.fbn = value; + } + + /** + * Gets the value of the zvr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getZvr() { + return zvr; + } + + /** + * Sets the value of the zvr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setZvr(String value) { + this.zvr = value; + } + + /** + * Gets the value of the erj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getErj() { + return erj; + } + + /** + * Sets the value of the erj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setErj(String value) { + this.erj = value; + } + + /** + * Gets the value of the urvPdf property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isURVPdf() { + return urvPdf; + } + + /** + * Sets the value of the urvPdf property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setURVPdf(Boolean value) { + this.urvPdf = value; + } + + /** + * Gets the value of the stichtag property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getStichtag() { + return stichtag; + } + + /** + * Sets the value of the stichtag property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setStichtag(XMLGregorianCalendar value) { + this.stichtag = value; + } + + /** + * Gets the value of the mitHistorie property. + * + */ + public boolean isMitHistorie() { + return mitHistorie; + } + + /** + * Sets the value of the mitHistorie property. + * + */ + public void setMitHistorie(boolean value) { + this.mitHistorie = value; + } + + /** + * Gets the value of the vollzugStatus property. + * + * @return + * possible object is + * {@link ErgebnisVollzugStatusTyp } + * + */ + public ErgebnisVollzugStatusTyp getVollzugStatus() { + return vollzugStatus; + } + + /** + * Sets the value of the vollzugStatus property. + * + * @param value + * allowed object is + * {@link ErgebnisVollzugStatusTyp } + * + */ + public void setVollzugStatus(ErgebnisVollzugStatusTyp value) { + this.vollzugStatus = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmenNachIdsRequest.java b/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmenNachIdsRequest.java new file mode 100644 index 0000000..4ad2dce --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmenNachIdsRequest.java @@ -0,0 +1,218 @@ + +package at.gv.util.xsd.ur_V2.search; + +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.XmlType; +import at.gv.util.xsd.ur_V2.simpletypes.ErgebnisVollzugStatusTyp; + + +/** + * <p>Java class for SucheUnternehmenNachIdsRequest complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheUnternehmenNachIdsRequest"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VersionTyp" minOccurs="0"/> + * <element name="kur" type="{http://statistik.at/namespace/ur/simpleTypes/2#}KurTyp" maxOccurs="unbounded" minOccurs="0"/> + * <element name="fbn" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FbnTyp" maxOccurs="unbounded" minOccurs="0"/> + * <element name="zvr" type="{http://statistik.at/namespace/ur/simpleTypes/2#}ZvrTyp" maxOccurs="unbounded" minOccurs="0"/> + * <element name="erj" type="{http://statistik.at/namespace/ur/simpleTypes/2#}ErjTyp" maxOccurs="unbounded" minOccurs="0"/> + * <element name="vollzugStatus" type="{http://statistik.at/namespace/ur/simpleTypes/2#}ErgebnisVollzugStatusTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheUnternehmenNachIdsRequest", propOrder = { + "version", + "kur", + "fbn", + "zvr", + "erj", + "vollzugStatus" +}) +public class SucheUnternehmenNachIdsRequest { + + protected String version; + protected List<String> kur; + protected List<String> fbn; + protected List<String> zvr; + protected List<String> erj; + protected ErgebnisVollzugStatusTyp vollzugStatus; + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the kur property. + * + * <p> + * 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 <CODE>set</CODE> method for the kur property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getKur().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getKur() { + if (kur == null) { + kur = new ArrayList<String>(); + } + return this.kur; + } + + /** + * Gets the value of the fbn property. + * + * <p> + * 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 <CODE>set</CODE> method for the fbn property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFbn().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getFbn() { + if (fbn == null) { + fbn = new ArrayList<String>(); + } + return this.fbn; + } + + /** + * Gets the value of the zvr property. + * + * <p> + * 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 <CODE>set</CODE> method for the zvr property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getZvr().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getZvr() { + if (zvr == null) { + zvr = new ArrayList<String>(); + } + return this.zvr; + } + + /** + * Gets the value of the erj property. + * + * <p> + * 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 <CODE>set</CODE> method for the erj property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getErj().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getErj() { + if (erj == null) { + erj = new ArrayList<String>(); + } + return this.erj; + } + + /** + * Gets the value of the vollzugStatus property. + * + * @return + * possible object is + * {@link ErgebnisVollzugStatusTyp } + * + */ + public ErgebnisVollzugStatusTyp getVollzugStatus() { + return vollzugStatus; + } + + /** + * Sets the value of the vollzugStatus property. + * + * @param value + * allowed object is + * {@link ErgebnisVollzugStatusTyp } + * + */ + public void setVollzugStatus(ErgebnisVollzugStatusTyp value) { + this.vollzugStatus = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmenRequest.java b/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmenRequest.java new file mode 100644 index 0000000..addbc48 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmenRequest.java @@ -0,0 +1,141 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SucheUnternehmenRequest complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheUnternehmenRequest"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VersionTyp" minOccurs="0"/> + * <element name="unternehmensdaten" type="{http://statistik.at/namespace/ur/stammdaten/2#}SucheUnternehmensdaten" minOccurs="0"/> + * <element name="branche" type="{http://statistik.at/namespace/ur/stammdaten/2#}SucheBranche" minOccurs="0"/> + * <element name="personendaten" type="{http://statistik.at/namespace/ur/stammdaten/2#}SuchePersonendaten" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheUnternehmenRequest", propOrder = { + "version", + "unternehmensdaten", + "branche", + "personendaten" +}) +public class SucheUnternehmenRequest { + + protected String version; + protected SucheUnternehmensdaten unternehmensdaten; + protected SucheBranche branche; + protected SuchePersonendaten personendaten; + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the unternehmensdaten property. + * + * @return + * possible object is + * {@link SucheUnternehmensdaten } + * + */ + public SucheUnternehmensdaten getUnternehmensdaten() { + return unternehmensdaten; + } + + /** + * Sets the value of the unternehmensdaten property. + * + * @param value + * allowed object is + * {@link SucheUnternehmensdaten } + * + */ + public void setUnternehmensdaten(SucheUnternehmensdaten value) { + this.unternehmensdaten = value; + } + + /** + * Gets the value of the branche property. + * + * @return + * possible object is + * {@link SucheBranche } + * + */ + public SucheBranche getBranche() { + return branche; + } + + /** + * Sets the value of the branche property. + * + * @param value + * allowed object is + * {@link SucheBranche } + * + */ + public void setBranche(SucheBranche value) { + this.branche = value; + } + + /** + * Gets the value of the personendaten property. + * + * @return + * possible object is + * {@link SuchePersonendaten } + * + */ + public SuchePersonendaten getPersonendaten() { + return personendaten; + } + + /** + * Sets the value of the personendaten property. + * + * @param value + * allowed object is + * {@link SuchePersonendaten } + * + */ + public void setPersonendaten(SuchePersonendaten value) { + this.personendaten = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmensdaten.java b/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmensdaten.java new file mode 100644 index 0000000..dd53227 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/SucheUnternehmensdaten.java @@ -0,0 +1,330 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SucheUnternehmensdaten complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheUnternehmensdaten"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="phonetisch" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="untName" type="{http://statistik.at/namespace/ur/simpleTypes/2#}UntNameTyp" minOccurs="0"/> + * <element name="rechtsform" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTyp" minOccurs="0"/> + * <element name="id" type="{http://statistik.at/namespace/ur/simpleTypes/2#}IdTyp" minOccurs="0"/> + * <element name="idArt" type="{http://statistik.at/namespace/ur/simpleTypes/2#}IdArtTyp" minOccurs="0"/> + * <element name="strasse" type="{http://statistik.at/namespace/ur/simpleTypes/2#}StrasseTyp" minOccurs="0"/> + * <element name="hNr" type="{http://statistik.at/namespace/ur/simpleTypes/2#}HNrTyp" minOccurs="0"/> + * <element name="ort" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OrtTyp" minOccurs="0"/> + * <element name="gemnr" type="{http://statistik.at/namespace/ur/simpleTypes/2#}GemnrTyp" minOccurs="0"/> + * <element name="plz" type="{http://statistik.at/namespace/ur/simpleTypes/2#}PlzTyp" minOccurs="0"/> + * <element name="land" type="{http://statistik.at/namespace/ur/simpleTypes/2#}LandTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheUnternehmensdaten", propOrder = { + "phonetisch", + "untName", + "rechtsform", + "id", + "idArt", + "strasse", + "hNr", + "ort", + "gemnr", + "plz", + "land" +}) +public class SucheUnternehmensdaten { + + protected Boolean phonetisch; + protected String untName; + protected Integer rechtsform; + protected String id; + protected String idArt; + protected String strasse; + protected String hNr; + protected String ort; + protected Integer gemnr; + protected String plz; + protected String land; + + /** + * Gets the value of the phonetisch property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isPhonetisch() { + return phonetisch; + } + + /** + * Sets the value of the phonetisch property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setPhonetisch(Boolean value) { + this.phonetisch = value; + } + + /** + * Gets the value of the untName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUntName() { + return untName; + } + + /** + * Sets the value of the untName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUntName(String value) { + this.untName = value; + } + + /** + * Gets the value of the rechtsform property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getRechtsform() { + return rechtsform; + } + + /** + * Sets the value of the rechtsform property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setRechtsform(Integer value) { + this.rechtsform = value; + } + + /** + * 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; + } + + /** + * Gets the value of the idArt property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdArt() { + return idArt; + } + + /** + * Sets the value of the idArt property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdArt(String value) { + this.idArt = value; + } + + /** + * Gets the value of the strasse property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStrasse() { + return strasse; + } + + /** + * Sets the value of the strasse property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStrasse(String value) { + this.strasse = value; + } + + /** + * Gets the value of the hNr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHNr() { + return hNr; + } + + /** + * Sets the value of the hNr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHNr(String value) { + this.hNr = value; + } + + /** + * Gets the value of the ort property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrt() { + return ort; + } + + /** + * Sets the value of the ort property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrt(String value) { + this.ort = value; + } + + /** + * Gets the value of the gemnr property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getGemnr() { + return gemnr; + } + + /** + * Sets the value of the gemnr property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setGemnr(Integer value) { + this.gemnr = value; + } + + /** + * Gets the value of the plz property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlz() { + return plz; + } + + /** + * Sets the value of the plz property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlz(String value) { + this.plz = value; + } + + /** + * Gets the value of the land property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLand() { + return land; + } + + /** + * Sets the value of the land property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLand(String value) { + this.land = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/UntName.java b/src/main/java/at/gv/util/xsd/ur_V2/search/UntName.java new file mode 100644 index 0000000..fe39ee9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/UntName.java @@ -0,0 +1,66 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for UntName complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="UntName"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="VollerName" type="{http://statistik.at/namespace/ur/simpleTypes/2#}UntNameTyp"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "UntName", propOrder = { + "vollerName" +}) +@XmlSeeAlso({ + UntNameVollzug.class +}) +public abstract class UntName { + + @XmlElement(name = "VollerName", required = true) + protected String vollerName; + + /** + * Gets the value of the vollerName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVollerName() { + return vollerName; + } + + /** + * Sets the value of the vollerName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVollerName(String value) { + this.vollerName = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/UntNameVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/search/UntNameVollzug.java new file mode 100644 index 0000000..e81ae3c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/UntNameVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for UntNameVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="UntNameVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/2#}UntName"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "UntNameVollzug") +public class UntNameVollzug + extends UntName +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/Vertretung.java b/src/main/java/at/gv/util/xsd/ur_V2/search/Vertretung.java new file mode 100644 index 0000000..ca43f1b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/Vertretung.java @@ -0,0 +1,63 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for Vertretung complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Vertretung"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Vertretung", propOrder = { + "value" +}) +@XmlSeeAlso({ + VertretungVollzug.class +}) +public abstract class Vertretung { + + @XmlValue + protected String value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/VertretungVollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/search/VertretungVollzug.java new file mode 100644 index 0000000..9802809 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/VertretungVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for VertretungVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VertretungVollzug"> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/stammdaten/2#>Vertretung"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugAttributes"/> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VertretungVollzug") +public class VertretungVollzug + extends Vertretung +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/Vollzug.java b/src/main/java/at/gv/util/xsd/ur_V2/search/Vollzug.java new file mode 100644 index 0000000..e3751fc --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/Vollzug.java @@ -0,0 +1,209 @@ + +package at.gv.util.xsd.ur_V2.search; + +import java.math.BigInteger; +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.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; +import at.gv.util.xsd.ur_V2.simpletypes.VollzugStatusTyp; + + +/** + * <p>Java class for Vollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Vollzug"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Antrag" type="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugElem"/> + * <element name="Vollzug" type="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugElem" minOccurs="0"/> + * <element name="Zurueckstellung" type="{http://statistik.at/namespace/ur/stammdaten/2#}VollzugElem" minOccurs="0"/> + * </sequence> + * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="nummer" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * <attribute name="status" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VollzugStatusTyp" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Vollzug", propOrder = { + "antrag", + "vollzug", + "zurueckstellung" +}) +public class Vollzug { + + @XmlElement(name = "Antrag", required = true) + protected VollzugElem antrag; + @XmlElement(name = "Vollzug") + protected VollzugElem vollzug; + @XmlElement(name = "Zurueckstellung") + protected VollzugElem zurueckstellung; + @XmlAttribute(name = "id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "nummer", required = true) + protected BigInteger nummer; + @XmlAttribute(name = "status", required = true) + protected VollzugStatusTyp status; + + /** + * Gets the value of the antrag property. + * + * @return + * possible object is + * {@link VollzugElem } + * + */ + public VollzugElem getAntrag() { + return antrag; + } + + /** + * Sets the value of the antrag property. + * + * @param value + * allowed object is + * {@link VollzugElem } + * + */ + public void setAntrag(VollzugElem value) { + this.antrag = value; + } + + /** + * Gets the value of the vollzug property. + * + * @return + * possible object is + * {@link VollzugElem } + * + */ + public VollzugElem getVollzug() { + return vollzug; + } + + /** + * Sets the value of the vollzug property. + * + * @param value + * allowed object is + * {@link VollzugElem } + * + */ + public void setVollzug(VollzugElem value) { + this.vollzug = value; + } + + /** + * Gets the value of the zurueckstellung property. + * + * @return + * possible object is + * {@link VollzugElem } + * + */ + public VollzugElem getZurueckstellung() { + return zurueckstellung; + } + + /** + * Sets the value of the zurueckstellung property. + * + * @param value + * allowed object is + * {@link VollzugElem } + * + */ + public void setZurueckstellung(VollzugElem value) { + this.zurueckstellung = value; + } + + /** + * 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; + } + + /** + * Gets the value of the nummer property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getNummer() { + return nummer; + } + + /** + * Sets the value of the nummer property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setNummer(BigInteger value) { + this.nummer = value; + } + + /** + * Gets the value of the status property. + * + * @return + * possible object is + * {@link VollzugStatusTyp } + * + */ + public VollzugStatusTyp getStatus() { + return status; + } + + /** + * Sets the value of the status property. + * + * @param value + * allowed object is + * {@link VollzugStatusTyp } + * + */ + public void setStatus(VollzugStatusTyp value) { + this.status = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/VollzugElem.java b/src/main/java/at/gv/util/xsd/ur_V2/search/VollzugElem.java new file mode 100644 index 0000000..6ac1c1c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/VollzugElem.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.ur_V2.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for VollzugElem complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VollzugElem"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>date"> + * <attribute name="quelle" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}QuelleTyp" /> + * <attribute name="quText" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VollzugElem", propOrder = { + "value" +}) +public class VollzugElem { + + @XmlValue + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar value; + @XmlAttribute(name = "quelle", required = true) + protected String quelle; + @XmlAttribute(name = "quText", required = true) + @XmlSchemaType(name = "anySimpleType") + protected String quText; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setValue(XMLGregorianCalendar value) { + this.value = value; + } + + /** + * Gets the value of the quelle property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuelle() { + return quelle; + } + + /** + * Sets the value of the quelle property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuelle(String value) { + this.quelle = value; + } + + /** + * Gets the value of the quText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuText() { + return quText; + } + + /** + * Sets the value of the quText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuText(String value) { + this.quText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/search/package-info.java b/src/main/java/at/gv/util/xsd/ur_V2/search/package-info.java new file mode 100644 index 0000000..5bbab74 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/search/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://statistik.at/namespace/ur/stammdaten/2#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.ur_V2.search; diff --git a/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/AdressTyp.java b/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/AdressTyp.java new file mode 100644 index 0000000..ebb19c5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/AdressTyp.java @@ -0,0 +1,38 @@ + +package at.gv.util.xsd.ur_V2.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for AdressTyp. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="AdressTyp"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="SITZ"/> + * <enumeration value="ZUSTELLADRESSE"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "AdressTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") +@XmlEnum +public enum AdressTyp { + + SITZ, + ZUSTELLADRESSE; + + public String value() { + return name(); + } + + public static AdressTyp fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/ErgebnisVollzugStatusTyp.java b/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/ErgebnisVollzugStatusTyp.java new file mode 100644 index 0000000..215fa86 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/ErgebnisVollzugStatusTyp.java @@ -0,0 +1,38 @@ + +package at.gv.util.xsd.ur_V2.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ErgebnisVollzugStatusTyp. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="ErgebnisVollzugStatusTyp"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="V"/> + * <enumeration value="AZV"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "ErgebnisVollzugStatusTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") +@XmlEnum +public enum ErgebnisVollzugStatusTyp { + + V, + AZV; + + public String value() { + return name(); + } + + public static ErgebnisVollzugStatusTyp fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/EvbStatusTyp.java b/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/EvbStatusTyp.java new file mode 100644 index 0000000..5d0fb74 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/EvbStatusTyp.java @@ -0,0 +1,40 @@ + +package at.gv.util.xsd.ur_V2.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for EvbStatusTyp. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="EvbStatusTyp"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="J"/> + * <enumeration value="N"/> + * <enumeration value="U"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "EvbStatusTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") +@XmlEnum +public enum EvbStatusTyp { + + J, + N, + U; + + public String value() { + return name(); + } + + public static EvbStatusTyp fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/ObjectFactory.java new file mode 100644 index 0000000..3565bb8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/ObjectFactory.java @@ -0,0 +1,32 @@ + +package at.gv.util.xsd.ur_V2.simpletypes; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ur_V2.simpletypes package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur_V2.simpletypes + * + */ + public ObjectFactory() { + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/OenaceArtTyp.java b/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/OenaceArtTyp.java new file mode 100644 index 0000000..5d445f1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/OenaceArtTyp.java @@ -0,0 +1,38 @@ + +package at.gv.util.xsd.ur_V2.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for OenaceArtTyp. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="OenaceArtTyp"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="H"/> + * <enumeration value="N"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "OenaceArtTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") +@XmlEnum +public enum OenaceArtTyp { + + H, + N; + + public String value() { + return name(); + } + + public static OenaceArtTyp fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/VollzugStatusTyp.java b/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/VollzugStatusTyp.java new file mode 100644 index 0000000..3150812 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/simpletypes/VollzugStatusTyp.java @@ -0,0 +1,40 @@ + +package at.gv.util.xsd.ur_V2.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for VollzugStatusTyp. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="VollzugStatusTyp"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="A"/> + * <enumeration value="V"/> + * <enumeration value="Z"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "VollzugStatusTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") +@XmlEnum +public enum VollzugStatusTyp { + + A, + V, + Z; + + public String value() { + return name(); + } + + public static VollzugStatusTyp fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/CustomFaultType.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/CustomFaultType.java new file mode 100644 index 0000000..d66cddd --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/CustomFaultType.java @@ -0,0 +1,156 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +import java.math.BigInteger; +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * CustomFault reporting structure + * + * <p>Java class for CustomFaultType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CustomFaultType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * <element name="Reason" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> + * <element name="Help" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Detail" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CustomFaultType", propOrder = { + "code", + "reason", + "help", + "detail" +}) +public class CustomFaultType { + + @XmlElement(name = "Code", required = true) + protected BigInteger code; + @XmlElement(name = "Reason", required = true) + protected List<String> reason; + @XmlElement(name = "Help") + protected String help; + @XmlElement(name = "Detail") + protected Object detail; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the reason property. + * + * <p> + * 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 <CODE>set</CODE> method for the reason property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReason().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getReason() { + if (reason == null) { + reason = new ArrayList<String>(); + } + return this.reason; + } + + /** + * Gets the value of the help property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHelp() { + return help; + } + + /** + * Sets the value of the help property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHelp(String value) { + this.help = value; + } + + /** + * Gets the value of the detail property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getDetail() { + return detail; + } + + /** + * Sets the value of the detail property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setDetail(Object value) { + this.detail = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ExtraResultCriteria.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ExtraResultCriteria.java new file mode 100644 index 0000000..652f5d4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ExtraResultCriteria.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}ErsbAttribute" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "ersbAttribute" +}) +@XmlRootElement(name = "ExtraResultCriteria") +public class ExtraResultCriteria { + + @XmlElement(name = "ErsbAttribute", namespace = "http://statistik.at/namespace/ur/stammdaten/2#", defaultValue = "false") + protected Boolean ersbAttribute; + + /** + * Gets the value of the ersbAttribute property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isErsbAttribute() { + return ersbAttribute; + } + + /** + * Sets the value of the ersbAttribute property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setErsbAttribute(Boolean value) { + this.ersbAttribute = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ExtraResultInfo.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ExtraResultInfo.java new file mode 100644 index 0000000..2794c8a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ExtraResultInfo.java @@ -0,0 +1,34 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "ExtraResultInfo") +public class ExtraResultInfo { + + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ObjectFactory.java new file mode 100644 index 0000000..b38fcfe --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ObjectFactory.java @@ -0,0 +1,445 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +import java.math.BigInteger; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ur_V2.xmlsw package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _FaultHint_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "FaultHint"); + private final static QName _CaseSensitive_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "CaseSensitive"); + private final static QName _Path_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "Path"); + private final static QName _SearchRequestInfo_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchRequestInfo"); + private final static QName _ResultSetId_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "ResultSetId"); + private final static QName _SortKey_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SortKey"); + private final static QName _RecordId_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "RecordId"); + private final static QName _SearchCriteria_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchCriteria"); + private final static QName _Costs_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "Costs"); + private final static QName _Detail_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "Detail"); + private final static QName _SearchByExample_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchByExample"); + private final static QName _SearchRequestId_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchRequestId"); + private final static QName _ResultCriteria_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "ResultCriteria"); + private final static QName _ReturnedRecords_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "ReturnedRecords"); + private final static QName _AccountedUnits_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "AccountedUnits"); + private final static QName _SearchResponse_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchResponse"); + private final static QName _FoundRecords_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "FoundRecords"); + private final static QName _StartRecord_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "StartRecord"); + private final static QName _Ascending_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "Ascending"); + private final static QName _TimeStamp_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "TimeStamp"); + private final static QName _TimeOut_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "TimeOut"); + private final static QName _InvoiceId_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "InvoiceId"); + private final static QName _Message_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "Message"); + private final static QName _MaxRecords_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "MaxRecords"); + private final static QName _SortKeys_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SortKeys"); + private final static QName _SearchById_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchById"); + private final static QName _ResultInfo_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "ResultInfo"); + private final static QName _PaymentInfo_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "PaymentInfo"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur_V2.xmlsw + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ResultCriteriaType } + * + */ + public ResultCriteriaType createResultCriteriaType() { + return new ResultCriteriaType(); + } + + /** + * Create an instance of {@link SearchResponseType } + * + */ + public SearchResponseType createSearchResponseType() { + return new SearchResponseType(); + } + + /** + * Create an instance of {@link SearchByExampleType } + * + */ + public SearchByExampleType createSearchByExampleType() { + return new SearchByExampleType(); + } + + /** + * Create an instance of {@link ExtraResultCriteria } + * + */ + public ExtraResultCriteria createExtraResultCriteria() { + return new ExtraResultCriteria(); + } + + /** + * Create an instance of {@link SortKeysType } + * + */ + public SortKeysType createSortKeysType() { + return new SortKeysType(); + } + + /** + * Create an instance of {@link CustomFaultType } + * + */ + public CustomFaultType createCustomFaultType() { + return new CustomFaultType(); + } + + /** + * Create an instance of {@link ResultInfoType } + * + */ + public ResultInfoType createResultInfoType() { + return new ResultInfoType(); + } + + /** + * Create an instance of {@link SearchByIdType } + * + */ + public SearchByIdType createSearchByIdType() { + return new SearchByIdType(); + } + + /** + * Create an instance of {@link ResultRecords } + * + */ + public ResultRecords createResultRecords() { + return new ResultRecords(); + } + + /** + * Create an instance of {@link ResultRecord } + * + */ + public ResultRecord createResultRecord() { + return new ResultRecord(); + } + + /** + * Create an instance of {@link PaymentInfoType } + * + */ + public PaymentInfoType createPaymentInfoType() { + return new PaymentInfoType(); + } + + /** + * Create an instance of {@link SearchCriteriaType } + * + */ + public SearchCriteriaType createSearchCriteriaType() { + return new SearchCriteriaType(); + } + + /** + * Create an instance of {@link RecordFieldList } + * + */ + public RecordFieldList createRecordFieldList() { + return new RecordFieldList(); + } + + /** + * Create an instance of {@link ExtraResultInfo } + * + */ + public ExtraResultInfo createExtraResultInfo() { + return new ExtraResultInfo(); + } + + /** + * Create an instance of {@link SortKeyType } + * + */ + public SortKeyType createSortKeyType() { + return new SortKeyType(); + } + + /** + * Create an instance of {@link SearchRequestInfoType } + * + */ + public SearchRequestInfoType createSearchRequestInfoType() { + return new SearchRequestInfoType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "FaultHint") + public JAXBElement<String> createFaultHint(String value) { + return new JAXBElement<String>(_FaultHint_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "CaseSensitive") + public JAXBElement<Boolean> createCaseSensitive(Boolean value) { + return new JAXBElement<Boolean>(_CaseSensitive_QNAME, Boolean.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "Path") + public JAXBElement<String> createPath(String value) { + return new JAXBElement<String>(_Path_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SearchRequestInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SearchRequestInfo") + public JAXBElement<SearchRequestInfoType> createSearchRequestInfo(SearchRequestInfoType value) { + return new JAXBElement<SearchRequestInfoType>(_SearchRequestInfo_QNAME, SearchRequestInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "ResultSetId") + public JAXBElement<String> createResultSetId(String value) { + return new JAXBElement<String>(_ResultSetId_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SortKeyType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SortKey") + public JAXBElement<SortKeyType> createSortKey(SortKeyType value) { + return new JAXBElement<SortKeyType>(_SortKey_QNAME, SortKeyType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "RecordId") + public JAXBElement<BigInteger> createRecordId(BigInteger value) { + return new JAXBElement<BigInteger>(_RecordId_QNAME, BigInteger.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SearchCriteriaType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SearchCriteria") + public JAXBElement<SearchCriteriaType> createSearchCriteria(SearchCriteriaType value) { + return new JAXBElement<SearchCriteriaType>(_SearchCriteria_QNAME, SearchCriteriaType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Float }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "Costs") + public JAXBElement<Float> createCosts(Float value) { + return new JAXBElement<Float>(_Costs_QNAME, Float.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "Detail") + public JAXBElement<String> createDetail(String value) { + return new JAXBElement<String>(_Detail_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SearchByExampleType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SearchByExample") + public JAXBElement<SearchByExampleType> createSearchByExample(SearchByExampleType value) { + return new JAXBElement<SearchByExampleType>(_SearchByExample_QNAME, SearchByExampleType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SearchRequestId") + public JAXBElement<String> createSearchRequestId(String value) { + return new JAXBElement<String>(_SearchRequestId_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ResultCriteriaType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "ResultCriteria") + public JAXBElement<ResultCriteriaType> createResultCriteria(ResultCriteriaType value) { + return new JAXBElement<ResultCriteriaType>(_ResultCriteria_QNAME, ResultCriteriaType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "ReturnedRecords") + public JAXBElement<BigInteger> createReturnedRecords(BigInteger value) { + return new JAXBElement<BigInteger>(_ReturnedRecords_QNAME, BigInteger.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "AccountedUnits") + public JAXBElement<BigInteger> createAccountedUnits(BigInteger value) { + return new JAXBElement<BigInteger>(_AccountedUnits_QNAME, BigInteger.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SearchResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SearchResponse") + public JAXBElement<SearchResponseType> createSearchResponse(SearchResponseType value) { + return new JAXBElement<SearchResponseType>(_SearchResponse_QNAME, SearchResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "FoundRecords") + public JAXBElement<BigInteger> createFoundRecords(BigInteger value) { + return new JAXBElement<BigInteger>(_FoundRecords_QNAME, BigInteger.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "StartRecord") + public JAXBElement<BigInteger> createStartRecord(BigInteger value) { + return new JAXBElement<BigInteger>(_StartRecord_QNAME, BigInteger.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "Ascending") + public JAXBElement<Boolean> createAscending(Boolean value) { + return new JAXBElement<Boolean>(_Ascending_QNAME, Boolean.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "TimeStamp") + public JAXBElement<XMLGregorianCalendar> createTimeStamp(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_TimeStamp_QNAME, XMLGregorianCalendar.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "TimeOut") + public JAXBElement<BigInteger> createTimeOut(BigInteger value) { + return new JAXBElement<BigInteger>(_TimeOut_QNAME, BigInteger.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "InvoiceId") + public JAXBElement<String> createInvoiceId(String value) { + return new JAXBElement<String>(_InvoiceId_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CustomFaultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "Message") + public JAXBElement<CustomFaultType> createMessage(CustomFaultType value) { + return new JAXBElement<CustomFaultType>(_Message_QNAME, CustomFaultType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "MaxRecords") + public JAXBElement<BigInteger> createMaxRecords(BigInteger value) { + return new JAXBElement<BigInteger>(_MaxRecords_QNAME, BigInteger.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SortKeysType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SortKeys") + public JAXBElement<SortKeysType> createSortKeys(SortKeysType value) { + return new JAXBElement<SortKeysType>(_SortKeys_QNAME, SortKeysType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SearchByIdType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SearchById") + public JAXBElement<SearchByIdType> createSearchById(SearchByIdType value) { + return new JAXBElement<SearchByIdType>(_SearchById_QNAME, SearchByIdType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ResultInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "ResultInfo") + public JAXBElement<ResultInfoType> createResultInfo(ResultInfoType value) { + return new JAXBElement<ResultInfoType>(_ResultInfo_QNAME, ResultInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PaymentInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "PaymentInfo") + public JAXBElement<PaymentInfoType> createPaymentInfo(PaymentInfoType value) { + return new JAXBElement<PaymentInfoType>(_PaymentInfo_QNAME, PaymentInfoType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/PaymentInfoType.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/PaymentInfoType.java new file mode 100644 index 0000000..3e8dbb7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/PaymentInfoType.java @@ -0,0 +1,143 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for PaymentInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PaymentInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}InvoiceId" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}Costs"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}AccountedUnits" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}TimeStamp"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PaymentInfoType", propOrder = { + "invoiceId", + "costs", + "accountedUnits", + "timeStamp" +}) +public class PaymentInfoType { + + @XmlElement(name = "InvoiceId") + protected String invoiceId; + @XmlElement(name = "Costs") + protected float costs; + @XmlElement(name = "AccountedUnits") + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger accountedUnits; + @XmlElement(name = "TimeStamp", required = true) + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar timeStamp; + + /** + * Gets the value of the invoiceId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInvoiceId() { + return invoiceId; + } + + /** + * Sets the value of the invoiceId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInvoiceId(String value) { + this.invoiceId = value; + } + + /** + * Gets the value of the costs property. + * + */ + public float getCosts() { + return costs; + } + + /** + * Sets the value of the costs property. + * + */ + public void setCosts(float value) { + this.costs = value; + } + + /** + * Gets the value of the accountedUnits property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getAccountedUnits() { + return accountedUnits; + } + + /** + * Sets the value of the accountedUnits property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setAccountedUnits(BigInteger value) { + this.accountedUnits = value; + } + + /** + * Gets the value of the timeStamp property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTimeStamp() { + return timeStamp; + } + + /** + * Sets the value of the timeStamp property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setTimeStamp(XMLGregorianCalendar value) { + this.timeStamp = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/RecordFieldList.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/RecordFieldList.java new file mode 100644 index 0000000..a21c4b7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/RecordFieldList.java @@ -0,0 +1,34 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "RecordFieldList") +public class RecordFieldList { + + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ResultCriteriaType.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ResultCriteriaType.java new file mode 100644 index 0000000..c67ea70 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ResultCriteriaType.java @@ -0,0 +1,207 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ResultCriteriaType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ResultCriteriaType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}MaxRecords" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}StartRecord" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SortKeys" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}TimeOut" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}RecordFieldList" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ExtraResultCriteria" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ResultCriteriaType", propOrder = { + "maxRecords", + "startRecord", + "sortKeys", + "timeOut", + "recordFieldList", + "extraResultCriteria" +}) +public class ResultCriteriaType { + + @XmlElement(name = "MaxRecords") + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger maxRecords; + @XmlElement(name = "StartRecord") + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger startRecord; + @XmlElement(name = "SortKeys") + protected SortKeysType sortKeys; + @XmlElement(name = "TimeOut") + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger timeOut; + @XmlElement(name = "RecordFieldList") + protected RecordFieldList recordFieldList; + @XmlElement(name = "ExtraResultCriteria") + protected ExtraResultCriteria extraResultCriteria; + + /** + * Gets the value of the maxRecords property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getMaxRecords() { + return maxRecords; + } + + /** + * Sets the value of the maxRecords property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setMaxRecords(BigInteger value) { + this.maxRecords = value; + } + + /** + * Gets the value of the startRecord property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getStartRecord() { + return startRecord; + } + + /** + * Sets the value of the startRecord property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setStartRecord(BigInteger value) { + this.startRecord = value; + } + + /** + * Gets the value of the sortKeys property. + * + * @return + * possible object is + * {@link SortKeysType } + * + */ + public SortKeysType getSortKeys() { + return sortKeys; + } + + /** + * Sets the value of the sortKeys property. + * + * @param value + * allowed object is + * {@link SortKeysType } + * + */ + public void setSortKeys(SortKeysType value) { + this.sortKeys = value; + } + + /** + * Gets the value of the timeOut property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getTimeOut() { + return timeOut; + } + + /** + * Sets the value of the timeOut property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setTimeOut(BigInteger value) { + this.timeOut = value; + } + + /** + * Gets the value of the recordFieldList property. + * + * @return + * possible object is + * {@link RecordFieldList } + * + */ + public RecordFieldList getRecordFieldList() { + return recordFieldList; + } + + /** + * Sets the value of the recordFieldList property. + * + * @param value + * allowed object is + * {@link RecordFieldList } + * + */ + public void setRecordFieldList(RecordFieldList value) { + this.recordFieldList = value; + } + + /** + * Gets the value of the extraResultCriteria property. + * + * @return + * possible object is + * {@link ExtraResultCriteria } + * + */ + public ExtraResultCriteria getExtraResultCriteria() { + return extraResultCriteria; + } + + /** + * Sets the value of the extraResultCriteria property. + * + * @param value + * allowed object is + * {@link ExtraResultCriteria } + * + */ + public void setExtraResultCriteria(ExtraResultCriteria value) { + this.extraResultCriteria = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ResultInfoType.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ResultInfoType.java new file mode 100644 index 0000000..2a7d2ef --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ResultInfoType.java @@ -0,0 +1,178 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ResultInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ResultInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ResultSetId" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}FoundRecords" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ReturnedRecords"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}PaymentInfo" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ExtraResultInfo" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ResultInfoType", propOrder = { + "resultSetId", + "foundRecords", + "returnedRecords", + "paymentInfo", + "extraResultInfo" +}) +public class ResultInfoType { + + @XmlElement(name = "ResultSetId") + protected String resultSetId; + @XmlElement(name = "FoundRecords") + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger foundRecords; + @XmlElement(name = "ReturnedRecords", required = true) + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger returnedRecords; + @XmlElement(name = "PaymentInfo") + protected PaymentInfoType paymentInfo; + @XmlElement(name = "ExtraResultInfo") + protected ExtraResultInfo extraResultInfo; + + /** + * Gets the value of the resultSetId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getResultSetId() { + return resultSetId; + } + + /** + * Sets the value of the resultSetId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setResultSetId(String value) { + this.resultSetId = value; + } + + /** + * Gets the value of the foundRecords property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getFoundRecords() { + return foundRecords; + } + + /** + * Sets the value of the foundRecords property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setFoundRecords(BigInteger value) { + this.foundRecords = value; + } + + /** + * Gets the value of the returnedRecords property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getReturnedRecords() { + return returnedRecords; + } + + /** + * Sets the value of the returnedRecords property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setReturnedRecords(BigInteger value) { + this.returnedRecords = value; + } + + /** + * Gets the value of the paymentInfo property. + * + * @return + * possible object is + * {@link PaymentInfoType } + * + */ + public PaymentInfoType getPaymentInfo() { + return paymentInfo; + } + + /** + * Sets the value of the paymentInfo property. + * + * @param value + * allowed object is + * {@link PaymentInfoType } + * + */ + public void setPaymentInfo(PaymentInfoType value) { + this.paymentInfo = value; + } + + /** + * Gets the value of the extraResultInfo property. + * + * @return + * possible object is + * {@link ExtraResultInfo } + * + */ + public ExtraResultInfo getExtraResultInfo() { + return extraResultInfo; + } + + /** + * Sets the value of the extraResultInfo property. + * + * @param value + * allowed object is + * {@link ExtraResultInfo } + * + */ + public void setExtraResultInfo(ExtraResultInfo value) { + this.extraResultInfo = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ResultRecord.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ResultRecord.java new file mode 100644 index 0000000..7bc95e6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ResultRecord.java @@ -0,0 +1,122 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +import java.math.BigInteger; +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.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ur_V2.pd.PersonenDatenTyp; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PersonenDaten"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}URV_pdf" minOccurs="0"/> + * </sequence> + * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "personenDaten", + "urvPdf" +}) +@XmlRootElement(name = "ResultRecord") +public class ResultRecord { + + @XmlElement(name = "PersonenDaten", namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", required = true) + protected PersonenDatenTyp personenDaten; + @XmlElement(name = "URV_pdf", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected byte[] urvPdf; + @XmlAttribute(name = "id") + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger id; + + /** + * Gets the value of the personenDaten property. + * + * @return + * possible object is + * {@link PersonenDatenTyp } + * + */ + public PersonenDatenTyp getPersonenDaten() { + return personenDaten; + } + + /** + * Sets the value of the personenDaten property. + * + * @param value + * allowed object is + * {@link PersonenDatenTyp } + * + */ + public void setPersonenDaten(PersonenDatenTyp value) { + this.personenDaten = value; + } + + /** + * Gets the value of the urvPdf property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getURVPdf() { + return urvPdf; + } + + /** + * Sets the value of the urvPdf property. + * + * @param value + * allowed object is + * byte[] + */ + public void setURVPdf(byte[] value) { + this.urvPdf = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setId(BigInteger value) { + this.id = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ResultRecords.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ResultRecords.java new file mode 100644 index 0000000..d158f44 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/ResultRecords.java @@ -0,0 +1,71 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +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.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ResultRecord" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "resultRecord" +}) +@XmlRootElement(name = "ResultRecords") +public class ResultRecords { + + @XmlElement(name = "ResultRecord", required = true) + protected List<ResultRecord> resultRecord; + + /** + * Gets the value of the resultRecord property. + * + * <p> + * 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 <CODE>set</CODE> method for the resultRecord property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getResultRecord().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ResultRecord } + * + * + */ + public List<ResultRecord> getResultRecord() { + if (resultRecord == null) { + resultRecord = new ArrayList<ResultRecord>(); + } + return this.resultRecord; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SearchByExampleType.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SearchByExampleType.java new file mode 100644 index 0000000..7f35478 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SearchByExampleType.java @@ -0,0 +1,146 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SearchByExampleType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SearchByExampleType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SearchRequestId"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SearchRequestInfo" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ResultCriteria" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SearchCriteria"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SearchByExampleType", propOrder = { + "searchRequestId", + "searchRequestInfo", + "resultCriteria", + "searchCriteria" +}) +public class SearchByExampleType { + + @XmlElement(name = "SearchRequestId", required = true) + protected String searchRequestId; + @XmlElement(name = "SearchRequestInfo") + protected SearchRequestInfoType searchRequestInfo; + @XmlElement(name = "ResultCriteria") + protected ResultCriteriaType resultCriteria; + @XmlElement(name = "SearchCriteria", required = true) + protected SearchCriteriaType searchCriteria; + + /** + * Gets the value of the searchRequestId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSearchRequestId() { + return searchRequestId; + } + + /** + * Sets the value of the searchRequestId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSearchRequestId(String value) { + this.searchRequestId = value; + } + + /** + * Gets the value of the searchRequestInfo property. + * + * @return + * possible object is + * {@link SearchRequestInfoType } + * + */ + public SearchRequestInfoType getSearchRequestInfo() { + return searchRequestInfo; + } + + /** + * Sets the value of the searchRequestInfo property. + * + * @param value + * allowed object is + * {@link SearchRequestInfoType } + * + */ + public void setSearchRequestInfo(SearchRequestInfoType value) { + this.searchRequestInfo = value; + } + + /** + * Gets the value of the resultCriteria property. + * + * @return + * possible object is + * {@link ResultCriteriaType } + * + */ + public ResultCriteriaType getResultCriteria() { + return resultCriteria; + } + + /** + * Sets the value of the resultCriteria property. + * + * @param value + * allowed object is + * {@link ResultCriteriaType } + * + */ + public void setResultCriteria(ResultCriteriaType value) { + this.resultCriteria = value; + } + + /** + * Gets the value of the searchCriteria property. + * + * @return + * possible object is + * {@link SearchCriteriaType } + * + */ + public SearchCriteriaType getSearchCriteria() { + return searchCriteria; + } + + /** + * Sets the value of the searchCriteria property. + * + * @param value + * allowed object is + * {@link SearchCriteriaType } + * + */ + public void setSearchCriteria(SearchCriteriaType value) { + this.searchCriteria = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SearchByIdType.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SearchByIdType.java new file mode 100644 index 0000000..b261606 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SearchByIdType.java @@ -0,0 +1,121 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SearchByIdType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SearchByIdType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SearchRequestId"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SearchRequestInfo" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}RecordId"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SearchByIdType", propOrder = { + "searchRequestId", + "searchRequestInfo", + "recordId" +}) +public class SearchByIdType { + + @XmlElement(name = "SearchRequestId", required = true) + protected String searchRequestId; + @XmlElement(name = "SearchRequestInfo") + protected SearchRequestInfoType searchRequestInfo; + @XmlElement(name = "RecordId", required = true) + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger recordId; + + /** + * Gets the value of the searchRequestId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSearchRequestId() { + return searchRequestId; + } + + /** + * Sets the value of the searchRequestId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSearchRequestId(String value) { + this.searchRequestId = value; + } + + /** + * Gets the value of the searchRequestInfo property. + * + * @return + * possible object is + * {@link SearchRequestInfoType } + * + */ + public SearchRequestInfoType getSearchRequestInfo() { + return searchRequestInfo; + } + + /** + * Sets the value of the searchRequestInfo property. + * + * @param value + * allowed object is + * {@link SearchRequestInfoType } + * + */ + public void setSearchRequestInfo(SearchRequestInfoType value) { + this.searchRequestInfo = value; + } + + /** + * Gets the value of the recordId property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getRecordId() { + return recordId; + } + + /** + * Sets the value of the recordId property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setRecordId(BigInteger value) { + this.recordId = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SearchCriteriaType.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SearchCriteriaType.java new file mode 100644 index 0000000..9547a90 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SearchCriteriaType.java @@ -0,0 +1,209 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ur_V2.search.SucheUnternehmenNachAendDatRequest; +import at.gv.util.xsd.ur_V2.search.SucheUnternehmenNachBpkRequest; +import at.gv.util.xsd.ur_V2.search.SucheUnternehmenNachIdRequest; +import at.gv.util.xsd.ur_V2.search.SucheUnternehmenNachIdsRequest; +import at.gv.util.xsd.ur_V2.search.SucheUnternehmenRequest; + + +/** + * <p>Java class for SearchCriteriaType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SearchCriteriaType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ResultSetId" minOccurs="0"/> + * <choice> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}SucheUnternehmenNachAendDatRequest"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}SucheUnternehmenNachBpkRequest"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}SucheUnternehmenNachIdRequest"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}SucheUnternehmenNachIdsRequest"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/2#}SucheUnternehmenRequest"/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SearchCriteriaType", propOrder = { + "resultSetId", + "sucheUnternehmenNachAendDatRequest", + "sucheUnternehmenNachBpkRequest", + "sucheUnternehmenNachIdRequest", + "sucheUnternehmenNachIdsRequest", + "sucheUnternehmenRequest" +}) +public class SearchCriteriaType { + + @XmlElement(name = "ResultSetId") + protected String resultSetId; + @XmlElement(name = "SucheUnternehmenNachAendDatRequest", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected SucheUnternehmenNachAendDatRequest sucheUnternehmenNachAendDatRequest; + @XmlElement(name = "SucheUnternehmenNachBpkRequest", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected SucheUnternehmenNachBpkRequest sucheUnternehmenNachBpkRequest; + @XmlElement(name = "SucheUnternehmenNachIdRequest", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected SucheUnternehmenNachIdRequest sucheUnternehmenNachIdRequest; + @XmlElement(name = "SucheUnternehmenNachIdsRequest", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected SucheUnternehmenNachIdsRequest sucheUnternehmenNachIdsRequest; + @XmlElement(name = "SucheUnternehmenRequest", namespace = "http://statistik.at/namespace/ur/stammdaten/2#") + protected SucheUnternehmenRequest sucheUnternehmenRequest; + + /** + * Gets the value of the resultSetId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getResultSetId() { + return resultSetId; + } + + /** + * Sets the value of the resultSetId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setResultSetId(String value) { + this.resultSetId = value; + } + + /** + * Gets the value of the sucheUnternehmenNachAendDatRequest property. + * + * @return + * possible object is + * {@link SucheUnternehmenNachAendDatRequest } + * + */ + public SucheUnternehmenNachAendDatRequest getSucheUnternehmenNachAendDatRequest() { + return sucheUnternehmenNachAendDatRequest; + } + + /** + * Sets the value of the sucheUnternehmenNachAendDatRequest property. + * + * @param value + * allowed object is + * {@link SucheUnternehmenNachAendDatRequest } + * + */ + public void setSucheUnternehmenNachAendDatRequest(SucheUnternehmenNachAendDatRequest value) { + this.sucheUnternehmenNachAendDatRequest = value; + } + + /** + * Gets the value of the sucheUnternehmenNachBpkRequest property. + * + * @return + * possible object is + * {@link SucheUnternehmenNachBpkRequest } + * + */ + public SucheUnternehmenNachBpkRequest getSucheUnternehmenNachBpkRequest() { + return sucheUnternehmenNachBpkRequest; + } + + /** + * Sets the value of the sucheUnternehmenNachBpkRequest property. + * + * @param value + * allowed object is + * {@link SucheUnternehmenNachBpkRequest } + * + */ + public void setSucheUnternehmenNachBpkRequest(SucheUnternehmenNachBpkRequest value) { + this.sucheUnternehmenNachBpkRequest = value; + } + + /** + * Gets the value of the sucheUnternehmenNachIdRequest property. + * + * @return + * possible object is + * {@link SucheUnternehmenNachIdRequest } + * + */ + public SucheUnternehmenNachIdRequest getSucheUnternehmenNachIdRequest() { + return sucheUnternehmenNachIdRequest; + } + + /** + * Sets the value of the sucheUnternehmenNachIdRequest property. + * + * @param value + * allowed object is + * {@link SucheUnternehmenNachIdRequest } + * + */ + public void setSucheUnternehmenNachIdRequest(SucheUnternehmenNachIdRequest value) { + this.sucheUnternehmenNachIdRequest = value; + } + + /** + * Gets the value of the sucheUnternehmenNachIdsRequest property. + * + * @return + * possible object is + * {@link SucheUnternehmenNachIdsRequest } + * + */ + public SucheUnternehmenNachIdsRequest getSucheUnternehmenNachIdsRequest() { + return sucheUnternehmenNachIdsRequest; + } + + /** + * Sets the value of the sucheUnternehmenNachIdsRequest property. + * + * @param value + * allowed object is + * {@link SucheUnternehmenNachIdsRequest } + * + */ + public void setSucheUnternehmenNachIdsRequest(SucheUnternehmenNachIdsRequest value) { + this.sucheUnternehmenNachIdsRequest = value; + } + + /** + * Gets the value of the sucheUnternehmenRequest property. + * + * @return + * possible object is + * {@link SucheUnternehmenRequest } + * + */ + public SucheUnternehmenRequest getSucheUnternehmenRequest() { + return sucheUnternehmenRequest; + } + + /** + * Sets the value of the sucheUnternehmenRequest property. + * + * @param value + * allowed object is + * {@link SucheUnternehmenRequest } + * + */ + public void setSucheUnternehmenRequest(SucheUnternehmenRequest value) { + this.sucheUnternehmenRequest = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SearchRequestInfoType.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SearchRequestInfoType.java new file mode 100644 index 0000000..5ca10a3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SearchRequestInfoType.java @@ -0,0 +1,32 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SearchRequestInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SearchRequestInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SearchRequestInfoType") +public class SearchRequestInfoType { + + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SearchResponseType.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SearchResponseType.java new file mode 100644 index 0000000..ee7d03a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SearchResponseType.java @@ -0,0 +1,146 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SearchResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SearchResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SearchRequestId"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}Message" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ResultInfo"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ResultRecords" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SearchResponseType", propOrder = { + "searchRequestId", + "message", + "resultInfo", + "resultRecords" +}) +public class SearchResponseType { + + @XmlElement(name = "SearchRequestId", required = true) + protected String searchRequestId; + @XmlElement(name = "Message") + protected CustomFaultType message; + @XmlElement(name = "ResultInfo", required = true) + protected ResultInfoType resultInfo; + @XmlElement(name = "ResultRecords") + protected ResultRecords resultRecords; + + /** + * Gets the value of the searchRequestId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSearchRequestId() { + return searchRequestId; + } + + /** + * Sets the value of the searchRequestId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSearchRequestId(String value) { + this.searchRequestId = value; + } + + /** + * Gets the value of the message property. + * + * @return + * possible object is + * {@link CustomFaultType } + * + */ + public CustomFaultType getMessage() { + return message; + } + + /** + * Sets the value of the message property. + * + * @param value + * allowed object is + * {@link CustomFaultType } + * + */ + public void setMessage(CustomFaultType value) { + this.message = value; + } + + /** + * Gets the value of the resultInfo property. + * + * @return + * possible object is + * {@link ResultInfoType } + * + */ + public ResultInfoType getResultInfo() { + return resultInfo; + } + + /** + * Sets the value of the resultInfo property. + * + * @param value + * allowed object is + * {@link ResultInfoType } + * + */ + public void setResultInfo(ResultInfoType value) { + this.resultInfo = value; + } + + /** + * Gets the value of the resultRecords property. + * + * @return + * possible object is + * {@link ResultRecords } + * + */ + public ResultRecords getResultRecords() { + return resultRecords; + } + + /** + * Sets the value of the resultRecords property. + * + * @param value + * allowed object is + * {@link ResultRecords } + * + */ + public void setResultRecords(ResultRecords value) { + this.resultRecords = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SortKeyType.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SortKeyType.java new file mode 100644 index 0000000..095294b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SortKeyType.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SortKeyType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SortKeyType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}Path"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}Ascending" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}CaseSensitive" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SortKeyType", propOrder = { + "path", + "ascending", + "caseSensitive" +}) +public class SortKeyType { + + @XmlElement(name = "Path", required = true) + protected String path; + @XmlElement(name = "Ascending") + protected Boolean ascending; + @XmlElement(name = "CaseSensitive") + protected Boolean caseSensitive; + + /** + * Gets the value of the path property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPath() { + return path; + } + + /** + * Sets the value of the path property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPath(String value) { + this.path = value; + } + + /** + * Gets the value of the ascending property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isAscending() { + return ascending; + } + + /** + * Sets the value of the ascending property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setAscending(Boolean value) { + this.ascending = value; + } + + /** + * Gets the value of the caseSensitive property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isCaseSensitive() { + return caseSensitive; + } + + /** + * Sets the value of the caseSensitive property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setCaseSensitive(Boolean value) { + this.caseSensitive = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SortKeysType.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SortKeysType.java new file mode 100644 index 0000000..cf6a4fb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/SortKeysType.java @@ -0,0 +1,69 @@ + +package at.gv.util.xsd.ur_V2.xmlsw; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SortKeysType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SortKeysType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}SortKey" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SortKeysType", propOrder = { + "sortKey" +}) +public class SortKeysType { + + @XmlElement(name = "SortKey", required = true) + protected List<SortKeyType> sortKey; + + /** + * Gets the value of the sortKey property. + * + * <p> + * 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 <CODE>set</CODE> method for the sortKey property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSortKey().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link SortKeyType } + * + * + */ + public List<SortKeyType> getSortKey() { + if (sortKey == null) { + sortKey = new ArrayList<SortKeyType>(); + } + return this.sortKey; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/package-info.java b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/package-info.java new file mode 100644 index 0000000..be11cbc --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V2/xmlsw/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.ur_V2.xmlsw; diff --git a/src/main/java/at/gv/util/xsd/xmldsig/CanonicalizationMethodType.java b/src/main/java/at/gv/util/xsd/xmldsig/CanonicalizationMethodType.java new file mode 100644 index 0000000..816a11f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/CanonicalizationMethodType.java @@ -0,0 +1,102 @@ + +package at.gv.util.xsd.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CanonicalizationMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CanonicalizationMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CanonicalizationMethodType", propOrder = { + "content" +}) +public class CanonicalizationMethodType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/DSAKeyValueType.java b/src/main/java/at/gv/util/xsd/xmldsig/DSAKeyValueType.java new file mode 100644 index 0000000..a57f030 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/DSAKeyValueType.java @@ -0,0 +1,234 @@ + +package at.gv.util.xsd.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <sequence minOccurs="0"> + * <element name="P" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="Q" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * <element name="J" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <element name="G" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <element name="Y" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <sequence minOccurs="0"> + * <element name="Seed" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="PgenCounter" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DSAKeyValueType", propOrder = { + "p", + "q", + "j", + "g", + "y", + "seed", + "pgenCounter" +}) +public class DSAKeyValueType { + + @XmlElement(name = "P") + protected String p; + @XmlElement(name = "Q") + protected String q; + @XmlElement(name = "J") + protected String j; + @XmlElement(name = "G") + protected String g; + @XmlElement(name = "Y", required = true) + protected String y; + @XmlElement(name = "Seed") + protected String seed; + @XmlElement(name = "PgenCounter") + protected String pgenCounter; + + /** + * Gets the value of the p property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getP() { + return p; + } + + /** + * Sets the value of the p property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setP(String value) { + this.p = value; + } + + /** + * Gets the value of the q property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQ() { + return q; + } + + /** + * Sets the value of the q property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQ(String value) { + this.q = value; + } + + /** + * Gets the value of the j property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getJ() { + return j; + } + + /** + * Sets the value of the j property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setJ(String value) { + this.j = value; + } + + /** + * Gets the value of the g property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getG() { + return g; + } + + /** + * Sets the value of the g property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setG(String value) { + this.g = value; + } + + /** + * Gets the value of the y property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getY() { + return y; + } + + /** + * Sets the value of the y property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setY(String value) { + this.y = value; + } + + /** + * Gets the value of the seed property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSeed() { + return seed; + } + + /** + * Sets the value of the seed property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSeed(String value) { + this.seed = value; + } + + /** + * Gets the value of the pgenCounter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPgenCounter() { + return pgenCounter; + } + + /** + * Sets the value of the pgenCounter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPgenCounter(String value) { + this.pgenCounter = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/DigestMethodType.java b/src/main/java/at/gv/util/xsd/xmldsig/DigestMethodType.java new file mode 100644 index 0000000..0ff9f98 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/DigestMethodType.java @@ -0,0 +1,104 @@ + +package at.gv.util.xsd.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for DigestMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DigestMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DigestMethodType", propOrder = { + "content" +}) +public class DigestMethodType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link String } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/KeyInfoType.java b/src/main/java/at/gv/util/xsd/xmldsig/KeyInfoType.java new file mode 100644 index 0000000..92f7e41 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/KeyInfoType.java @@ -0,0 +1,135 @@ + +package at.gv.util.xsd.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for KeyInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="KeyInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyName"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}RetrievalMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}X509Data"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}PGPData"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SPKIData"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}MgmtData"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyInfoType", propOrder = { + "content" +}) +public class KeyInfoType { + + @XmlElementRefs({ + @XmlElementRef(name = "MgmtData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "X509Data", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "SPKIData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "PGPData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "RetrievalMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "KeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "KeyName", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Element } + * {@link JAXBElement }{@code <}{@link X509DataType }{@code >} + * {@link JAXBElement }{@code <}{@link SPKIDataType }{@code >} + * {@link JAXBElement }{@code <}{@link PGPDataType }{@code >} + * {@link JAXBElement }{@code <}{@link RetrievalMethodType }{@code >} + * {@link JAXBElement }{@code <}{@link KeyValueType }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/KeyValueType.java b/src/main/java/at/gv/util/xsd/xmldsig/KeyValueType.java new file mode 100644 index 0000000..ec43d07 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/KeyValueType.java @@ -0,0 +1,85 @@ + +package at.gv.util.xsd.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for KeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="KeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DSAKeyValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}RSAKeyValue"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyValueType", propOrder = { + "content" +}) +public class KeyValueType { + + @XmlElementRefs({ + @XmlElementRef(name = "RSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "DSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link String } + * {@link JAXBElement }{@code <}{@link RSAKeyValueType }{@code >} + * {@link Element } + * {@link JAXBElement }{@code <}{@link DSAKeyValueType }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/ManifestType.java b/src/main/java/at/gv/util/xsd/xmldsig/ManifestType.java new file mode 100644 index 0000000..98a7b9a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/ManifestType.java @@ -0,0 +1,104 @@ + +package at.gv.util.xsd.xmldsig; + +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.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; + + +/** + * <p>Java class for ManifestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ManifestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ManifestType", propOrder = { + "reference" +}) +public class ManifestType { + + @XmlElement(name = "Reference", required = true) + protected List<ReferenceType> reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the reference property. + * + * <p> + * 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 <CODE>set</CODE> method for the reference property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReference().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ReferenceType } + * + * + */ + public List<ReferenceType> getReference() { + if (reference == null) { + reference = new ArrayList<ReferenceType>(); + } + return this.reference; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/ObjectFactory.java b/src/main/java/at/gv/util/xsd/xmldsig/ObjectFactory.java new file mode 100644 index 0000000..2ad14af --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/ObjectFactory.java @@ -0,0 +1,552 @@ + +package at.gv.util.xsd.xmldsig; + +import java.math.BigInteger; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.xmldsig package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _SignatureMethodTypeHMACOutputLength_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "HMACOutputLength"); + private final static QName _PGPData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPData"); + private final static QName _SPKIData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKIData"); + private final static QName _CanonicalizationMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "CanonicalizationMethod"); + private final static QName _Transforms_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transforms"); + private final static QName _Manifest_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Manifest"); + private final static QName _SignatureMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureMethod"); + private final static QName _KeyInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyInfo"); + private final static QName _DigestMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestMethod"); + private final static QName _MgmtData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "MgmtData"); + private final static QName _SignedInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignedInfo"); + private final static QName _Object_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Object"); + private final static QName _X509Data_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Data"); + private final static QName _SignatureProperties_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperties"); + private final static QName _KeyName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyName"); + private final static QName _RetrievalMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RetrievalMethod"); + private final static QName _SignatureProperty_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperty"); + private final static QName _Reference_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Reference"); + private final static QName _RSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RSAKeyValue"); + private final static QName _Signature_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Signature"); + private final static QName _DSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DSAKeyValue"); + private final static QName _SignatureValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureValue"); + private final static QName _Transform_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transform"); + private final static QName _DigestValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestValue"); + private final static QName _KeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyValue"); + private final static QName _X509DataTypeX509IssuerSerial_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509IssuerSerial"); + private final static QName _X509DataTypeX509Certificate_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Certificate"); + private final static QName _X509DataTypeX509SKI_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SKI"); + private final static QName _X509DataTypeX509SubjectName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SubjectName"); + private final static QName _X509DataTypeX509CRL_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509CRL"); + private final static QName _PGPDataTypePGPKeyID_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyID"); + private final static QName _PGPDataTypePGPKeyPacket_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyPacket"); + private final static QName _SPKIDataTypeSPKISexp_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKISexp"); + private final static QName _TransformTypeXPath_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "XPath"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.xmldsig + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link KeyInfoType } + * + */ + public KeyInfoType createKeyInfoType() { + return new KeyInfoType(); + } + + /** + * Create an instance of {@link SignedInfoType } + * + */ + public SignedInfoType createSignedInfoType() { + return new SignedInfoType(); + } + + /** + * Create an instance of {@link RetrievalMethodType } + * + */ + public RetrievalMethodType createRetrievalMethodType() { + return new RetrievalMethodType(); + } + + /** + * Create an instance of {@link DigestMethodType } + * + */ + public DigestMethodType createDigestMethodType() { + return new DigestMethodType(); + } + + /** + * Create an instance of {@link SignatureMethodType } + * + */ + public SignatureMethodType createSignatureMethodType() { + return new SignatureMethodType(); + } + + /** + * Create an instance of {@link SPKIDataType } + * + */ + public SPKIDataType createSPKIDataType() { + return new SPKIDataType(); + } + + /** + * Create an instance of {@link X509DataType } + * + */ + public X509DataType createX509DataType() { + return new X509DataType(); + } + + /** + * Create an instance of {@link PGPDataType } + * + */ + public PGPDataType createPGPDataType() { + return new PGPDataType(); + } + + /** + * Create an instance of {@link SignatureType } + * + */ + public SignatureType createSignatureType() { + return new SignatureType(); + } + + /** + * Create an instance of {@link DSAKeyValueType } + * + */ + public DSAKeyValueType createDSAKeyValueType() { + return new DSAKeyValueType(); + } + + /** + * Create an instance of {@link ManifestType } + * + */ + public ManifestType createManifestType() { + return new ManifestType(); + } + + /** + * Create an instance of {@link SignatureValueType } + * + */ + public SignatureValueType createSignatureValueType() { + return new SignatureValueType(); + } + + /** + * Create an instance of {@link TransformsType } + * + */ + public TransformsType createTransformsType() { + return new TransformsType(); + } + + /** + * Create an instance of {@link RSAKeyValueType } + * + */ + public RSAKeyValueType createRSAKeyValueType() { + return new RSAKeyValueType(); + } + + /** + * Create an instance of {@link TransformType } + * + */ + public TransformType createTransformType() { + return new TransformType(); + } + + /** + * Create an instance of {@link SignaturePropertyType } + * + */ + public SignaturePropertyType createSignaturePropertyType() { + return new SignaturePropertyType(); + } + + /** + * Create an instance of {@link KeyValueType } + * + */ + public KeyValueType createKeyValueType() { + return new KeyValueType(); + } + + /** + * Create an instance of {@link ReferenceType } + * + */ + public ReferenceType createReferenceType() { + return new ReferenceType(); + } + + /** + * Create an instance of {@link CanonicalizationMethodType } + * + */ + public CanonicalizationMethodType createCanonicalizationMethodType() { + return new CanonicalizationMethodType(); + } + + /** + * Create an instance of {@link SignaturePropertiesType } + * + */ + public SignaturePropertiesType createSignaturePropertiesType() { + return new SignaturePropertiesType(); + } + + /** + * Create an instance of {@link ObjectType } + * + */ + public ObjectType createObjectType() { + return new ObjectType(); + } + + /** + * Create an instance of {@link X509IssuerSerialType } + * + */ + public X509IssuerSerialType createX509IssuerSerialType() { + return new X509IssuerSerialType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "HMACOutputLength", scope = SignatureMethodType.class) + public JAXBElement<BigInteger> createSignatureMethodTypeHMACOutputLength(BigInteger value) { + return new JAXBElement<BigInteger>(_SignatureMethodTypeHMACOutputLength_QNAME, BigInteger.class, SignatureMethodType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PGPDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPData") + public JAXBElement<PGPDataType> createPGPData(PGPDataType value) { + return new JAXBElement<PGPDataType>(_PGPData_QNAME, PGPDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SPKIDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKIData") + public JAXBElement<SPKIDataType> createSPKIData(SPKIDataType value) { + return new JAXBElement<SPKIDataType>(_SPKIData_QNAME, SPKIDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CanonicalizationMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "CanonicalizationMethod") + public JAXBElement<CanonicalizationMethodType> createCanonicalizationMethod(CanonicalizationMethodType value) { + return new JAXBElement<CanonicalizationMethodType>(_CanonicalizationMethod_QNAME, CanonicalizationMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TransformsType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transforms") + public JAXBElement<TransformsType> createTransforms(TransformsType value) { + return new JAXBElement<TransformsType>(_Transforms_QNAME, TransformsType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ManifestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Manifest") + public JAXBElement<ManifestType> createManifest(ManifestType value) { + return new JAXBElement<ManifestType>(_Manifest_QNAME, ManifestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureMethod") + public JAXBElement<SignatureMethodType> createSignatureMethod(SignatureMethodType value) { + return new JAXBElement<SignatureMethodType>(_SignatureMethod_QNAME, SignatureMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyInfo") + public JAXBElement<KeyInfoType> createKeyInfo(KeyInfoType value) { + return new JAXBElement<KeyInfoType>(_KeyInfo_QNAME, KeyInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DigestMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestMethod") + public JAXBElement<DigestMethodType> createDigestMethod(DigestMethodType value) { + return new JAXBElement<DigestMethodType>(_DigestMethod_QNAME, DigestMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "MgmtData") + public JAXBElement<String> createMgmtData(String value) { + return new JAXBElement<String>(_MgmtData_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignedInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignedInfo") + public JAXBElement<SignedInfoType> createSignedInfo(SignedInfoType value) { + return new JAXBElement<SignedInfoType>(_SignedInfo_QNAME, SignedInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ObjectType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Object") + public JAXBElement<ObjectType> createObject(ObjectType value) { + return new JAXBElement<ObjectType>(_Object_QNAME, ObjectType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link X509DataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Data") + public JAXBElement<X509DataType> createX509Data(X509DataType value) { + return new JAXBElement<X509DataType>(_X509Data_QNAME, X509DataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignaturePropertiesType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperties") + public JAXBElement<SignaturePropertiesType> createSignatureProperties(SignaturePropertiesType value) { + return new JAXBElement<SignaturePropertiesType>(_SignatureProperties_QNAME, SignaturePropertiesType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyName") + public JAXBElement<String> createKeyName(String value) { + return new JAXBElement<String>(_KeyName_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RetrievalMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RetrievalMethod") + public JAXBElement<RetrievalMethodType> createRetrievalMethod(RetrievalMethodType value) { + return new JAXBElement<RetrievalMethodType>(_RetrievalMethod_QNAME, RetrievalMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignaturePropertyType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperty") + public JAXBElement<SignaturePropertyType> createSignatureProperty(SignaturePropertyType value) { + return new JAXBElement<SignaturePropertyType>(_SignatureProperty_QNAME, SignaturePropertyType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Reference") + public JAXBElement<ReferenceType> createReference(ReferenceType value) { + return new JAXBElement<ReferenceType>(_Reference_QNAME, ReferenceType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RSAKeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RSAKeyValue") + public JAXBElement<RSAKeyValueType> createRSAKeyValue(RSAKeyValueType value) { + return new JAXBElement<RSAKeyValueType>(_RSAKeyValue_QNAME, RSAKeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Signature") + public JAXBElement<SignatureType> createSignature(SignatureType value) { + return new JAXBElement<SignatureType>(_Signature_QNAME, SignatureType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DSAKeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DSAKeyValue") + public JAXBElement<DSAKeyValueType> createDSAKeyValue(DSAKeyValueType value) { + return new JAXBElement<DSAKeyValueType>(_DSAKeyValue_QNAME, DSAKeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureValue") + public JAXBElement<SignatureValueType> createSignatureValue(SignatureValueType value) { + return new JAXBElement<SignatureValueType>(_SignatureValue_QNAME, SignatureValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TransformType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transform") + public JAXBElement<TransformType> createTransform(TransformType value) { + return new JAXBElement<TransformType>(_Transform_QNAME, TransformType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestValue") + public JAXBElement<String> createDigestValue(String value) { + return new JAXBElement<String>(_DigestValue_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyValue") + public JAXBElement<KeyValueType> createKeyValue(KeyValueType value) { + return new JAXBElement<KeyValueType>(_KeyValue_QNAME, KeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509IssuerSerial", scope = X509DataType.class) + public JAXBElement<X509IssuerSerialType> createX509DataTypeX509IssuerSerial(X509IssuerSerialType value) { + return new JAXBElement<X509IssuerSerialType>(_X509DataTypeX509IssuerSerial_QNAME, X509IssuerSerialType.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Certificate", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509Certificate(String value) { + return new JAXBElement<String>(_X509DataTypeX509Certificate_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SKI", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509SKI(String value) { + return new JAXBElement<String>(_X509DataTypeX509SKI_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SubjectName", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509SubjectName(String value) { + return new JAXBElement<String>(_X509DataTypeX509SubjectName_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509CRL", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509CRL(String value) { + return new JAXBElement<String>(_X509DataTypeX509CRL_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyID", scope = PGPDataType.class) + public JAXBElement<String> createPGPDataTypePGPKeyID(String value) { + return new JAXBElement<String>(_PGPDataTypePGPKeyID_QNAME, String.class, PGPDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyPacket", scope = PGPDataType.class) + public JAXBElement<String> createPGPDataTypePGPKeyPacket(String value) { + return new JAXBElement<String>(_PGPDataTypePGPKeyPacket_QNAME, String.class, PGPDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKISexp", scope = SPKIDataType.class) + public JAXBElement<String> createSPKIDataTypeSPKISexp(String value) { + return new JAXBElement<String>(_SPKIDataTypeSPKISexp_QNAME, String.class, SPKIDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "XPath", scope = TransformType.class) + public JAXBElement<String> createTransformTypeXPath(String value) { + return new JAXBElement<String>(_TransformTypeXPath_QNAME, String.class, TransformType.class, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/ObjectType.java b/src/main/java/at/gv/util/xsd/xmldsig/ObjectType.java new file mode 100644 index 0000000..9d10b47 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/ObjectType.java @@ -0,0 +1,164 @@ + +package at.gv.util.xsd.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for ObjectType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ObjectType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ObjectType", propOrder = { + "content" +}) +public class ObjectType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "MimeType") + protected String mimeType; + @XmlAttribute(name = "Encoding") + @XmlSchemaType(name = "anyURI") + protected String encoding; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link String } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * 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; + } + + /** + * Gets the value of the mimeType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMimeType() { + return mimeType; + } + + /** + * Sets the value of the mimeType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMimeType(String value) { + this.mimeType = value; + } + + /** + * Gets the value of the encoding property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncoding() { + return encoding; + } + + /** + * Sets the value of the encoding property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncoding(String value) { + this.encoding = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/PGPDataType.java b/src/main/java/at/gv/util/xsd/xmldsig/PGPDataType.java new file mode 100644 index 0000000..a3d309f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/PGPDataType.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for PGPDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PGPDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="PGPKeyID" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="PGPKeyPacket" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <sequence> + * <element name="PGPKeyPacket" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PGPDataType", propOrder = { + "content" +}) +public class PGPDataType { + + @XmlElementRefs({ + @XmlElementRef(name = "PGPKeyPacket", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "PGPKeyID", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false) + }) + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the rest of the content model. + * + * <p> + * You are getting this "catch-all" property because of the following reason: + * The field name "PGPKeyPacket" is used by two different parts of a schema. See: + * line 184 of file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/W3C-XMLDSig.xsd + * line 180 of file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/W3C-XMLDSig.xsd + * <p> + * To get rid of this property, apply a property customization to one + * of both of the following declarations to change their names: + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Element } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/RSAKeyValueType.java b/src/main/java/at/gv/util/xsd/xmldsig/RSAKeyValueType.java new file mode 100644 index 0000000..a03ee7b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/RSAKeyValueType.java @@ -0,0 +1,90 @@ + +package at.gv.util.xsd.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Modulus" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="Exponent" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RSAKeyValueType", propOrder = { + "modulus", + "exponent" +}) +public class RSAKeyValueType { + + @XmlElement(name = "Modulus", required = true) + protected String modulus; + @XmlElement(name = "Exponent", required = true) + protected String exponent; + + /** + * Gets the value of the modulus property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModulus() { + return modulus; + } + + /** + * Sets the value of the modulus property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModulus(String value) { + this.modulus = value; + } + + /** + * Gets the value of the exponent property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getExponent() { + return exponent; + } + + /** + * Sets the value of the exponent property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setExponent(String value) { + this.exponent = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/ReferenceType.java b/src/main/java/at/gv/util/xsd/xmldsig/ReferenceType.java new file mode 100644 index 0000000..faacd02 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/ReferenceType.java @@ -0,0 +1,209 @@ + +package at.gv.util.xsd.xmldsig; + +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.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; + + +/** + * <p>Java class for ReferenceType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ReferenceType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestValue"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferenceType", propOrder = { + "transforms", + "digestMethod", + "digestValue" +}) +public class ReferenceType { + + @XmlElement(name = "Transforms") + protected TransformsType transforms; + @XmlElement(name = "DigestMethod", required = true) + protected DigestMethodType digestMethod; + @XmlElement(name = "DigestValue", required = true) + protected String digestValue; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "URI") + @XmlSchemaType(name = "anyURI") + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the digestMethod property. + * + * @return + * possible object is + * {@link DigestMethodType } + * + */ + public DigestMethodType getDigestMethod() { + return digestMethod; + } + + /** + * Sets the value of the digestMethod property. + * + * @param value + * allowed object is + * {@link DigestMethodType } + * + */ + public void setDigestMethod(DigestMethodType value) { + this.digestMethod = value; + } + + /** + * Gets the value of the digestValue property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDigestValue() { + return digestValue; + } + + /** + * Sets the value of the digestValue property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDigestValue(String value) { + this.digestValue = value; + } + + /** + * 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; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/RetrievalMethodType.java b/src/main/java/at/gv/util/xsd/xmldsig/RetrievalMethodType.java new file mode 100644 index 0000000..8de9a57 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/RetrievalMethodType.java @@ -0,0 +1,120 @@ + +package at.gv.util.xsd.xmldsig; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RetrievalMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RetrievalMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Transforms" type="{http://www.w3.org/2000/09/xmldsig#}TransformsType" minOccurs="0"/> + * </sequence> + * <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RetrievalMethodType", propOrder = { + "transforms" +}) +public class RetrievalMethodType { + + @XmlElement(name = "Transforms") + protected TransformsType transforms; + @XmlAttribute(name = "URI") + @XmlSchemaType(name = "anyURI") + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/SPKIDataType.java b/src/main/java/at/gv/util/xsd/xmldsig/SPKIDataType.java new file mode 100644 index 0000000..cc1d2a5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/SPKIDataType.java @@ -0,0 +1,76 @@ + +package at.gv.util.xsd.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for SPKIDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SPKIDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="SPKISexp" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other' minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SPKIDataType", propOrder = { + "spkiSexpAndAny" +}) +public class SPKIDataType { + + @XmlElementRef(name = "SPKISexp", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlAnyElement(lax = true) + protected List<Object> spkiSexpAndAny; + + /** + * Gets the value of the spkiSexpAndAny property. + * + * <p> + * 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 <CODE>set</CODE> method for the spkiSexpAndAny property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSPKISexpAndAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Element } + * + * + */ + public List<Object> getSPKISexpAndAny() { + if (spkiSexpAndAny == null) { + spkiSexpAndAny = new ArrayList<Object>(); + } + return this.spkiSexpAndAny; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/SignatureMethodType.java b/src/main/java/at/gv/util/xsd/xmldsig/SignatureMethodType.java new file mode 100644 index 0000000..5f5f973 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/SignatureMethodType.java @@ -0,0 +1,108 @@ + +package at.gv.util.xsd.xmldsig; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SignatureMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="HMACOutputLength" type="{http://www.w3.org/2000/09/xmldsig#}HMACOutputLengthType" minOccurs="0"/> + * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureMethodType", propOrder = { + "content" +}) +public class SignatureMethodType { + + @XmlElementRef(name = "HMACOutputLength", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/SignaturePropertiesType.java b/src/main/java/at/gv/util/xsd/xmldsig/SignaturePropertiesType.java new file mode 100644 index 0000000..d70a3df --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/SignaturePropertiesType.java @@ -0,0 +1,104 @@ + +package at.gv.util.xsd.xmldsig; + +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.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; + + +/** + * <p>Java class for SignaturePropertiesType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignaturePropertiesType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureProperty" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignaturePropertiesType", propOrder = { + "signatureProperty" +}) +public class SignaturePropertiesType { + + @XmlElement(name = "SignatureProperty", required = true) + protected List<SignaturePropertyType> signatureProperty; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the signatureProperty property. + * + * <p> + * 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 <CODE>set</CODE> method for the signatureProperty property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSignatureProperty().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link SignaturePropertyType } + * + * + */ + public List<SignaturePropertyType> getSignatureProperty() { + if (signatureProperty == null) { + signatureProperty = new ArrayList<SignaturePropertyType>(); + } + return this.signatureProperty; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/SignaturePropertyType.java b/src/main/java/at/gv/util/xsd/xmldsig/SignaturePropertyType.java new file mode 100644 index 0000000..8efa497 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/SignaturePropertyType.java @@ -0,0 +1,137 @@ + +package at.gv.util.xsd.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for SignaturePropertyType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignaturePropertyType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <any processContents='lax' namespace='##other'/> + * </choice> + * <attribute name="Target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignaturePropertyType", propOrder = { + "content" +}) +public class SignaturePropertyType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Target", required = true) + @XmlSchemaType(name = "anyURI") + protected String target; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link String } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the target property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTarget() { + return target; + } + + /** + * Sets the value of the target property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTarget(String value) { + this.target = value; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/SignatureType.java b/src/main/java/at/gv/util/xsd/xmldsig/SignatureType.java new file mode 100644 index 0000000..49db579 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/SignatureType.java @@ -0,0 +1,188 @@ + +package at.gv.util.xsd.xmldsig; + +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.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; + + +/** + * <p>Java class for SignatureType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignedInfo"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Object" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureType", propOrder = { + "signedInfo", + "signatureValue", + "keyInfo", + "object" +}) +public class SignatureType { + + @XmlElement(name = "SignedInfo", required = true) + protected SignedInfoType signedInfo; + @XmlElement(name = "SignatureValue", required = true) + protected SignatureValueType signatureValue; + @XmlElement(name = "KeyInfo") + protected KeyInfoType keyInfo; + @XmlElement(name = "Object") + protected List<ObjectType> object; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the signedInfo property. + * + * @return + * possible object is + * {@link SignedInfoType } + * + */ + public SignedInfoType getSignedInfo() { + return signedInfo; + } + + /** + * Sets the value of the signedInfo property. + * + * @param value + * allowed object is + * {@link SignedInfoType } + * + */ + public void setSignedInfo(SignedInfoType value) { + this.signedInfo = value; + } + + /** + * Gets the value of the signatureValue property. + * + * @return + * possible object is + * {@link SignatureValueType } + * + */ + public SignatureValueType getSignatureValue() { + return signatureValue; + } + + /** + * Sets the value of the signatureValue property. + * + * @param value + * allowed object is + * {@link SignatureValueType } + * + */ + public void setSignatureValue(SignatureValueType value) { + this.signatureValue = value; + } + + /** + * Gets the value of the keyInfo property. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Sets the value of the keyInfo property. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Gets the value of the object property. + * + * <p> + * 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 <CODE>set</CODE> method for the object property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getObject().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ObjectType } + * + * + */ + public List<ObjectType> getObject() { + if (object == null) { + object = new ArrayList<ObjectType>(); + } + return this.object; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/SignatureValueType.java b/src/main/java/at/gv/util/xsd/xmldsig/SignatureValueType.java new file mode 100644 index 0000000..10c6120 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/SignatureValueType.java @@ -0,0 +1,94 @@ + +package at.gv.util.xsd.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for SignatureValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureValueType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2000/09/xmldsig#>CryptoBinary"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureValueType", propOrder = { + "value" +}) +public class SignatureValueType { + + @XmlValue + protected String value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/SignedInfoType.java b/src/main/java/at/gv/util/xsd/xmldsig/SignedInfoType.java new file mode 100644 index 0000000..140ed1b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/SignedInfoType.java @@ -0,0 +1,160 @@ + +package at.gv.util.xsd.xmldsig; + +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.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; + + +/** + * <p>Java class for SignedInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignedInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignedInfoType", propOrder = { + "canonicalizationMethod", + "signatureMethod", + "reference" +}) +public class SignedInfoType { + + @XmlElement(name = "CanonicalizationMethod", required = true) + protected CanonicalizationMethodType canonicalizationMethod; + @XmlElement(name = "SignatureMethod", required = true) + protected SignatureMethodType signatureMethod; + @XmlElement(name = "Reference", required = true) + protected List<ReferenceType> reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * 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 signatureMethod property. + * + * @return + * possible object is + * {@link SignatureMethodType } + * + */ + public SignatureMethodType getSignatureMethod() { + return signatureMethod; + } + + /** + * Sets the value of the signatureMethod property. + * + * @param value + * allowed object is + * {@link SignatureMethodType } + * + */ + public void setSignatureMethod(SignatureMethodType value) { + this.signatureMethod = value; + } + + /** + * Gets the value of the reference property. + * + * <p> + * 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 <CODE>set</CODE> method for the reference property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReference().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ReferenceType } + * + * + */ + public List<ReferenceType> getReference() { + if (reference == null) { + reference = new ArrayList<ReferenceType>(); + } + return this.reference; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/TransformType.java b/src/main/java/at/gv/util/xsd/xmldsig/TransformType.java new file mode 100644 index 0000000..8617ced --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/TransformType.java @@ -0,0 +1,109 @@ + +package at.gv.util.xsd.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for TransformType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TransformType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax' namespace='##other'/> + * <element name="XPath" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </choice> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformType", propOrder = { + "content" +}) +public class TransformType { + + @XmlElementRef(name = "XPath", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/TransformsType.java b/src/main/java/at/gv/util/xsd/xmldsig/TransformsType.java new file mode 100644 index 0000000..9b95a61 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/TransformsType.java @@ -0,0 +1,69 @@ + +package at.gv.util.xsd.xmldsig; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TransformsType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TransformsType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transform" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformsType", propOrder = { + "transform" +}) +public class TransformsType { + + @XmlElement(name = "Transform", required = true) + protected List<TransformType> transform; + + /** + * Gets the value of the transform property. + * + * <p> + * 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 <CODE>set</CODE> method for the transform property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTransform().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TransformType } + * + * + */ + public List<TransformType> getTransform() { + if (transform == null) { + transform = new ArrayList<TransformType>(); + } + return this.transform; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/X509DataType.java b/src/main/java/at/gv/util/xsd/xmldsig/X509DataType.java new file mode 100644 index 0000000..b501f94 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/X509DataType.java @@ -0,0 +1,93 @@ + +package at.gv.util.xsd.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for X509DataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="X509DataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <choice> + * <element name="X509IssuerSerial" type="{http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType"/> + * <element name="X509SKI" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="X509SubjectName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="X509Certificate" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="X509CRL" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509DataType", propOrder = { + "x509IssuerSerialOrX509SKIOrX509SubjectName" +}) +public class X509DataType { + + @XmlElementRefs({ + @XmlElementRef(name = "X509IssuerSerial", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "X509Certificate", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "X509SubjectName", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "X509CRL", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "X509SKI", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false) + }) + @XmlAnyElement(lax = true) + protected List<Object> x509IssuerSerialOrX509SKIOrX509SubjectName; + + /** + * Gets the value of the x509IssuerSerialOrX509SKIOrX509SubjectName property. + * + * <p> + * 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 <CODE>set</CODE> method for the x509IssuerSerialOrX509SKIOrX509SubjectName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getX509IssuerSerialOrX509SKIOrX509SubjectName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >} + * {@link Element } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<Object> getX509IssuerSerialOrX509SKIOrX509SubjectName() { + if (x509IssuerSerialOrX509SKIOrX509SubjectName == null) { + x509IssuerSerialOrX509SKIOrX509SubjectName = new ArrayList<Object>(); + } + return this.x509IssuerSerialOrX509SKIOrX509SubjectName; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/X509IssuerSerialType.java b/src/main/java/at/gv/util/xsd/xmldsig/X509IssuerSerialType.java new file mode 100644 index 0000000..b3ef622 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/X509IssuerSerialType.java @@ -0,0 +1,91 @@ + +package at.gv.util.xsd.xmldsig; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for X509IssuerSerialType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="X509IssuerSerialType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="X509IssuerName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="X509SerialNumber" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509IssuerSerialType", propOrder = { + "x509IssuerName", + "x509SerialNumber" +}) +public class X509IssuerSerialType { + + @XmlElement(name = "X509IssuerName", required = true) + protected String x509IssuerName; + @XmlElement(name = "X509SerialNumber", required = true) + protected BigInteger x509SerialNumber; + + /** + * Gets the value of the x509IssuerName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getX509IssuerName() { + return x509IssuerName; + } + + /** + * Sets the value of the x509IssuerName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setX509IssuerName(String value) { + this.x509IssuerName = value; + } + + /** + * Gets the value of the x509SerialNumber property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getX509SerialNumber() { + return x509SerialNumber; + } + + /** + * Sets the value of the x509SerialNumber property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setX509SerialNumber(BigInteger value) { + this.x509SerialNumber = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/xmldsig/package-info.java b/src/main/java/at/gv/util/xsd/xmldsig/package-info.java new file mode 100644 index 0000000..e4ae440 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/xmldsig/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2000/09/xmldsig#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.xmldsig; diff --git a/src/main/java/at/gv/util/xsd/zkopf/AnswerType.java b/src/main/java/at/gv/util/xsd/zkopf/AnswerType.java new file mode 100644 index 0000000..8c4ad97 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/AnswerType.java @@ -0,0 +1,287 @@ + +package at.gv.util.xsd.zkopf; + +import java.math.BigInteger; +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for AnswerType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AnswerType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="Success"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="gvZbPK" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="ZUSE" type="{http://reference.e-government.gv.at/namespaces/zustellung/kopf}zuseType" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Error"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger"> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </choice> + * <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AnswerType", propOrder = { + "success", + "error" +}) +public class AnswerType { + + @XmlElement(name = "Success") + protected AnswerType.Success success; + @XmlElement(name = "Error") + protected AnswerType.Error error; + @XmlAttribute(name = "ID") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String id; + + /** + * Gets the value of the success property. + * + * @return + * possible object is + * {@link AnswerType.Success } + * + */ + public AnswerType.Success getSuccess() { + return success; + } + + /** + * Sets the value of the success property. + * + * @param value + * allowed object is + * {@link AnswerType.Success } + * + */ + public void setSuccess(AnswerType.Success value) { + this.success = value; + } + + /** + * Gets the value of the error property. + * + * @return + * possible object is + * {@link AnswerType.Error } + * + */ + public AnswerType.Error getError() { + return error; + } + + /** + * Sets the value of the error property. + * + * @param value + * allowed object is + * {@link AnswerType.Error } + * + */ + public void setError(AnswerType.Error value) { + this.error = value; + } + + /** + * 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; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger"> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Error { + + @XmlValue + @XmlSchemaType(name = "positiveInteger") + protected BigInteger value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setValue(BigInteger value) { + this.value = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="gvZbPK" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="ZUSE" type="{http://reference.e-government.gv.at/namespaces/zustellung/kopf}zuseType" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "gvZbPK", + "zuse" + }) + public static class Success { + + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String gvZbPK; + @XmlElement(name = "ZUSE", required = true) + protected List<ZuseType> zuse; + + /** + * Gets the value of the gvZbPK property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvZbPK() { + return gvZbPK; + } + + /** + * Sets the value of the gvZbPK property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvZbPK(String value) { + this.gvZbPK = value; + } + + /** + * Gets the value of the zuse property. + * + * <p> + * 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 <CODE>set</CODE> method for the zuse property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getZUSE().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ZuseType } + * + * + */ + public List<ZuseType> getZUSE() { + if (zuse == null) { + zuse = new ArrayList<ZuseType>(); + } + return this.zuse; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/BulkAnswerType.java b/src/main/java/at/gv/util/xsd/zkopf/BulkAnswerType.java new file mode 100644 index 0000000..33f4005 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/BulkAnswerType.java @@ -0,0 +1,143 @@ + +package at.gv.util.xsd.zkopf; + +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.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for BulkAnswerType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="BulkAnswerType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <sequence> + * <element name="ZUSEUrl" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <sequence> + * <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <sequence> + * <element name="Answer" type="{http://reference.e-government.gv.at/namespaces/zustellung/kopf}AnswerType" maxOccurs="unbounded"/> + * </sequence> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BulkAnswerType", propOrder = { + "zuseUrl", + "mimeType", + "answer" +}) +public class BulkAnswerType { + + @XmlElement(name = "ZUSEUrl") + @XmlSchemaType(name = "anyURI") + protected List<String> zuseUrl; + @XmlElement(name = "MIMEType") + protected List<String> mimeType; + @XmlElement(name = "Answer", required = true) + protected List<AnswerType> answer; + + /** + * Gets the value of the zuseUrl property. + * + * <p> + * 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 <CODE>set</CODE> method for the zuseUrl property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getZUSEUrl().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getZUSEUrl() { + if (zuseUrl == null) { + zuseUrl = new ArrayList<String>(); + } + return this.zuseUrl; + } + + /** + * Gets the value of the mimeType property. + * + * <p> + * 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 <CODE>set</CODE> method for the mimeType property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMIMEType().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getMIMEType() { + if (mimeType == null) { + mimeType = new ArrayList<String>(); + } + return this.mimeType; + } + + /** + * Gets the value of the answer property. + * + * <p> + * 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 <CODE>set</CODE> method for the answer property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAnswer().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link AnswerType } + * + * + */ + public List<AnswerType> getAnswer() { + if (answer == null) { + answer = new ArrayList<AnswerType>(); + } + return this.answer; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/BulkQueryType.java b/src/main/java/at/gv/util/xsd/zkopf/BulkQueryType.java new file mode 100644 index 0000000..fb6ec03 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/BulkQueryType.java @@ -0,0 +1,164 @@ + +package at.gv.util.xsd.zkopf; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for BulkQueryType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="BulkQueryType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence maxOccurs="unbounded"> + * <element name="Query" type="{http://reference.e-government.gv.at/namespaces/zustellung/kopf}QueryType"/> + * </sequence> + * </choice> + * <attribute name="type"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> + * <enumeration value="mass"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="ProfileID" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * <attribute name="private" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BulkQueryType", propOrder = { + "query" +}) +public class BulkQueryType { + + @XmlElement(name = "Query") + protected List<QueryType> query; + @XmlAttribute + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String type; + @XmlAttribute(name = "ProfileID") + @XmlSchemaType(name = "anySimpleType") + protected String profileID; + @XmlAttribute(name = "private") + protected Boolean _private; + + /** + * Gets the value of the query property. + * + * <p> + * 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 <CODE>set</CODE> method for the query property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getQuery().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link QueryType } + * + * + */ + public List<QueryType> getQuery() { + if (query == null) { + query = new ArrayList<QueryType>(); + } + return this.query; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the profileID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProfileID() { + return profileID; + } + + /** + * Sets the value of the profileID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProfileID(String value) { + this.profileID = value; + } + + /** + * Gets the value of the private property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isPrivate() { + return _private; + } + + /** + * Sets the value of the private property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setPrivate(Boolean value) { + this._private = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/DeliveryAgentsType.java b/src/main/java/at/gv/util/xsd/zkopf/DeliveryAgentsType.java new file mode 100644 index 0000000..8f5880b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/DeliveryAgentsType.java @@ -0,0 +1,193 @@ + +package at.gv.util.xsd.zkopf; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * The list of approved delivery agents + * + * <p>Java class for DeliveryAgentsType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DeliveryAgentsType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DeliveryAgent" maxOccurs="unbounded"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="WebInterfaceURL"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI"> + * <minLength value="1"/> + * <whiteSpace value="collapse"/> + * </restriction> + * </simpleType> + * </element> + * <element name="WebServiceURL"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI"> + * <minLength value="1"/> + * <whiteSpace value="collapse"/> + * </restriction> + * </simpleType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DeliveryAgentsType", propOrder = { + "deliveryAgent" +}) +public class DeliveryAgentsType { + + @XmlElement(name = "DeliveryAgent", required = true) + protected List<DeliveryAgentsType.DeliveryAgent> deliveryAgent; + + /** + * Gets the value of the deliveryAgent property. + * + * <p> + * 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 <CODE>set</CODE> method for the deliveryAgent property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getDeliveryAgent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link DeliveryAgentsType.DeliveryAgent } + * + * + */ + public List<DeliveryAgentsType.DeliveryAgent> getDeliveryAgent() { + if (deliveryAgent == null) { + deliveryAgent = new ArrayList<DeliveryAgentsType.DeliveryAgent>(); + } + return this.deliveryAgent; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="WebInterfaceURL"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI"> + * <minLength value="1"/> + * <whiteSpace value="collapse"/> + * </restriction> + * </simpleType> + * </element> + * <element name="WebServiceURL"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI"> + * <minLength value="1"/> + * <whiteSpace value="collapse"/> + * </restriction> + * </simpleType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "webInterfaceURL", + "webServiceURL" + }) + public static class DeliveryAgent { + + @XmlElement(name = "WebInterfaceURL", required = true) + protected String webInterfaceURL; + @XmlElement(name = "WebServiceURL", required = true) + protected String webServiceURL; + + /** + * Gets the value of the webInterfaceURL property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getWebInterfaceURL() { + return webInterfaceURL; + } + + /** + * Sets the value of the webInterfaceURL property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setWebInterfaceURL(String value) { + this.webInterfaceURL = value; + } + + /** + * Gets the value of the webServiceURL property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getWebServiceURL() { + return webServiceURL; + } + + /** + * Sets the value of the webServiceURL property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setWebServiceURL(String value) { + this.webServiceURL = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/MessagingaddressType.java b/src/main/java/at/gv/util/xsd/zkopf/MessagingaddressType.java new file mode 100644 index 0000000..8bcb5ce --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/MessagingaddressType.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.zkopf; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.zkopf.persondata.InternetAddressType; +import at.gv.util.xsd.zkopf.persondata.TelephoneAddressType; + + +/** + * <p>Java class for messagingaddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="messagingaddressType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}TelephoneAddress" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}InternetAddress" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "messagingaddressType", propOrder = { + "telephoneAddress", + "internetAddress" +}) +public class MessagingaddressType { + + @XmlElement(name = "TelephoneAddress", namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#") + protected TelephoneAddressType telephoneAddress; + @XmlElement(name = "InternetAddress", namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#") + protected InternetAddressType internetAddress; + + /** + * Gets the value of the telephoneAddress property. + * + * @return + * possible object is + * {@link TelephoneAddressType } + * + */ + public TelephoneAddressType getTelephoneAddress() { + return telephoneAddress; + } + + /** + * Sets the value of the telephoneAddress property. + * + * @param value + * allowed object is + * {@link TelephoneAddressType } + * + */ + public void setTelephoneAddress(TelephoneAddressType value) { + this.telephoneAddress = value; + } + + /** + * Gets the value of the internetAddress property. + * + * @return + * possible object is + * {@link InternetAddressType } + * + */ + public InternetAddressType getInternetAddress() { + return internetAddress; + } + + /** + * Sets the value of the internetAddress property. + * + * @param value + * allowed object is + * {@link InternetAddressType } + * + */ + public void setInternetAddress(InternetAddressType value) { + this.internetAddress = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/ObjectFactory.java b/src/main/java/at/gv/util/xsd/zkopf/ObjectFactory.java new file mode 100644 index 0000000..6587a06 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/ObjectFactory.java @@ -0,0 +1,223 @@ + +package at.gv.util.xsd.zkopf; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.zkopf package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Query_QNAME = new QName("http://reference.e-government.gv.at/namespaces/zustellung/kopf", "Query"); + private final static QName _BulkAnswer_QNAME = new QName("http://reference.e-government.gv.at/namespaces/zustellung/kopf", "BulkAnswer"); + private final static QName _DeliveryAgents_QNAME = new QName("http://reference.e-government.gv.at/namespaces/zustellung/kopf", "DeliveryAgents"); + private final static QName _PushResponse_QNAME = new QName("http://reference.e-government.gv.at/namespaces/zustellung/kopf", "PushResponse"); + private final static QName _StdAnswer_QNAME = new QName("http://reference.e-government.gv.at/namespaces/zustellung/kopf", "StdAnswer"); + private final static QName _BulkQuery_QNAME = new QName("http://reference.e-government.gv.at/namespaces/zustellung/kopf", "BulkQuery"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.zkopf + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link BulkQueryType } + * + */ + public BulkQueryType createBulkQueryType() { + return new BulkQueryType(); + } + + /** + * Create an instance of {@link PushResponseType.Success } + * + */ + public PushResponseType.Success createPushResponseTypeSuccess() { + return new PushResponseType.Success(); + } + + /** + * Create an instance of {@link ZuseType } + * + */ + public ZuseType createZuseType() { + return new ZuseType(); + } + + /** + * Create an instance of {@link AnswerType } + * + */ + public AnswerType createAnswerType() { + return new AnswerType(); + } + + /** + * Create an instance of {@link AnswerType.Error } + * + */ + public AnswerType.Error createAnswerTypeError() { + return new AnswerType.Error(); + } + + /** + * Create an instance of {@link DeliveryAgentsType.DeliveryAgent } + * + */ + public DeliveryAgentsType.DeliveryAgent createDeliveryAgentsTypeDeliveryAgent() { + return new DeliveryAgentsType.DeliveryAgent(); + } + + /** + * Create an instance of {@link PushResponseType } + * + */ + public PushResponseType createPushResponseType() { + return new PushResponseType(); + } + + /** + * Create an instance of {@link PushResponseType.Error } + * + */ + public PushResponseType.Error createPushResponseTypeError() { + return new PushResponseType.Error(); + } + + /** + * Create an instance of {@link StdAnswerType } + * + */ + public StdAnswerType createStdAnswerType() { + return new StdAnswerType(); + } + + /** + * Create an instance of {@link BulkAnswerType } + * + */ + public BulkAnswerType createBulkAnswerType() { + return new BulkAnswerType(); + } + + /** + * Create an instance of {@link DeliveryAgentsType } + * + */ + public DeliveryAgentsType createDeliveryAgentsType() { + return new DeliveryAgentsType(); + } + + /** + * Create an instance of {@link MessagingaddressType } + * + */ + public MessagingaddressType createMessagingaddressType() { + return new MessagingaddressType(); + } + + /** + * Create an instance of {@link PushResponseType.Error.FailedDN } + * + */ + public PushResponseType.Error.FailedDN createPushResponseTypeErrorFailedDN() { + return new PushResponseType.Error.FailedDN(); + } + + /** + * Create an instance of {@link AnswerType.Success } + * + */ + public AnswerType.Success createAnswerTypeSuccess() { + return new AnswerType.Success(); + } + + /** + * Create an instance of {@link QueryType } + * + */ + public QueryType createQueryType() { + return new QueryType(); + } + + /** + * Create an instance of {@link StdAnswerType.Success } + * + */ + public StdAnswerType.Success createStdAnswerTypeSuccess() { + return new StdAnswerType.Success(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link QueryType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespaces/zustellung/kopf", name = "Query") + public JAXBElement<QueryType> createQuery(QueryType value) { + return new JAXBElement<QueryType>(_Query_QNAME, QueryType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BulkAnswerType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespaces/zustellung/kopf", name = "BulkAnswer") + public JAXBElement<BulkAnswerType> createBulkAnswer(BulkAnswerType value) { + return new JAXBElement<BulkAnswerType>(_BulkAnswer_QNAME, BulkAnswerType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DeliveryAgentsType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespaces/zustellung/kopf", name = "DeliveryAgents") + public JAXBElement<DeliveryAgentsType> createDeliveryAgents(DeliveryAgentsType value) { + return new JAXBElement<DeliveryAgentsType>(_DeliveryAgents_QNAME, DeliveryAgentsType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PushResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespaces/zustellung/kopf", name = "PushResponse") + public JAXBElement<PushResponseType> createPushResponse(PushResponseType value) { + return new JAXBElement<PushResponseType>(_PushResponse_QNAME, PushResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link StdAnswerType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespaces/zustellung/kopf", name = "StdAnswer") + public JAXBElement<StdAnswerType> createStdAnswer(StdAnswerType value) { + return new JAXBElement<StdAnswerType>(_StdAnswer_QNAME, StdAnswerType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BulkQueryType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespaces/zustellung/kopf", name = "BulkQuery") + public JAXBElement<BulkQueryType> createBulkQuery(BulkQueryType value) { + return new JAXBElement<BulkQueryType>(_BulkQuery_QNAME, BulkQueryType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/PushResponseType.java b/src/main/java/at/gv/util/xsd/zkopf/PushResponseType.java new file mode 100644 index 0000000..01d05e3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/PushResponseType.java @@ -0,0 +1,363 @@ + +package at.gv.util.xsd.zkopf; + +import java.math.BigInteger; +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.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for PushResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PushResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="Success"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Error"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * <element name="FailedDN" maxOccurs="unbounded"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DN" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PushResponseType", propOrder = { + "success", + "error" +}) +public class PushResponseType { + + @XmlElement(name = "Success") + protected PushResponseType.Success success; + @XmlElement(name = "Error") + protected PushResponseType.Error error; + + /** + * Gets the value of the success property. + * + * @return + * possible object is + * {@link PushResponseType.Success } + * + */ + public PushResponseType.Success getSuccess() { + return success; + } + + /** + * Sets the value of the success property. + * + * @param value + * allowed object is + * {@link PushResponseType.Success } + * + */ + public void setSuccess(PushResponseType.Success value) { + this.success = value; + } + + /** + * Gets the value of the error property. + * + * @return + * possible object is + * {@link PushResponseType.Error } + * + */ + public PushResponseType.Error getError() { + return error; + } + + /** + * Sets the value of the error property. + * + * @param value + * allowed object is + * {@link PushResponseType.Error } + * + */ + public void setError(PushResponseType.Error value) { + this.error = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * <element name="FailedDN" maxOccurs="unbounded"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DN" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "code", + "info", + "failedDN" + }) + public static class Error { + + @XmlElement(name = "Code") + @XmlSchemaType(name = "positiveInteger") + protected BigInteger code; + @XmlElement(name = "Info") + protected String info; + @XmlElement(name = "FailedDN") + protected List<PushResponseType.Error.FailedDN> failedDN; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfo(String value) { + this.info = value; + } + + /** + * Gets the value of the failedDN property. + * + * <p> + * 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 <CODE>set</CODE> method for the failedDN property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFailedDN().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PushResponseType.Error.FailedDN } + * + * + */ + public List<PushResponseType.Error.FailedDN> getFailedDN() { + if (failedDN == null) { + failedDN = new ArrayList<PushResponseType.Error.FailedDN>(); + } + return this.failedDN; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DN" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "dn", + "info" + }) + public static class FailedDN { + + @XmlElement(name = "DN", required = true) + protected String dn; + @XmlElement(name = "Info", required = true) + protected String info; + + /** + * Gets the value of the dn property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDN() { + return dn; + } + + /** + * Sets the value of the dn property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDN(String value) { + this.dn = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfo(String value) { + this.info = value; + } + + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class Success { + + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/QueryType.java b/src/main/java/at/gv/util/xsd/zkopf/QueryType.java new file mode 100644 index 0000000..37b2f46 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/QueryType.java @@ -0,0 +1,276 @@ + +package at.gv.util.xsd.zkopf; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import at.gv.util.xsd.zkopf.persondata.CorporateBodyType; +import at.gv.util.xsd.zkopf.persondata.IdentificationType; +import at.gv.util.xsd.zkopf.persondata.PhysicalPersonType; +import at.gv.util.xsd.zkopf.persondata.PostalAddressType; + + +/** + * <p>Java class for QueryType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="QueryType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <choice minOccurs="0"> + * <element name="gvZbPK" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="Identification" type="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}IdentificationType"/> + * </choice> + * <sequence> + * <choice> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}CorporateBody"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}PhysicalPerson"/> + * </choice> + * <choice minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}PostalAddress"/> + * <element name="VerAddress" type="{http://reference.e-government.gv.at/namespaces/zustellung/kopf}messagingaddressType"/> + * </choice> + * </sequence> + * </choice> + * <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}token" /> + * <attribute name="ProfileID" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "QueryType", propOrder = { + "gvZbPK", + "identification", + "corporateBody", + "physicalPerson", + "postalAddress", + "verAddress" +}) +public class QueryType { + + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String gvZbPK; + @XmlElement(name = "Identification") + protected IdentificationType identification; + @XmlElement(name = "CorporateBody", namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#") + protected CorporateBodyType corporateBody; + @XmlElement(name = "PhysicalPerson", namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#") + protected PhysicalPersonType physicalPerson; + @XmlElement(name = "PostalAddress", namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#") + protected PostalAddressType postalAddress; + @XmlElement(name = "VerAddress") + protected MessagingaddressType verAddress; + @XmlAttribute(name = "ID") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String id; + @XmlAttribute(name = "ProfileID") + @XmlSchemaType(name = "anySimpleType") + protected String profileID; + + /** + * Gets the value of the gvZbPK property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvZbPK() { + return gvZbPK; + } + + /** + * Sets the value of the gvZbPK property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvZbPK(String value) { + this.gvZbPK = value; + } + + /** + * Gets the value of the identification property. + * + * @return + * possible object is + * {@link IdentificationType } + * + */ + public IdentificationType getIdentification() { + return identification; + } + + /** + * Sets the value of the identification property. + * + * @param value + * allowed object is + * {@link IdentificationType } + * + */ + public void setIdentification(IdentificationType value) { + this.identification = value; + } + + /** + * Gets the value of the corporateBody property. + * + * @return + * possible object is + * {@link CorporateBodyType } + * + */ + public CorporateBodyType getCorporateBody() { + return corporateBody; + } + + /** + * Sets the value of the corporateBody property. + * + * @param value + * allowed object is + * {@link CorporateBodyType } + * + */ + public void setCorporateBody(CorporateBodyType value) { + this.corporateBody = value; + } + + /** + * Gets the value of the physicalPerson property. + * + * @return + * possible object is + * {@link PhysicalPersonType } + * + */ + public PhysicalPersonType getPhysicalPerson() { + return physicalPerson; + } + + /** + * Sets the value of the physicalPerson property. + * + * @param value + * allowed object is + * {@link PhysicalPersonType } + * + */ + public void setPhysicalPerson(PhysicalPersonType value) { + this.physicalPerson = value; + } + + /** + * Gets the value of the postalAddress property. + * + * @return + * possible object is + * {@link PostalAddressType } + * + */ + public PostalAddressType getPostalAddress() { + return postalAddress; + } + + /** + * Sets the value of the postalAddress property. + * + * @param value + * allowed object is + * {@link PostalAddressType } + * + */ + public void setPostalAddress(PostalAddressType value) { + this.postalAddress = value; + } + + /** + * Gets the value of the verAddress property. + * + * @return + * possible object is + * {@link MessagingaddressType } + * + */ + public MessagingaddressType getVerAddress() { + return verAddress; + } + + /** + * Sets the value of the verAddress property. + * + * @param value + * allowed object is + * {@link MessagingaddressType } + * + */ + public void setVerAddress(MessagingaddressType value) { + this.verAddress = value; + } + + /** + * 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; + } + + /** + * Gets the value of the profileID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProfileID() { + return profileID; + } + + /** + * Sets the value of the profileID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProfileID(String value) { + this.profileID = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/StdAnswerType.java b/src/main/java/at/gv/util/xsd/zkopf/StdAnswerType.java new file mode 100644 index 0000000..bd1aba5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/StdAnswerType.java @@ -0,0 +1,227 @@ + +package at.gv.util.xsd.zkopf; + +import java.math.BigInteger; +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for StdAnswerType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="StdAnswerType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="Success"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="gvZbPK" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Server" type="{http://reference.e-government.gv.at/namespaces/zustellung/kopf}zuseType" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Error" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * </choice> + * <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "StdAnswerType", propOrder = { + "success", + "error" +}) +public class StdAnswerType { + + @XmlElement(name = "Success") + protected StdAnswerType.Success success; + @XmlElement(name = "Error") + @XmlSchemaType(name = "positiveInteger") + protected BigInteger error; + @XmlAttribute(name = "ID") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String id; + + /** + * Gets the value of the success property. + * + * @return + * possible object is + * {@link StdAnswerType.Success } + * + */ + public StdAnswerType.Success getSuccess() { + return success; + } + + /** + * Sets the value of the success property. + * + * @param value + * allowed object is + * {@link StdAnswerType.Success } + * + */ + public void setSuccess(StdAnswerType.Success value) { + this.success = value; + } + + /** + * Gets the value of the error property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getError() { + return error; + } + + /** + * Sets the value of the error property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setError(BigInteger value) { + this.error = value; + } + + /** + * 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; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="gvZbPK" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Server" type="{http://reference.e-government.gv.at/namespaces/zustellung/kopf}zuseType" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "gvZbPK", + "server" + }) + public static class Success { + + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String gvZbPK; + @XmlElement(name = "Server", required = true) + protected List<ZuseType> server; + + /** + * Gets the value of the gvZbPK property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvZbPK() { + return gvZbPK; + } + + /** + * Sets the value of the gvZbPK property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvZbPK(String value) { + this.gvZbPK = value; + } + + /** + * Gets the value of the server property. + * + * <p> + * 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 <CODE>set</CODE> method for the server property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getServer().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ZuseType } + * + * + */ + public List<ZuseType> getServer() { + if (server == null) { + server = new ArrayList<ZuseType>(); + } + return this.server; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/ZuseType.java b/src/main/java/at/gv/util/xsd/zkopf/ZuseType.java new file mode 100644 index 0000000..a6cc179 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/ZuseType.java @@ -0,0 +1,148 @@ + +package at.gv.util.xsd.zkopf; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +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; + + +/** + * <p>Java class for zuseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="zuseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="edID" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="ZUSEUrlID" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="MIMETypes" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="X509" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "zuseType", propOrder = { + "edID", + "zuseUrlID", + "mimeTypes", + "x509" +}) +public class ZuseType { + + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String edID; + @XmlElement(name = "ZUSEUrlID", required = true) + protected String zuseUrlID; + @XmlElement(name = "MIMETypes", required = true) + protected String mimeTypes; + @XmlElement(name = "X509") + protected byte[] x509; + + /** + * Gets the value of the edID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEdID() { + return edID; + } + + /** + * Sets the value of the edID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEdID(String value) { + this.edID = value; + } + + /** + * Gets the value of the zuseUrlID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getZUSEUrlID() { + return zuseUrlID; + } + + /** + * Sets the value of the zuseUrlID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setZUSEUrlID(String value) { + this.zuseUrlID = value; + } + + /** + * Gets the value of the mimeTypes property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMIMETypes() { + return mimeTypes; + } + + /** + * Sets the value of the mimeTypes property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMIMETypes(String value) { + this.mimeTypes = value; + } + + /** + * Gets the value of the x509 property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getX509() { + return x509; + } + + /** + * Sets the value of the x509 property. + * + * @param value + * allowed object is + * byte[] + */ + public void setX509(byte[] value) { + this.x509 = ((byte[]) value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/package-info.java b/src/main/java/at/gv/util/xsd/zkopf/package-info.java new file mode 100644 index 0000000..79a8035 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespaces/zustellung/kopf", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.zkopf; diff --git a/src/main/java/at/gv/util/xsd/zkopf/persondata/AbstractAddressType.java b/src/main/java/at/gv/util/xsd/zkopf/persondata/AbstractAddressType.java new file mode 100644 index 0000000..076ac33 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/persondata/AbstractAddressType.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.zkopf.persondata; + +import java.util.HashMap; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +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 javax.xml.namespace.QName; + + +/** + * main structure of address data + * + * <p>Java class for AbstractAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractAddressType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='##other'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractAddressType") +@XmlSeeAlso({ + PostalAddressType.class, + TelephoneAddressType.class, + InternetAddressType.class +}) +public class AbstractAddressType { + + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * 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; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/persondata/AbstractPersonType.java b/src/main/java/at/gv/util/xsd/zkopf/persondata/AbstractPersonType.java new file mode 100644 index 0000000..29ebe68 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/persondata/AbstractPersonType.java @@ -0,0 +1,141 @@ + +package at.gv.util.xsd.zkopf.persondata; + +import java.util.HashMap; +import java.util.Map; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +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 javax.xml.namespace.QName; + + +/** + * main structure of person data + * + * <p>Java class for AbstractPersonType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="AbstractPersonType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}AbstractSimpleIdentification" minOccurs="0"/> + * </choice> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='##other'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractPersonType", propOrder = { + "abstractSimpleIdentification" +}) +@XmlSeeAlso({ + PersonDataType.class, + PhysicalPersonType.class, + CorporateBodyType.class +}) +public class AbstractPersonType { + + @XmlElementRef(name = "AbstractSimpleIdentification", namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", type = JAXBElement.class) + protected JAXBElement<String> abstractSimpleIdentification; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Gets the value of the abstractSimpleIdentification property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + */ + public JAXBElement<String> getAbstractSimpleIdentification() { + return abstractSimpleIdentification; + } + + /** + * Sets the value of the abstractSimpleIdentification property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + */ + public void setAbstractSimpleIdentification(JAXBElement<String> value) { + this.abstractSimpleIdentification = ((JAXBElement<String> ) value); + } + + /** + * 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; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/persondata/CorporateBodyType.java b/src/main/java/at/gv/util/xsd/zkopf/persondata/CorporateBodyType.java new file mode 100644 index 0000000..6e49c8f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/persondata/CorporateBodyType.java @@ -0,0 +1,102 @@ + +package at.gv.util.xsd.zkopf.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +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; + + +/** + * juridical person, organisation + * + * <p>Java class for CorporateBodyType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CorporateBodyType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element name="FullName" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="Organization" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CorporateBodyType", propOrder = { + "fullName", + "organization" +}) +public class CorporateBodyType + extends AbstractPersonType +{ + + @XmlElement(name = "FullName") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String fullName; + @XmlElement(name = "Organization") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String organization; + + /** + * Gets the value of the fullName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFullName() { + return fullName; + } + + /** + * Sets the value of the fullName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFullName(String value) { + this.fullName = value; + } + + /** + * Gets the value of the organization property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrganization() { + return organization; + } + + /** + * Sets the value of the organization property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrganization(String value) { + this.organization = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/persondata/IdentificationType.java b/src/main/java/at/gv/util/xsd/zkopf/persondata/IdentificationType.java new file mode 100644 index 0000000..48f23b8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/persondata/IdentificationType.java @@ -0,0 +1,311 @@ + +package at.gv.util.xsd.zkopf.persondata; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; +import org.w3c.dom.Element; + + +/** + * unique identifier + * + * <p>Java class for IdentificationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="IdentificationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Value"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * <element name="Authority" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <anyAttribute namespace='##other'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IdentificationType", propOrder = { + "value", + "type", + "authority", + "any" +}) +public class IdentificationType { + + @XmlElement(name = "Value", required = true) + protected IdentificationType.Value value; + @XmlElement(name = "Type", required = true) + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlElement(name = "Authority") + @XmlSchemaType(name = "anyURI") + protected String authority; + @XmlAnyElement(lax = true) + protected List<Object> any; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link IdentificationType.Value } + * + */ + public IdentificationType.Value getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link IdentificationType.Value } + * + */ + public void setValue(IdentificationType.Value value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the authority property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAuthority() { + return authority; + } + + /** + * Sets the value of the authority property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAuthority(String value) { + this.authority = value; + } + + /** + * Gets the value of the any property. + * + * <p> + * 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 <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + + /** + * 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; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + * <p> + * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map<QName, String> getOtherAttributes() { + return otherAttributes; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Value { + + @XmlValue + protected String value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/persondata/InternetAddressType.java b/src/main/java/at/gv/util/xsd/zkopf/persondata/InternetAddressType.java new file mode 100644 index 0000000..aeb71b8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/persondata/InternetAddressType.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.zkopf.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.zkopf.xmldsig.KeyInfoType; + + +/** + * internet based communication + * + * <p>Java class for InternetAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="InternetAddressType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}AbstractAddressType"> + * <sequence minOccurs="0"> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> + * <element name="Address" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InternetAddressType", propOrder = { + "keyInfo", + "address" +}) +public class InternetAddressType + extends AbstractAddressType +{ + + @XmlElement(name = "KeyInfo", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected KeyInfoType keyInfo; + @XmlElement(name = "Address") + @XmlSchemaType(name = "anyURI") + protected String address; + + /** + * certificate for secure communication + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Sets the value of the keyInfo property. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Gets the value of the address property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAddress() { + return address; + } + + /** + * Sets the value of the address property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAddress(String value) { + this.address = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/persondata/ObjectFactory.java b/src/main/java/at/gv/util/xsd/zkopf/persondata/ObjectFactory.java new file mode 100644 index 0000000..33163c8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/persondata/ObjectFactory.java @@ -0,0 +1,335 @@ + +package at.gv.util.xsd.zkopf.persondata; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.zkopf.persondata package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Address_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "Address"); + private final static QName _Name_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "Name"); + private final static QName _DateOfBirth_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "DateOfBirth"); + private final static QName _Person_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "Person"); + private final static QName _AbstractPersonData_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "AbstractPersonData"); + private final static QName _PersonData_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "PersonData"); + private final static QName _FormattedNumber_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "FormattedNumber"); + private final static QName _PostalAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "PostalAddress"); + private final static QName _TelephoneAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "TelephoneAddress"); + private final static QName _PhysicalPerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "PhysicalPerson"); + private final static QName _VereinsRegisterZahl_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "VereinsRegisterZahl"); + private final static QName _NichtNatPErgaenzungsRegisterZahl_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "NichtNatPErgaenzungsRegisterZahl"); + private final static QName _NatPErgaenzungsRegisterZahl_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "NatPErgaenzungsRegisterZahl"); + private final static QName _CorporateBody_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "CorporateBody"); + private final static QName _AbstractSimpleIdentification_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "AbstractSimpleIdentification"); + private final static QName _OID_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "OID"); + private final static QName _FirmenbuchNummer_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "FirmenbuchNummer"); + private final static QName _InternetAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/en/20040201#", "InternetAddress"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.zkopf.persondata + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link AbstractPersonType } + * + */ + public AbstractPersonType createAbstractPersonType() { + return new AbstractPersonType(); + } + + /** + * Create an instance of {@link PersonNameType.Affix } + * + */ + public PersonNameType.Affix createPersonNameTypeAffix() { + return new PersonNameType.Affix(); + } + + /** + * Create an instance of {@link CorporateBodyType } + * + */ + public CorporateBodyType createCorporateBodyType() { + return new CorporateBodyType(); + } + + /** + * Create an instance of {@link PostalAddressType } + * + */ + public PostalAddressType createPostalAddressType() { + return new PostalAddressType(); + } + + /** + * Create an instance of {@link PersonDataType } + * + */ + public PersonDataType createPersonDataType() { + return new PersonDataType(); + } + + /** + * Create an instance of {@link TelephoneAddressType } + * + */ + public TelephoneAddressType createTelephoneAddressType() { + return new TelephoneAddressType(); + } + + /** + * Create an instance of {@link PersonNameType.FamilyName } + * + */ + public PersonNameType.FamilyName createPersonNameTypeFamilyName() { + return new PersonNameType.FamilyName(); + } + + /** + * Create an instance of {@link AbstractAddressType } + * + */ + public AbstractAddressType createAbstractAddressType() { + return new AbstractAddressType(); + } + + /** + * Create an instance of {@link InternetAddressType } + * + */ + public InternetAddressType createInternetAddressType() { + return new InternetAddressType(); + } + + /** + * Create an instance of {@link PhysicalPersonType } + * + */ + public PhysicalPersonType createPhysicalPersonType() { + return new PhysicalPersonType(); + } + + /** + * Create an instance of {@link PostalAddressType.DeliveryAddress } + * + */ + public PostalAddressType.DeliveryAddress createPostalAddressTypeDeliveryAddress() { + return new PostalAddressType.DeliveryAddress(); + } + + /** + * Create an instance of {@link TelcomNumberType } + * + */ + public TelcomNumberType createTelcomNumberType() { + return new TelcomNumberType(); + } + + /** + * Create an instance of {@link IdentificationType } + * + */ + public IdentificationType createIdentificationType() { + return new IdentificationType(); + } + + /** + * Create an instance of {@link IdentificationType.Value } + * + */ + public IdentificationType.Value createIdentificationTypeValue() { + return new IdentificationType.Value(); + } + + /** + * Create an instance of {@link PersonNameType } + * + */ + public PersonNameType createPersonNameType() { + return new PersonNameType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "Address") + public JAXBElement<AbstractAddressType> createAddress(AbstractAddressType value) { + return new JAXBElement<AbstractAddressType>(_Address_QNAME, AbstractAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonNameType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "Name") + public JAXBElement<PersonNameType> createName(PersonNameType value) { + return new JAXBElement<PersonNameType>(_Name_QNAME, PersonNameType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "DateOfBirth") + public JAXBElement<String> createDateOfBirth(String value) { + return new JAXBElement<String>(_DateOfBirth_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "Person") + public JAXBElement<AbstractPersonType> createPerson(AbstractPersonType value) { + return new JAXBElement<AbstractPersonType>(_Person_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "AbstractPersonData") + public JAXBElement<AbstractPersonType> createAbstractPersonData(AbstractPersonType value) { + return new JAXBElement<AbstractPersonType>(_AbstractPersonData_QNAME, AbstractPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PersonDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "PersonData", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", substitutionHeadName = "AbstractPersonData") + public JAXBElement<PersonDataType> createPersonData(PersonDataType value) { + return new JAXBElement<PersonDataType>(_PersonData_QNAME, PersonDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "FormattedNumber") + public JAXBElement<String> createFormattedNumber(String value) { + return new JAXBElement<String>(_FormattedNumber_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PostalAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "PostalAddress", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", substitutionHeadName = "Address") + public JAXBElement<PostalAddressType> createPostalAddress(PostalAddressType value) { + return new JAXBElement<PostalAddressType>(_PostalAddress_QNAME, PostalAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TelephoneAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "TelephoneAddress", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", substitutionHeadName = "Address") + public JAXBElement<TelephoneAddressType> createTelephoneAddress(TelephoneAddressType value) { + return new JAXBElement<TelephoneAddressType>(_TelephoneAddress_QNAME, TelephoneAddressType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "PhysicalPerson", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", substitutionHeadName = "Person") + public JAXBElement<PhysicalPersonType> createPhysicalPerson(PhysicalPersonType value) { + return new JAXBElement<PhysicalPersonType>(_PhysicalPerson_QNAME, PhysicalPersonType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "VereinsRegisterZahl", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<String> createVereinsRegisterZahl(String value) { + return new JAXBElement<String>(_VereinsRegisterZahl_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "NichtNatPErgaenzungsRegisterZahl", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<String> createNichtNatPErgaenzungsRegisterZahl(String value) { + return new JAXBElement<String>(_NichtNatPErgaenzungsRegisterZahl_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "NatPErgaenzungsRegisterZahl", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<String> createNatPErgaenzungsRegisterZahl(String value) { + return new JAXBElement<String>(_NatPErgaenzungsRegisterZahl_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "CorporateBody", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", substitutionHeadName = "Person") + public JAXBElement<CorporateBodyType> createCorporateBody(CorporateBodyType value) { + return new JAXBElement<CorporateBodyType>(_CorporateBody_QNAME, CorporateBodyType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "AbstractSimpleIdentification") + public JAXBElement<String> createAbstractSimpleIdentification(String value) { + return new JAXBElement<String>(_AbstractSimpleIdentification_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "OID", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<String> createOID(String value) { + return new JAXBElement<String>(_OID_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "FirmenbuchNummer", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<String> createFirmenbuchNummer(String value) { + return new JAXBElement<String>(_FirmenbuchNummer_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link InternetAddressType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", name = "InternetAddress", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", substitutionHeadName = "Address") + public JAXBElement<InternetAddressType> createInternetAddress(InternetAddressType value) { + return new JAXBElement<InternetAddressType>(_InternetAddress_QNAME, InternetAddressType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/persondata/PersonDataType.java b/src/main/java/at/gv/util/xsd/zkopf/persondata/PersonDataType.java new file mode 100644 index 0000000..d71e790 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/persondata/PersonDataType.java @@ -0,0 +1,110 @@ + +package at.gv.util.xsd.zkopf.persondata; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlType; + + +/** + * signed person datastructure. The first Identification elements (from the base type) denote the record as such (e.g. database key for this record) - not to be mistaken for identifiers of the person or of an address (they have their own Identification elements). + * + * <p>Java class for PersonDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonDataType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}AbstractPersonType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}Person"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}Address" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonDataType", propOrder = { + "person", + "address" +}) +public class PersonDataType + extends AbstractPersonType +{ + + @XmlElementRef(name = "Person", namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", type = JAXBElement.class) + protected JAXBElement<? extends AbstractPersonType> person; + @XmlElementRef(name = "Address", namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", type = JAXBElement.class) + protected List<JAXBElement<? extends AbstractAddressType>> address; + + /** + * Gets the value of the person property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * + */ + public JAXBElement<? extends AbstractPersonType> getPerson() { + return person; + } + + /** + * Sets the value of the person property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * + */ + public void setPerson(JAXBElement<? extends AbstractPersonType> value) { + this.person = ((JAXBElement<? extends AbstractPersonType> ) value); + } + + /** + * Gets the value of the address property. + * + * <p> + * 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 <CODE>set</CODE> method for the address property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAddress().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link TelephoneAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link InternetAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link PostalAddressType }{@code >} + * + * + */ + public List<JAXBElement<? extends AbstractAddressType>> getAddress() { + if (address == null) { + address = new ArrayList<JAXBElement<? extends AbstractAddressType>>(); + } + return this.address; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/persondata/PersonNameType.java b/src/main/java/at/gv/util/xsd/zkopf/persondata/PersonNameType.java new file mode 100644 index 0000000..21d02f5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/persondata/PersonNameType.java @@ -0,0 +1,417 @@ + +package at.gv.util.xsd.zkopf.persondata; + +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.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for PersonNameType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonNameType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="FamilyName"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primary" default="undefined"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="true"/> + * <enumeration value="false"/> + * <enumeration value="undefined"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Affix" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="type" use="required"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="academicGrade"/> + * <enumeration value="aristocraticPrefix"/> + * <enumeration value="aristocraticTitle"/> + * <enumeration value="familyNamePrefix"/> + * <enumeration value="familyNameSuffix"/> + * <enumeration value="formOfAddress"/> + * <enumeration value="generation"/> + * <enumeration value="qualification"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonNameType", propOrder = { + "givenName", + "familyName", + "affix" +}) +public class PersonNameType { + + @XmlElement(name = "GivenName", required = true) + protected String givenName; + @XmlElement(name = "FamilyName", required = true) + protected PersonNameType.FamilyName familyName; + @XmlElement(name = "Affix") + protected List<PersonNameType.Affix> affix; + + /** + * Gets the value of the givenName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGivenName() { + return givenName; + } + + /** + * Sets the value of the givenName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGivenName(String value) { + this.givenName = value; + } + + /** + * Gets the value of the familyName property. + * + * @return + * possible object is + * {@link PersonNameType.FamilyName } + * + */ + public PersonNameType.FamilyName getFamilyName() { + return familyName; + } + + /** + * Sets the value of the familyName property. + * + * @param value + * allowed object is + * {@link PersonNameType.FamilyName } + * + */ + public void setFamilyName(PersonNameType.FamilyName value) { + this.familyName = value; + } + + /** + * Gets the value of the affix property. + * + * <p> + * 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 <CODE>set</CODE> method for the affix property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAffix().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonNameType.Affix } + * + * + */ + public List<PersonNameType.Affix> getAffix() { + if (affix == null) { + affix = new ArrayList<PersonNameType.Affix>(); + } + return this.affix; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="type" use="required"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="academicGrade"/> + * <enumeration value="aristocraticPrefix"/> + * <enumeration value="aristocraticTitle"/> + * <enumeration value="familyNamePrefix"/> + * <enumeration value="familyNameSuffix"/> + * <enumeration value="formOfAddress"/> + * <enumeration value="generation"/> + * <enumeration value="qualification"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Affix { + + @XmlValue + protected String value; + @XmlAttribute(required = true) + protected String type; + @XmlAttribute + protected String position; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the position property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPosition() { + return position; + } + + /** + * Sets the value of the position property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPosition(String value) { + this.position = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="primary" default="undefined"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="true"/> + * <enumeration value="false"/> + * <enumeration value="undefined"/> + * </restriction> + * </simpleType> + * </attribute> + * <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class FamilyName { + + @XmlValue + protected String value; + @XmlAttribute + protected String primary; + @XmlAttribute + protected String prefix; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the primary property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrimary() { + if (primary == null) { + return "undefined"; + } else { + return primary; + } + } + + /** + * Sets the value of the primary property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrimary(String value) { + this.primary = value; + } + + /** + * Gets the value of the prefix property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrefix() { + return prefix; + } + + /** + * Sets the value of the prefix property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrefix(String value) { + this.prefix = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/persondata/PhysicalPersonType.java b/src/main/java/at/gv/util/xsd/zkopf/persondata/PhysicalPersonType.java new file mode 100644 index 0000000..7f55a45 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/persondata/PhysicalPersonType.java @@ -0,0 +1,95 @@ + +package at.gv.util.xsd.zkopf.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * physical person + * + * <p>Java class for PhysicalPersonType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PhysicalPersonType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}Name"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}DateOfBirth" minOccurs="0"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PhysicalPersonType", propOrder = { + "name", + "dateOfBirth" +}) +public class PhysicalPersonType + extends AbstractPersonType +{ + + @XmlElement(name = "Name") + protected PersonNameType name; + @XmlElement(name = "DateOfBirth") + protected String dateOfBirth; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link PersonNameType } + * + */ + public PersonNameType getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link PersonNameType } + * + */ + public void setName(PersonNameType value) { + this.name = value; + } + + /** + * Gets the value of the dateOfBirth property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDateOfBirth() { + return dateOfBirth; + } + + /** + * Sets the value of the dateOfBirth property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDateOfBirth(String value) { + this.dateOfBirth = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/persondata/PostalAddressType.java b/src/main/java/at/gv/util/xsd/zkopf/persondata/PostalAddressType.java new file mode 100644 index 0000000..18c4fa0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/persondata/PostalAddressType.java @@ -0,0 +1,376 @@ + +package at.gv.util.xsd.zkopf.persondata; + +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.XmlType; + + +/** + * <p>Java class for PostalAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PostalAddressType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}AbstractAddressType"> + * <sequence> + * <element name="CountryCode" minOccurs="0"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <pattern value="[A-Z]{2}"/> + * </restriction> + * </simpleType> + * </element> + * <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="MunicipalityNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DeliveryAddress"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DoorNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <attribute name="type" default="undefined"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="postOfficeBoxAddress"/> + * <enumeration value="streetAddress"/> + * <enumeration value="militaryAddress"/> + * <enumeration value="undefined"/> + * </restriction> + * </simpleType> + * </attribute> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PostalAddressType", propOrder = { + "countryCode", + "postalCode", + "municipality", + "municipalityNumber", + "deliveryAddress" +}) +public class PostalAddressType + extends AbstractAddressType +{ + + @XmlElement(name = "CountryCode") + protected String countryCode; + @XmlElement(name = "PostalCode", required = true) + protected String postalCode; + @XmlElement(name = "Municipality", required = true) + protected String municipality; + @XmlElement(name = "MunicipalityNumber") + protected String municipalityNumber; + @XmlElement(name = "DeliveryAddress", required = true) + protected PostalAddressType.DeliveryAddress deliveryAddress; + @XmlAttribute + protected String type; + + /** + * Gets the value of the countryCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryCode() { + return countryCode; + } + + /** + * Sets the value of the countryCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryCode(String value) { + this.countryCode = value; + } + + /** + * Gets the value of the postalCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostalCode() { + return postalCode; + } + + /** + * Sets the value of the postalCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostalCode(String value) { + this.postalCode = value; + } + + /** + * Gets the value of the municipality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMunicipality() { + return municipality; + } + + /** + * Sets the value of the municipality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMunicipality(String value) { + this.municipality = value; + } + + /** + * Gets the value of the municipalityNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMunicipalityNumber() { + return municipalityNumber; + } + + /** + * Sets the value of the municipalityNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMunicipalityNumber(String value) { + this.municipalityNumber = value; + } + + /** + * Gets the value of the deliveryAddress property. + * + * @return + * possible object is + * {@link PostalAddressType.DeliveryAddress } + * + */ + public PostalAddressType.DeliveryAddress getDeliveryAddress() { + return deliveryAddress; + } + + /** + * Sets the value of the deliveryAddress property. + * + * @param value + * allowed object is + * {@link PostalAddressType.DeliveryAddress } + * + */ + public void setDeliveryAddress(PostalAddressType.DeliveryAddress value) { + this.deliveryAddress = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "undefined"; + } else { + return type; + } + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DoorNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "streetName", + "buildingNumber", + "unit", + "doorNumber" + }) + public static class DeliveryAddress { + + @XmlElement(name = "StreetName", required = true) + protected String streetName; + @XmlElement(name = "BuildingNumber", required = true) + protected String buildingNumber; + @XmlElement(name = "Unit") + protected String unit; + @XmlElement(name = "DoorNumber") + protected String doorNumber; + + /** + * Gets the value of the streetName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStreetName() { + return streetName; + } + + /** + * Sets the value of the streetName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStreetName(String value) { + this.streetName = value; + } + + /** + * Gets the value of the buildingNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBuildingNumber() { + return buildingNumber; + } + + /** + * Sets the value of the buildingNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBuildingNumber(String value) { + this.buildingNumber = value; + } + + /** + * Gets the value of the unit property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUnit() { + return unit; + } + + /** + * Sets the value of the unit property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUnit(String value) { + this.unit = value; + } + + /** + * Gets the value of the doorNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDoorNumber() { + return doorNumber; + } + + /** + * Sets the value of the doorNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDoorNumber(String value) { + this.doorNumber = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/persondata/TelcomNumberType.java b/src/main/java/at/gv/util/xsd/zkopf/persondata/TelcomNumberType.java new file mode 100644 index 0000000..54222cb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/persondata/TelcomNumberType.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.zkopf.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TelcomNumberType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TelcomNumberType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}FormattedNumber"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TelcomNumberType", propOrder = { + "formattedNumber" +}) +public class TelcomNumberType { + + @XmlElement(name = "FormattedNumber") + protected String formattedNumber; + + /** + * Gets the value of the formattedNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFormattedNumber() { + return formattedNumber; + } + + /** + * Sets the value of the formattedNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFormattedNumber(String value) { + this.formattedNumber = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/persondata/TelephoneAddressType.java b/src/main/java/at/gv/util/xsd/zkopf/persondata/TelephoneAddressType.java new file mode 100644 index 0000000..54b845c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/persondata/TelephoneAddressType.java @@ -0,0 +1,67 @@ + +package at.gv.util.xsd.zkopf.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * phone numbers + * + * <p>Java class for TelephoneAddressType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TelephoneAddressType"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}AbstractAddressType"> + * <sequence minOccurs="0"> + * <element name="Number" type="{http://reference.e-government.gv.at/namespace/persondata/en/20040201#}TelcomNumberType"/> + * </sequence> + * <anyAttribute namespace='##other'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TelephoneAddressType", propOrder = { + "number" +}) +public class TelephoneAddressType + extends AbstractAddressType +{ + + @XmlElement(name = "Number") + protected TelcomNumberType number; + + /** + * Gets the value of the number property. + * + * @return + * possible object is + * {@link TelcomNumberType } + * + */ + public TelcomNumberType getNumber() { + return number; + } + + /** + * Sets the value of the number property. + * + * @param value + * allowed object is + * {@link TelcomNumberType } + * + */ + public void setNumber(TelcomNumberType value) { + this.number = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/persondata/package-info.java b/src/main/java/at/gv/util/xsd/zkopf/persondata/package-info.java new file mode 100644 index 0000000..7c56283 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/persondata/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/persondata/en/20040201#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.zkopf.persondata; diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/CanonicalizationMethodType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/CanonicalizationMethodType.java new file mode 100644 index 0000000..16fa183 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/CanonicalizationMethodType.java @@ -0,0 +1,102 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CanonicalizationMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CanonicalizationMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CanonicalizationMethodType", propOrder = { + "content" +}) +public class CanonicalizationMethodType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/DSAKeyValueType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/DSAKeyValueType.java new file mode 100644 index 0000000..ea6d998 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/DSAKeyValueType.java @@ -0,0 +1,234 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <sequence minOccurs="0"> + * <element name="P" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="Q" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * <element name="J" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <element name="G" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <element name="Y" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <sequence minOccurs="0"> + * <element name="Seed" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="PgenCounter" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DSAKeyValueType", propOrder = { + "p", + "q", + "j", + "g", + "y", + "seed", + "pgenCounter" +}) +public class DSAKeyValueType { + + @XmlElement(name = "P") + protected String p; + @XmlElement(name = "Q") + protected String q; + @XmlElement(name = "J") + protected String j; + @XmlElement(name = "G") + protected String g; + @XmlElement(name = "Y", required = true) + protected String y; + @XmlElement(name = "Seed") + protected String seed; + @XmlElement(name = "PgenCounter") + protected String pgenCounter; + + /** + * Gets the value of the p property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getP() { + return p; + } + + /** + * Sets the value of the p property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setP(String value) { + this.p = value; + } + + /** + * Gets the value of the q property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQ() { + return q; + } + + /** + * Sets the value of the q property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQ(String value) { + this.q = value; + } + + /** + * Gets the value of the j property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getJ() { + return j; + } + + /** + * Sets the value of the j property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setJ(String value) { + this.j = value; + } + + /** + * Gets the value of the g property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getG() { + return g; + } + + /** + * Sets the value of the g property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setG(String value) { + this.g = value; + } + + /** + * Gets the value of the y property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getY() { + return y; + } + + /** + * Sets the value of the y property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setY(String value) { + this.y = value; + } + + /** + * Gets the value of the seed property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSeed() { + return seed; + } + + /** + * Sets the value of the seed property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSeed(String value) { + this.seed = value; + } + + /** + * Gets the value of the pgenCounter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPgenCounter() { + return pgenCounter; + } + + /** + * Sets the value of the pgenCounter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPgenCounter(String value) { + this.pgenCounter = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/DigestMethodType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/DigestMethodType.java new file mode 100644 index 0000000..df28a5b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/DigestMethodType.java @@ -0,0 +1,104 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for DigestMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DigestMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DigestMethodType", propOrder = { + "content" +}) +public class DigestMethodType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link String } + * {@link Object } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/KeyInfoType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/KeyInfoType.java new file mode 100644 index 0000000..b850e21 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/KeyInfoType.java @@ -0,0 +1,135 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for KeyInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="KeyInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyName"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}RetrievalMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}X509Data"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}PGPData"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SPKIData"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}MgmtData"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyInfoType", propOrder = { + "content" +}) +public class KeyInfoType { + + @XmlElementRefs({ + @XmlElementRef(name = "SPKIData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "KeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "KeyName", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "PGPData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "MgmtData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509Data", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "RetrievalMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link SPKIDataType }{@code >} + * {@link Element } + * {@link JAXBElement }{@code <}{@link KeyValueType }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link PGPDataType }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * {@link JAXBElement }{@code <}{@link X509DataType }{@code >} + * {@link JAXBElement }{@code <}{@link RetrievalMethodType }{@code >} + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/KeyValueType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/KeyValueType.java new file mode 100644 index 0000000..4ef54f9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/KeyValueType.java @@ -0,0 +1,85 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for KeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="KeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DSAKeyValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}RSAKeyValue"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyValueType", propOrder = { + "content" +}) +public class KeyValueType { + + @XmlElementRefs({ + @XmlElementRef(name = "DSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "RSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link DSAKeyValueType }{@code >} + * {@link Object } + * {@link Element } + * {@link String } + * {@link JAXBElement }{@code <}{@link RSAKeyValueType }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/ManifestType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/ManifestType.java new file mode 100644 index 0000000..bce286c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/ManifestType.java @@ -0,0 +1,104 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +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.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; + + +/** + * <p>Java class for ManifestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ManifestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ManifestType", propOrder = { + "reference" +}) +public class ManifestType { + + @XmlElement(name = "Reference", required = true) + protected List<ReferenceType> reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the reference property. + * + * <p> + * 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 <CODE>set</CODE> method for the reference property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReference().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ReferenceType } + * + * + */ + public List<ReferenceType> getReference() { + if (reference == null) { + reference = new ArrayList<ReferenceType>(); + } + return this.reference; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/ObjectFactory.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/ObjectFactory.java new file mode 100644 index 0000000..fc3e122 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/ObjectFactory.java @@ -0,0 +1,552 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +import java.math.BigInteger; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.zkopf.xmldsig package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Signature_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Signature"); + private final static QName _PGPData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPData"); + private final static QName _DSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DSAKeyValue"); + private final static QName _SPKIData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKIData"); + private final static QName _SignedInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignedInfo"); + private final static QName _RetrievalMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RetrievalMethod"); + private final static QName _CanonicalizationMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "CanonicalizationMethod"); + private final static QName _Object_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Object"); + private final static QName _SignatureProperty_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperty"); + private final static QName _Transforms_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transforms"); + private final static QName _SignatureValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureValue"); + private final static QName _Manifest_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Manifest"); + private final static QName _Transform_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transform"); + private final static QName _X509Data_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Data"); + private final static QName _SignatureMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureMethod"); + private final static QName _KeyInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyInfo"); + private final static QName _DigestValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestValue"); + private final static QName _DigestMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestMethod"); + private final static QName _MgmtData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "MgmtData"); + private final static QName _SignatureProperties_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperties"); + private final static QName _KeyName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyName"); + private final static QName _KeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyValue"); + private final static QName _Reference_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Reference"); + private final static QName _RSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RSAKeyValue"); + private final static QName _PGPDataTypePGPKeyID_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyID"); + private final static QName _PGPDataTypePGPKeyPacket_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyPacket"); + private final static QName _SignatureMethodTypeHMACOutputLength_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "HMACOutputLength"); + private final static QName _X509DataTypeX509IssuerSerial_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509IssuerSerial"); + private final static QName _X509DataTypeX509Certificate_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Certificate"); + private final static QName _X509DataTypeX509SKI_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SKI"); + private final static QName _X509DataTypeX509SubjectName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SubjectName"); + private final static QName _X509DataTypeX509CRL_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509CRL"); + private final static QName _SPKIDataTypeSPKISexp_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKISexp"); + private final static QName _TransformTypeXPath_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "XPath"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.zkopf.xmldsig + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link SignatureMethodType } + * + */ + public SignatureMethodType createSignatureMethodType() { + return new SignatureMethodType(); + } + + /** + * Create an instance of {@link SignaturePropertyType } + * + */ + public SignaturePropertyType createSignaturePropertyType() { + return new SignaturePropertyType(); + } + + /** + * Create an instance of {@link PGPDataType } + * + */ + public PGPDataType createPGPDataType() { + return new PGPDataType(); + } + + /** + * Create an instance of {@link X509IssuerSerialType } + * + */ + public X509IssuerSerialType createX509IssuerSerialType() { + return new X509IssuerSerialType(); + } + + /** + * Create an instance of {@link X509DataType } + * + */ + public X509DataType createX509DataType() { + return new X509DataType(); + } + + /** + * Create an instance of {@link SignatureType } + * + */ + public SignatureType createSignatureType() { + return new SignatureType(); + } + + /** + * Create an instance of {@link SignaturePropertiesType } + * + */ + public SignaturePropertiesType createSignaturePropertiesType() { + return new SignaturePropertiesType(); + } + + /** + * Create an instance of {@link DSAKeyValueType } + * + */ + public DSAKeyValueType createDSAKeyValueType() { + return new DSAKeyValueType(); + } + + /** + * Create an instance of {@link RetrievalMethodType } + * + */ + public RetrievalMethodType createRetrievalMethodType() { + return new RetrievalMethodType(); + } + + /** + * Create an instance of {@link ManifestType } + * + */ + public ManifestType createManifestType() { + return new ManifestType(); + } + + /** + * Create an instance of {@link RSAKeyValueType } + * + */ + public RSAKeyValueType createRSAKeyValueType() { + return new RSAKeyValueType(); + } + + /** + * Create an instance of {@link KeyInfoType } + * + */ + public KeyInfoType createKeyInfoType() { + return new KeyInfoType(); + } + + /** + * Create an instance of {@link SignatureValueType } + * + */ + public SignatureValueType createSignatureValueType() { + return new SignatureValueType(); + } + + /** + * Create an instance of {@link ObjectType } + * + */ + public ObjectType createObjectType() { + return new ObjectType(); + } + + /** + * Create an instance of {@link ReferenceType } + * + */ + public ReferenceType createReferenceType() { + return new ReferenceType(); + } + + /** + * Create an instance of {@link SignedInfoType } + * + */ + public SignedInfoType createSignedInfoType() { + return new SignedInfoType(); + } + + /** + * Create an instance of {@link TransformType } + * + */ + public TransformType createTransformType() { + return new TransformType(); + } + + /** + * Create an instance of {@link DigestMethodType } + * + */ + public DigestMethodType createDigestMethodType() { + return new DigestMethodType(); + } + + /** + * Create an instance of {@link KeyValueType } + * + */ + public KeyValueType createKeyValueType() { + return new KeyValueType(); + } + + /** + * Create an instance of {@link CanonicalizationMethodType } + * + */ + public CanonicalizationMethodType createCanonicalizationMethodType() { + return new CanonicalizationMethodType(); + } + + /** + * Create an instance of {@link SPKIDataType } + * + */ + public SPKIDataType createSPKIDataType() { + return new SPKIDataType(); + } + + /** + * Create an instance of {@link TransformsType } + * + */ + public TransformsType createTransformsType() { + return new TransformsType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Signature") + public JAXBElement<SignatureType> createSignature(SignatureType value) { + return new JAXBElement<SignatureType>(_Signature_QNAME, SignatureType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PGPDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPData") + public JAXBElement<PGPDataType> createPGPData(PGPDataType value) { + return new JAXBElement<PGPDataType>(_PGPData_QNAME, PGPDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DSAKeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DSAKeyValue") + public JAXBElement<DSAKeyValueType> createDSAKeyValue(DSAKeyValueType value) { + return new JAXBElement<DSAKeyValueType>(_DSAKeyValue_QNAME, DSAKeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SPKIDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKIData") + public JAXBElement<SPKIDataType> createSPKIData(SPKIDataType value) { + return new JAXBElement<SPKIDataType>(_SPKIData_QNAME, SPKIDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignedInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignedInfo") + public JAXBElement<SignedInfoType> createSignedInfo(SignedInfoType value) { + return new JAXBElement<SignedInfoType>(_SignedInfo_QNAME, SignedInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RetrievalMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RetrievalMethod") + public JAXBElement<RetrievalMethodType> createRetrievalMethod(RetrievalMethodType value) { + return new JAXBElement<RetrievalMethodType>(_RetrievalMethod_QNAME, RetrievalMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CanonicalizationMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "CanonicalizationMethod") + public JAXBElement<CanonicalizationMethodType> createCanonicalizationMethod(CanonicalizationMethodType value) { + return new JAXBElement<CanonicalizationMethodType>(_CanonicalizationMethod_QNAME, CanonicalizationMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ObjectType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Object") + public JAXBElement<ObjectType> createObject(ObjectType value) { + return new JAXBElement<ObjectType>(_Object_QNAME, ObjectType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignaturePropertyType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperty") + public JAXBElement<SignaturePropertyType> createSignatureProperty(SignaturePropertyType value) { + return new JAXBElement<SignaturePropertyType>(_SignatureProperty_QNAME, SignaturePropertyType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TransformsType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transforms") + public JAXBElement<TransformsType> createTransforms(TransformsType value) { + return new JAXBElement<TransformsType>(_Transforms_QNAME, TransformsType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureValue") + public JAXBElement<SignatureValueType> createSignatureValue(SignatureValueType value) { + return new JAXBElement<SignatureValueType>(_SignatureValue_QNAME, SignatureValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ManifestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Manifest") + public JAXBElement<ManifestType> createManifest(ManifestType value) { + return new JAXBElement<ManifestType>(_Manifest_QNAME, ManifestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TransformType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transform") + public JAXBElement<TransformType> createTransform(TransformType value) { + return new JAXBElement<TransformType>(_Transform_QNAME, TransformType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link X509DataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Data") + public JAXBElement<X509DataType> createX509Data(X509DataType value) { + return new JAXBElement<X509DataType>(_X509Data_QNAME, X509DataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureMethod") + public JAXBElement<SignatureMethodType> createSignatureMethod(SignatureMethodType value) { + return new JAXBElement<SignatureMethodType>(_SignatureMethod_QNAME, SignatureMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyInfo") + public JAXBElement<KeyInfoType> createKeyInfo(KeyInfoType value) { + return new JAXBElement<KeyInfoType>(_KeyInfo_QNAME, KeyInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestValue") + public JAXBElement<String> createDigestValue(String value) { + return new JAXBElement<String>(_DigestValue_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DigestMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestMethod") + public JAXBElement<DigestMethodType> createDigestMethod(DigestMethodType value) { + return new JAXBElement<DigestMethodType>(_DigestMethod_QNAME, DigestMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "MgmtData") + public JAXBElement<String> createMgmtData(String value) { + return new JAXBElement<String>(_MgmtData_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignaturePropertiesType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperties") + public JAXBElement<SignaturePropertiesType> createSignatureProperties(SignaturePropertiesType value) { + return new JAXBElement<SignaturePropertiesType>(_SignatureProperties_QNAME, SignaturePropertiesType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyName") + public JAXBElement<String> createKeyName(String value) { + return new JAXBElement<String>(_KeyName_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyValue") + public JAXBElement<KeyValueType> createKeyValue(KeyValueType value) { + return new JAXBElement<KeyValueType>(_KeyValue_QNAME, KeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Reference") + public JAXBElement<ReferenceType> createReference(ReferenceType value) { + return new JAXBElement<ReferenceType>(_Reference_QNAME, ReferenceType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RSAKeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RSAKeyValue") + public JAXBElement<RSAKeyValueType> createRSAKeyValue(RSAKeyValueType value) { + return new JAXBElement<RSAKeyValueType>(_RSAKeyValue_QNAME, RSAKeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyID", scope = PGPDataType.class) + public JAXBElement<String> createPGPDataTypePGPKeyID(String value) { + return new JAXBElement<String>(_PGPDataTypePGPKeyID_QNAME, String.class, PGPDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyPacket", scope = PGPDataType.class) + public JAXBElement<String> createPGPDataTypePGPKeyPacket(String value) { + return new JAXBElement<String>(_PGPDataTypePGPKeyPacket_QNAME, String.class, PGPDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "HMACOutputLength", scope = SignatureMethodType.class) + public JAXBElement<BigInteger> createSignatureMethodTypeHMACOutputLength(BigInteger value) { + return new JAXBElement<BigInteger>(_SignatureMethodTypeHMACOutputLength_QNAME, BigInteger.class, SignatureMethodType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509IssuerSerial", scope = X509DataType.class) + public JAXBElement<X509IssuerSerialType> createX509DataTypeX509IssuerSerial(X509IssuerSerialType value) { + return new JAXBElement<X509IssuerSerialType>(_X509DataTypeX509IssuerSerial_QNAME, X509IssuerSerialType.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Certificate", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509Certificate(String value) { + return new JAXBElement<String>(_X509DataTypeX509Certificate_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SKI", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509SKI(String value) { + return new JAXBElement<String>(_X509DataTypeX509SKI_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SubjectName", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509SubjectName(String value) { + return new JAXBElement<String>(_X509DataTypeX509SubjectName_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509CRL", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509CRL(String value) { + return new JAXBElement<String>(_X509DataTypeX509CRL_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKISexp", scope = SPKIDataType.class) + public JAXBElement<String> createSPKIDataTypeSPKISexp(String value) { + return new JAXBElement<String>(_SPKIDataTypeSPKISexp_QNAME, String.class, SPKIDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "XPath", scope = TransformType.class) + public JAXBElement<String> createTransformTypeXPath(String value) { + return new JAXBElement<String>(_TransformTypeXPath_QNAME, String.class, TransformType.class, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/ObjectType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/ObjectType.java new file mode 100644 index 0000000..c95614b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/ObjectType.java @@ -0,0 +1,164 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for ObjectType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ObjectType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ObjectType", propOrder = { + "content" +}) +public class ObjectType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "MimeType") + protected String mimeType; + @XmlAttribute(name = "Encoding") + @XmlSchemaType(name = "anyURI") + protected String encoding; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link String } + * {@link Object } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * 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; + } + + /** + * Gets the value of the mimeType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMimeType() { + return mimeType; + } + + /** + * Sets the value of the mimeType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMimeType(String value) { + this.mimeType = value; + } + + /** + * Gets the value of the encoding property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncoding() { + return encoding; + } + + /** + * Sets the value of the encoding property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncoding(String value) { + this.encoding = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/PGPDataType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/PGPDataType.java new file mode 100644 index 0000000..6daf244 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/PGPDataType.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for PGPDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PGPDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="PGPKeyID" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="PGPKeyPacket" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <sequence> + * <element name="PGPKeyPacket" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PGPDataType", propOrder = { + "content" +}) +public class PGPDataType { + + @XmlElementRefs({ + @XmlElementRef(name = "PGPKeyID", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "PGPKeyPacket", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the rest of the content model. + * + * <p> + * You are getting this "catch-all" property because of the following reason: + * The field name "PGPKeyPacket" is used by two different parts of a schema. See: + * line 184 of file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zkopf/W3C-XMLDSig.xsd + * line 180 of file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zkopf/W3C-XMLDSig.xsd + * <p> + * To get rid of this property, apply a property customization to one + * of both of the following declarations to change their names: + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/RSAKeyValueType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/RSAKeyValueType.java new file mode 100644 index 0000000..b50ab95 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/RSAKeyValueType.java @@ -0,0 +1,90 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Modulus" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="Exponent" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RSAKeyValueType", propOrder = { + "modulus", + "exponent" +}) +public class RSAKeyValueType { + + @XmlElement(name = "Modulus", required = true) + protected String modulus; + @XmlElement(name = "Exponent", required = true) + protected String exponent; + + /** + * Gets the value of the modulus property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModulus() { + return modulus; + } + + /** + * Sets the value of the modulus property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModulus(String value) { + this.modulus = value; + } + + /** + * Gets the value of the exponent property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getExponent() { + return exponent; + } + + /** + * Sets the value of the exponent property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setExponent(String value) { + this.exponent = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/ReferenceType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/ReferenceType.java new file mode 100644 index 0000000..56dfd5c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/ReferenceType.java @@ -0,0 +1,209 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +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.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; + + +/** + * <p>Java class for ReferenceType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ReferenceType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestValue"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferenceType", propOrder = { + "transforms", + "digestMethod", + "digestValue" +}) +public class ReferenceType { + + @XmlElement(name = "Transforms") + protected TransformsType transforms; + @XmlElement(name = "DigestMethod", required = true) + protected DigestMethodType digestMethod; + @XmlElement(name = "DigestValue", required = true) + protected String digestValue; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "URI") + @XmlSchemaType(name = "anyURI") + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the digestMethod property. + * + * @return + * possible object is + * {@link DigestMethodType } + * + */ + public DigestMethodType getDigestMethod() { + return digestMethod; + } + + /** + * Sets the value of the digestMethod property. + * + * @param value + * allowed object is + * {@link DigestMethodType } + * + */ + public void setDigestMethod(DigestMethodType value) { + this.digestMethod = value; + } + + /** + * Gets the value of the digestValue property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDigestValue() { + return digestValue; + } + + /** + * Sets the value of the digestValue property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDigestValue(String value) { + this.digestValue = value; + } + + /** + * 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; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/RetrievalMethodType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/RetrievalMethodType.java new file mode 100644 index 0000000..90f1dd6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/RetrievalMethodType.java @@ -0,0 +1,120 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RetrievalMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RetrievalMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Transforms" type="{http://www.w3.org/2000/09/xmldsig#}TransformsType" minOccurs="0"/> + * </sequence> + * <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RetrievalMethodType", propOrder = { + "transforms" +}) +public class RetrievalMethodType { + + @XmlElement(name = "Transforms") + protected TransformsType transforms; + @XmlAttribute(name = "URI") + @XmlSchemaType(name = "anyURI") + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SPKIDataType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SPKIDataType.java new file mode 100644 index 0000000..3afedac --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SPKIDataType.java @@ -0,0 +1,76 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for SPKIDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SPKIDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="SPKISexp" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other' minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SPKIDataType", propOrder = { + "spkiSexpAndAny" +}) +public class SPKIDataType { + + @XmlElementRef(name = "SPKISexp", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlAnyElement(lax = true) + protected List<Object> spkiSexpAndAny; + + /** + * Gets the value of the spkiSexpAndAny property. + * + * <p> + * 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 <CODE>set</CODE> method for the spkiSexpAndAny property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSPKISexpAndAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<Object> getSPKISexpAndAny() { + if (spkiSexpAndAny == null) { + spkiSexpAndAny = new ArrayList<Object>(); + } + return this.spkiSexpAndAny; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignatureMethodType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignatureMethodType.java new file mode 100644 index 0000000..5640ec7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignatureMethodType.java @@ -0,0 +1,108 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SignatureMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="HMACOutputLength" type="{http://www.w3.org/2000/09/xmldsig#}HMACOutputLengthType" minOccurs="0"/> + * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureMethodType", propOrder = { + "content" +}) +public class SignatureMethodType { + + @XmlElementRef(name = "HMACOutputLength", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignaturePropertiesType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignaturePropertiesType.java new file mode 100644 index 0000000..a93786a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignaturePropertiesType.java @@ -0,0 +1,104 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +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.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; + + +/** + * <p>Java class for SignaturePropertiesType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignaturePropertiesType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureProperty" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignaturePropertiesType", propOrder = { + "signatureProperty" +}) +public class SignaturePropertiesType { + + @XmlElement(name = "SignatureProperty", required = true) + protected List<SignaturePropertyType> signatureProperty; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the signatureProperty property. + * + * <p> + * 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 <CODE>set</CODE> method for the signatureProperty property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSignatureProperty().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link SignaturePropertyType } + * + * + */ + public List<SignaturePropertyType> getSignatureProperty() { + if (signatureProperty == null) { + signatureProperty = new ArrayList<SignaturePropertyType>(); + } + return this.signatureProperty; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignaturePropertyType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignaturePropertyType.java new file mode 100644 index 0000000..3ae243e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignaturePropertyType.java @@ -0,0 +1,137 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for SignaturePropertyType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignaturePropertyType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <any processContents='lax' namespace='##other'/> + * </choice> + * <attribute name="Target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignaturePropertyType", propOrder = { + "content" +}) +public class SignaturePropertyType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Target", required = true) + @XmlSchemaType(name = "anyURI") + protected String target; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link String } + * {@link Object } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the target property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTarget() { + return target; + } + + /** + * Sets the value of the target property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTarget(String value) { + this.target = value; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignatureType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignatureType.java new file mode 100644 index 0000000..0e91bde --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignatureType.java @@ -0,0 +1,188 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +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.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; + + +/** + * <p>Java class for SignatureType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignedInfo"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Object" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureType", propOrder = { + "signedInfo", + "signatureValue", + "keyInfo", + "object" +}) +public class SignatureType { + + @XmlElement(name = "SignedInfo", required = true) + protected SignedInfoType signedInfo; + @XmlElement(name = "SignatureValue", required = true) + protected SignatureValueType signatureValue; + @XmlElement(name = "KeyInfo") + protected KeyInfoType keyInfo; + @XmlElement(name = "Object") + protected List<ObjectType> object; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the signedInfo property. + * + * @return + * possible object is + * {@link SignedInfoType } + * + */ + public SignedInfoType getSignedInfo() { + return signedInfo; + } + + /** + * Sets the value of the signedInfo property. + * + * @param value + * allowed object is + * {@link SignedInfoType } + * + */ + public void setSignedInfo(SignedInfoType value) { + this.signedInfo = value; + } + + /** + * Gets the value of the signatureValue property. + * + * @return + * possible object is + * {@link SignatureValueType } + * + */ + public SignatureValueType getSignatureValue() { + return signatureValue; + } + + /** + * Sets the value of the signatureValue property. + * + * @param value + * allowed object is + * {@link SignatureValueType } + * + */ + public void setSignatureValue(SignatureValueType value) { + this.signatureValue = value; + } + + /** + * Gets the value of the keyInfo property. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Sets the value of the keyInfo property. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Gets the value of the object property. + * + * <p> + * 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 <CODE>set</CODE> method for the object property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getObject().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ObjectType } + * + * + */ + public List<ObjectType> getObject() { + if (object == null) { + object = new ArrayList<ObjectType>(); + } + return this.object; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignatureValueType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignatureValueType.java new file mode 100644 index 0000000..63bd9c5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignatureValueType.java @@ -0,0 +1,94 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for SignatureValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureValueType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2000/09/xmldsig#>CryptoBinary"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureValueType", propOrder = { + "value" +}) +public class SignatureValueType { + + @XmlValue + protected String value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignedInfoType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignedInfoType.java new file mode 100644 index 0000000..1fbd40b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/SignedInfoType.java @@ -0,0 +1,160 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +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.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; + + +/** + * <p>Java class for SignedInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignedInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignedInfoType", propOrder = { + "canonicalizationMethod", + "signatureMethod", + "reference" +}) +public class SignedInfoType { + + @XmlElement(name = "CanonicalizationMethod", required = true) + protected CanonicalizationMethodType canonicalizationMethod; + @XmlElement(name = "SignatureMethod", required = true) + protected SignatureMethodType signatureMethod; + @XmlElement(name = "Reference", required = true) + protected List<ReferenceType> reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * 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 signatureMethod property. + * + * @return + * possible object is + * {@link SignatureMethodType } + * + */ + public SignatureMethodType getSignatureMethod() { + return signatureMethod; + } + + /** + * Sets the value of the signatureMethod property. + * + * @param value + * allowed object is + * {@link SignatureMethodType } + * + */ + public void setSignatureMethod(SignatureMethodType value) { + this.signatureMethod = value; + } + + /** + * Gets the value of the reference property. + * + * <p> + * 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 <CODE>set</CODE> method for the reference property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReference().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ReferenceType } + * + * + */ + public List<ReferenceType> getReference() { + if (reference == null) { + reference = new ArrayList<ReferenceType>(); + } + return this.reference; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/TransformType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/TransformType.java new file mode 100644 index 0000000..bb90af9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/TransformType.java @@ -0,0 +1,109 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for TransformType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TransformType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax' namespace='##other'/> + * <element name="XPath" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </choice> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformType", propOrder = { + "content" +}) +public class TransformType { + + @XmlElementRef(name = "XPath", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * {@link Element } + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/TransformsType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/TransformsType.java new file mode 100644 index 0000000..7800048 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/TransformsType.java @@ -0,0 +1,69 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TransformsType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TransformsType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transform" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformsType", propOrder = { + "transform" +}) +public class TransformsType { + + @XmlElement(name = "Transform", required = true) + protected List<TransformType> transform; + + /** + * Gets the value of the transform property. + * + * <p> + * 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 <CODE>set</CODE> method for the transform property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTransform().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TransformType } + * + * + */ + public List<TransformType> getTransform() { + if (transform == null) { + transform = new ArrayList<TransformType>(); + } + return this.transform; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/X509DataType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/X509DataType.java new file mode 100644 index 0000000..85409d3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/X509DataType.java @@ -0,0 +1,93 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for X509DataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="X509DataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <choice> + * <element name="X509IssuerSerial" type="{http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType"/> + * <element name="X509SKI" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="X509SubjectName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="X509Certificate" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="X509CRL" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509DataType", propOrder = { + "x509IssuerSerialOrX509SKIOrX509SubjectName" +}) +public class X509DataType { + + @XmlElementRefs({ + @XmlElementRef(name = "X509SKI", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509Certificate", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509SubjectName", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509CRL", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509IssuerSerial", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlAnyElement(lax = true) + protected List<Object> x509IssuerSerialOrX509SKIOrX509SubjectName; + + /** + * Gets the value of the x509IssuerSerialOrX509SKIOrX509SubjectName property. + * + * <p> + * 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 <CODE>set</CODE> method for the x509IssuerSerialOrX509SKIOrX509SubjectName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getX509IssuerSerialOrX509SKIOrX509SubjectName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Element } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >} + * + * + */ + public List<Object> getX509IssuerSerialOrX509SKIOrX509SubjectName() { + if (x509IssuerSerialOrX509SKIOrX509SubjectName == null) { + x509IssuerSerialOrX509SKIOrX509SubjectName = new ArrayList<Object>(); + } + return this.x509IssuerSerialOrX509SKIOrX509SubjectName; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/X509IssuerSerialType.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/X509IssuerSerialType.java new file mode 100644 index 0000000..dd87477 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/X509IssuerSerialType.java @@ -0,0 +1,91 @@ + +package at.gv.util.xsd.zkopf.xmldsig; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for X509IssuerSerialType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="X509IssuerSerialType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="X509IssuerName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="X509SerialNumber" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509IssuerSerialType", propOrder = { + "x509IssuerName", + "x509SerialNumber" +}) +public class X509IssuerSerialType { + + @XmlElement(name = "X509IssuerName", required = true) + protected String x509IssuerName; + @XmlElement(name = "X509SerialNumber", required = true) + protected BigInteger x509SerialNumber; + + /** + * Gets the value of the x509IssuerName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getX509IssuerName() { + return x509IssuerName; + } + + /** + * Sets the value of the x509IssuerName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setX509IssuerName(String value) { + this.x509IssuerName = value; + } + + /** + * Gets the value of the x509SerialNumber property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getX509SerialNumber() { + return x509SerialNumber; + } + + /** + * Sets the value of the x509SerialNumber property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setX509SerialNumber(BigInteger value) { + this.x509SerialNumber = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zkopf/xmldsig/package-info.java b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/package-info.java new file mode 100644 index 0000000..d70ba30 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zkopf/xmldsig/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2000/09/xmldsig#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.zkopf.xmldsig; diff --git a/src/main/java/at/gv/util/xsd/zuserech/ClearingRequestType.java b/src/main/java/at/gv/util/xsd/zuserech/ClearingRequestType.java new file mode 100644 index 0000000..fe0cfa8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/ClearingRequestType.java @@ -0,0 +1,385 @@ + +package at.gv.util.xsd.zuserech; + +import java.math.BigDecimal; +import java.math.BigInteger; +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for ClearingRequestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ClearingRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ClearingEntry" maxOccurs="unbounded"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="X509IssuerSerial" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}X509IssuerSerialType"/> + * <element name="Token" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="DeliveryQuality" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="PaperNotification" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="Private" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Price" type="{http://www.w3.org/2001/XMLSchema}decimal"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ClearingRequestType", propOrder = { + "clearingEntry" +}) +public class ClearingRequestType { + + @XmlElement(name = "ClearingEntry", required = true) + protected List<ClearingRequestType.ClearingEntry> clearingEntry; + @XmlAttribute + @XmlSchemaType(name = "positiveInteger") + protected BigInteger version; + + /** + * Gets the value of the clearingEntry property. + * + * <p> + * 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 <CODE>set</CODE> method for the clearingEntry property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getClearingEntry().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ClearingRequestType.ClearingEntry } + * + * + */ + public List<ClearingRequestType.ClearingEntry> getClearingEntry() { + if (clearingEntry == null) { + clearingEntry = new ArrayList<ClearingRequestType.ClearingEntry>(); + } + return this.clearingEntry; + } + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setVersion(BigInteger value) { + this.version = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="X509IssuerSerial" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}X509IssuerSerialType"/> + * <element name="Token" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="DeliveryQuality" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="PaperNotification" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="Private" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Price" type="{http://www.w3.org/2001/XMLSchema}decimal"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "x509IssuerSerial", + "token", + "deliveryQuality", + "paperNotification", + "_private" + }) + public static class ClearingEntry { + + @XmlElement(name = "X509IssuerSerial", required = true) + protected X509IssuerSerialType x509IssuerSerial; + @XmlElement(name = "Token", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String token; + @XmlElement(name = "DeliveryQuality", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String deliveryQuality; + @XmlElement(name = "PaperNotification") + protected boolean paperNotification; + @XmlElement(name = "Private") + protected ClearingRequestType.ClearingEntry.Private _private; + @XmlAttribute(name = "ID", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String id; + + /** + * Gets the value of the x509IssuerSerial property. + * + * @return + * possible object is + * {@link X509IssuerSerialType } + * + */ + public X509IssuerSerialType getX509IssuerSerial() { + return x509IssuerSerial; + } + + /** + * Sets the value of the x509IssuerSerial property. + * + * @param value + * allowed object is + * {@link X509IssuerSerialType } + * + */ + public void setX509IssuerSerial(X509IssuerSerialType value) { + this.x509IssuerSerial = value; + } + + /** + * Gets the value of the token property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getToken() { + return token; + } + + /** + * Sets the value of the token property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setToken(String value) { + this.token = value; + } + + /** + * Gets the value of the deliveryQuality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDeliveryQuality() { + return deliveryQuality; + } + + /** + * Sets the value of the deliveryQuality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDeliveryQuality(String value) { + this.deliveryQuality = value; + } + + /** + * Gets the value of the paperNotification property. + * + */ + public boolean isPaperNotification() { + return paperNotification; + } + + /** + * Sets the value of the paperNotification property. + * + */ + public void setPaperNotification(boolean value) { + this.paperNotification = value; + } + + /** + * Gets the value of the private property. + * + * @return + * possible object is + * {@link ClearingRequestType.ClearingEntry.Private } + * + */ + public ClearingRequestType.ClearingEntry.Private getPrivate() { + return _private; + } + + /** + * Sets the value of the private property. + * + * @param value + * allowed object is + * {@link ClearingRequestType.ClearingEntry.Private } + * + */ + public void setPrivate(ClearingRequestType.ClearingEntry.Private value) { + this._private = value; + } + + /** + * 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; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Price" type="{http://www.w3.org/2001/XMLSchema}decimal"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "price" + }) + public static class Private { + + @XmlElement(name = "Price", required = true) + protected BigDecimal price; + + /** + * Gets the value of the price property. + * + * @return + * possible object is + * {@link BigDecimal } + * + */ + public BigDecimal getPrice() { + return price; + } + + /** + * Sets the value of the price property. + * + * @param value + * allowed object is + * {@link BigDecimal } + * + */ + public void setPrice(BigDecimal value) { + this.price = value; + } + + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zuserech/ClearingResponseType.java b/src/main/java/at/gv/util/xsd/zuserech/ClearingResponseType.java new file mode 100644 index 0000000..ac5c7f5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/ClearingResponseType.java @@ -0,0 +1,265 @@ + +package at.gv.util.xsd.zuserech; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for ClearingResponseType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ClearingResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="Error" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}ErrorType"/> + * <sequence> + * <element name="ClearingEntry" maxOccurs="unbounded"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="Success"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Error" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}ErrorType"/> + * </choice> + * <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ClearingResponseType", propOrder = { + "error", + "clearingEntry" +}) +public class ClearingResponseType { + + @XmlElement(name = "Error") + protected ErrorType error; + @XmlElement(name = "ClearingEntry") + protected List<ClearingResponseType.ClearingEntry> clearingEntry; + + /** + * Gets the value of the error property. + * + * @return + * possible object is + * {@link ErrorType } + * + */ + public ErrorType getError() { + return error; + } + + /** + * Sets the value of the error property. + * + * @param value + * allowed object is + * {@link ErrorType } + * + */ + public void setError(ErrorType value) { + this.error = value; + } + + /** + * Gets the value of the clearingEntry property. + * + * <p> + * 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 <CODE>set</CODE> method for the clearingEntry property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getClearingEntry().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ClearingResponseType.ClearingEntry } + * + * + */ + public List<ClearingResponseType.ClearingEntry> getClearingEntry() { + if (clearingEntry == null) { + clearingEntry = new ArrayList<ClearingResponseType.ClearingEntry>(); + } + return this.clearingEntry; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="Success"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Error" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}ErrorType"/> + * </choice> + * <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "success", + "error" + }) + public static class ClearingEntry { + + @XmlElement(name = "Success") + protected ClearingResponseType.ClearingEntry.Success success; + @XmlElement(name = "Error") + protected ErrorType error; + @XmlAttribute(name = "ID", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String id; + + /** + * Gets the value of the success property. + * + * @return + * possible object is + * {@link ClearingResponseType.ClearingEntry.Success } + * + */ + public ClearingResponseType.ClearingEntry.Success getSuccess() { + return success; + } + + /** + * Sets the value of the success property. + * + * @param value + * allowed object is + * {@link ClearingResponseType.ClearingEntry.Success } + * + */ + public void setSuccess(ClearingResponseType.ClearingEntry.Success value) { + this.success = value; + } + + /** + * Gets the value of the error property. + * + * @return + * possible object is + * {@link ErrorType } + * + */ + public ErrorType getError() { + return error; + } + + /** + * Sets the value of the error property. + * + * @param value + * allowed object is + * {@link ErrorType } + * + */ + public void setError(ErrorType value) { + this.error = value; + } + + /** + * 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; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class Success { + + + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zuserech/ErrorType.java b/src/main/java/at/gv/util/xsd/zuserech/ErrorType.java new file mode 100644 index 0000000..37200cc --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/ErrorType.java @@ -0,0 +1,93 @@ + +package at.gv.util.xsd.zuserech; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ErrorType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ErrorType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ErrorType", propOrder = { + "info", + "code" +}) +public class ErrorType { + + @XmlElement(name = "Info", required = true) + protected String info; + @XmlElement(name = "Code", required = true) + @XmlSchemaType(name = "positiveInteger") + protected BigInteger code; + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfo(String value) { + this.info = value; + } + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zuserech/ObjectFactory.java b/src/main/java/at/gv/util/xsd/zuserech/ObjectFactory.java new file mode 100644 index 0000000..de892ec --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/ObjectFactory.java @@ -0,0 +1,159 @@ + +package at.gv.util.xsd.zuserech; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.zuserech package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _ClearingRequest_QNAME = new QName("http://reference.e-government.gv.at/namespaces/zustellung/rech", "ClearingRequest"); + private final static QName _ClearingResponse_QNAME = new QName("http://reference.e-government.gv.at/namespaces/zustellung/rech", "ClearingResponse"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.zuserech + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ClearingResponseType.ClearingEntry } + * + */ + public ClearingResponseType.ClearingEntry createClearingResponseTypeClearingEntry() { + return new ClearingResponseType.ClearingEntry(); + } + + /** + * Create an instance of {@link ClearingResponseType.ClearingEntry.Success } + * + */ + public ClearingResponseType.ClearingEntry.Success createClearingResponseTypeClearingEntrySuccess() { + return new ClearingResponseType.ClearingEntry.Success(); + } + + /** + * Create an instance of {@link ValidateTokenRequest.TokenEntry } + * + */ + public ValidateTokenRequest.TokenEntry createValidateTokenRequestTokenEntry() { + return new ValidateTokenRequest.TokenEntry(); + } + + /** + * Create an instance of {@link ValidateTokenResponse.TokenEntry.Success } + * + */ + public ValidateTokenResponse.TokenEntry.Success createValidateTokenResponseTokenEntrySuccess() { + return new ValidateTokenResponse.TokenEntry.Success(); + } + + /** + * Create an instance of {@link ValidateTokenResponse } + * + */ + public ValidateTokenResponse createValidateTokenResponse() { + return new ValidateTokenResponse(); + } + + /** + * Create an instance of {@link ClearingRequestType.ClearingEntry.Private } + * + */ + public ClearingRequestType.ClearingEntry.Private createClearingRequestTypeClearingEntryPrivate() { + return new ClearingRequestType.ClearingEntry.Private(); + } + + /** + * Create an instance of {@link ValidateTokenResponse.TokenEntry } + * + */ + public ValidateTokenResponse.TokenEntry createValidateTokenResponseTokenEntry() { + return new ValidateTokenResponse.TokenEntry(); + } + + /** + * Create an instance of {@link X509IssuerSerialType } + * + */ + public X509IssuerSerialType createX509IssuerSerialType() { + return new X509IssuerSerialType(); + } + + /** + * Create an instance of {@link ClearingRequestType.ClearingEntry } + * + */ + public ClearingRequestType.ClearingEntry createClearingRequestTypeClearingEntry() { + return new ClearingRequestType.ClearingEntry(); + } + + /** + * Create an instance of {@link ClearingResponseType } + * + */ + public ClearingResponseType createClearingResponseType() { + return new ClearingResponseType(); + } + + /** + * Create an instance of {@link ErrorType } + * + */ + public ErrorType createErrorType() { + return new ErrorType(); + } + + /** + * Create an instance of {@link ValidateTokenRequest } + * + */ + public ValidateTokenRequest createValidateTokenRequest() { + return new ValidateTokenRequest(); + } + + /** + * Create an instance of {@link ClearingRequestType } + * + */ + public ClearingRequestType createClearingRequestType() { + return new ClearingRequestType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ClearingRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespaces/zustellung/rech", name = "ClearingRequest") + public JAXBElement<ClearingRequestType> createClearingRequest(ClearingRequestType value) { + return new JAXBElement<ClearingRequestType>(_ClearingRequest_QNAME, ClearingRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ClearingResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespaces/zustellung/rech", name = "ClearingResponse") + public JAXBElement<ClearingResponseType> createClearingResponse(ClearingResponseType value) { + return new JAXBElement<ClearingResponseType>(_ClearingResponse_QNAME, ClearingResponseType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/zuserech/ValidateTokenRequest.java b/src/main/java/at/gv/util/xsd/zuserech/ValidateTokenRequest.java new file mode 100644 index 0000000..6735720 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/ValidateTokenRequest.java @@ -0,0 +1,201 @@ + +package at.gv.util.xsd.zuserech; + +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.XmlRootElement; +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; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="TokenEntry" maxOccurs="unbounded"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="X509IssuerSerial" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}X509IssuerSerialType"/> + * <element name="Token" type="{http://www.w3.org/2001/XMLSchema}token"/> + * </sequence> + * <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "tokenEntry" +}) +@XmlRootElement(name = "ValidateTokenRequest") +public class ValidateTokenRequest { + + @XmlElement(name = "TokenEntry", required = true) + protected List<ValidateTokenRequest.TokenEntry> tokenEntry; + + /** + * Gets the value of the tokenEntry property. + * + * <p> + * 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 <CODE>set</CODE> method for the tokenEntry property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTokenEntry().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ValidateTokenRequest.TokenEntry } + * + * + */ + public List<ValidateTokenRequest.TokenEntry> getTokenEntry() { + if (tokenEntry == null) { + tokenEntry = new ArrayList<ValidateTokenRequest.TokenEntry>(); + } + return this.tokenEntry; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="X509IssuerSerial" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}X509IssuerSerialType"/> + * <element name="Token" type="{http://www.w3.org/2001/XMLSchema}token"/> + * </sequence> + * <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "x509IssuerSerial", + "token" + }) + public static class TokenEntry { + + @XmlElement(name = "X509IssuerSerial", required = true) + protected X509IssuerSerialType x509IssuerSerial; + @XmlElement(name = "Token", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String token; + @XmlAttribute(name = "ID", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String id; + + /** + * Gets the value of the x509IssuerSerial property. + * + * @return + * possible object is + * {@link X509IssuerSerialType } + * + */ + public X509IssuerSerialType getX509IssuerSerial() { + return x509IssuerSerial; + } + + /** + * Sets the value of the x509IssuerSerial property. + * + * @param value + * allowed object is + * {@link X509IssuerSerialType } + * + */ + public void setX509IssuerSerial(X509IssuerSerialType value) { + this.x509IssuerSerial = value; + } + + /** + * Gets the value of the token property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getToken() { + return token; + } + + /** + * Sets the value of the token property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setToken(String value) { + this.token = value; + } + + /** + * 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; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zuserech/ValidateTokenResponse.java b/src/main/java/at/gv/util/xsd/zuserech/ValidateTokenResponse.java new file mode 100644 index 0000000..3d818a6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/ValidateTokenResponse.java @@ -0,0 +1,237 @@ + +package at.gv.util.xsd.zuserech; + +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.XmlRootElement; +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; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="TokenEntry" maxOccurs="unbounded"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="Success"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Error" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}ErrorType"/> + * </choice> + * <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "tokenEntry" +}) +@XmlRootElement(name = "ValidateTokenResponse") +public class ValidateTokenResponse { + + @XmlElement(name = "TokenEntry", required = true) + protected List<ValidateTokenResponse.TokenEntry> tokenEntry; + + /** + * Gets the value of the tokenEntry property. + * + * <p> + * 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 <CODE>set</CODE> method for the tokenEntry property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTokenEntry().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ValidateTokenResponse.TokenEntry } + * + * + */ + public List<ValidateTokenResponse.TokenEntry> getTokenEntry() { + if (tokenEntry == null) { + tokenEntry = new ArrayList<ValidateTokenResponse.TokenEntry>(); + } + return this.tokenEntry; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element name="Success"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Error" type="{http://reference.e-government.gv.at/namespaces/zustellung/rech}ErrorType"/> + * </choice> + * <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "success", + "error" + }) + public static class TokenEntry { + + @XmlElement(name = "Success") + protected ValidateTokenResponse.TokenEntry.Success success; + @XmlElement(name = "Error") + protected ErrorType error; + @XmlAttribute(name = "ID", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String id; + + /** + * Gets the value of the success property. + * + * @return + * possible object is + * {@link ValidateTokenResponse.TokenEntry.Success } + * + */ + public ValidateTokenResponse.TokenEntry.Success getSuccess() { + return success; + } + + /** + * Sets the value of the success property. + * + * @param value + * allowed object is + * {@link ValidateTokenResponse.TokenEntry.Success } + * + */ + public void setSuccess(ValidateTokenResponse.TokenEntry.Success value) { + this.success = value; + } + + /** + * Gets the value of the error property. + * + * @return + * possible object is + * {@link ErrorType } + * + */ + public ErrorType getError() { + return error; + } + + /** + * Sets the value of the error property. + * + * @param value + * allowed object is + * {@link ErrorType } + * + */ + public void setError(ErrorType value) { + this.error = value; + } + + /** + * 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; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class Success { + + + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zuserech/X509IssuerSerialType.java b/src/main/java/at/gv/util/xsd/zuserech/X509IssuerSerialType.java new file mode 100644 index 0000000..6c27500 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/X509IssuerSerialType.java @@ -0,0 +1,82 @@ + +package at.gv.util.xsd.zuserech; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for X509IssuerSerialType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="X509IssuerSerialType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="X509IssuerName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="X509SerialNumber" type="{http://www.w3.org/2001/XMLSchema}long"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509IssuerSerialType", propOrder = { + "x509IssuerName", + "x509SerialNumber" +}) +public class X509IssuerSerialType { + + @XmlElement(name = "X509IssuerName", required = true) + protected String x509IssuerName; + @XmlElement(name = "X509SerialNumber") + protected long x509SerialNumber; + + /** + * Gets the value of the x509IssuerName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getX509IssuerName() { + return x509IssuerName; + } + + /** + * Sets the value of the x509IssuerName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setX509IssuerName(String value) { + this.x509IssuerName = value; + } + + /** + * Gets the value of the x509SerialNumber property. + * + */ + public long getX509SerialNumber() { + return x509SerialNumber; + } + + /** + * Sets the value of the x509SerialNumber property. + * + */ + public void setX509SerialNumber(long value) { + this.x509SerialNumber = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zuserech/package-info.java b/src/main/java/at/gv/util/xsd/zuserech/package-info.java new file mode 100644 index 0000000..708e3c0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zuserech/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespaces/zustellung/rech", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.zuserech; diff --git a/src/main/java/at/gv/util/xsd/zusespec/ElectronicNotification.java b/src/main/java/at/gv/util/xsd/zusespec/ElectronicNotification.java new file mode 100644 index 0000000..777aff3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/ElectronicNotification.java @@ -0,0 +1,629 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +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; +import javax.xml.datatype.XMLGregorianCalendar; +import at.gv.util.xsd.zusespec.xmldsig.SignatureType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Sender"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}Name"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Recipient" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}Name"/> + * <element name="AddressLine" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}token"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}DeliveryID"/> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}DeliveryQuality"/> + * <element name="DeliveryNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}DeliveryServer"/> + * <element name="Dates"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}FirstNotification"/> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}SecondNotification" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}DueDate"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "sender", + "recipient", + "deliveryID", + "deliveryQuality", + "deliveryNumber", + "deliveryServer", + "dates", + "signature" +}) +@XmlRootElement(name = "ElectronicNotification") +public class ElectronicNotification { + + @XmlElement(name = "Sender", required = true) + protected ElectronicNotification.Sender sender; + @XmlElement(name = "Recipient") + protected ElectronicNotification.Recipient recipient; + @XmlElement(name = "DeliveryID", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String deliveryID; + @XmlElement(name = "DeliveryQuality", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String deliveryQuality; + @XmlElement(name = "DeliveryNumber", required = true) + protected String deliveryNumber; + @XmlElement(name = "DeliveryServer", required = true) + @XmlSchemaType(name = "anyURI") + protected String deliveryServer; + @XmlElement(name = "Dates", required = true) + protected ElectronicNotification.Dates dates; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureType signature; + + /** + * Gets the value of the sender property. + * + * @return + * possible object is + * {@link ElectronicNotification.Sender } + * + */ + public ElectronicNotification.Sender getSender() { + return sender; + } + + /** + * Sets the value of the sender property. + * + * @param value + * allowed object is + * {@link ElectronicNotification.Sender } + * + */ + public void setSender(ElectronicNotification.Sender value) { + this.sender = value; + } + + /** + * Gets the value of the recipient property. + * + * @return + * possible object is + * {@link ElectronicNotification.Recipient } + * + */ + public ElectronicNotification.Recipient getRecipient() { + return recipient; + } + + /** + * Sets the value of the recipient property. + * + * @param value + * allowed object is + * {@link ElectronicNotification.Recipient } + * + */ + public void setRecipient(ElectronicNotification.Recipient value) { + this.recipient = value; + } + + /** + * Gets the value of the deliveryID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDeliveryID() { + return deliveryID; + } + + /** + * Sets the value of the deliveryID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDeliveryID(String value) { + this.deliveryID = value; + } + + /** + * Gets the value of the deliveryQuality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDeliveryQuality() { + return deliveryQuality; + } + + /** + * Sets the value of the deliveryQuality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDeliveryQuality(String value) { + this.deliveryQuality = value; + } + + /** + * Gets the value of the deliveryNumber property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDeliveryNumber() { + return deliveryNumber; + } + + /** + * Sets the value of the deliveryNumber property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDeliveryNumber(String value) { + this.deliveryNumber = value; + } + + /** + * Gets the value of the deliveryServer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDeliveryServer() { + return deliveryServer; + } + + /** + * Sets the value of the deliveryServer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDeliveryServer(String value) { + this.deliveryServer = value; + } + + /** + * Gets the value of the dates property. + * + * @return + * possible object is + * {@link ElectronicNotification.Dates } + * + */ + public ElectronicNotification.Dates getDates() { + return dates; + } + + /** + * Sets the value of the dates property. + * + * @param value + * allowed object is + * {@link ElectronicNotification.Dates } + * + */ + public void setDates(ElectronicNotification.Dates value) { + this.dates = value; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}FirstNotification"/> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}SecondNotification" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}DueDate"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "firstNotification", + "secondNotification", + "dueDate" + }) + public static class Dates { + + @XmlElement(name = "FirstNotification", required = true) + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar firstNotification; + @XmlElement(name = "SecondNotification") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar secondNotification; + @XmlElement(name = "DueDate", required = true) + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar dueDate; + + /** + * Gets the value of the firstNotification property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getFirstNotification() { + return firstNotification; + } + + /** + * Sets the value of the firstNotification property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setFirstNotification(XMLGregorianCalendar value) { + this.firstNotification = value; + } + + /** + * Gets the value of the secondNotification property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getSecondNotification() { + return secondNotification; + } + + /** + * Sets the value of the secondNotification property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setSecondNotification(XMLGregorianCalendar value) { + this.secondNotification = value; + } + + /** + * Gets the value of the dueDate property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getDueDate() { + return dueDate; + } + + /** + * Sets the value of the dueDate property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setDueDate(XMLGregorianCalendar value) { + this.dueDate = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}Name"/> + * <element name="AddressLine" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}token"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "name", + "addressLine", + "postalCode", + "municipality" + }) + public static class Recipient { + + @XmlElement(name = "Name", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String name; + @XmlElement(name = "AddressLine", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String addressLine; + @XmlElement(name = "PostalCode", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String postalCode; + @XmlElement(name = "Municipality", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String municipality; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the addressLine property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAddressLine() { + return addressLine; + } + + /** + * Sets the value of the addressLine property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAddressLine(String value) { + this.addressLine = value; + } + + /** + * Gets the value of the postalCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostalCode() { + return postalCode; + } + + /** + * Sets the value of the postalCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostalCode(String value) { + this.postalCode = value; + } + + /** + * Gets the value of the municipality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMunicipality() { + return municipality; + } + + /** + * Sets the value of the municipality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMunicipality(String value) { + this.municipality = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}Name"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "name" + }) + public static class Sender { + + @XmlElement(name = "Name", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String name; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/ObjectFactory.java b/src/main/java/at/gv/util/xsd/zusespec/ObjectFactory.java new file mode 100644 index 0000000..bd11dbc --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/ObjectFactory.java @@ -0,0 +1,203 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.zusespec package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _DeliveryServer_QNAME = new QName("http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", "DeliveryServer"); + private final static QName _DeliveryID_QNAME = new QName("http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", "DeliveryID"); + private final static QName _DeliveryQuality_QNAME = new QName("http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", "DeliveryQuality"); + private final static QName _ThirdNotification_QNAME = new QName("http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", "ThirdNotification"); + private final static QName _DueDate_QNAME = new QName("http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", "DueDate"); + private final static QName _FirstNotification_QNAME = new QName("http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", "FirstNotification"); + private final static QName _Email_QNAME = new QName("http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", "Email"); + private final static QName _Name_QNAME = new QName("http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", "Name"); + private final static QName _SecondNotification_QNAME = new QName("http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", "SecondNotification"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.zusespec + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ElectronicNotification.Dates } + * + */ + public ElectronicNotification.Dates createElectronicNotificationDates() { + return new ElectronicNotification.Dates(); + } + + /** + * Create an instance of {@link ElectronicNotification.Recipient } + * + */ + public ElectronicNotification.Recipient createElectronicNotificationRecipient() { + return new ElectronicNotification.Recipient(); + } + + /** + * Create an instance of {@link PaperNotification } + * + */ + public PaperNotification createPaperNotification() { + return new PaperNotification(); + } + + /** + * Create an instance of {@link PaperNotification.Sender } + * + */ + public PaperNotification.Sender createPaperNotificationSender() { + return new PaperNotification.Sender(); + } + + /** + * Create an instance of {@link ElectronicNotification } + * + */ + public ElectronicNotification createElectronicNotification() { + return new ElectronicNotification(); + } + + /** + * Create an instance of {@link PaperNotification.Recipient } + * + */ + public PaperNotification.Recipient createPaperNotificationRecipient() { + return new PaperNotification.Recipient(); + } + + /** + * Create an instance of {@link ElectronicNotification.Sender } + * + */ + public ElectronicNotification.Sender createElectronicNotificationSender() { + return new ElectronicNotification.Sender(); + } + + /** + * Create an instance of {@link PaperNotification.Dates } + * + */ + public PaperNotification.Dates createPaperNotificationDates() { + return new PaperNotification.Dates(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", name = "DeliveryServer") + public JAXBElement<String> createDeliveryServer(String value) { + return new JAXBElement<String>(_DeliveryServer_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", name = "DeliveryID") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createDeliveryID(String value) { + return new JAXBElement<String>(_DeliveryID_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", name = "DeliveryQuality") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createDeliveryQuality(String value) { + return new JAXBElement<String>(_DeliveryQuality_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", name = "ThirdNotification") + public JAXBElement<XMLGregorianCalendar> createThirdNotification(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_ThirdNotification_QNAME, XMLGregorianCalendar.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", name = "DueDate") + public JAXBElement<XMLGregorianCalendar> createDueDate(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_DueDate_QNAME, XMLGregorianCalendar.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", name = "FirstNotification") + public JAXBElement<XMLGregorianCalendar> createFirstNotification(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_FirstNotification_QNAME, XMLGregorianCalendar.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", name = "Email") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createEmail(String value) { + return new JAXBElement<String>(_Email_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", name = "Name") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createName(String value) { + return new JAXBElement<String>(_Name_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", name = "SecondNotification") + public JAXBElement<XMLGregorianCalendar> createSecondNotification(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_SecondNotification_QNAME, XMLGregorianCalendar.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/PaperNotification.java b/src/main/java/at/gv/util/xsd/zusespec/PaperNotification.java new file mode 100644 index 0000000..5873577 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/PaperNotification.java @@ -0,0 +1,541 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +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; +import javax.xml.datatype.XMLGregorianCalendar; +import at.gv.util.xsd.zusespec.xmldsig.SignatureType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Sender"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}Name"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Recipient"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}Name"/> + * <element name="AddressLine" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}token"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}DeliveryID"/> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}DeliveryQuality"/> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}DeliveryServer"/> + * <element name="Dates"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}DueDate"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "sender", + "recipient", + "deliveryID", + "deliveryQuality", + "deliveryServer", + "dates", + "signature" +}) +@XmlRootElement(name = "PaperNotification") +public class PaperNotification { + + @XmlElement(name = "Sender", required = true) + protected PaperNotification.Sender sender; + @XmlElement(name = "Recipient", required = true) + protected PaperNotification.Recipient recipient; + @XmlElement(name = "DeliveryID", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String deliveryID; + @XmlElement(name = "DeliveryQuality", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String deliveryQuality; + @XmlElement(name = "DeliveryServer", required = true) + @XmlSchemaType(name = "anyURI") + protected String deliveryServer; + @XmlElement(name = "Dates", required = true) + protected PaperNotification.Dates dates; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureType signature; + + /** + * Gets the value of the sender property. + * + * @return + * possible object is + * {@link PaperNotification.Sender } + * + */ + public PaperNotification.Sender getSender() { + return sender; + } + + /** + * Sets the value of the sender property. + * + * @param value + * allowed object is + * {@link PaperNotification.Sender } + * + */ + public void setSender(PaperNotification.Sender value) { + this.sender = value; + } + + /** + * Gets the value of the recipient property. + * + * @return + * possible object is + * {@link PaperNotification.Recipient } + * + */ + public PaperNotification.Recipient getRecipient() { + return recipient; + } + + /** + * Sets the value of the recipient property. + * + * @param value + * allowed object is + * {@link PaperNotification.Recipient } + * + */ + public void setRecipient(PaperNotification.Recipient value) { + this.recipient = value; + } + + /** + * Gets the value of the deliveryID property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDeliveryID() { + return deliveryID; + } + + /** + * Sets the value of the deliveryID property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDeliveryID(String value) { + this.deliveryID = value; + } + + /** + * Gets the value of the deliveryQuality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDeliveryQuality() { + return deliveryQuality; + } + + /** + * Sets the value of the deliveryQuality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDeliveryQuality(String value) { + this.deliveryQuality = value; + } + + /** + * Gets the value of the deliveryServer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDeliveryServer() { + return deliveryServer; + } + + /** + * Sets the value of the deliveryServer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDeliveryServer(String value) { + this.deliveryServer = value; + } + + /** + * Gets the value of the dates property. + * + * @return + * possible object is + * {@link PaperNotification.Dates } + * + */ + public PaperNotification.Dates getDates() { + return dates; + } + + /** + * Sets the value of the dates property. + * + * @param value + * allowed object is + * {@link PaperNotification.Dates } + * + */ + public void setDates(PaperNotification.Dates value) { + this.dates = value; + } + + /** + * Gets the value of the signature property. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Sets the value of the signature property. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}DueDate"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "dueDate" + }) + public static class Dates { + + @XmlElement(name = "DueDate", required = true) + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar dueDate; + + /** + * Gets the value of the dueDate property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getDueDate() { + return dueDate; + } + + /** + * Sets the value of the dueDate property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setDueDate(XMLGregorianCalendar value) { + this.dueDate = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}Name"/> + * <element name="AddressLine" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}token"/> + * <element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}token"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "name", + "addressLine", + "postalCode", + "municipality" + }) + public static class Recipient { + + @XmlElement(name = "Name", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String name; + @XmlElement(name = "AddressLine", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String addressLine; + @XmlElement(name = "PostalCode", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String postalCode; + @XmlElement(name = "Municipality", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String municipality; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the addressLine property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAddressLine() { + return addressLine; + } + + /** + * Sets the value of the addressLine property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAddressLine(String value) { + this.addressLine = value; + } + + /** + * Gets the value of the postalCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostalCode() { + return postalCode; + } + + /** + * Sets the value of the postalCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostalCode(String value) { + this.postalCode = value; + } + + /** + * Gets the value of the municipality property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMunicipality() { + return municipality; + } + + /** + * Sets the value of the municipality property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMunicipality(String value) { + this.municipality = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/zustellung/recipientnotification}Name"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "name" + }) + public static class Sender { + + @XmlElement(name = "Name", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String name; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/package-info.java b/src/main/java/at/gv/util/xsd/zusespec/package-info.java new file mode 100644 index 0000000..d342d03 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/package-info.java @@ -0,0 +1,9 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/zustellung/recipientnotification", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.zusespec; diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/CanonicalizationMethodType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/CanonicalizationMethodType.java new file mode 100644 index 0000000..0b3e0ab --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/CanonicalizationMethodType.java @@ -0,0 +1,109 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for CanonicalizationMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CanonicalizationMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CanonicalizationMethodType", propOrder = { + "content" +}) +public class CanonicalizationMethodType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/DSAKeyValueType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/DSAKeyValueType.java new file mode 100644 index 0000000..c4891f5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/DSAKeyValueType.java @@ -0,0 +1,241 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <sequence minOccurs="0"> + * <element name="P" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="Q" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * <element name="J" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <element name="G" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <element name="Y" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <sequence minOccurs="0"> + * <element name="Seed" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="PgenCounter" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DSAKeyValueType", propOrder = { + "p", + "q", + "j", + "g", + "y", + "seed", + "pgenCounter" +}) +public class DSAKeyValueType { + + @XmlElement(name = "P") + protected String p; + @XmlElement(name = "Q") + protected String q; + @XmlElement(name = "J") + protected String j; + @XmlElement(name = "G") + protected String g; + @XmlElement(name = "Y", required = true) + protected String y; + @XmlElement(name = "Seed") + protected String seed; + @XmlElement(name = "PgenCounter") + protected String pgenCounter; + + /** + * Gets the value of the p property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getP() { + return p; + } + + /** + * Sets the value of the p property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setP(String value) { + this.p = value; + } + + /** + * Gets the value of the q property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQ() { + return q; + } + + /** + * Sets the value of the q property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQ(String value) { + this.q = value; + } + + /** + * Gets the value of the j property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getJ() { + return j; + } + + /** + * Sets the value of the j property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setJ(String value) { + this.j = value; + } + + /** + * Gets the value of the g property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getG() { + return g; + } + + /** + * Sets the value of the g property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setG(String value) { + this.g = value; + } + + /** + * Gets the value of the y property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getY() { + return y; + } + + /** + * Sets the value of the y property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setY(String value) { + this.y = value; + } + + /** + * Gets the value of the seed property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSeed() { + return seed; + } + + /** + * Sets the value of the seed property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSeed(String value) { + this.seed = value; + } + + /** + * Gets the value of the pgenCounter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPgenCounter() { + return pgenCounter; + } + + /** + * Sets the value of the pgenCounter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPgenCounter(String value) { + this.pgenCounter = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/DigestMethodType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/DigestMethodType.java new file mode 100644 index 0000000..ddb8d49 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/DigestMethodType.java @@ -0,0 +1,111 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for DigestMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="DigestMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DigestMethodType", propOrder = { + "content" +}) +public class DigestMethodType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Element } + * {@link Object } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/KeyInfoType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/KeyInfoType.java new file mode 100644 index 0000000..1e0f38e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/KeyInfoType.java @@ -0,0 +1,142 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for KeyInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="KeyInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyName"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}RetrievalMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}X509Data"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}PGPData"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SPKIData"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}MgmtData"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyInfoType", propOrder = { + "content" +}) +public class KeyInfoType { + + @XmlElementRefs({ + @XmlElementRef(name = "RetrievalMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "MgmtData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "SPKIData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "KeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509Data", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "PGPData", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "KeyName", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link RetrievalMethodType }{@code >} + * {@link Object } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link String } + * {@link Element } + * {@link JAXBElement }{@code <}{@link SPKIDataType }{@code >} + * {@link JAXBElement }{@code <}{@link KeyValueType }{@code >} + * {@link JAXBElement }{@code <}{@link X509DataType }{@code >} + * {@link JAXBElement }{@code <}{@link PGPDataType }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/KeyValueType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/KeyValueType.java new file mode 100644 index 0000000..c7687d1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/KeyValueType.java @@ -0,0 +1,92 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for KeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="KeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DSAKeyValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}RSAKeyValue"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyValueType", propOrder = { + "content" +}) +public class KeyValueType { + + @XmlElementRefs({ + @XmlElementRef(name = "DSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "RSAKeyValue", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link DSAKeyValueType }{@code >} + * {@link Object } + * {@link String } + * {@link Element } + * {@link JAXBElement }{@code <}{@link RSAKeyValueType }{@code >} + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/ManifestType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/ManifestType.java new file mode 100644 index 0000000..14b1ae2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/ManifestType.java @@ -0,0 +1,111 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +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.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; + + +/** + * <p>Java class for ManifestType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ManifestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ManifestType", propOrder = { + "reference" +}) +public class ManifestType { + + @XmlElement(name = "Reference", required = true) + protected List<ReferenceType> reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the reference property. + * + * <p> + * 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 <CODE>set</CODE> method for the reference property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReference().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ReferenceType } + * + * + */ + public List<ReferenceType> getReference() { + if (reference == null) { + reference = new ArrayList<ReferenceType>(); + } + return this.reference; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/ObjectFactory.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/ObjectFactory.java new file mode 100644 index 0000000..989b79f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/ObjectFactory.java @@ -0,0 +1,559 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +import java.math.BigInteger; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.zusespec.xmldsig package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Signature_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Signature"); + private final static QName _PGPData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPData"); + private final static QName _DSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DSAKeyValue"); + private final static QName _SPKIData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKIData"); + private final static QName _SignedInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignedInfo"); + private final static QName _RetrievalMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RetrievalMethod"); + private final static QName _CanonicalizationMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "CanonicalizationMethod"); + private final static QName _Object_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Object"); + private final static QName _SignatureProperty_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperty"); + private final static QName _Manifest_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Manifest"); + private final static QName _SignatureValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureValue"); + private final static QName _Transforms_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transforms"); + private final static QName _Transform_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transform"); + private final static QName _X509Data_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Data"); + private final static QName _SignatureMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureMethod"); + private final static QName _KeyInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyInfo"); + private final static QName _DigestMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestMethod"); + private final static QName _DigestValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestValue"); + private final static QName _MgmtData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "MgmtData"); + private final static QName _SignatureProperties_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperties"); + private final static QName _KeyName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyName"); + private final static QName _KeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyValue"); + private final static QName _Reference_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Reference"); + private final static QName _RSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RSAKeyValue"); + private final static QName _X509DataTypeX509IssuerSerial_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509IssuerSerial"); + private final static QName _X509DataTypeX509Certificate_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Certificate"); + private final static QName _X509DataTypeX509SKI_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SKI"); + private final static QName _X509DataTypeX509SubjectName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SubjectName"); + private final static QName _X509DataTypeX509CRL_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509CRL"); + private final static QName _SignatureMethodTypeHMACOutputLength_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "HMACOutputLength"); + private final static QName _SPKIDataTypeSPKISexp_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKISexp"); + private final static QName _PGPDataTypePGPKeyID_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyID"); + private final static QName _PGPDataTypePGPKeyPacket_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyPacket"); + private final static QName _TransformTypeXPath_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "XPath"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.zusespec.xmldsig + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link SignaturePropertyType } + * + */ + public SignaturePropertyType createSignaturePropertyType() { + return new SignaturePropertyType(); + } + + /** + * Create an instance of {@link DigestMethodType } + * + */ + public DigestMethodType createDigestMethodType() { + return new DigestMethodType(); + } + + /** + * Create an instance of {@link X509DataType } + * + */ + public X509DataType createX509DataType() { + return new X509DataType(); + } + + /** + * Create an instance of {@link KeyInfoType } + * + */ + public KeyInfoType createKeyInfoType() { + return new KeyInfoType(); + } + + /** + * Create an instance of {@link TransformType } + * + */ + public TransformType createTransformType() { + return new TransformType(); + } + + /** + * Create an instance of {@link ManifestType } + * + */ + public ManifestType createManifestType() { + return new ManifestType(); + } + + /** + * Create an instance of {@link SignaturePropertiesType } + * + */ + public SignaturePropertiesType createSignaturePropertiesType() { + return new SignaturePropertiesType(); + } + + /** + * Create an instance of {@link SignatureType } + * + */ + public SignatureType createSignatureType() { + return new SignatureType(); + } + + /** + * Create an instance of {@link RetrievalMethodType } + * + */ + public RetrievalMethodType createRetrievalMethodType() { + return new RetrievalMethodType(); + } + + /** + * Create an instance of {@link RSAKeyValueType } + * + */ + public RSAKeyValueType createRSAKeyValueType() { + return new RSAKeyValueType(); + } + + /** + * Create an instance of {@link DSAKeyValueType } + * + */ + public DSAKeyValueType createDSAKeyValueType() { + return new DSAKeyValueType(); + } + + /** + * Create an instance of {@link SPKIDataType } + * + */ + public SPKIDataType createSPKIDataType() { + return new SPKIDataType(); + } + + /** + * Create an instance of {@link CanonicalizationMethodType } + * + */ + public CanonicalizationMethodType createCanonicalizationMethodType() { + return new CanonicalizationMethodType(); + } + + /** + * Create an instance of {@link X509IssuerSerialType } + * + */ + public X509IssuerSerialType createX509IssuerSerialType() { + return new X509IssuerSerialType(); + } + + /** + * Create an instance of {@link SignatureValueType } + * + */ + public SignatureValueType createSignatureValueType() { + return new SignatureValueType(); + } + + /** + * Create an instance of {@link SignedInfoType } + * + */ + public SignedInfoType createSignedInfoType() { + return new SignedInfoType(); + } + + /** + * Create an instance of {@link ObjectType } + * + */ + public ObjectType createObjectType() { + return new ObjectType(); + } + + /** + * Create an instance of {@link PGPDataType } + * + */ + public PGPDataType createPGPDataType() { + return new PGPDataType(); + } + + /** + * Create an instance of {@link TransformsType } + * + */ + public TransformsType createTransformsType() { + return new TransformsType(); + } + + /** + * Create an instance of {@link KeyValueType } + * + */ + public KeyValueType createKeyValueType() { + return new KeyValueType(); + } + + /** + * Create an instance of {@link SignatureMethodType } + * + */ + public SignatureMethodType createSignatureMethodType() { + return new SignatureMethodType(); + } + + /** + * Create an instance of {@link ReferenceType } + * + */ + public ReferenceType createReferenceType() { + return new ReferenceType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Signature") + public JAXBElement<SignatureType> createSignature(SignatureType value) { + return new JAXBElement<SignatureType>(_Signature_QNAME, SignatureType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PGPDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPData") + public JAXBElement<PGPDataType> createPGPData(PGPDataType value) { + return new JAXBElement<PGPDataType>(_PGPData_QNAME, PGPDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DSAKeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DSAKeyValue") + public JAXBElement<DSAKeyValueType> createDSAKeyValue(DSAKeyValueType value) { + return new JAXBElement<DSAKeyValueType>(_DSAKeyValue_QNAME, DSAKeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SPKIDataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKIData") + public JAXBElement<SPKIDataType> createSPKIData(SPKIDataType value) { + return new JAXBElement<SPKIDataType>(_SPKIData_QNAME, SPKIDataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignedInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignedInfo") + public JAXBElement<SignedInfoType> createSignedInfo(SignedInfoType value) { + return new JAXBElement<SignedInfoType>(_SignedInfo_QNAME, SignedInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RetrievalMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RetrievalMethod") + public JAXBElement<RetrievalMethodType> createRetrievalMethod(RetrievalMethodType value) { + return new JAXBElement<RetrievalMethodType>(_RetrievalMethod_QNAME, RetrievalMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CanonicalizationMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "CanonicalizationMethod") + public JAXBElement<CanonicalizationMethodType> createCanonicalizationMethod(CanonicalizationMethodType value) { + return new JAXBElement<CanonicalizationMethodType>(_CanonicalizationMethod_QNAME, CanonicalizationMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ObjectType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Object") + public JAXBElement<ObjectType> createObject(ObjectType value) { + return new JAXBElement<ObjectType>(_Object_QNAME, ObjectType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignaturePropertyType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperty") + public JAXBElement<SignaturePropertyType> createSignatureProperty(SignaturePropertyType value) { + return new JAXBElement<SignaturePropertyType>(_SignatureProperty_QNAME, SignaturePropertyType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ManifestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Manifest") + public JAXBElement<ManifestType> createManifest(ManifestType value) { + return new JAXBElement<ManifestType>(_Manifest_QNAME, ManifestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureValue") + public JAXBElement<SignatureValueType> createSignatureValue(SignatureValueType value) { + return new JAXBElement<SignatureValueType>(_SignatureValue_QNAME, SignatureValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TransformsType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transforms") + public JAXBElement<TransformsType> createTransforms(TransformsType value) { + return new JAXBElement<TransformsType>(_Transforms_QNAME, TransformsType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TransformType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transform") + public JAXBElement<TransformType> createTransform(TransformType value) { + return new JAXBElement<TransformType>(_Transform_QNAME, TransformType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link X509DataType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Data") + public JAXBElement<X509DataType> createX509Data(X509DataType value) { + return new JAXBElement<X509DataType>(_X509Data_QNAME, X509DataType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureMethod") + public JAXBElement<SignatureMethodType> createSignatureMethod(SignatureMethodType value) { + return new JAXBElement<SignatureMethodType>(_SignatureMethod_QNAME, SignatureMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyInfo") + public JAXBElement<KeyInfoType> createKeyInfo(KeyInfoType value) { + return new JAXBElement<KeyInfoType>(_KeyInfo_QNAME, KeyInfoType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link DigestMethodType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestMethod") + public JAXBElement<DigestMethodType> createDigestMethod(DigestMethodType value) { + return new JAXBElement<DigestMethodType>(_DigestMethod_QNAME, DigestMethodType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestValue") + public JAXBElement<String> createDigestValue(String value) { + return new JAXBElement<String>(_DigestValue_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "MgmtData") + public JAXBElement<String> createMgmtData(String value) { + return new JAXBElement<String>(_MgmtData_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignaturePropertiesType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperties") + public JAXBElement<SignaturePropertiesType> createSignatureProperties(SignaturePropertiesType value) { + return new JAXBElement<SignaturePropertiesType>(_SignatureProperties_QNAME, SignaturePropertiesType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyName") + public JAXBElement<String> createKeyName(String value) { + return new JAXBElement<String>(_KeyName_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link KeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyValue") + public JAXBElement<KeyValueType> createKeyValue(KeyValueType value) { + return new JAXBElement<KeyValueType>(_KeyValue_QNAME, KeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Reference") + public JAXBElement<ReferenceType> createReference(ReferenceType value) { + return new JAXBElement<ReferenceType>(_Reference_QNAME, ReferenceType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RSAKeyValueType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RSAKeyValue") + public JAXBElement<RSAKeyValueType> createRSAKeyValue(RSAKeyValueType value) { + return new JAXBElement<RSAKeyValueType>(_RSAKeyValue_QNAME, RSAKeyValueType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509IssuerSerial", scope = X509DataType.class) + public JAXBElement<X509IssuerSerialType> createX509DataTypeX509IssuerSerial(X509IssuerSerialType value) { + return new JAXBElement<X509IssuerSerialType>(_X509DataTypeX509IssuerSerial_QNAME, X509IssuerSerialType.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Certificate", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509Certificate(String value) { + return new JAXBElement<String>(_X509DataTypeX509Certificate_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SKI", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509SKI(String value) { + return new JAXBElement<String>(_X509DataTypeX509SKI_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SubjectName", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509SubjectName(String value) { + return new JAXBElement<String>(_X509DataTypeX509SubjectName_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509CRL", scope = X509DataType.class) + public JAXBElement<String> createX509DataTypeX509CRL(String value) { + return new JAXBElement<String>(_X509DataTypeX509CRL_QNAME, String.class, X509DataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "HMACOutputLength", scope = SignatureMethodType.class) + public JAXBElement<BigInteger> createSignatureMethodTypeHMACOutputLength(BigInteger value) { + return new JAXBElement<BigInteger>(_SignatureMethodTypeHMACOutputLength_QNAME, BigInteger.class, SignatureMethodType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKISexp", scope = SPKIDataType.class) + public JAXBElement<String> createSPKIDataTypeSPKISexp(String value) { + return new JAXBElement<String>(_SPKIDataTypeSPKISexp_QNAME, String.class, SPKIDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyID", scope = PGPDataType.class) + public JAXBElement<String> createPGPDataTypePGPKeyID(String value) { + return new JAXBElement<String>(_PGPDataTypePGPKeyID_QNAME, String.class, PGPDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyPacket", scope = PGPDataType.class) + public JAXBElement<String> createPGPDataTypePGPKeyPacket(String value) { + return new JAXBElement<String>(_PGPDataTypePGPKeyPacket_QNAME, String.class, PGPDataType.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "XPath", scope = TransformType.class) + public JAXBElement<String> createTransformTypeXPath(String value) { + return new JAXBElement<String>(_TransformTypeXPath_QNAME, String.class, TransformType.class, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/ObjectType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/ObjectType.java new file mode 100644 index 0000000..8bb6ecd --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/ObjectType.java @@ -0,0 +1,171 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for ObjectType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ObjectType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax'/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ObjectType", propOrder = { + "content" +}) +public class ObjectType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "MimeType") + protected String mimeType; + @XmlAttribute(name = "Encoding") + @XmlSchemaType(name = "anyURI") + protected String encoding; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Element } + * {@link Object } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * 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; + } + + /** + * Gets the value of the mimeType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMimeType() { + return mimeType; + } + + /** + * Sets the value of the mimeType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMimeType(String value) { + this.mimeType = value; + } + + /** + * Gets the value of the encoding property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncoding() { + return encoding; + } + + /** + * Sets the value of the encoding property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncoding(String value) { + this.encoding = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/PGPDataType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/PGPDataType.java new file mode 100644 index 0000000..124628c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/PGPDataType.java @@ -0,0 +1,105 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for PGPDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PGPDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="PGPKeyID" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="PGPKeyPacket" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <sequence> + * <element name="PGPKeyPacket" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PGPDataType", propOrder = { + "content" +}) +public class PGPDataType { + + @XmlElementRefs({ + @XmlElementRef(name = "PGPKeyID", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "PGPKeyPacket", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Gets the rest of the content model. + * + * <p> + * You are getting this "catch-all" property because of the following reason: + * The field name "PGPKeyPacket" is used by two different parts of a schema. See: + * line 184 of file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zusespec/W3C-XMLDSig.xsd + * line 180 of file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zusespec/W3C-XMLDSig.xsd + * <p> + * To get rid of this property, apply a property customization to one + * of both of the following declarations to change their names: + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Element } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/RSAKeyValueType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/RSAKeyValueType.java new file mode 100644 index 0000000..b49c2c9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/RSAKeyValueType.java @@ -0,0 +1,97 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RSAKeyValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Modulus" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="Exponent" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RSAKeyValueType", propOrder = { + "modulus", + "exponent" +}) +public class RSAKeyValueType { + + @XmlElement(name = "Modulus", required = true) + protected String modulus; + @XmlElement(name = "Exponent", required = true) + protected String exponent; + + /** + * Gets the value of the modulus property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModulus() { + return modulus; + } + + /** + * Sets the value of the modulus property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModulus(String value) { + this.modulus = value; + } + + /** + * Gets the value of the exponent property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getExponent() { + return exponent; + } + + /** + * Sets the value of the exponent property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setExponent(String value) { + this.exponent = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/ReferenceType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/ReferenceType.java new file mode 100644 index 0000000..8a0ae86 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/ReferenceType.java @@ -0,0 +1,216 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +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.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; + + +/** + * <p>Java class for ReferenceType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ReferenceType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestValue"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferenceType", propOrder = { + "transforms", + "digestMethod", + "digestValue" +}) +public class ReferenceType { + + @XmlElement(name = "Transforms") + protected TransformsType transforms; + @XmlElement(name = "DigestMethod", required = true) + protected DigestMethodType digestMethod; + @XmlElement(name = "DigestValue", required = true) + protected String digestValue; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "URI") + @XmlSchemaType(name = "anyURI") + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the digestMethod property. + * + * @return + * possible object is + * {@link DigestMethodType } + * + */ + public DigestMethodType getDigestMethod() { + return digestMethod; + } + + /** + * Sets the value of the digestMethod property. + * + * @param value + * allowed object is + * {@link DigestMethodType } + * + */ + public void setDigestMethod(DigestMethodType value) { + this.digestMethod = value; + } + + /** + * Gets the value of the digestValue property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDigestValue() { + return digestValue; + } + + /** + * Sets the value of the digestValue property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDigestValue(String value) { + this.digestValue = value; + } + + /** + * 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; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/RetrievalMethodType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/RetrievalMethodType.java new file mode 100644 index 0000000..7e9b198 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/RetrievalMethodType.java @@ -0,0 +1,127 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RetrievalMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RetrievalMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Transforms" type="{http://www.w3.org/2000/09/xmldsig#}TransformsType" minOccurs="0"/> + * </sequence> + * <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RetrievalMethodType", propOrder = { + "transforms" +}) +public class RetrievalMethodType { + + @XmlElement(name = "Transforms") + protected TransformsType transforms; + @XmlAttribute(name = "URI") + @XmlSchemaType(name = "anyURI") + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the transforms property. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Sets the value of the transforms property. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Gets the value of the uri property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Sets the value of the uri property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SPKIDataType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SPKIDataType.java new file mode 100644 index 0000000..0111920 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SPKIDataType.java @@ -0,0 +1,83 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for SPKIDataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SPKIDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="SPKISexp" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other' minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SPKIDataType", propOrder = { + "spkiSexpAndAny" +}) +public class SPKIDataType { + + @XmlElementRef(name = "SPKISexp", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlAnyElement(lax = true) + protected List<Object> spkiSexpAndAny; + + /** + * Gets the value of the spkiSexpAndAny property. + * + * <p> + * 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 <CODE>set</CODE> method for the spkiSexpAndAny property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSPKISexpAndAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getSPKISexpAndAny() { + if (spkiSexpAndAny == null) { + spkiSexpAndAny = new ArrayList<Object>(); + } + return this.spkiSexpAndAny; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignatureMethodType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignatureMethodType.java new file mode 100644 index 0000000..a89de49 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignatureMethodType.java @@ -0,0 +1,115 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SignatureMethodType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="HMACOutputLength" type="{http://www.w3.org/2000/09/xmldsig#}HMACOutputLengthType" minOccurs="0"/> + * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureMethodType", propOrder = { + "content" +}) +public class SignatureMethodType { + + @XmlElementRef(name = "HMACOutputLength", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * {@link Object } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignaturePropertiesType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignaturePropertiesType.java new file mode 100644 index 0000000..e89f407 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignaturePropertiesType.java @@ -0,0 +1,111 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +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.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; + + +/** + * <p>Java class for SignaturePropertiesType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignaturePropertiesType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureProperty" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignaturePropertiesType", propOrder = { + "signatureProperty" +}) +public class SignaturePropertiesType { + + @XmlElement(name = "SignatureProperty", required = true) + protected List<SignaturePropertyType> signatureProperty; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the signatureProperty property. + * + * <p> + * 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 <CODE>set</CODE> method for the signatureProperty property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSignatureProperty().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link SignaturePropertyType } + * + * + */ + public List<SignaturePropertyType> getSignatureProperty() { + if (signatureProperty == null) { + signatureProperty = new ArrayList<SignaturePropertyType>(); + } + return this.signatureProperty; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignaturePropertyType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignaturePropertyType.java new file mode 100644 index 0000000..75bf975 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignaturePropertyType.java @@ -0,0 +1,144 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlMixed; +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; +import org.w3c.dom.Element; + + +/** + * <p>Java class for SignaturePropertyType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignaturePropertyType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <any processContents='lax' namespace='##other'/> + * </choice> + * <attribute name="Target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignaturePropertyType", propOrder = { + "content" +}) +public class SignaturePropertyType { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Target", required = true) + @XmlSchemaType(name = "anyURI") + protected String target; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Element } + * {@link Object } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the target property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTarget() { + return target; + } + + /** + * Sets the value of the target property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTarget(String value) { + this.target = value; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignatureType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignatureType.java new file mode 100644 index 0000000..6bbb103 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignatureType.java @@ -0,0 +1,195 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +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.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; + + +/** + * <p>Java class for SignatureType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignedInfo"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureValue"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Object" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureType", propOrder = { + "signedInfo", + "signatureValue", + "keyInfo", + "object" +}) +public class SignatureType { + + @XmlElement(name = "SignedInfo", required = true) + protected SignedInfoType signedInfo; + @XmlElement(name = "SignatureValue", required = true) + protected SignatureValueType signatureValue; + @XmlElement(name = "KeyInfo") + protected KeyInfoType keyInfo; + @XmlElement(name = "Object") + protected List<ObjectType> object; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the signedInfo property. + * + * @return + * possible object is + * {@link SignedInfoType } + * + */ + public SignedInfoType getSignedInfo() { + return signedInfo; + } + + /** + * Sets the value of the signedInfo property. + * + * @param value + * allowed object is + * {@link SignedInfoType } + * + */ + public void setSignedInfo(SignedInfoType value) { + this.signedInfo = value; + } + + /** + * Gets the value of the signatureValue property. + * + * @return + * possible object is + * {@link SignatureValueType } + * + */ + public SignatureValueType getSignatureValue() { + return signatureValue; + } + + /** + * Sets the value of the signatureValue property. + * + * @param value + * allowed object is + * {@link SignatureValueType } + * + */ + public void setSignatureValue(SignatureValueType value) { + this.signatureValue = value; + } + + /** + * Gets the value of the keyInfo property. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Sets the value of the keyInfo property. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Gets the value of the object property. + * + * <p> + * 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 <CODE>set</CODE> method for the object property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getObject().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ObjectType } + * + * + */ + public List<ObjectType> getObject() { + if (object == null) { + object = new ArrayList<ObjectType>(); + } + return this.object; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignatureValueType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignatureValueType.java new file mode 100644 index 0000000..9ddcce3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignatureValueType.java @@ -0,0 +1,101 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for SignatureValueType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignatureValueType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2000/09/xmldsig#>CryptoBinary"> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureValueType", propOrder = { + "value" +}) +public class SignatureValueType { + + @XmlValue + protected String value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignedInfoType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignedInfoType.java new file mode 100644 index 0000000..267e547 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/SignedInfoType.java @@ -0,0 +1,167 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +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.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; + + +/** + * <p>Java class for SignedInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SignedInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}CanonicalizationMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/> + * </sequence> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignedInfoType", propOrder = { + "canonicalizationMethod", + "signatureMethod", + "reference" +}) +public class SignedInfoType { + + @XmlElement(name = "CanonicalizationMethod", required = true) + protected CanonicalizationMethodType canonicalizationMethod; + @XmlElement(name = "SignatureMethod", required = true) + protected SignatureMethodType signatureMethod; + @XmlElement(name = "Reference", required = true) + protected List<ReferenceType> reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * 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 signatureMethod property. + * + * @return + * possible object is + * {@link SignatureMethodType } + * + */ + public SignatureMethodType getSignatureMethod() { + return signatureMethod; + } + + /** + * Sets the value of the signatureMethod property. + * + * @param value + * allowed object is + * {@link SignatureMethodType } + * + */ + public void setSignatureMethod(SignatureMethodType value) { + this.signatureMethod = value; + } + + /** + * Gets the value of the reference property. + * + * <p> + * 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 <CODE>set</CODE> method for the reference property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReference().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link ReferenceType } + * + * + */ + public List<ReferenceType> getReference() { + if (reference == null) { + reference = new ArrayList<ReferenceType>(); + } + return this.reference; + } + + /** + * 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; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/TransformType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/TransformType.java new file mode 100644 index 0000000..4ff1b6f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/TransformType.java @@ -0,0 +1,116 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for TransformType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TransformType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <any processContents='lax' namespace='##other'/> + * <element name="XPath" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </choice> + * <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformType", propOrder = { + "content" +}) +public class TransformType { + + @XmlElementRef(name = "XPath", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + @XmlMixed + @XmlAnyElement(lax = true) + protected List<Object> content; + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Gets the value of the content property. + * + * <p> + * 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 <CODE>set</CODE> method for the content property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getContent().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * {@link Element } + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Gets the value of the algorithm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Sets the value of the algorithm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/TransformsType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/TransformsType.java new file mode 100644 index 0000000..af20baa --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/TransformsType.java @@ -0,0 +1,76 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TransformsType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TransformsType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transform" maxOccurs="unbounded"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformsType", propOrder = { + "transform" +}) +public class TransformsType { + + @XmlElement(name = "Transform", required = true) + protected List<TransformType> transform; + + /** + * Gets the value of the transform property. + * + * <p> + * 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 <CODE>set</CODE> method for the transform property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTransform().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TransformType } + * + * + */ + public List<TransformType> getTransform() { + if (transform == null) { + transform = new ArrayList<TransformType>(); + } + return this.transform; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/X509DataType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/X509DataType.java new file mode 100644 index 0000000..dda7856 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/X509DataType.java @@ -0,0 +1,100 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for X509DataType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="X509DataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <choice> + * <element name="X509IssuerSerial" type="{http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType"/> + * <element name="X509SKI" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="X509SubjectName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="X509Certificate" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="X509CRL" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509DataType", propOrder = { + "x509IssuerSerialOrX509SKIOrX509SubjectName" +}) +public class X509DataType { + + @XmlElementRefs({ + @XmlElementRef(name = "X509Certificate", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509CRL", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509SubjectName", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509IssuerSerial", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class), + @XmlElementRef(name = "X509SKI", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class) + }) + @XmlAnyElement(lax = true) + protected List<Object> x509IssuerSerialOrX509SKIOrX509SubjectName; + + /** + * Gets the value of the x509IssuerSerialOrX509SKIOrX509SubjectName property. + * + * <p> + * 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 <CODE>set</CODE> method for the x509IssuerSerialOrX509SKIOrX509SubjectName property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getX509IssuerSerialOrX509SKIOrX509SubjectName().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Element } + * {@link JAXBElement }{@code <}{@link X509IssuerSerialType }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<Object> getX509IssuerSerialOrX509SKIOrX509SubjectName() { + if (x509IssuerSerialOrX509SKIOrX509SubjectName == null) { + x509IssuerSerialOrX509SKIOrX509SubjectName = new ArrayList<Object>(); + } + return this.x509IssuerSerialOrX509SKIOrX509SubjectName; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/X509IssuerSerialType.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/X509IssuerSerialType.java new file mode 100644 index 0000000..6a7ec36 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/X509IssuerSerialType.java @@ -0,0 +1,98 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + + +package at.gv.util.xsd.zusespec.xmldsig; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for X509IssuerSerialType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="X509IssuerSerialType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="X509IssuerName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="X509SerialNumber" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509IssuerSerialType", propOrder = { + "x509IssuerName", + "x509SerialNumber" +}) +public class X509IssuerSerialType { + + @XmlElement(name = "X509IssuerName", required = true) + protected String x509IssuerName; + @XmlElement(name = "X509SerialNumber", required = true) + protected BigInteger x509SerialNumber; + + /** + * Gets the value of the x509IssuerName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getX509IssuerName() { + return x509IssuerName; + } + + /** + * Sets the value of the x509IssuerName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setX509IssuerName(String value) { + this.x509IssuerName = value; + } + + /** + * Gets the value of the x509SerialNumber property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getX509SerialNumber() { + return x509SerialNumber; + } + + /** + * Sets the value of the x509SerialNumber property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setX509SerialNumber(BigInteger value) { + this.x509SerialNumber = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/zusespec/xmldsig/package-info.java b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/package-info.java new file mode 100644 index 0000000..a2a9c2b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/zusespec/xmldsig/package-info.java @@ -0,0 +1,9 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.09.18 at 04:10:06 PM MESZ +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.w3.org/2000/09/xmldsig#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.zusespec.xmldsig; diff --git a/src/main/java/generated/CustomFaultType.java b/src/main/java/generated/CustomFaultType.java new file mode 100644 index 0000000..18cb522 --- /dev/null +++ b/src/main/java/generated/CustomFaultType.java @@ -0,0 +1,156 @@ + +package generated; + +import java.math.BigInteger; +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.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * CustomFault reporting structure + * + * <p>Java class for CustomFaultType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CustomFaultType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * <element name="Reason" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> + * <element name="Help" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Detail" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CustomFaultType", propOrder = { + "code", + "reason", + "help", + "detail" +}) +public class CustomFaultType { + + @XmlElement(name = "Code", required = true) + protected BigInteger code; + @XmlElement(name = "Reason", required = true) + protected List<String> reason; + @XmlElement(name = "Help") + protected String help; + @XmlElement(name = "Detail") + protected Object detail; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the reason property. + * + * <p> + * 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 <CODE>set</CODE> method for the reason property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReason().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getReason() { + if (reason == null) { + reason = new ArrayList<String>(); + } + return this.reason; + } + + /** + * Gets the value of the help property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHelp() { + return help; + } + + /** + * Sets the value of the help property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHelp(String value) { + this.help = value; + } + + /** + * Gets the value of the detail property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getDetail() { + return detail; + } + + /** + * Sets the value of the detail property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setDetail(Object value) { + this.detail = value; + } + +} diff --git a/src/main/java/generated/ObjectFactory.java b/src/main/java/generated/ObjectFactory.java new file mode 100644 index 0000000..8addfac --- /dev/null +++ b/src/main/java/generated/ObjectFactory.java @@ -0,0 +1,53 @@ + +package generated; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the generated package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Message_QNAME = new QName("", "Message"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: generated + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link CustomFaultType } + * + */ + public CustomFaultType createCustomFaultType() { + return new CustomFaultType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CustomFaultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "", name = "Message") + public JAXBElement<CustomFaultType> createMessage(CustomFaultType value) { + return new JAXBElement<CustomFaultType>(_Message_QNAME, CustomFaultType.class, null, value); + } + +} |