diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-03-08 08:07:11 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-03-08 08:07:11 +0100 |
commit | c7e92047632432346c13723925f45888461887e9 (patch) | |
tree | 3cc1e96e2d0bc59047b484bbb86f227e21aa9cb9 /src | |
parent | e5474ef416f8d9f6cb2c3b6e900ad1eb5ac20a38 (diff) | |
download | egovutils-c7e92047632432346c13723925f45888461887e9.tar.gz egovutils-c7e92047632432346c13723925f45888461887e9.tar.bz2 egovutils-c7e92047632432346c13723925f45888461887e9.zip |
add USP_v2 client implementation
Diffstat (limited to 'src')
125 files changed, 20399 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/client/mis/usp_v2/USPClient.java b/src/main/java/at/gv/util/client/mis/usp_v2/USPClient.java new file mode 100644 index 0000000..334df87 --- /dev/null +++ b/src/main/java/at/gv/util/client/mis/usp_v2/USPClient.java @@ -0,0 +1,185 @@ +package at.gv.util.client.mis.usp_v2; + +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.apache.cxf.configuration.jsse.TLSClientParameters; +import org.apache.cxf.endpoint.Client; +import org.apache.cxf.frontend.ClientProxy; +import org.apache.cxf.transport.http.HTTPConduit; +import org.apache.cxf.transports.http.configuration.HTTPClientPolicy; +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.wsdl.mis.usp_v2.ISyncService; +import at.gv.util.wsdl.mis.usp_v2.ListMandatesFault; +import at.gv.util.wsdl.mis.usp_v2.SynchronisationServiceServiceagent; +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.mis.usp_v2.eai.syncmsgs.ListMandatesRequest; +import at.gv.util.xsd.mis.usp_v2.eai.syncmsgs.ListMandatesResponseType; +import at.gv.util.xsd.szr.pvp.PvpTokenType; + +public class USPClient { + + @Resource + WebServiceContext wsContext; + + private EgovUtilConfiguration config = null; + private Logger log = LoggerFactory.getLogger(USPClient.class); + private boolean logEnabled = true; + private ISyncService 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); +// +// +// } + + public void getMandates(String bpkType, String bpkValue, List<String> mandateFilters) { + ListMandatesRequest parameters = new ListMandatesRequest(); + + //request USP + try { + ListMandatesResponseType results = this.uspSuche.listMandates(parameters ); + + } catch (ListMandatesFault e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + } + + @SuppressWarnings({ "rawtypes", "unchecked" }) + private void initialize() throws EgovUtilException { + URL url = USPClient.class.getResource("/wsdl/mis/usp_v2/Synchronisation-1.wsdl"); + SynchronisationServiceServiceagent uspService = null; + String uspURL = null; + uspService = new SynchronisationServiceServiceagent(url); + uspSuche = uspService.getISyncServiceEndpoint(); + + 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); + + Client client = ClientProxy.getClient(uspSuche); + HTTPConduit http = (HTTPConduit) client.getConduit(); + HTTPClientPolicy httpClientPolicy = new HTTPClientPolicy(); + + //set HTTP Client Timeout (Default Timeout 60sec) + httpClientPolicy.setConnectionTimeout(this.config.getHTTPRequestTimeout()); + httpClientPolicy.setAllowChunking(false); + httpClientPolicy.setReceiveTimeout(32000); + http.setClient(httpClientPolicy); + + // 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."); + + } + + TLSClientParameters tlsParams = new TLSClientParameters(); + tlsParams.setSSLSocketFactory(sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getUSPsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + tlsParams.setHostnameVerifier(new LaxHostNameVerifier()); + } + http.setTlsClientParameters(tlsParams ); + } + } + + private String createUSPRequestId() { + return RandomStringUtils.randomAlphanumeric(12); + } + +} diff --git a/src/main/java/at/gv/util/client/mis/usp_v2/USPClientException.java b/src/main/java/at/gv/util/client/mis/usp_v2/USPClientException.java new file mode 100644 index 0000000..96ad965 --- /dev/null +++ b/src/main/java/at/gv/util/client/mis/usp_v2/USPClientException.java @@ -0,0 +1,33 @@ +package at.gv.util.client.mis.usp_v2; + +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/wsdl/mis/usp_v2/CreateMandateFault.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/CreateMandateFault.java new file mode 100644 index 0000000..6109b1d --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/CreateMandateFault.java @@ -0,0 +1,43 @@ + +package at.gv.util.wsdl.mis.usp_v2; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.619+02:00 + * Generated source version: 3.1.10 + */ + +@WebFault(name = "CreateMandateFault", targetNamespace = "http://eai.brz.gv.at/services/vdds/synchronisation") +public class CreateMandateFault extends Exception { + + private at.gv.util.xsd.mis.usp_v2.eai.common.ResultType createMandateFault; + + public CreateMandateFault() { + super(); + } + + public CreateMandateFault(String message) { + super(message); + } + + public CreateMandateFault(String message, Throwable cause) { + super(message, cause); + } + + public CreateMandateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType createMandateFault) { + super(message); + this.createMandateFault = createMandateFault; + } + + public CreateMandateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType createMandateFault, Throwable cause) { + super(message, cause); + this.createMandateFault = createMandateFault; + } + + public at.gv.util.xsd.mis.usp_v2.eai.common.ResultType getFaultInfo() { + return this.createMandateFault; + } +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp_v2/CreateMandateStateFault.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/CreateMandateStateFault.java new file mode 100644 index 0000000..7a03bec --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/CreateMandateStateFault.java @@ -0,0 +1,43 @@ + +package at.gv.util.wsdl.mis.usp_v2; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.581+02:00 + * Generated source version: 3.1.10 + */ + +@WebFault(name = "CreateMandateStateFault", targetNamespace = "http://eai.brz.gv.at/services/vdds/synchronisation") +public class CreateMandateStateFault extends Exception { + + private at.gv.util.xsd.mis.usp_v2.eai.common.ResultType createMandateStateFault; + + public CreateMandateStateFault() { + super(); + } + + public CreateMandateStateFault(String message) { + super(message); + } + + public CreateMandateStateFault(String message, Throwable cause) { + super(message, cause); + } + + public CreateMandateStateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType createMandateStateFault) { + super(message); + this.createMandateStateFault = createMandateStateFault; + } + + public CreateMandateStateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType createMandateStateFault, Throwable cause) { + super(message, cause); + this.createMandateStateFault = createMandateStateFault; + } + + public at.gv.util.xsd.mis.usp_v2.eai.common.ResultType getFaultInfo() { + return this.createMandateStateFault; + } +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp_v2/ISyncService.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/ISyncService.java new file mode 100644 index 0000000..e64ecf7 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/ISyncService.java @@ -0,0 +1,62 @@ +package at.gv.util.wsdl.mis.usp_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; + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.650+02:00 + * Generated source version: 3.1.10 + * + */ +@WebService(targetNamespace = "http://xmlns.example.com/1481028889472", name = "ISyncService") +@XmlSeeAlso({at.gv.util.xsd.mis.usp_v2.eai.synchronisation.ObjectFactory.class, at.gv.util.xsd.mis.usp_v2.eai.common.ObjectFactory.class, at.gv.util.xsd.mis.usp_v2.xmldsig.ObjectFactory.class, at.gv.util.xsd.mis.usp_v2.persondata.ObjectFactory.class, at.gv.util.xsd.mis.usp_v2.mandates.ObjectFactory.class, at.gv.util.xsd.mis.usp_v2.addpersondata.ObjectFactory.class, at.gv.util.xsd.mis.usp_v2.eai.token.ObjectFactory.class, at.gv.util.xsd.mis.usp_v2.eai.syncmsgs.ObjectFactory.class}) +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +public interface ISyncService { + + @WebMethod(operationName = "CreateMandateState", action = "CreateMandateState") + @WebResult(name = "CreateMandateAck", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", partName = "parameters") + public at.gv.util.xsd.mis.usp_v2.eai.common.ReferableResultType createMandateState( + @WebParam(partName = "parameters", name = "CreateMandateAsyncResponse", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs") + at.gv.util.xsd.mis.usp_v2.eai.syncmsgs.CreateMandateAsyncResponse parameters + ) throws CreateMandateStateFault; + + @WebMethod(operationName = "CreateMandate", action = "CreateMandate") + @WebResult(name = "CreateMandateAck", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", partName = "parameters") + public at.gv.util.xsd.mis.usp_v2.eai.common.ReferableResultType createMandate( + @WebParam(partName = "parameters", name = "CreateMandateRequest", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs") + at.gv.util.xsd.mis.usp_v2.eai.syncmsgs.MandateRequestType parameters + ) throws CreateMandateFault; + + @WebMethod(operationName = "ListMandates", action = "ListMandates") + @WebResult(name = "ListMandatesResponse", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", partName = "parameters") + public at.gv.util.xsd.mis.usp_v2.eai.syncmsgs.ListMandatesResponseType listMandates( + @WebParam(partName = "parameters", name = "ListMandatesRequest", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs") + at.gv.util.xsd.mis.usp_v2.eai.syncmsgs.ListMandatesRequest parameters + ) throws ListMandatesFault; + + @WebMethod(operationName = "RequestModificationToken", action = "RequestModificationToken") + @WebResult(name = "ModificationTokenResponse", targetNamespace = "http://eai.brz.gv.at/services/vdds/token", partName = "parameters") + public at.gv.util.xsd.mis.usp_v2.eai.token.ModificationTokenResponse requestModificationToken( + @WebParam(partName = "parameters", name = "ModificationTokenRequest", targetNamespace = "http://eai.brz.gv.at/services/vdds/token") + at.gv.util.xsd.mis.usp_v2.eai.token.ModificationTokenRequest parameters + ) throws RequestModificationTokenFault; + + @WebMethod(operationName = "TerminateMandate", action = "TerminateMandate") + @WebResult(name = "TerminateMandateAck", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", partName = "parameters") + public at.gv.util.xsd.mis.usp_v2.eai.common.ReferableResultType terminateMandate( + @WebParam(partName = "parameters", name = "TerminateMandateRequest", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs") + at.gv.util.xsd.mis.usp_v2.eai.syncmsgs.MandateRequestType parameters + ) throws TerminateMandateFault; + + @WebMethod(operationName = "TerminateMandateState", action = "TerminateMandateState") + @WebResult(name = "TerminateMandateAck", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", partName = "parameters") + public at.gv.util.xsd.mis.usp_v2.eai.common.ReferableResultType terminateMandateState( + @WebParam(partName = "parameters", name = "TerminateMandateAsyncResponse", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs") + at.gv.util.xsd.mis.usp_v2.eai.syncmsgs.TerminateMandateAsyncResponse parameters + ) throws TerminateMandateStateFault; +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp_v2/ListMandatesFault.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/ListMandatesFault.java new file mode 100644 index 0000000..7766724 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/ListMandatesFault.java @@ -0,0 +1,43 @@ + +package at.gv.util.wsdl.mis.usp_v2; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.619+02:00 + * Generated source version: 3.1.10 + */ + +@WebFault(name = "ListMandatesFault", targetNamespace = "http://eai.brz.gv.at/services/vdds/synchronisation") +public class ListMandatesFault extends Exception { + + private at.gv.util.xsd.mis.usp_v2.eai.common.ResultType listMandatesFault; + + public ListMandatesFault() { + super(); + } + + public ListMandatesFault(String message) { + super(message); + } + + public ListMandatesFault(String message, Throwable cause) { + super(message, cause); + } + + public ListMandatesFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType listMandatesFault) { + super(message); + this.listMandatesFault = listMandatesFault; + } + + public ListMandatesFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType listMandatesFault, Throwable cause) { + super(message, cause); + this.listMandatesFault = listMandatesFault; + } + + public at.gv.util.xsd.mis.usp_v2.eai.common.ResultType getFaultInfo() { + return this.listMandatesFault; + } +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp_v2/RequestModificationTokenFault.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/RequestModificationTokenFault.java new file mode 100644 index 0000000..5f7c6c5 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/RequestModificationTokenFault.java @@ -0,0 +1,43 @@ + +package at.gv.util.wsdl.mis.usp_v2; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.635+02:00 + * Generated source version: 3.1.10 + */ + +@WebFault(name = "RequestModificationTokenFault", targetNamespace = "http://eai.brz.gv.at/services/vdds/synchronisation") +public class RequestModificationTokenFault extends Exception { + + private at.gv.util.xsd.mis.usp_v2.eai.common.ResultType requestModificationTokenFault; + + public RequestModificationTokenFault() { + super(); + } + + public RequestModificationTokenFault(String message) { + super(message); + } + + public RequestModificationTokenFault(String message, Throwable cause) { + super(message, cause); + } + + public RequestModificationTokenFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType requestModificationTokenFault) { + super(message); + this.requestModificationTokenFault = requestModificationTokenFault; + } + + public RequestModificationTokenFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType requestModificationTokenFault, Throwable cause) { + super(message, cause); + this.requestModificationTokenFault = requestModificationTokenFault; + } + + public at.gv.util.xsd.mis.usp_v2.eai.common.ResultType getFaultInfo() { + return this.requestModificationTokenFault; + } +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp_v2/SynchronisationServiceServiceagent.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/SynchronisationServiceServiceagent.java new file mode 100644 index 0000000..90fb789 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/SynchronisationServiceServiceagent.java @@ -0,0 +1,87 @@ +package at.gv.util.wsdl.mis.usp_v2; + +import java.net.MalformedURLException; +import java.net.URL; +import javax.xml.namespace.QName; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; +import javax.xml.ws.Service; + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.666+02:00 + * Generated source version: 3.1.10 + * + */ +@WebServiceClient(name = "synchronisation-service.serviceagent", + wsdlLocation = "file:./src/main/resources/wsdl/mis/usp_v2/Synchronisation-1.wsdl", + targetNamespace = "http://xmlns.example.com/1481028889472") +public class SynchronisationServiceServiceagent extends Service { + + public final static URL WSDL_LOCATION; + + public final static QName SERVICE = new QName("http://xmlns.example.com/1481028889472", "synchronisation-service.serviceagent"); + public final static QName ISyncServiceEndpoint = new QName("http://xmlns.example.com/1481028889472", "ISyncServiceEndpoint"); + static { + URL url = null; + try { + url = new URL("file:./src/main/resources/wsdl/mis/usp_v2/Synchronisation-1.wsdl"); + } catch (MalformedURLException e) { + java.util.logging.Logger.getLogger(SynchronisationServiceServiceagent.class.getName()) + .log(java.util.logging.Level.INFO, + "Can not initialize the default wsdl from {0}", "file:./src/main/resources/wsdl/mis/usp_v2/Synchronisation-1.wsdl"); + } + WSDL_LOCATION = url; + } + + public SynchronisationServiceServiceagent(URL wsdlLocation) { + super(wsdlLocation, SERVICE); + } + + public SynchronisationServiceServiceagent(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public SynchronisationServiceServiceagent() { + super(WSDL_LOCATION, SERVICE); + } + + public SynchronisationServiceServiceagent(WebServiceFeature ... features) { + super(WSDL_LOCATION, SERVICE, features); + } + + public SynchronisationServiceServiceagent(URL wsdlLocation, WebServiceFeature ... features) { + super(wsdlLocation, SERVICE, features); + } + + public SynchronisationServiceServiceagent(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) { + super(wsdlLocation, serviceName, features); + } + + + + + /** + * + * @return + * returns ISyncService + */ + @WebEndpoint(name = "ISyncServiceEndpoint") + public ISyncService getISyncServiceEndpoint() { + return super.getPort(ISyncServiceEndpoint, ISyncService.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 ISyncService + */ + @WebEndpoint(name = "ISyncServiceEndpoint") + public ISyncService getISyncServiceEndpoint(WebServiceFeature... features) { + return super.getPort(ISyncServiceEndpoint, ISyncService.class, features); + } + +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp_v2/TerminateMandateFault.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/TerminateMandateFault.java new file mode 100644 index 0000000..f0c0e0e --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/TerminateMandateFault.java @@ -0,0 +1,43 @@ + +package at.gv.util.wsdl.mis.usp_v2; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.635+02:00 + * Generated source version: 3.1.10 + */ + +@WebFault(name = "TerminateMandateFault", targetNamespace = "http://eai.brz.gv.at/services/vdds/synchronisation") +public class TerminateMandateFault extends Exception { + + private at.gv.util.xsd.mis.usp_v2.eai.common.ResultType terminateMandateFault; + + public TerminateMandateFault() { + super(); + } + + public TerminateMandateFault(String message) { + super(message); + } + + public TerminateMandateFault(String message, Throwable cause) { + super(message, cause); + } + + public TerminateMandateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType terminateMandateFault) { + super(message); + this.terminateMandateFault = terminateMandateFault; + } + + public TerminateMandateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType terminateMandateFault, Throwable cause) { + super(message, cause); + this.terminateMandateFault = terminateMandateFault; + } + + public at.gv.util.xsd.mis.usp_v2.eai.common.ResultType getFaultInfo() { + return this.terminateMandateFault; + } +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp_v2/TerminateMandateStateFault.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/TerminateMandateStateFault.java new file mode 100644 index 0000000..937b1ba --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/TerminateMandateStateFault.java @@ -0,0 +1,43 @@ + +package at.gv.util.wsdl.mis.usp_v2; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.635+02:00 + * Generated source version: 3.1.10 + */ + +@WebFault(name = "TerminateMandateStateFault", targetNamespace = "http://eai.brz.gv.at/services/vdds/synchronisation") +public class TerminateMandateStateFault extends Exception { + + private at.gv.util.xsd.mis.usp_v2.eai.common.ResultType terminateMandateStateFault; + + public TerminateMandateStateFault() { + super(); + } + + public TerminateMandateStateFault(String message) { + super(message); + } + + public TerminateMandateStateFault(String message, Throwable cause) { + super(message, cause); + } + + public TerminateMandateStateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType terminateMandateStateFault) { + super(message); + this.terminateMandateStateFault = terminateMandateStateFault; + } + + public TerminateMandateStateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType terminateMandateStateFault, Throwable cause) { + super(message, cause); + this.terminateMandateStateFault = terminateMandateStateFault; + } + + public at.gv.util.xsd.mis.usp_v2.eai.common.ResultType getFaultInfo() { + return this.terminateMandateStateFault; + } +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/addpersondata/AdditionalMandateProperty.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/addpersondata/AdditionalMandateProperty.java new file mode 100644 index 0000000..851eb30 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/addpersondata/AdditionalMandateProperty.java @@ -0,0 +1,93 @@ + +package at.gv.util.xsd.mis.usp_v2.addpersondata; + +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.usp_v2.persondata.IdentificationType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element name="RepresentativeSubId" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}IdentificationType"/> + * <element name="MandatorSubId" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}IdentificationType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "representativeSubId", + "mandatorSubId" +}) +@XmlRootElement(name = "AdditionalMandateProperty") +public class AdditionalMandateProperty { + + @XmlElement(name = "RepresentativeSubId") + protected IdentificationType representativeSubId; + @XmlElement(name = "MandatorSubId") + protected IdentificationType mandatorSubId; + + /** + * Ruft den Wert der representativeSubId-Eigenschaft ab. + * + * @return + * possible object is + * {@link IdentificationType } + * + */ + public IdentificationType getRepresentativeSubId() { + return representativeSubId; + } + + /** + * Legt den Wert der representativeSubId-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link IdentificationType } + * + */ + public void setRepresentativeSubId(IdentificationType value) { + this.representativeSubId = value; + } + + /** + * Ruft den Wert der mandatorSubId-Eigenschaft ab. + * + * @return + * possible object is + * {@link IdentificationType } + * + */ + public IdentificationType getMandatorSubId() { + return mandatorSubId; + } + + /** + * Legt den Wert der mandatorSubId-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link IdentificationType } + * + */ + public void setMandatorSubId(IdentificationType value) { + this.mandatorSubId = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/addpersondata/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/addpersondata/ObjectFactory.java new file mode 100644 index 0000000..6a8b00c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/addpersondata/ObjectFactory.java @@ -0,0 +1,40 @@ + +package at.gv.util.xsd.mis.usp_v2.addpersondata; + +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_v2.addpersondata 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_v2.addpersondata + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link AdditionalMandateProperty } + * + */ + public AdditionalMandateProperty createAdditionalMandateProperty() { + return new AdditionalMandateProperty(); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/addpersondata/package-info.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/addpersondata/package-info.java new file mode 100644 index 0000000..8f15e8c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/addpersondata/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.usp.gv.at/namespace/mandates/20160301#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mis.usp_v2.addpersondata; diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ActionType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ActionType.java new file mode 100644 index 0000000..8cf2dc7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ActionType.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für ActionType. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * <p> + * <pre> + * <simpleType name="ActionType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="REQUEST_TOKEN"/> + * <enumeration value="CREATE_MANDATE"/> + * <enumeration value="TERMINATE_MANDATE"/> + * <enumeration value="SYNC_CREATE"/> + * <enumeration value="SYNC_TERMINATE"/> + * <enumeration value="COMMIT_CREATE"/> + * <enumeration value="COMMIT_TERMINATE"/> + * <enumeration value="ROLLBACK_CREATE"/> + * <enumeration value="ROLLBACK_TERMINATE"/> + * <enumeration value="NOTIFY_SUCCESS_CREATE"/> + * <enumeration value="NOTIFY_SUCCESS_TERMINATE"/> + * <enumeration value="NOTIFY_ROLLBACK_CREATE"/> + * <enumeration value="NOTIFY_ROLLBACK_TERMINATE"/> + * <enumeration value="NOOP"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "ActionType") +@XmlEnum +public enum ActionType { + + REQUEST_TOKEN, + CREATE_MANDATE, + TERMINATE_MANDATE, + SYNC_CREATE, + SYNC_TERMINATE, + COMMIT_CREATE, + COMMIT_TERMINATE, + ROLLBACK_CREATE, + ROLLBACK_TERMINATE, + NOTIFY_SUCCESS_CREATE, + NOTIFY_SUCCESS_TERMINATE, + NOTIFY_ROLLBACK_CREATE, + NOTIFY_ROLLBACK_TERMINATE, + NOOP; + + public String value() { + return name(); + } + + public static ActionType fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/Header.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/Header.java new file mode 100644 index 0000000..b0b1a56 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/Header.java @@ -0,0 +1,90 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +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-Klasse für Header complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="Header"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Name" 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 = "Header", propOrder = { + "name", + "value" +}) +public class Header { + + @XmlElement(name = "Name", required = true) + protected String name; + @XmlElement(name = "Value", required = true) + protected String value; + + /** + * Ruft den Wert der name-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Legt den Wert der name-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Ruft den Wert der value-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Legt den Wert der value-Eigenschaft fest. + * + * @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/usp_v2/eai/common/Headers.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/Headers.java new file mode 100644 index 0000000..e139e86 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/Headers.java @@ -0,0 +1,71 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +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-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Header" type="{http://eai.brz.gv.at/services/vdds/common}Header" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "header" +}) +@XmlRootElement(name = "Headers") +public class Headers { + + @XmlElement(name = "Header") + protected List<Header> header; + + /** + * Gets the value of the header property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the header property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getHeader().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Header } + * + * + */ + public List<Header> getHeader() { + if (header == null) { + header = new ArrayList<Header>(); + } + return this.header; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ObjectFactory.java new file mode 100644 index 0000000..79bb7e9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ObjectFactory.java @@ -0,0 +1,72 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +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_v2.eai.common 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_v2.eai.common + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link Headers } + * + */ + public Headers createHeaders() { + return new Headers(); + } + + /** + * Create an instance of {@link Header } + * + */ + public Header createHeader() { + return new Header(); + } + + /** + * Create an instance of {@link ProcessStateType } + * + */ + public ProcessStateType createProcessStateType() { + return new ProcessStateType(); + } + + /** + * Create an instance of {@link ReferableResultType } + * + */ + public ReferableResultType createReferableResultType() { + return new ReferableResultType(); + } + + /** + * Create an instance of {@link ResultType } + * + */ + public ResultType createResultType() { + return new ResultType(); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ProcessStateType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ProcessStateType.java new file mode 100644 index 0000000..df3b02b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ProcessStateType.java @@ -0,0 +1,123 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +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-Klasse für ProcessStateType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="ProcessStateType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ProcessAction" type="{http://eai.brz.gv.at/services/vdds/common}ActionType"/> + * <element name="ProcessState" type="{http://eai.brz.gv.at/services/vdds/common}StateType"/> + * <element name="LastProcessingTS" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ProcessStateType", propOrder = { + "processAction", + "processState", + "lastProcessingTS" +}) +public class ProcessStateType { + + @XmlElement(name = "ProcessAction", required = true) + @XmlSchemaType(name = "string") + protected ActionType processAction; + @XmlElement(name = "ProcessState", required = true) + @XmlSchemaType(name = "string") + protected StateType processState; + @XmlElement(name = "LastProcessingTS", required = true) + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar lastProcessingTS; + + /** + * Ruft den Wert der processAction-Eigenschaft ab. + * + * @return + * possible object is + * {@link ActionType } + * + */ + public ActionType getProcessAction() { + return processAction; + } + + /** + * Legt den Wert der processAction-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ActionType } + * + */ + public void setProcessAction(ActionType value) { + this.processAction = value; + } + + /** + * Ruft den Wert der processState-Eigenschaft ab. + * + * @return + * possible object is + * {@link StateType } + * + */ + public StateType getProcessState() { + return processState; + } + + /** + * Legt den Wert der processState-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link StateType } + * + */ + public void setProcessState(StateType value) { + this.processState = value; + } + + /** + * Ruft den Wert der lastProcessingTS-Eigenschaft ab. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getLastProcessingTS() { + return lastProcessingTS; + } + + /** + * Legt den Wert der lastProcessingTS-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setLastProcessingTS(XMLGregorianCalendar value) { + this.lastProcessingTS = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ReferableResultType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ReferableResultType.java new file mode 100644 index 0000000..f6cac15 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ReferableResultType.java @@ -0,0 +1,127 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +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 at.gv.util.xsd.mis.usp_v2.eai.token.ModificationTokenResultType; + + +/** + * <p>Java-Klasse für ReferableResultType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="ReferableResultType"> + * <complexContent> + * <extension base="{http://eai.brz.gv.at/services/vdds/common}ResultType"> + * <sequence> + * <element name="RefID" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="State" type="{http://eai.brz.gv.at/services/vdds/common}StateType"/> + * <element name="ProcessState" type="{http://eai.brz.gv.at/services/vdds/common}ProcessStateType" minOccurs="0"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferableResultType", propOrder = { + "refID", + "state", + "processState" +}) +@XmlSeeAlso({ + ModificationTokenResultType.class +}) +public class ReferableResultType + extends ResultType +{ + + @XmlElement(name = "RefID", required = true) + protected String refID; + @XmlElement(name = "State", required = true) + @XmlSchemaType(name = "string") + protected StateType state; + @XmlElement(name = "ProcessState") + protected ProcessStateType processState; + + /** + * Ruft den Wert der refID-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRefID() { + return refID; + } + + /** + * Legt den Wert der refID-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRefID(String value) { + this.refID = value; + } + + /** + * Ruft den Wert der state-Eigenschaft ab. + * + * @return + * possible object is + * {@link StateType } + * + */ + public StateType getState() { + return state; + } + + /** + * Legt den Wert der state-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link StateType } + * + */ + public void setState(StateType value) { + this.state = value; + } + + /** + * Ruft den Wert der processState-Eigenschaft ab. + * + * @return + * possible object is + * {@link ProcessStateType } + * + */ + public ProcessStateType getProcessState() { + return processState; + } + + /** + * Legt den Wert der processState-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ProcessStateType } + * + */ + public void setProcessState(ProcessStateType value) { + this.processState = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ResultType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ResultType.java new file mode 100644 index 0000000..c5d44df --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ResultType.java @@ -0,0 +1,124 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +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-Klasse für ResultType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="ResultType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="ErrorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="ErrorLevel" type="{http://eai.brz.gv.at/services/vdds/common}SeverityType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ResultType", propOrder = { + "errorCode", + "errorMessage", + "errorLevel" +}) +@XmlSeeAlso({ + ReferableResultType.class +}) +public class ResultType { + + @XmlElement(name = "ErrorCode") + protected String errorCode; + @XmlElement(name = "ErrorMessage") + protected String errorMessage; + @XmlElement(name = "ErrorLevel", defaultValue = "ERROR") + @XmlSchemaType(name = "token") + protected SeverityType errorLevel; + + /** + * Ruft den Wert der errorCode-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getErrorCode() { + return errorCode; + } + + /** + * Legt den Wert der errorCode-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setErrorCode(String value) { + this.errorCode = value; + } + + /** + * Ruft den Wert der errorMessage-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getErrorMessage() { + return errorMessage; + } + + /** + * Legt den Wert der errorMessage-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setErrorMessage(String value) { + this.errorMessage = value; + } + + /** + * Ruft den Wert der errorLevel-Eigenschaft ab. + * + * @return + * possible object is + * {@link SeverityType } + * + */ + public SeverityType getErrorLevel() { + return errorLevel; + } + + /** + * Legt den Wert der errorLevel-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link SeverityType } + * + */ + public void setErrorLevel(SeverityType value) { + this.errorLevel = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/SeverityType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/SeverityType.java new file mode 100644 index 0000000..9d6384e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/SeverityType.java @@ -0,0 +1,50 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für SeverityType. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * <p> + * <pre> + * <simpleType name="SeverityType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> + * <enumeration value="DEBUG"/> + * <enumeration value="INFO"/> + * <enumeration value="WARNING"/> + * <enumeration value="ERROR"/> + * <enumeration value="FATAL"/> + * <enumeration value="BL_INFO"/> + * <enumeration value="BL_WARNING"/> + * <enumeration value="BL_ERROR"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "SeverityType") +@XmlEnum +public enum SeverityType { + + DEBUG, + INFO, + WARNING, + ERROR, + FATAL, + BL_INFO, + BL_WARNING, + BL_ERROR; + + public String value() { + return name(); + } + + public static SeverityType fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/StateType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/StateType.java new file mode 100644 index 0000000..fe35489 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/StateType.java @@ -0,0 +1,56 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für StateType. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * <p> + * <pre> + * <simpleType name="StateType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="TOKEN"/> + * <enumeration value="RETRY"/> + * <enumeration value="PARTNER"/> + * <enumeration value="SYNC"/> + * <enumeration value="SYNCED"/> + * <enumeration value="COMMIT"/> + * <enumeration value="ROLLBACK"/> + * <enumeration value="APPLICABLE"/> + * <enumeration value="ERRONEOUS"/> + * <enumeration value="ROLLEDBACK"/> + * <enumeration value="TERMINATED"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "StateType") +@XmlEnum +public enum StateType { + + TOKEN, + RETRY, + PARTNER, + SYNC, + SYNCED, + COMMIT, + ROLLBACK, + APPLICABLE, + ERRONEOUS, + ROLLEDBACK, + TERMINATED; + + public String value() { + return name(); + } + + public static StateType fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/package-info.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/package-info.java new file mode 100644 index 0000000..d7e5df2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://eai.brz.gv.at/services/vdds/common", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mis.usp_v2.eai.common; diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/synchronisation/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/synchronisation/ObjectFactory.java new file mode 100644 index 0000000..7268fae --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/synchronisation/ObjectFactory.java @@ -0,0 +1,96 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.synchronisation; + +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.mis.usp_v2.eai.common.ResultType; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.mis.usp_v2.eai.synchronisation 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 _CreateMandateFault_QNAME = new QName("http://eai.brz.gv.at/services/vdds/synchronisation", "CreateMandateFault"); + private final static QName _CreateMandateStateFault_QNAME = new QName("http://eai.brz.gv.at/services/vdds/synchronisation", "CreateMandateStateFault"); + private final static QName _ListMandatesFault_QNAME = new QName("http://eai.brz.gv.at/services/vdds/synchronisation", "ListMandatesFault"); + private final static QName _RequestModificationTokenFault_QNAME = new QName("http://eai.brz.gv.at/services/vdds/synchronisation", "RequestModificationTokenFault"); + private final static QName _TerminateMandateFault_QNAME = new QName("http://eai.brz.gv.at/services/vdds/synchronisation", "TerminateMandateFault"); + private final static QName _TerminateMandateStateFault_QNAME = new QName("http://eai.brz.gv.at/services/vdds/synchronisation", "TerminateMandateStateFault"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mis.usp_v2.eai.synchronisation + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ResultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/synchronisation", name = "CreateMandateFault") + public JAXBElement<ResultType> createCreateMandateFault(ResultType value) { + return new JAXBElement<ResultType>(_CreateMandateFault_QNAME, ResultType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ResultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/synchronisation", name = "CreateMandateStateFault") + public JAXBElement<ResultType> createCreateMandateStateFault(ResultType value) { + return new JAXBElement<ResultType>(_CreateMandateStateFault_QNAME, ResultType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ResultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/synchronisation", name = "ListMandatesFault") + public JAXBElement<ResultType> createListMandatesFault(ResultType value) { + return new JAXBElement<ResultType>(_ListMandatesFault_QNAME, ResultType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ResultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/synchronisation", name = "RequestModificationTokenFault") + public JAXBElement<ResultType> createRequestModificationTokenFault(ResultType value) { + return new JAXBElement<ResultType>(_RequestModificationTokenFault_QNAME, ResultType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ResultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/synchronisation", name = "TerminateMandateFault") + public JAXBElement<ResultType> createTerminateMandateFault(ResultType value) { + return new JAXBElement<ResultType>(_TerminateMandateFault_QNAME, ResultType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ResultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/synchronisation", name = "TerminateMandateStateFault") + public JAXBElement<ResultType> createTerminateMandateStateFault(ResultType value) { + return new JAXBElement<ResultType>(_TerminateMandateStateFault_QNAME, ResultType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/CreateMandateAsyncResponse.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/CreateMandateAsyncResponse.java new file mode 100644 index 0000000..ed18b60 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/CreateMandateAsyncResponse.java @@ -0,0 +1,97 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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.usp_v2.eai.common.ReferableResultType; +import at.gv.util.xsd.mis.usp_v2.eai.token.ModificationTokenType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://eai.brz.gv.at/services/vdds/token}ModificationToken"/> + * <element ref="{http://eai.brz.gv.at/services/vdds/sync-msgs}Result"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "modificationToken", + "result" +}) +@XmlRootElement(name = "CreateMandateAsyncResponse") +public class CreateMandateAsyncResponse { + + @XmlElement(name = "ModificationToken", namespace = "http://eai.brz.gv.at/services/vdds/token", required = true) + protected ModificationTokenType modificationToken; + @XmlElement(name = "Result", required = true) + protected ReferableResultType result; + + /** + * Ruft den Wert der modificationToken-Eigenschaft ab. + * + * @return + * possible object is + * {@link ModificationTokenType } + * + */ + public ModificationTokenType getModificationToken() { + return modificationToken; + } + + /** + * Legt den Wert der modificationToken-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ModificationTokenType } + * + */ + public void setModificationToken(ModificationTokenType value) { + this.modificationToken = value; + } + + /** + * + * this is the general purpose response element used + * to acknowledge several events + * + * + * @return + * possible object is + * {@link ReferableResultType } + * + */ + public ReferableResultType getResult() { + return result; + } + + /** + * Legt den Wert der result-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ReferableResultType } + * + */ + public void setResult(ReferableResultType value) { + this.result = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/DetailsType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/DetailsType.java new file mode 100644 index 0000000..aca1ee0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/DetailsType.java @@ -0,0 +1,51 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für DetailsType. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * <p> + * <pre> + * <simpleType name="DetailsType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="Full"/> + * <enumeration value="Identifiers"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "DetailsType") +@XmlEnum +public enum DetailsType { + + @XmlEnumValue("Full") + FULL("Full"), + @XmlEnumValue("Identifiers") + IDENTIFIERS("Identifiers"); + private final String value; + + DetailsType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static DetailsType fromValue(String v) { + for (DetailsType c: DetailsType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/FilterType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/FilterType.java new file mode 100644 index 0000000..97c6fce --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/FilterType.java @@ -0,0 +1,69 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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-Klasse für FilterType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="FilterType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Filter" type="{http://www.w3.org/2001/XMLSchema}anyType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FilterType", propOrder = { + "filter" +}) +@XmlSeeAlso({ + MandateAttributesSearchFilterType.class, + MandateIDSearchFilterType.class, + PaginationFilter.class, + OutputFilterType.class +}) +public class FilterType { + + @XmlElement(name = "Filter", required = true) + protected Object filter; + + /** + * Ruft den Wert der filter-Eigenschaft ab. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getFilter() { + return filter; + } + + /** + * Legt den Wert der filter-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setFilter(Object value) { + this.filter = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ListMandatesRequest.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ListMandatesRequest.java new file mode 100644 index 0000000..50374a1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ListMandatesRequest.java @@ -0,0 +1,162 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://eai.brz.gv.at/services/vdds/sync-msgs}SearchFilter" maxOccurs="2"/> + * <element ref="{http://eai.brz.gv.at/services/vdds/sync-msgs}OutputFilter" minOccurs="0"/> + * </sequence> + * <attribute name="variantType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "searchFilter", + "outputFilter" +}) +@XmlRootElement(name = "ListMandatesRequest") +public class ListMandatesRequest { + + @XmlElementRef(name = "SearchFilter", namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", type = JAXBElement.class) + protected List<JAXBElement<? extends FilterType>> searchFilter; + @XmlElementRef(name = "OutputFilter", namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", type = JAXBElement.class, required = false) + protected JAXBElement<? extends OutputFilterType> outputFilter; + @XmlAttribute(name = "variantType") + protected String variantType; + @XmlAttribute(name = "version") + protected String version; + + /** + * Gets the value of the searchFilter property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the searchFilter property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSearchFilter().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link MandateAttributesSearchFilterType }{@code >} + * {@link JAXBElement }{@code <}{@link PaginationFilter }{@code >} + * {@link JAXBElement }{@code <}{@link FilterType }{@code >} + * {@link JAXBElement }{@code <}{@link MandateIDSearchFilterType }{@code >} + * + * + */ + public List<JAXBElement<? extends FilterType>> getSearchFilter() { + if (searchFilter == null) { + searchFilter = new ArrayList<JAXBElement<? extends FilterType>>(); + } + return this.searchFilter; + } + + /** + * Ruft den Wert der outputFilter-Eigenschaft ab. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link ProcessTypeOutputFilter }{@code >} + * {@link JAXBElement }{@code <}{@link OutputFilterType }{@code >} + * {@link JAXBElement }{@code <}{@link ListReferencedMandatesOutputFilter }{@code >} + * + */ + public JAXBElement<? extends OutputFilterType> getOutputFilter() { + return outputFilter; + } + + /** + * Legt den Wert der outputFilter-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link ProcessTypeOutputFilter }{@code >} + * {@link JAXBElement }{@code <}{@link OutputFilterType }{@code >} + * {@link JAXBElement }{@code <}{@link ListReferencedMandatesOutputFilter }{@code >} + * + */ + public void setOutputFilter(JAXBElement<? extends OutputFilterType> value) { + this.outputFilter = value; + } + + /** + * Ruft den Wert der variantType-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVariantType() { + return variantType; + } + + /** + * Legt den Wert der variantType-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVariantType(String value) { + this.variantType = value; + } + + /** + * Ruft den Wert der version-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Legt den Wert der version-Eigenschaft fest. + * + * @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/mis/usp_v2/eai/syncmsgs/ListMandatesResponseType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ListMandatesResponseType.java new file mode 100644 index 0000000..f47312e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ListMandatesResponseType.java @@ -0,0 +1,187 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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.XmlElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.mis.usp_v2.eai.common.ReferableResultType; + + +/** + * <p>Java-Klasse für ListMandatesResponseType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="ListMandatesResponseType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element ref="{http://eai.brz.gv.at/services/vdds/sync-msgs}Pagination" minOccurs="0"/> + * <element ref="{http://eai.brz.gv.at/services/vdds/sync-msgs}SearchResult"/> + * </sequence> + * <sequence> + * <element ref="{http://eai.brz.gv.at/services/vdds/sync-msgs}Result"/> + * </sequence> + * </choice> + * <attribute name="variantType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ListMandatesResponseType", propOrder = { + "pagination", + "searchResult", + "result" +}) +public class ListMandatesResponseType { + + @XmlElement(name = "Pagination") + protected Pagination pagination; + @XmlElementRef(name = "SearchResult", namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", type = JAXBElement.class, required = false) + protected JAXBElement<?> searchResult; + @XmlElement(name = "Result") + protected ReferableResultType result; + @XmlAttribute(name = "variantType") + protected String variantType; + @XmlAttribute(name = "version") + protected String version; + + /** + * Ruft den Wert der pagination-Eigenschaft ab. + * + * @return + * possible object is + * {@link Pagination } + * + */ + public Pagination getPagination() { + return pagination; + } + + /** + * Legt den Wert der pagination-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Pagination } + * + */ + public void setPagination(Pagination value) { + this.pagination = value; + } + + /** + * Ruft den Wert der searchResult-Eigenschaft ab. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link MandateList }{@code >} + * {@link JAXBElement }{@code <}{@link ReferencedMandatesResult }{@code >} + * {@link JAXBElement }{@code <}{@link Object }{@code >} + * + */ + public JAXBElement<?> getSearchResult() { + return searchResult; + } + + /** + * Legt den Wert der searchResult-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link MandateList }{@code >} + * {@link JAXBElement }{@code <}{@link ReferencedMandatesResult }{@code >} + * {@link JAXBElement }{@code <}{@link Object }{@code >} + * + */ + public void setSearchResult(JAXBElement<?> value) { + this.searchResult = value; + } + + /** + * + * this is the general purpose response element used + * to acknowledge several events + * + * + * @return + * possible object is + * {@link ReferableResultType } + * + */ + public ReferableResultType getResult() { + return result; + } + + /** + * Legt den Wert der result-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ReferableResultType } + * + */ + public void setResult(ReferableResultType value) { + this.result = value; + } + + /** + * Ruft den Wert der variantType-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVariantType() { + return variantType; + } + + /** + * Legt den Wert der variantType-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVariantType(String value) { + this.variantType = value; + } + + /** + * Ruft den Wert der version-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Legt den Wert der version-Eigenschaft fest. + * + * @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/mis/usp_v2/eai/syncmsgs/ListReferencedMandatesOutputFilter.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ListReferencedMandatesOutputFilter.java new file mode 100644 index 0000000..1b57bdc --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ListReferencedMandatesOutputFilter.java @@ -0,0 +1,46 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://eai.brz.gv.at/services/vdds/sync-msgs}OutputFilterType"> + * <sequence> + * <element name="Filter"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ReferencedBy" type="{http://eai.brz.gv.at/services/vdds/sync-msgs}ReferenceTypes"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Details" type="{http://eai.brz.gv.at/services/vdds/sync-msgs}DetailsType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +public class ListReferencedMandatesOutputFilter + extends OutputFilterType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateAttributes.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateAttributes.java new file mode 100644 index 0000000..a3c7744 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateAttributes.java @@ -0,0 +1,275 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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.mis.usp_v2.mandates.Mandator; +import at.gv.util.xsd.mis.usp_v2.mandates.ParameterisedDescriptionType; +import at.gv.util.xsd.mis.usp_v2.mandates.PropertiesType; +import at.gv.util.xsd.mis.usp_v2.mandates.Representative; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="MandateId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="MandateType" type="{http://reference.e-government.gv.at/namespace/mandates/20040701#}TextualDescriptionType" minOccurs="0"/> + * <element name="MandateText" type="{http://reference.e-government.gv.at/namespace/mandates/20040701#}ParameterisedDescriptionType" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}Mandator" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}Representative" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}Properties" minOccurs="0"/> + * <element name="ActivationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> + * <element name="TerminationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "mandateId", + "mandateType", + "mandateText", + "mandator", + "representative", + "properties", + "activationTime", + "terminationTime" +}) +@XmlRootElement(name = "MandateAttributes") +public class MandateAttributes { + + @XmlElement(name = "MandateId") + protected String mandateId; + @XmlElement(name = "MandateType") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String mandateType; + @XmlElement(name = "MandateText") + protected ParameterisedDescriptionType mandateText; + @XmlElement(name = "Mandator", namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#") + protected Mandator mandator; + @XmlElement(name = "Representative", namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#") + protected Representative representative; + @XmlElement(name = "Properties", namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#") + protected PropertiesType properties; + @XmlElement(name = "ActivationTime") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar activationTime; + @XmlElement(name = "TerminationTime") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar terminationTime; + + /** + * Ruft den Wert der mandateId-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMandateId() { + return mandateId; + } + + /** + * Legt den Wert der mandateId-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMandateId(String value) { + this.mandateId = value; + } + + /** + * Ruft den Wert der mandateType-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMandateType() { + return mandateType; + } + + /** + * Legt den Wert der mandateType-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMandateType(String value) { + this.mandateType = value; + } + + /** + * Ruft den Wert der mandateText-Eigenschaft ab. + * + * @return + * possible object is + * {@link ParameterisedDescriptionType } + * + */ + public ParameterisedDescriptionType getMandateText() { + return mandateText; + } + + /** + * Legt den Wert der mandateText-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ParameterisedDescriptionType } + * + */ + public void setMandateText(ParameterisedDescriptionType value) { + this.mandateText = value; + } + + /** + * personal data defining the mandator + * + * + * @return + * possible object is + * {@link Mandator } + * + */ + public Mandator getMandator() { + return mandator; + } + + /** + * Legt den Wert der mandator-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Mandator } + * + */ + public void setMandator(Mandator value) { + this.mandator = value; + } + + /** + * personal data defining the representative + * + * + * @return + * possible object is + * {@link Representative } + * + */ + public Representative getRepresentative() { + return representative; + } + + /** + * Legt den Wert der representative-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Representative } + * + */ + public void setRepresentative(Representative value) { + this.representative = value; + } + + /** + * element contains arbitrary properties of a mandate + * + * + * @return + * possible object is + * {@link PropertiesType } + * + */ + public PropertiesType getProperties() { + return properties; + } + + /** + * Legt den Wert der properties-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link PropertiesType } + * + */ + public void setProperties(PropertiesType value) { + this.properties = value; + } + + /** + * Ruft den Wert der activationTime-Eigenschaft ab. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getActivationTime() { + return activationTime; + } + + /** + * Legt den Wert der activationTime-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setActivationTime(XMLGregorianCalendar value) { + this.activationTime = value; + } + + /** + * Ruft den Wert der terminationTime-Eigenschaft ab. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTerminationTime() { + return terminationTime; + } + + /** + * Legt den Wert der terminationTime-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setTerminationTime(XMLGregorianCalendar value) { + this.terminationTime = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateAttributesSearchFilterType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateAttributesSearchFilterType.java new file mode 100644 index 0000000..b451c28 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateAttributesSearchFilterType.java @@ -0,0 +1,63 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für MandateAttributesSearchFilterType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="MandateAttributesSearchFilterType"> + * <complexContent> + * <restriction base="{http://eai.brz.gv.at/services/vdds/sync-msgs}FilterType"> + * <sequence> + * <element name="Filter"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="SearchCriteria"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="7"> + * <choice> + * <element name="ActivationRange" type="{http://eai.brz.gv.at/services/vdds/sync-msgs}TimeRangeType"/> + * <element name="MandateType" type="{http://reference.e-government.gv.at/namespace/mandates/20040701#}TextualDescriptionType"/> + * <element name="MandatorID" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}IdentificationType"/> + * <element name="RepresentativeID" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}IdentificationType"/> + * <element name="TerminationRange" type="{http://eai.brz.gv.at/services/vdds/sync-msgs}TimeRangeType"/> + * <element name="ValidFromTo" type="{http://eai.brz.gv.at/services/vdds/sync-msgs}TimeRangeType"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}Properties"/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "MandateAttributesSearchFilterType") +public class MandateAttributesSearchFilterType + extends FilterType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateIDSearchFilterType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateIDSearchFilterType.java new file mode 100644 index 0000000..58a6b32 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateIDSearchFilterType.java @@ -0,0 +1,55 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für MandateIDSearchFilterType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="MandateIDSearchFilterType"> + * <complexContent> + * <restriction base="{http://eai.brz.gv.at/services/vdds/sync-msgs}FilterType"> + * <sequence> + * <element name="Filter"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="SearchCriteria"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="MandateID" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "MandateIDSearchFilterType") +public class MandateIDSearchFilterType + extends FilterType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateList.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateList.java new file mode 100644 index 0000000..b937ad9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateList.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Mandates" type="{http://eai.brz.gv.at/services/vdds/sync-msgs}MandateListType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "mandates" +}) +public class MandateList { + + @XmlElement(name = "Mandates", required = true) + protected MandateListType mandates; + + /** + * Ruft den Wert der mandates-Eigenschaft ab. + * + * @return + * possible object is + * {@link MandateListType } + * + */ + public MandateListType getMandates() { + return mandates; + } + + /** + * Legt den Wert der mandates-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link MandateListType } + * + */ + public void setMandates(MandateListType value) { + this.mandates = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateListType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateListType.java new file mode 100644 index 0000000..c0ad723 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateListType.java @@ -0,0 +1,103 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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.mis.usp_v2.mandates.Mandate; + + +/** + * <p>Java-Klasse für MandateListType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="MandateListType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice minOccurs="0"> + * <element ref="{http://eai.brz.gv.at/services/vdds/sync-msgs}MandateAttributes" maxOccurs="unbounded"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}Mandate" maxOccurs="unbounded"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "MandateListType", propOrder = { + "mandateAttributes", + "mandate" +}) +public class MandateListType { + + @XmlElement(name = "MandateAttributes") + protected List<MandateAttributes> mandateAttributes; + @XmlElement(name = "Mandate", namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#") + protected List<Mandate> mandate; + + /** + * Gets the value of the mandateAttributes property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the mandateAttributes property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMandateAttributes().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link MandateAttributes } + * + * + */ + public List<MandateAttributes> getMandateAttributes() { + if (mandateAttributes == null) { + mandateAttributes = new ArrayList<MandateAttributes>(); + } + return this.mandateAttributes; + } + + /** + * electronic 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 Mandate } + * + * + */ + public List<Mandate> getMandate() { + if (mandate == null) { + mandate = new ArrayList<Mandate>(); + } + return this.mandate; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateRequestType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateRequestType.java new file mode 100644 index 0000000..b082acf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/MandateRequestType.java @@ -0,0 +1,120 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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.mis.usp_v2.eai.token.ModificationTokenType; +import at.gv.util.xsd.mis.usp_v2.mandates.Mandate; + + +/** + * <p>Java-Klasse für MandateRequestType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="MandateRequestType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://eai.brz.gv.at/services/vdds/token}ModificationToken"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}Mandate"/> + * <element ref="{http://eai.brz.gv.at/services/vdds/sync-msgs}TextProperties" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "MandateRequestType", propOrder = { + "modificationToken", + "mandate", + "textProperties" +}) +public class MandateRequestType { + + @XmlElement(name = "ModificationToken", namespace = "http://eai.brz.gv.at/services/vdds/token", required = true) + protected ModificationTokenType modificationToken; + @XmlElement(name = "Mandate", namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", required = true) + protected Mandate mandate; + @XmlElement(name = "TextProperties") + protected TextProperties textProperties; + + /** + * Ruft den Wert der modificationToken-Eigenschaft ab. + * + * @return + * possible object is + * {@link ModificationTokenType } + * + */ + public ModificationTokenType getModificationToken() { + return modificationToken; + } + + /** + * Legt den Wert der modificationToken-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ModificationTokenType } + * + */ + public void setModificationToken(ModificationTokenType value) { + this.modificationToken = value; + } + + /** + * electronic mandate + * + * @return + * possible object is + * {@link Mandate } + * + */ + public Mandate getMandate() { + return mandate; + } + + /** + * Legt den Wert der mandate-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Mandate } + * + */ + public void setMandate(Mandate value) { + this.mandate = value; + } + + /** + * Ruft den Wert der textProperties-Eigenschaft ab. + * + * @return + * possible object is + * {@link TextProperties } + * + */ + public TextProperties getTextProperties() { + return textProperties; + } + + /** + * Legt den Wert der textProperties-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link TextProperties } + * + */ + public void setTextProperties(TextProperties value) { + this.textProperties = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ObjectFactory.java new file mode 100644 index 0000000..a015968 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ObjectFactory.java @@ -0,0 +1,380 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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.mis.usp_v2.eai.common.ReferableResultType; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.mis.usp_v2.eai.syncmsgs 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 _CreateMandateAck_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "CreateMandateAck"); + private final static QName _Result_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "Result"); + private final static QName _CreateMandateRequest_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "CreateMandateRequest"); + private final static QName _SearchFilter_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "SearchFilter"); + private final static QName _OutputFilter_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "OutputFilter"); + private final static QName _ListMandatesResponse_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "ListMandatesResponse"); + private final static QName _ListReferencedMandatesOutputFilter_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "ListReferencedMandatesOutputFilter"); + private final static QName _MandateAttributesSearchFilter_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "MandateAttributesSearchFilter"); + private final static QName _MandateIDSearchFilter_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "MandateIDSearchFilter"); + private final static QName _MandateList_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "MandateList"); + private final static QName _SearchResult_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "SearchResult"); + private final static QName _PaginationFilter_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "PaginationFilter"); + private final static QName _ProcessTypeOutputFilter_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "ProcessTypeOutputFilter"); + private final static QName _ReferencedMandatesResult_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "ReferencedMandatesResult"); + private final static QName _TerminateMandateAck_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "TerminateMandateAck"); + private final static QName _TerminateMandateRequest_QNAME = new QName("http://eai.brz.gv.at/services/vdds/sync-msgs", "TerminateMandateRequest"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mis.usp_v2.eai.syncmsgs + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link TextProperties } + * + */ + public TextProperties createTextProperties() { + return new TextProperties(); + } + + /** + * Create an instance of {@link SimplePath } + * + */ + public SimplePath createSimplePath() { + return new SimplePath(); + } + + /** + * Create an instance of {@link CreateMandateAsyncResponse } + * + */ + public CreateMandateAsyncResponse createCreateMandateAsyncResponse() { + return new CreateMandateAsyncResponse(); + } + + /** + * Create an instance of {@link MandateRequestType } + * + */ + public MandateRequestType createMandateRequestType() { + return new MandateRequestType(); + } + + /** + * Create an instance of {@link ListMandatesRequest } + * + */ + public ListMandatesRequest createListMandatesRequest() { + return new ListMandatesRequest(); + } + + /** + * Create an instance of {@link FilterType } + * + */ + public FilterType createFilterType() { + return new FilterType(); + } + + /** + * Create an instance of {@link OutputFilterType } + * + */ + public OutputFilterType createOutputFilterType() { + return new OutputFilterType(); + } + + /** + * Create an instance of {@link ListMandatesResponseType } + * + */ + public ListMandatesResponseType createListMandatesResponseType() { + return new ListMandatesResponseType(); + } + + /** + * Create an instance of {@link ListReferencedMandatesOutputFilter } + * + */ + public ListReferencedMandatesOutputFilter createListReferencedMandatesOutputFilter() { + return new ListReferencedMandatesOutputFilter(); + } + + /** + * Create an instance of {@link MandateAttributes } + * + */ + public MandateAttributes createMandateAttributes() { + return new MandateAttributes(); + } + + /** + * Create an instance of {@link MandateAttributesSearchFilterType } + * + */ + public MandateAttributesSearchFilterType createMandateAttributesSearchFilterType() { + return new MandateAttributesSearchFilterType(); + } + + /** + * Create an instance of {@link MandateIDSearchFilterType } + * + */ + public MandateIDSearchFilterType createMandateIDSearchFilterType() { + return new MandateIDSearchFilterType(); + } + + /** + * Create an instance of {@link MandateList } + * + */ + public MandateList createMandateList() { + return new MandateList(); + } + + /** + * Create an instance of {@link Pagination } + * + */ + public Pagination createPagination() { + return new Pagination(); + } + + /** + * Create an instance of {@link PaginationFilter } + * + */ + public PaginationFilter createPaginationFilter() { + return new PaginationFilter(); + } + + /** + * Create an instance of {@link ProcessTypeOutputFilter } + * + */ + public ProcessTypeOutputFilter createProcessTypeOutputFilter() { + return new ProcessTypeOutputFilter(); + } + + /** + * Create an instance of {@link ReferencedMandatesResult } + * + */ + public ReferencedMandatesResult createReferencedMandatesResult() { + return new ReferencedMandatesResult(); + } + + /** + * Create an instance of {@link TerminateMandateAsyncResponse } + * + */ + public TerminateMandateAsyncResponse createTerminateMandateAsyncResponse() { + return new TerminateMandateAsyncResponse(); + } + + /** + * Create an instance of {@link TextProperties.Property } + * + */ + public TextProperties.Property createTextPropertiesProperty() { + return new TextProperties.Property(); + } + + /** + * Create an instance of {@link MandateListType } + * + */ + public MandateListType createMandateListType() { + return new MandateListType(); + } + + /** + * Create an instance of {@link ReferencedMandatesType } + * + */ + public ReferencedMandatesType createReferencedMandatesType() { + return new ReferencedMandatesType(); + } + + /** + * Create an instance of {@link TimeRangeType } + * + */ + public TimeRangeType createTimeRangeType() { + return new TimeRangeType(); + } + + /** + * Create an instance of {@link SimplePath.PathTo } + * + */ + public SimplePath.PathTo createSimplePathPathTo() { + return new SimplePath.PathTo(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ReferableResultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "CreateMandateAck") + public JAXBElement<ReferableResultType> createCreateMandateAck(ReferableResultType value) { + return new JAXBElement<ReferableResultType>(_CreateMandateAck_QNAME, ReferableResultType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ReferableResultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "Result") + public JAXBElement<ReferableResultType> createResult(ReferableResultType value) { + return new JAXBElement<ReferableResultType>(_Result_QNAME, ReferableResultType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link MandateRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "CreateMandateRequest") + public JAXBElement<MandateRequestType> createCreateMandateRequest(MandateRequestType value) { + return new JAXBElement<MandateRequestType>(_CreateMandateRequest_QNAME, MandateRequestType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link FilterType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "SearchFilter") + public JAXBElement<FilterType> createSearchFilter(FilterType value) { + return new JAXBElement<FilterType>(_SearchFilter_QNAME, FilterType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link OutputFilterType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "OutputFilter") + public JAXBElement<OutputFilterType> createOutputFilter(OutputFilterType value) { + return new JAXBElement<OutputFilterType>(_OutputFilter_QNAME, OutputFilterType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ListMandatesResponseType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "ListMandatesResponse") + public JAXBElement<ListMandatesResponseType> createListMandatesResponse(ListMandatesResponseType value) { + return new JAXBElement<ListMandatesResponseType>(_ListMandatesResponse_QNAME, ListMandatesResponseType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ListReferencedMandatesOutputFilter }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "ListReferencedMandatesOutputFilter", substitutionHeadNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", substitutionHeadName = "OutputFilter") + public JAXBElement<ListReferencedMandatesOutputFilter> createListReferencedMandatesOutputFilter(ListReferencedMandatesOutputFilter value) { + return new JAXBElement<ListReferencedMandatesOutputFilter>(_ListReferencedMandatesOutputFilter_QNAME, ListReferencedMandatesOutputFilter.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link MandateAttributesSearchFilterType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "MandateAttributesSearchFilter", substitutionHeadNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", substitutionHeadName = "SearchFilter") + public JAXBElement<MandateAttributesSearchFilterType> createMandateAttributesSearchFilter(MandateAttributesSearchFilterType value) { + return new JAXBElement<MandateAttributesSearchFilterType>(_MandateAttributesSearchFilter_QNAME, MandateAttributesSearchFilterType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link MandateIDSearchFilterType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "MandateIDSearchFilter", substitutionHeadNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", substitutionHeadName = "SearchFilter") + public JAXBElement<MandateIDSearchFilterType> createMandateIDSearchFilter(MandateIDSearchFilterType value) { + return new JAXBElement<MandateIDSearchFilterType>(_MandateIDSearchFilter_QNAME, MandateIDSearchFilterType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link MandateList }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "MandateList", substitutionHeadNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", substitutionHeadName = "SearchResult") + public JAXBElement<MandateList> createMandateList(MandateList value) { + return new JAXBElement<MandateList>(_MandateList_QNAME, MandateList.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "SearchResult") + public JAXBElement<Object> createSearchResult(Object value) { + return new JAXBElement<Object>(_SearchResult_QNAME, Object.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link PaginationFilter }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "PaginationFilter", substitutionHeadNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", substitutionHeadName = "SearchFilter") + public JAXBElement<PaginationFilter> createPaginationFilter(PaginationFilter value) { + return new JAXBElement<PaginationFilter>(_PaginationFilter_QNAME, PaginationFilter.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ProcessTypeOutputFilter }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "ProcessTypeOutputFilter", substitutionHeadNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", substitutionHeadName = "OutputFilter") + public JAXBElement<ProcessTypeOutputFilter> createProcessTypeOutputFilter(ProcessTypeOutputFilter value) { + return new JAXBElement<ProcessTypeOutputFilter>(_ProcessTypeOutputFilter_QNAME, ProcessTypeOutputFilter.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ReferencedMandatesResult }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "ReferencedMandatesResult", substitutionHeadNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", substitutionHeadName = "SearchResult") + public JAXBElement<ReferencedMandatesResult> createReferencedMandatesResult(ReferencedMandatesResult value) { + return new JAXBElement<ReferencedMandatesResult>(_ReferencedMandatesResult_QNAME, ReferencedMandatesResult.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ReferableResultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "TerminateMandateAck") + public JAXBElement<ReferableResultType> createTerminateMandateAck(ReferableResultType value) { + return new JAXBElement<ReferableResultType>(_TerminateMandateAck_QNAME, ReferableResultType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link MandateRequestType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", name = "TerminateMandateRequest") + public JAXBElement<MandateRequestType> createTerminateMandateRequest(MandateRequestType value) { + return new JAXBElement<MandateRequestType>(_TerminateMandateRequest_QNAME, MandateRequestType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/OutputFilterType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/OutputFilterType.java new file mode 100644 index 0000000..9e01228 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/OutputFilterType.java @@ -0,0 +1,71 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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-Klasse für OutputFilterType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="OutputFilterType"> + * <complexContent> + * <extension base="{http://eai.brz.gv.at/services/vdds/sync-msgs}FilterType"> + * <sequence> + * <element name="Details" type="{http://eai.brz.gv.at/services/vdds/sync-msgs}DetailsType"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "OutputFilterType", propOrder = { + "details" +}) +@XmlSeeAlso({ + ListReferencedMandatesOutputFilter.class, + ProcessTypeOutputFilter.class +}) +public class OutputFilterType + extends FilterType +{ + + @XmlElement(name = "Details", required = true) + @XmlSchemaType(name = "string") + protected DetailsType details; + + /** + * Ruft den Wert der details-Eigenschaft ab. + * + * @return + * possible object is + * {@link DetailsType } + * + */ + public DetailsType getDetails() { + return details; + } + + /** + * Legt den Wert der details-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link DetailsType } + * + */ + public void setDetails(DetailsType value) { + this.details = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/Pagination.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/Pagination.java new file mode 100644 index 0000000..d9b4be2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/Pagination.java @@ -0,0 +1,121 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="StartRow" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * <element name="NumRows" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * <element name="HasMore" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "startRow", + "numRows", + "hasMore" +}) +@XmlRootElement(name = "Pagination") +public class Pagination { + + @XmlElement(name = "StartRow", required = true) + protected BigInteger startRow; + @XmlElement(name = "NumRows", required = true) + protected BigInteger numRows; + @XmlElement(name = "HasMore") + protected Boolean hasMore; + + /** + * Ruft den Wert der startRow-Eigenschaft ab. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getStartRow() { + return startRow; + } + + /** + * Legt den Wert der startRow-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setStartRow(BigInteger value) { + this.startRow = value; + } + + /** + * Ruft den Wert der numRows-Eigenschaft ab. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getNumRows() { + return numRows; + } + + /** + * Legt den Wert der numRows-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setNumRows(BigInteger value) { + this.numRows = value; + } + + /** + * Ruft den Wert der hasMore-Eigenschaft ab. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isHasMore() { + return hasMore; + } + + /** + * Legt den Wert der hasMore-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setHasMore(Boolean value) { + this.hasMore = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/PaginationFilter.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/PaginationFilter.java new file mode 100644 index 0000000..43db3b3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/PaginationFilter.java @@ -0,0 +1,45 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://eai.brz.gv.at/services/vdds/sync-msgs}FilterType"> + * <sequence> + * <element name="Filter"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://eai.brz.gv.at/services/vdds/sync-msgs}Pagination"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +public class PaginationFilter + extends FilterType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ProcessTypeOutputFilter.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ProcessTypeOutputFilter.java new file mode 100644 index 0000000..0ac1a33 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ProcessTypeOutputFilter.java @@ -0,0 +1,46 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://eai.brz.gv.at/services/vdds/sync-msgs}OutputFilterType"> + * <sequence> + * <element name="Filter"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ProcessIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Details" type="{http://eai.brz.gv.at/services/vdds/sync-msgs}DetailsType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +public class ProcessTypeOutputFilter + extends OutputFilterType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ReferenceTypes.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ReferenceTypes.java new file mode 100644 index 0000000..c3128ff --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ReferenceTypes.java @@ -0,0 +1,51 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für ReferenceTypes. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * <p> + * <pre> + * <simpleType name="ReferenceTypes"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="Representative"/> + * <enumeration value="Mandator"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "ReferenceTypes") +@XmlEnum +public enum ReferenceTypes { + + @XmlEnumValue("Representative") + REPRESENTATIVE("Representative"), + @XmlEnumValue("Mandator") + MANDATOR("Mandator"); + private final String value; + + ReferenceTypes(String v) { + value = v; + } + + public String value() { + return value; + } + + public static ReferenceTypes fromValue(String v) { + for (ReferenceTypes c: ReferenceTypes.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ReferencedMandatesResult.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ReferencedMandatesResult.java new file mode 100644 index 0000000..bdd1af2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ReferencedMandatesResult.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ReferencedMandates" type="{http://eai.brz.gv.at/services/vdds/sync-msgs}ReferencedMandatesType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "referencedMandates" +}) +public class ReferencedMandatesResult { + + @XmlElement(name = "ReferencedMandates", required = true) + protected ReferencedMandatesType referencedMandates; + + /** + * Ruft den Wert der referencedMandates-Eigenschaft ab. + * + * @return + * possible object is + * {@link ReferencedMandatesType } + * + */ + public ReferencedMandatesType getReferencedMandates() { + return referencedMandates; + } + + /** + * Legt den Wert der referencedMandates-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ReferencedMandatesType } + * + */ + public void setReferencedMandates(ReferencedMandatesType value) { + this.referencedMandates = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ReferencedMandatesType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ReferencedMandatesType.java new file mode 100644 index 0000000..bbede79 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/ReferencedMandatesType.java @@ -0,0 +1,167 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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.mis.usp_v2.mandates.Mandate; +import at.gv.util.xsd.mis.usp_v2.mandates.Mandator; +import at.gv.util.xsd.mis.usp_v2.mandates.Representative; + + +/** + * <p>Java-Klasse für ReferencedMandatesType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="ReferencedMandatesType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <choice> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}Mandator"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}Representative"/> + * </choice> + * <choice> + * <element ref="{http://eai.brz.gv.at/services/vdds/sync-msgs}MandateAttributes" maxOccurs="unbounded"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}Mandate" maxOccurs="unbounded"/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferencedMandatesType", propOrder = { + "mandator", + "representative", + "mandateAttributes", + "mandate" +}) +public class ReferencedMandatesType { + + @XmlElement(name = "Mandator", namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#") + protected Mandator mandator; + @XmlElement(name = "Representative", namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#") + protected Representative representative; + @XmlElement(name = "MandateAttributes") + protected List<MandateAttributes> mandateAttributes; + @XmlElement(name = "Mandate", namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#") + protected List<Mandate> mandate; + + /** + * personal data defining the mandator + * + * + * @return + * possible object is + * {@link Mandator } + * + */ + public Mandator getMandator() { + return mandator; + } + + /** + * Legt den Wert der mandator-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Mandator } + * + */ + public void setMandator(Mandator value) { + this.mandator = value; + } + + /** + * personal data defining the representative + * + * + * @return + * possible object is + * {@link Representative } + * + */ + public Representative getRepresentative() { + return representative; + } + + /** + * Legt den Wert der representative-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Representative } + * + */ + public void setRepresentative(Representative value) { + this.representative = value; + } + + /** + * Gets the value of the mandateAttributes property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the mandateAttributes property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMandateAttributes().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link MandateAttributes } + * + * + */ + public List<MandateAttributes> getMandateAttributes() { + if (mandateAttributes == null) { + mandateAttributes = new ArrayList<MandateAttributes>(); + } + return this.mandateAttributes; + } + + /** + * electronic 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 Mandate } + * + * + */ + public List<Mandate> getMandate() { + if (mandate == null) { + mandate = new ArrayList<Mandate>(); + } + return this.mandate; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/SimplePath.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/SimplePath.java new file mode 100644 index 0000000..2299a75 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/SimplePath.java @@ -0,0 +1,122 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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-Klasse für SimplePath complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="SimplePath"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PathTo"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="recurse" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SimplePath", propOrder = { + "pathTo" +}) +public class SimplePath { + + @XmlElement(name = "PathTo", required = true) + protected SimplePath.PathTo pathTo; + + /** + * Ruft den Wert der pathTo-Eigenschaft ab. + * + * @return + * possible object is + * {@link SimplePath.PathTo } + * + */ + public SimplePath.PathTo getPathTo() { + return pathTo; + } + + /** + * Legt den Wert der pathTo-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link SimplePath.PathTo } + * + */ + public void setPathTo(SimplePath.PathTo value) { + this.pathTo = value; + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="recurse" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class PathTo { + + @XmlAttribute(name = "recurse") + protected Boolean recurse; + + /** + * Ruft den Wert der recurse-Eigenschaft ab. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isRecurse() { + return recurse; + } + + /** + * Legt den Wert der recurse-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setRecurse(Boolean value) { + this.recurse = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/TerminateMandateAsyncResponse.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/TerminateMandateAsyncResponse.java new file mode 100644 index 0000000..7ed6cc1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/TerminateMandateAsyncResponse.java @@ -0,0 +1,97 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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.usp_v2.eai.common.ReferableResultType; +import at.gv.util.xsd.mis.usp_v2.eai.token.ModificationTokenType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://eai.brz.gv.at/services/vdds/token}ModificationToken"/> + * <element ref="{http://eai.brz.gv.at/services/vdds/sync-msgs}Result"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "modificationToken", + "result" +}) +@XmlRootElement(name = "TerminateMandateAsyncResponse") +public class TerminateMandateAsyncResponse { + + @XmlElement(name = "ModificationToken", namespace = "http://eai.brz.gv.at/services/vdds/token", required = true) + protected ModificationTokenType modificationToken; + @XmlElement(name = "Result", required = true) + protected ReferableResultType result; + + /** + * Ruft den Wert der modificationToken-Eigenschaft ab. + * + * @return + * possible object is + * {@link ModificationTokenType } + * + */ + public ModificationTokenType getModificationToken() { + return modificationToken; + } + + /** + * Legt den Wert der modificationToken-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ModificationTokenType } + * + */ + public void setModificationToken(ModificationTokenType value) { + this.modificationToken = value; + } + + /** + * + * this is the general purpose response element used + * to acknowledge several events + * + * + * @return + * possible object is + * {@link ReferableResultType } + * + */ + public ReferableResultType getResult() { + return result; + } + + /** + * Legt den Wert der result-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ReferableResultType } + * + */ + public void setResult(ReferableResultType value) { + this.result = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/TextProperties.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/TextProperties.java new file mode 100644 index 0000000..0a7dfba --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/TextProperties.java @@ -0,0 +1,194 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Property" maxOccurs="unbounded"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * <attribute name="ValueType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "property" +}) +@XmlRootElement(name = "TextProperties") +public class TextProperties { + + @XmlElement(name = "Property", required = true) + protected List<TextProperties.Property> property; + + /** + * Gets the value of the property property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the property property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getProperty().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TextProperties.Property } + * + * + */ + public List<TextProperties.Property> getProperty() { + if (property == null) { + property = new ArrayList<TextProperties.Property>(); + } + return this.property; + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * <attribute name="ValueType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "name", + "value" + }) + public static class Property { + + @XmlElement(name = "Name", required = true) + protected String name; + @XmlElement(name = "Value", required = true) + protected String value; + @XmlAttribute(name = "ValueType") + protected String valueType; + + /** + * Ruft den Wert der name-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Legt den Wert der name-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Ruft den Wert der value-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Legt den Wert der value-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Ruft den Wert der valueType-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValueType() { + return valueType; + } + + /** + * Legt den Wert der valueType-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValueType(String value) { + this.valueType = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/TimeRangeType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/TimeRangeType.java new file mode 100644 index 0000000..7d87162 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/TimeRangeType.java @@ -0,0 +1,121 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; + +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-Klasse für TimeRangeType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="TimeRangeType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="From" type="{http://reference.e-government.gv.at/namespace/mandates/20040701#}DateType"/> + * <element name="To" type="{http://reference.e-government.gv.at/namespace/mandates/20040701#}DateType"/> + * </sequence> + * <attribute name="strictRange" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TimeRangeType", propOrder = { + "from", + "to" +}) +public class TimeRangeType { + + @XmlElement(name = "From", required = true) + @XmlSchemaType(name = "anySimpleType") + protected String from; + @XmlElement(name = "To", required = true, defaultValue = "9999-12-31") + @XmlSchemaType(name = "anySimpleType") + protected String to; + @XmlAttribute(name = "strictRange") + protected Boolean strictRange; + + /** + * Ruft den Wert der from-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFrom() { + return from; + } + + /** + * Legt den Wert der from-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFrom(String value) { + this.from = value; + } + + /** + * Ruft den Wert der to-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTo() { + return to; + } + + /** + * Legt den Wert der to-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTo(String value) { + this.to = value; + } + + /** + * Ruft den Wert der strictRange-Eigenschaft ab. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isStrictRange() { + return strictRange; + } + + /** + * Legt den Wert der strictRange-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setStrictRange(Boolean value) { + this.strictRange = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/package-info.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/package-info.java new file mode 100644 index 0000000..e5d1eea --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/syncmsgs/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mis.usp_v2.eai.syncmsgs; diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ActionTypeType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ActionTypeType.java new file mode 100644 index 0000000..bac6108 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ActionTypeType.java @@ -0,0 +1,51 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.token; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für ActionTypeType. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * <p> + * <pre> + * <simpleType name="ActionTypeType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="CreateMandate"/> + * <enumeration value="TerminateMandate"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "ActionTypeType") +@XmlEnum +public enum ActionTypeType { + + @XmlEnumValue("CreateMandate") + CREATE_MANDATE("CreateMandate"), + @XmlEnumValue("TerminateMandate") + TERMINATE_MANDATE("TerminateMandate"); + private final String value; + + ActionTypeType(String v) { + value = v; + } + + public String value() { + return value; + } + + public static ActionTypeType fromValue(String v) { + for (ActionTypeType c: ActionTypeType.values()) { + if (c.value.equals(v)) { + return c; + } + } + throw new IllegalArgumentException(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenRequest.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenRequest.java new file mode 100644 index 0000000..8dc0bdf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenRequest.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.token; + +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.XmlType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any namespace='##other'/> + * </sequence> + * <attribute name="ActionType" type="{http://eai.brz.gv.at/services/vdds/token}ActionTypeType" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "any" +}) +@XmlRootElement(name = "ModificationTokenRequest") +public class ModificationTokenRequest { + + @XmlAnyElement(lax = true) + protected Object any; + @XmlAttribute(name = "ActionType") + protected ActionTypeType actionType; + + /** + * Ruft den Wert der any-Eigenschaft ab. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getAny() { + return any; + } + + /** + * Legt den Wert der any-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setAny(Object value) { + this.any = value; + } + + /** + * Ruft den Wert der actionType-Eigenschaft ab. + * + * @return + * possible object is + * {@link ActionTypeType } + * + */ + public ActionTypeType getActionType() { + return actionType; + } + + /** + * Legt den Wert der actionType-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ActionTypeType } + * + */ + public void setActionType(ActionTypeType value) { + this.actionType = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenResponse.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenResponse.java new file mode 100644 index 0000000..f7e895d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenResponse.java @@ -0,0 +1,93 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.token; + +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.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Result" type="{http://eai.brz.gv.at/services/vdds/token}ModificationTokenResultType"/> + * <any namespace='##other' minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "result", + "any" +}) +@XmlRootElement(name = "ModificationTokenResponse") +public class ModificationTokenResponse { + + @XmlElement(name = "Result", required = true) + protected ModificationTokenResultType result; + @XmlAnyElement(lax = true) + protected Object any; + + /** + * Ruft den Wert der result-Eigenschaft ab. + * + * @return + * possible object is + * {@link ModificationTokenResultType } + * + */ + public ModificationTokenResultType getResult() { + return result; + } + + /** + * Legt den Wert der result-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ModificationTokenResultType } + * + */ + public void setResult(ModificationTokenResultType value) { + this.result = value; + } + + /** + * Ruft den Wert der any-Eigenschaft ab. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getAny() { + return any; + } + + /** + * Legt den Wert der any-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setAny(Object value) { + this.any = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenResultType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenResultType.java new file mode 100644 index 0000000..11ee649 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenResultType.java @@ -0,0 +1,65 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.token; + +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.mis.usp_v2.eai.common.ReferableResultType; + + +/** + * <p>Java-Klasse für ModificationTokenResultType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="ModificationTokenResultType"> + * <complexContent> + * <extension base="{http://eai.brz.gv.at/services/vdds/common}ReferableResultType"> + * <sequence> + * <element ref="{http://eai.brz.gv.at/services/vdds/token}ModificationToken" minOccurs="0"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ModificationTokenResultType", propOrder = { + "modificationToken" +}) +public class ModificationTokenResultType + extends ReferableResultType +{ + + @XmlElement(name = "ModificationToken") + protected ModificationTokenType modificationToken; + + /** + * Ruft den Wert der modificationToken-Eigenschaft ab. + * + * @return + * possible object is + * {@link ModificationTokenType } + * + */ + public ModificationTokenType getModificationToken() { + return modificationToken; + } + + /** + * Legt den Wert der modificationToken-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ModificationTokenType } + * + */ + public void setModificationToken(ModificationTokenType value) { + this.modificationToken = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenType.java new file mode 100644 index 0000000..8d91583 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenType.java @@ -0,0 +1,143 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.token; + +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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; + + +/** + * <p>Java-Klasse für ModificationTokenType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="ModificationTokenType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="IssuedAt" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> + * <attribute name="ValidUntil" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> + * <anyAttribute/> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ModificationTokenType", propOrder = { + "value" +}) +public class ModificationTokenType { + + @XmlValue + protected String value; + @XmlAttribute(name = "IssuedAt") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar issuedAt; + @XmlAttribute(name = "ValidUntil") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar validUntil; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Ruft den Wert der value-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Legt den Wert der value-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Ruft den Wert der issuedAt-Eigenschaft ab. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getIssuedAt() { + return issuedAt; + } + + /** + * Legt den Wert der issuedAt-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setIssuedAt(XMLGregorianCalendar value) { + this.issuedAt = value; + } + + /** + * Ruft den Wert der validUntil-Eigenschaft ab. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getValidUntil() { + return validUntil; + } + + /** + * Legt den Wert der validUntil-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setValidUntil(XMLGregorianCalendar value) { + this.validUntil = 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/mis/usp_v2/eai/token/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ObjectFactory.java new file mode 100644 index 0000000..55fd842 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ObjectFactory.java @@ -0,0 +1,77 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.token; + +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.usp_v2.eai.token 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 _ModificationToken_QNAME = new QName("http://eai.brz.gv.at/services/vdds/token", "ModificationToken"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mis.usp_v2.eai.token + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ModificationTokenType } + * + */ + public ModificationTokenType createModificationTokenType() { + return new ModificationTokenType(); + } + + /** + * Create an instance of {@link ModificationTokenRequest } + * + */ + public ModificationTokenRequest createModificationTokenRequest() { + return new ModificationTokenRequest(); + } + + /** + * Create an instance of {@link ModificationTokenResponse } + * + */ + public ModificationTokenResponse createModificationTokenResponse() { + return new ModificationTokenResponse(); + } + + /** + * Create an instance of {@link ModificationTokenResultType } + * + */ + public ModificationTokenResultType createModificationTokenResultType() { + return new ModificationTokenResultType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link ModificationTokenType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/token", name = "ModificationToken") + public JAXBElement<ModificationTokenType> createModificationToken(ModificationTokenType value) { + return new JAXBElement<ModificationTokenType>(_ModificationToken_QNAME, ModificationTokenType.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/package-info.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/package-info.java new file mode 100644 index 0000000..5eb1f4f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://eai.brz.gv.at/services/vdds/token", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mis.usp_v2.eai.token; diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/Issued.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/Issued.java new file mode 100644 index 0000000..efc36ad --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/Issued.java @@ -0,0 +1,128 @@ + +package at.gv.util.xsd.mis.usp_v2.mandates; + +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-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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) + @XmlSchemaType(name = "anySimpleType") + protected String date; + @XmlElement(name = "Time") + @XmlSchemaType(name = "time") + protected XMLGregorianCalendar time; + + /** + * Ruft den Wert der place-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlace() { + return place; + } + + /** + * Legt den Wert der place-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlace(String value) { + this.place = value; + } + + /** + * Ruft den Wert der date-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDate() { + return date; + } + + /** + * Legt den Wert der date-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDate(String value) { + this.date = value; + } + + /** + * Ruft den Wert der time-Eigenschaft ab. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTime() { + return time; + } + + /** + * Legt den Wert der time-Eigenschaft fest. + * + * @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/mis/usp_v2/mandates/Mandate.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/Mandate.java new file mode 100644 index 0000000..8b76016 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/Mandate.java @@ -0,0 +1,371 @@ + +package at.gv.util.xsd.mis.usp_v2.mandates; + +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.mis.usp_v2.persondata.PhysicalPersonType; +import at.gv.util.xsd.mis.usp_v2.xmldsig.SignatureType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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" minOccurs="0"/> + * </sequence> + * <attribute name="MandateID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="MandateType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </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#") + protected SignatureType signature; + @XmlAttribute(name = "MandateID", required = true) + protected String mandateID; + @XmlAttribute(name = "MandateType") + protected String mandateType; + + /** + * arbitrary annotation containing a short description + * of the mandate + * + * @return + * possible object is + * {@link String } + * + */ + public String getAnnotation() { + return annotation; + } + + /** + * Legt den Wert der annotation-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAnnotation(String value) { + this.annotation = value; + } + + /** + * location to retrieve current status information + * + * + * @return + * possible object is + * {@link String } + * + */ + public String getStatusInformationService() { + return statusInformationService; + } + + /** + * Legt den Wert der statusInformationService-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStatusInformationService(String value) { + this.statusInformationService = value; + } + + /** + * personal data defining the representative + * + * + * @return + * possible object is + * {@link Representative } + * + */ + public Representative getRepresentative() { + return representative; + } + + /** + * Legt den Wert der representative-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Representative } + * + */ + public void setRepresentative(Representative value) { + this.representative = value; + } + + /** + * personal data defining the mandator + * + * + * @return + * possible object is + * {@link Mandator } + * + */ + public Mandator getMandator() { + return mandator; + } + + /** + * Legt den Wert der mandator-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Mandator } + * + */ + public void setMandator(Mandator value) { + this.mandator = value; + } + + /** + * personal data defining the intermediary + * 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; + } + + /** + * the place and the date of issuing the mandate + * + * + * @return + * possible object is + * {@link Issued } + * + */ + public Issued getIssued() { + return issued; + } + + /** + * Legt den Wert der issued-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Issued } + * + */ + public void setIssued(Issued value) { + this.issued = value; + } + + /** + * element contains arbitrary properties of a mandate + * + * + * @return + * possible object is + * {@link PropertiesType } + * + */ + public PropertiesType getProperties() { + return properties; + } + + /** + * Legt den Wert der properties-Eigenschaft fest. + * + * @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; + } + + /** + * Ruft den Wert der signature-Eigenschaft ab. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Legt den Wert der signature-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Ruft den Wert der mandateID-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMandateID() { + return mandateID; + } + + /** + * Legt den Wert der mandateID-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMandateID(String value) { + this.mandateID = value; + } + + /** + * Ruft den Wert der mandateType-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMandateType() { + return mandateType; + } + + /** + * Legt den Wert der mandateType-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMandateType(String value) { + this.mandateType = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/Mandator.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/Mandator.java new file mode 100644 index 0000000..e96d763 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/Mandator.java @@ -0,0 +1,94 @@ + +package at.gv.util.xsd.mis.usp_v2.mandates; + +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.usp_v2.persondata.CorporateBodyType; +import at.gv.util.xsd.mis.usp_v2.persondata.PhysicalPersonType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CorporateBody"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "corporateBody", + "physicalPerson" +}) +@XmlRootElement(name = "Mandator") +public class Mandator { + + @XmlElement(name = "CorporateBody", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#") + protected CorporateBodyType corporateBody; + @XmlElement(name = "PhysicalPerson", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#") + protected PhysicalPersonType physicalPerson; + + /** + * element of corporate body type, derived from Person + * + * @return + * possible object is + * {@link CorporateBodyType } + * + */ + public CorporateBodyType getCorporateBody() { + return corporateBody; + } + + /** + * Legt den Wert der corporateBody-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link CorporateBodyType } + * + */ + public void setCorporateBody(CorporateBodyType value) { + this.corporateBody = value; + } + + /** + * element of physical person type, dreived from Person (abstract) + * + * @return + * possible object is + * {@link PhysicalPersonType } + * + */ + public PhysicalPersonType getPhysicalPerson() { + return physicalPerson; + } + + /** + * Legt den Wert der physicalPerson-Eigenschaft fest. + * + * @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/mis/usp_v2/mandates/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/ObjectFactory.java new file mode 100644 index 0000000..2e83b40 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/ObjectFactory.java @@ -0,0 +1,279 @@ + +package at.gv.util.xsd.mis.usp_v2.mandates; + +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.mis.usp_v2.persondata.PhysicalPersonType; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.mis.usp_v2.mandates 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 _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 _Intermediary_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/20040701#", "Intermediary"); + 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 _SimpleMandateContent_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/20040701#", "SimpleMandateContent"); + 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 _ValidFrom_QNAME = new QName("http://reference.e-government.gv.at/namespace/mandates/20040701#", "ValidFrom"); + 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.mis.usp_v2.mandates + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link SimpleMandateContentType } + * + */ + public SimpleMandateContentType createSimpleMandateContentType() { + return new SimpleMandateContentType(); + } + + /** + * Create an instance of {@link SimpleMandateContentType.References } + * + */ + public SimpleMandateContentType.References createSimpleMandateContentTypeReferences() { + return new SimpleMandateContentType.References(); + } + + /** + * Create an instance of {@link Issued } + * + */ + public Issued createIssued() { + return new Issued(); + } + + /** + * Create an instance of {@link Mandate } + * + */ + public Mandate createMandate() { + return new Mandate(); + } + + /** + * Create an instance of {@link Representative } + * + */ + public Representative createRepresentative() { + return new Representative(); + } + + /** + * Create an instance of {@link Mandator } + * + */ + public Mandator createMandator() { + return new Mandator(); + } + + /** + * 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 SetParameter } + * + */ + public SetParameter createSetParameter() { + return new SetParameter(); + } + + /** + * Create an instance of {@link ParameterisedDescriptionType } + * + */ + public ParameterisedDescriptionType createParameterisedDescriptionType() { + return new ParameterisedDescriptionType(); + } + + /** + * Create an instance of {@link ParameterisedTextType } + * + */ + public ParameterisedTextType createParameterisedTextType() { + return new ParameterisedTextType(); + } + + /** + * 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.TransactionLimit } + * + */ + public SimpleMandateContentType.TransactionLimit createSimpleMandateContentTypeTransactionLimit() { + return new SimpleMandateContentType.TransactionLimit(); + } + + /** + * Create an instance of {@link SimpleMandateContentType.References.MandateID } + * + */ + public SimpleMandateContentType.References.MandateID createSimpleMandateContentTypeReferencesMandateID() { + return new SimpleMandateContentType.References.MandateID(); + } + + /** + * 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 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 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 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 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 = "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 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/mis/usp_v2/mandates/ParameterDefinition.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/ParameterDefinition.java new file mode 100644 index 0000000..7a18e42 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/ParameterDefinition.java @@ -0,0 +1,71 @@ + +package at.gv.util.xsd.mis.usp_v2.mandates; + +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-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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/mis/usp_v2/mandates/ParameterisedDescriptionType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/ParameterisedDescriptionType.java new file mode 100644 index 0000000..f333d90 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/ParameterisedDescriptionType.java @@ -0,0 +1,95 @@ + +package at.gv.util.xsd.mis.usp_v2.mandates; + +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-Klasse für ParameterisedDescriptionType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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" minOccurs="0"/> + * </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") + protected ParameterDefinition parameterDefinition; + + /** + * element contains parameterised text and the + * definition of the annotation + * + * @return + * possible object is + * {@link ParameterisedTextType } + * + */ + public ParameterisedTextType getParameterisedText() { + return parameterisedText; + } + + /** + * Legt den Wert der parameterisedText-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ParameterisedTextType } + * + */ + public void setParameterisedText(ParameterisedTextType value) { + this.parameterisedText = value; + } + + /** + * element contains the definition of parameters used + * + * + * @return + * possible object is + * {@link ParameterDefinition } + * + */ + public ParameterDefinition getParameterDefinition() { + return parameterDefinition; + } + + /** + * Legt den Wert der parameterDefinition-Eigenschaft fest. + * + * @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/mis/usp_v2/mandates/ParameterisedTextType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/ParameterisedTextType.java new file mode 100644 index 0000000..c4c28c4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/ParameterisedTextType.java @@ -0,0 +1,76 @@ + +package at.gv.util.xsd.mis.usp_v2.mandates; + +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-Klasse für ParameterisedTextType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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, required = false) + @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 PasteParameter } + * {@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/mis/usp_v2/mandates/PasteParameter.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/PasteParameter.java new file mode 100644 index 0000000..1a73acd --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/PasteParameter.java @@ -0,0 +1,65 @@ + +package at.gv.util.xsd.mis.usp_v2.mandates; + +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-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der name-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Legt den Wert der name-Eigenschaft fest. + * + * @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/mis/usp_v2/mandates/PropertiesType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/PropertiesType.java new file mode 100644 index 0000000..9b666d0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/PropertiesType.java @@ -0,0 +1,132 @@ + +package at.gv.util.xsd.mis.usp_v2.mandates; + +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 at.gv.util.xsd.mis.usp_v2.addpersondata.AdditionalMandateProperty; +import org.w3c.dom.Element; + + +/** + * complex type for describing arbitrary properties of + * mandates + * + * <p>Java-Klasse für PropertiesType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="PropertiesType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.usp.gv.at/namespace/mandates/20160301#}AdditionalMandateProperty"/> + * <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 = { + "additionalMandateProperty", + "substitutionAllowed", + "any" +}) +public class PropertiesType { + + @XmlElement(name = "AdditionalMandateProperty", namespace = "http://www.usp.gv.at/namespace/mandates/20160301#", required = true) + protected AdditionalMandateProperty additionalMandateProperty; + @XmlElement(name = "SubstitutionAllowed", defaultValue = "false") + protected Boolean substitutionAllowed; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * additional usp specific property for an electronic mandate + * + * @return + * possible object is + * {@link AdditionalMandateProperty } + * + */ + public AdditionalMandateProperty getAdditionalMandateProperty() { + return additionalMandateProperty; + } + + /** + * Legt den Wert der additionalMandateProperty-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link AdditionalMandateProperty } + * + */ + public void setAdditionalMandateProperty(AdditionalMandateProperty value) { + this.additionalMandateProperty = value; + } + + /** + * Ruft den Wert der substitutionAllowed-Eigenschaft ab. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isSubstitutionAllowed() { + return substitutionAllowed; + } + + /** + * Legt den Wert der substitutionAllowed-Eigenschaft fest. + * + * @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/mis/usp_v2/mandates/Representative.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/Representative.java new file mode 100644 index 0000000..31f408c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/Representative.java @@ -0,0 +1,94 @@ + +package at.gv.util.xsd.mis.usp_v2.mandates; + +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.usp_v2.persondata.CorporateBodyType; +import at.gv.util.xsd.mis.usp_v2.persondata.PhysicalPersonType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CorporateBody"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "corporateBody", + "physicalPerson" +}) +@XmlRootElement(name = "Representative") +public class Representative { + + @XmlElement(name = "CorporateBody", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#") + protected CorporateBodyType corporateBody; + @XmlElement(name = "PhysicalPerson", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#") + protected PhysicalPersonType physicalPerson; + + /** + * element of corporate body type, derived from Person + * + * @return + * possible object is + * {@link CorporateBodyType } + * + */ + public CorporateBodyType getCorporateBody() { + return corporateBody; + } + + /** + * Legt den Wert der corporateBody-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link CorporateBodyType } + * + */ + public void setCorporateBody(CorporateBodyType value) { + this.corporateBody = value; + } + + /** + * element of physical person type, dreived from Person (abstract) + * + * @return + * possible object is + * {@link PhysicalPersonType } + * + */ + public PhysicalPersonType getPhysicalPerson() { + return physicalPerson; + } + + /** + * Legt den Wert der physicalPerson-Eigenschaft fest. + * + * @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/mis/usp_v2/mandates/SetParameter.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/SetParameter.java new file mode 100644 index 0000000..ff49bd7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/SetParameter.java @@ -0,0 +1,96 @@ + +package at.gv.util.xsd.mis.usp_v2.mandates; + +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-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der value-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Legt den Wert der value-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Ruft den Wert der name-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Legt den Wert der name-Eigenschaft fest. + * + * @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/mis/usp_v2/mandates/SimpleMandateContentType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/SimpleMandateContentType.java new file mode 100644 index 0000000..8214f3c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/SimpleMandateContentType.java @@ -0,0 +1,631 @@ + +package at.gv.util.xsd.mis.usp_v2.mandates; + +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.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.mis.usp_v2.persondata.CorporateBodyType; +import at.gv.util.xsd.mis.usp_v2.persondata.PhysicalPersonType; + + +/** + * complex type for describing the mandate using some + * textual descriptions + * + * <p>Java-Klasse für SimpleMandateContentType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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#}ParameterisedDescription"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}TextualDescription"/> + * </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> + * <attribute name="ContentIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SimpleMandateContentType", propOrder = { + "parameterisedDescriptionOrTextualDescription", + "references", + "timeConstraint", + "collectiveConstraint", + "transactionLimit", + "anyConstraints" +}) +public class SimpleMandateContentType { + + @XmlElementRefs({ + @XmlElementRef(name = "ParameterisedDescription", namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "TextualDescription", namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", type = JAXBElement.class, required = false) + }) + protected List<JAXBElement<?>> parameterisedDescriptionOrTextualDescription; + @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) + @XmlSchemaType(name = "token") + protected List<String> anyConstraints; + @XmlAttribute(name = "ContentIdentifier") + protected String contentIdentifier; + + /** + * Gets the value of the parameterisedDescriptionOrTextualDescription property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the parameterisedDescriptionOrTextualDescription property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getParameterisedDescriptionOrTextualDescription().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<?>> getParameterisedDescriptionOrTextualDescription() { + if (parameterisedDescriptionOrTextualDescription == null) { + parameterisedDescriptionOrTextualDescription = new ArrayList<JAXBElement<?>>(); + } + return this.parameterisedDescriptionOrTextualDescription; + } + + /** + * Ruft den Wert der references-Eigenschaft ab. + * + * @return + * possible object is + * {@link SimpleMandateContentType.References } + * + */ + public SimpleMandateContentType.References getReferences() { + return references; + } + + /** + * Legt den Wert der references-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link SimpleMandateContentType.References } + * + */ + public void setReferences(SimpleMandateContentType.References value) { + this.references = value; + } + + /** + * Ruft den Wert der timeConstraint-Eigenschaft ab. + * + * @return + * possible object is + * {@link SimpleMandateContentType.TimeConstraint } + * + */ + public SimpleMandateContentType.TimeConstraint getTimeConstraint() { + return timeConstraint; + } + + /** + * Legt den Wert der timeConstraint-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link SimpleMandateContentType.TimeConstraint } + * + */ + public void setTimeConstraint(SimpleMandateContentType.TimeConstraint value) { + this.timeConstraint = value; + } + + /** + * Ruft den Wert der collectiveConstraint-Eigenschaft ab. + * + * @return + * possible object is + * {@link SimpleMandateContentType.CollectiveConstraint } + * + */ + public SimpleMandateContentType.CollectiveConstraint getCollectiveConstraint() { + return collectiveConstraint; + } + + /** + * Legt den Wert der collectiveConstraint-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link SimpleMandateContentType.CollectiveConstraint } + * + */ + public void setCollectiveConstraint(SimpleMandateContentType.CollectiveConstraint value) { + this.collectiveConstraint = value; + } + + /** + * Ruft den Wert der transactionLimit-Eigenschaft ab. + * + * @return + * possible object is + * {@link SimpleMandateContentType.TransactionLimit } + * + */ + public SimpleMandateContentType.TransactionLimit getTransactionLimit() { + return transactionLimit; + } + + /** + * Legt den Wert der transactionLimit-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link SimpleMandateContentType.TransactionLimit } + * + */ + public void setTransactionLimit(SimpleMandateContentType.TransactionLimit value) { + this.transactionLimit = value; + } + + /** + * element contains arbitrary restrictions + * 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; + } + + /** + * Ruft den Wert der contentIdentifier-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getContentIdentifier() { + return contentIdentifier; + } + + /** + * Legt den Wert der contentIdentifier-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setContentIdentifier(String value) { + this.contentIdentifier = value; + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded"> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}AnyConstraints"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CorporateBody"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "anyConstraintsOrCorporateBodyOrPhysicalPerson" + }) + public static class CollectiveConstraint { + + @XmlElementRefs({ + @XmlElementRef(name = "AnyConstraints", namespace = "http://reference.e-government.gv.at/namespace/mandates/20040701#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "PhysicalPerson", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "CorporateBody", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class, required = false) + }) + protected List<JAXBElement<?>> anyConstraintsOrCorporateBodyOrPhysicalPerson; + + /** + * Gets the value of the anyConstraintsOrCorporateBodyOrPhysicalPerson property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the anyConstraintsOrCorporateBodyOrPhysicalPerson property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAnyConstraintsOrCorporateBodyOrPhysicalPerson().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<JAXBElement<?>> getAnyConstraintsOrCorporateBodyOrPhysicalPerson() { + if (anyConstraintsOrCorporateBodyOrPhysicalPerson == null) { + anyConstraintsOrCorporateBodyOrPhysicalPerson = new ArrayList<JAXBElement<?>>(); + } + return this.anyConstraintsOrCorporateBodyOrPhysicalPerson; + } + + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der value-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Legt den Wert der value-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + } + + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}ValidFrom"/> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/20040701#}ValidTo"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "validFrom", + "validTo" + }) + public static class TimeConstraint { + + @XmlElement(name = "ValidFrom", required = true) + @XmlSchemaType(name = "anySimpleType") + protected String validFrom; + @XmlElement(name = "ValidTo", required = true) + @XmlSchemaType(name = "anySimpleType") + protected String validTo; + + /** + * element describes beginning of the validity period + * + * + * @return + * possible object is + * {@link String } + * + */ + public String getValidFrom() { + return validFrom; + } + + /** + * Legt den Wert der validFrom-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValidFrom(String value) { + this.validFrom = value; + } + + /** + * element describes endpoint of the validity period + * + * + * @return + * possible object is + * {@link String } + * + */ + public String getValidTo() { + return validTo; + } + + /** + * Legt den Wert der validTo-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValidTo(String value) { + this.validTo = value; + } + + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der amount-Eigenschaft ab. + * + */ + public float getAmount() { + return amount; + } + + /** + * Legt den Wert der amount-Eigenschaft fest. + * + */ + public void setAmount(float value) { + this.amount = value; + } + + /** + * Ruft den Wert der currency-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCurrency() { + return currency; + } + + /** + * Legt den Wert der currency-Eigenschaft fest. + * + * @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/mis/usp_v2/mandates/package-info.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/package-info.java new file mode 100644 index 0000000..d95b1d6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/mandates/package-info.java @@ -0,0 +1,2 @@ +@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.mis.usp_v2.mandates; diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/AbstractAddressType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/AbstractAddressType.java new file mode 100644 index 0000000..14f98f8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/AbstractAddressType.java @@ -0,0 +1,139 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für AbstractAddressType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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" 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({ + CompactPostalAddressType.class, + InternetAddressType.class, + TelephoneAddressType.class, + PostalAddressType.class, + TypedPostalAddressType.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>(); + + /** + * 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; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @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/mis/usp_v2/persondata/AbstractPersonType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/AbstractPersonType.java new file mode 100644 index 0000000..c1b2c8a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/AbstractPersonType.java @@ -0,0 +1,183 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für AbstractPersonType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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#}AbstractSimpleIdentification" maxOccurs="unbounded" 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 = { + "abstractSimpleIdentification", + "identification" +}) +@XmlSeeAlso({ + PhysicalPersonType.class, + CorporateBodyType.class, + CompactCorporateBodyType.class, + CompactPhysicalPersonType.class, + PersonDataType.class, + CompactPersonDataType.class +}) +public class AbstractPersonType { + + @XmlElementRef(name = "AbstractSimpleIdentification", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class, required = false) + protected List<JAXBElement<String>> abstractSimpleIdentification; + @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>(); + + /** + * possibility to include common austrian primary keys in human readable way, english translation not available 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 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 >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + * + */ + public List<JAXBElement<String>> getAbstractSimpleIdentification() { + if (abstractSimpleIdentification == null) { + abstractSimpleIdentification = new ArrayList<JAXBElement<String>>(); + } + return this.abstractSimpleIdentification; + } + + /** + * 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; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @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/mis/usp_v2/persondata/AlternativeName.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/AlternativeName.java new file mode 100644 index 0000000..faa9c13 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/AlternativeName.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der type-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Legt den Wert der type-Eigenschaft fest. + * + * @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_v2/persondata/BankConnectionType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/BankConnectionType.java new file mode 100644 index 0000000..f1b0ee3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/BankConnectionType.java @@ -0,0 +1,339 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für BankConnectionType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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="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> + * <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> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BankConnectionType", propOrder = { + "holder", + "bankName", + "internationalBankConnection", + "nationalBankConnection" +}) +public class BankConnectionType { + + @XmlElement(name = "Holder", required = true) + protected String holder; + @XmlElement(name = "BankName", required = true) + protected String bankName; + @XmlElement(name = "InternationalBankConnection") + protected BankConnectionType.InternationalBankConnection internationalBankConnection; + @XmlElement(name = "NationalBankConnection") + protected BankConnectionType.NationalBankConnection nationalBankConnection; + + /** + * Ruft den Wert der holder-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHolder() { + return holder; + } + + /** + * Legt den Wert der holder-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHolder(String value) { + this.holder = value; + } + + /** + * Ruft den Wert der bankName-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBankName() { + return bankName; + } + + /** + * Legt den Wert der bankName-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBankName(String value) { + this.bankName = value; + } + + /** + * Ruft den Wert der internationalBankConnection-Eigenschaft ab. + * + * @return + * possible object is + * {@link BankConnectionType.InternationalBankConnection } + * + */ + public BankConnectionType.InternationalBankConnection getInternationalBankConnection() { + return internationalBankConnection; + } + + /** + * Legt den Wert der internationalBankConnection-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link BankConnectionType.InternationalBankConnection } + * + */ + public void setInternationalBankConnection(BankConnectionType.InternationalBankConnection value) { + this.internationalBankConnection = value; + } + + /** + * Ruft den Wert der nationalBankConnection-Eigenschaft ab. + * + * @return + * possible object is + * {@link BankConnectionType.NationalBankConnection } + * + */ + public BankConnectionType.NationalBankConnection getNationalBankConnection() { + return nationalBankConnection; + } + + /** + * Legt den Wert der nationalBankConnection-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link BankConnectionType.NationalBankConnection } + * + */ + public void setNationalBankConnection(BankConnectionType.NationalBankConnection value) { + this.nationalBankConnection = value; + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der iban-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIBAN() { + return iban; + } + + /** + * Legt den Wert der iban-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIBAN(String value) { + this.iban = value; + } + + /** + * Ruft den Wert der bic-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBIC() { + return bic; + } + + /** + * Legt den Wert der bic-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBIC(String value) { + this.bic = value; + } + + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der accountNumber-Eigenschaft ab. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getAccountNumber() { + return accountNumber; + } + + /** + * Legt den Wert der accountNumber-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setAccountNumber(BigInteger value) { + this.accountNumber = value; + } + + /** + * Ruft den Wert der bankCode-Eigenschaft ab. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getBankCode() { + return bankCode; + } + + /** + * Legt den Wert der bankCode-Eigenschaft fest. + * + * @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/mis/usp_v2/persondata/CompactCorporateBodyType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CompactCorporateBodyType.java new file mode 100644 index 0000000..91d4790 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CompactCorporateBodyType.java @@ -0,0 +1,203 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für CompactCorporateBodyType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + } + + /** + * Ruft den Wert der fullName-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFullName() { + return fullName; + } + + /** + * Legt den Wert der fullName-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFullName(String value) { + this.fullName = value; + } + + /** + * Ruft den Wert der legalForm-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLegalForm() { + return legalForm; + } + + /** + * Legt den Wert der legalForm-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLegalForm(String value) { + this.legalForm = value; + } + + /** + * Ruft den Wert der organization-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrganization() { + return organization; + } + + /** + * Legt den Wert der organization-Eigenschaft fest. + * + * @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/mis/usp_v2/persondata/CompactPersonData.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CompactPersonData.java new file mode 100644 index 0000000..bd331fa --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CompactPersonData.java @@ -0,0 +1,140 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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#}CompactCorporateBody"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CompactPhysicalPerson"/> + * </choice> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CompactPostalAddress"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}InternetAddress"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}TelephoneAddress"/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "compactCorporateBody", + "compactPhysicalPerson", + "compactPostalAddressOrInternetAddressOrTelephoneAddress" +}) +@XmlRootElement(name = "CompactPersonData") +public class CompactPersonData { + + @XmlElement(name = "CompactCorporateBody") + protected CompactCorporateBodyType compactCorporateBody; + @XmlElement(name = "CompactPhysicalPerson") + protected CompactPhysicalPersonType compactPhysicalPerson; + @XmlElements({ + @XmlElement(name = "CompactPostalAddress", type = CompactPostalAddressType.class), + @XmlElement(name = "InternetAddress", type = InternetAddressType.class), + @XmlElement(name = "TelephoneAddress", type = TelephoneAddressType.class) + }) + protected List<AbstractAddressType> compactPostalAddressOrInternetAddressOrTelephoneAddress; + + /** + * element of corporate body type, derived from Person + * + * @return + * possible object is + * {@link CompactCorporateBodyType } + * + */ + public CompactCorporateBodyType getCompactCorporateBody() { + return compactCorporateBody; + } + + /** + * Legt den Wert der compactCorporateBody-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link CompactCorporateBodyType } + * + */ + public void setCompactCorporateBody(CompactCorporateBodyType value) { + this.compactCorporateBody = value; + } + + /** + * element of physical person type, dreived from Person (abstract) + * + * @return + * possible object is + * {@link CompactPhysicalPersonType } + * + */ + public CompactPhysicalPersonType getCompactPhysicalPerson() { + return compactPhysicalPerson; + } + + /** + * Legt den Wert der compactPhysicalPerson-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link CompactPhysicalPersonType } + * + */ + public void setCompactPhysicalPerson(CompactPhysicalPersonType value) { + this.compactPhysicalPerson = value; + } + + /** + * Gets the value of the compactPostalAddressOrInternetAddressOrTelephoneAddress property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the compactPostalAddressOrInternetAddressOrTelephoneAddress property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getCompactPostalAddressOrInternetAddressOrTelephoneAddress().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link CompactPostalAddressType } + * {@link InternetAddressType } + * {@link TelephoneAddressType } + * + * + */ + public List<AbstractAddressType> getCompactPostalAddressOrInternetAddressOrTelephoneAddress() { + if (compactPostalAddressOrInternetAddressOrTelephoneAddress == null) { + compactPostalAddressOrInternetAddressOrTelephoneAddress = new ArrayList<AbstractAddressType>(); + } + return this.compactPostalAddressOrInternetAddressOrTelephoneAddress; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CompactPersonDataType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CompactPersonDataType.java new file mode 100644 index 0000000..788e738 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CompactPersonDataType.java @@ -0,0 +1,255 @@ + +package at.gv.util.xsd.mis.usp_v2.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.mis.usp_v2.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-Klasse für CompactPersonDataType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * element of person type, essential abstract, subsitute PhysicalPerson or CorporateBody instead or use with xsi:type="..." + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactCorporateBodyType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactPhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * + */ + public JAXBElement<? extends AbstractPersonType> getPerson() { + return person; + } + + /** + * Legt den Wert der person-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactCorporateBodyType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactPhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * + */ + public void setPerson(JAXBElement<? extends AbstractPersonType> value) { + this.person = value; + } + + /** + * element of address type, essentially abstract. Use InternetAddress, TelephoneAddress, PostalAddress, TypedPostalAddress instead, or use Address with xsi:type Attribute 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 CompactPostalAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link PostalAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link TelephoneAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link InternetAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link TypedPostalAddressType }{@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; + } + + /** + * Ruft den Wert der additionalData-Eigenschaft ab. + * + * @return + * possible object is + * {@link CompactPersonDataType.AdditionalData } + * + */ + public CompactPersonDataType.AdditionalData getAdditionalData() { + return additionalData; + } + + /** + * Legt den Wert der additionalData-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link CompactPersonDataType.AdditionalData } + * + */ + public void setAdditionalData(CompactPersonDataType.AdditionalData value) { + this.additionalData = value; + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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 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/mis/usp_v2/persondata/CompactPersonNameType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CompactPersonNameType.java new file mode 100644 index 0000000..cb88977 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CompactPersonNameType.java @@ -0,0 +1,429 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für CompactPersonNameType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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="prefix" type="{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> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Affix" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * <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> + * </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-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * <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> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Affix { + + @XmlValue + protected String value; + @XmlAttribute(name = "position") + protected String position; + @XmlAttribute(name = "type") + protected String type; + + /** + * Ruft den Wert der value-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Legt den Wert der value-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Ruft den Wert der position-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPosition() { + return position; + } + + /** + * Legt den Wert der position-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPosition(String value) { + this.position = value; + } + + /** + * Ruft den Wert der type-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Legt den Wert der type-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="prefix" type="{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> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class FamilyName { + + @XmlValue + protected String value; + @XmlAttribute(name = "prefix") + protected String prefix; + @XmlAttribute(name = "primary") + protected String primary; + + /** + * Ruft den Wert der value-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Legt den Wert der value-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Ruft den Wert der prefix-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrefix() { + return prefix; + } + + /** + * Legt den Wert der prefix-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrefix(String value) { + this.prefix = value; + } + + /** + * Ruft den Wert der primary-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrimary() { + if (primary == null) { + return "undefined"; + } else { + return primary; + } + } + + /** + * Legt den Wert der primary-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrimary(String value) { + this.primary = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CompactPhysicalPersonType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CompactPhysicalPersonType.java new file mode 100644 index 0000000..23fa08a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CompactPhysicalPersonType.java @@ -0,0 +1,258 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für CompactPhysicalPersonType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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") + @XmlSchemaType(name = "token") + protected MaritalStatusType maritalStatus; + @XmlElement(name = "Sex") + @XmlSchemaType(name = "token") + protected SexType sex; + @XmlElement(name = "DateOfBirth") + @XmlSchemaType(name = "anySimpleType") + 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; + + /** + * data related to the person's name + * + * @return + * possible object is + * {@link CompactPersonNameType } + * + */ + public CompactPersonNameType getCompactName() { + return compactName; + } + + /** + * Legt den Wert der compactName-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link CompactPersonNameType } + * + */ + public void setCompactName(CompactPersonNameType value) { + this.compactName = value; + } + + /** + * status of a person in the cycle of life, compare Familienstand + * + * @return + * possible object is + * {@link MaritalStatusType } + * + */ + public MaritalStatusType getMaritalStatus() { + return maritalStatus; + } + + /** + * Legt den Wert der maritalStatus-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link MaritalStatusType } + * + */ + public void setMaritalStatus(MaritalStatusType value) { + this.maritalStatus = value; + } + + /** + * gender, comapre Geschlecht + * + * @return + * possible object is + * {@link SexType } + * + */ + public SexType getSex() { + return sex; + } + + /** + * Legt den Wert der sex-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link SexType } + * + */ + public void setSex(SexType value) { + this.sex = value; + } + + /** + * date of birth, compare Geburtsdatum + * + * @return + * possible object is + * {@link String } + * + */ + public String getDateOfBirth() { + return dateOfBirth; + } + + /** + * Legt den Wert der dateOfBirth-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDateOfBirth(String value) { + this.dateOfBirth = value; + } + + /** + * place of birth, compare Geburtsort + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlaceOfBirth() { + return placeOfBirth; + } + + /** + * Legt den Wert der placeOfBirth-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlaceOfBirth(String value) { + this.placeOfBirth = value; + } + + /** + * nationality of Person, compare Staatsangehoerigkeit. attention! New Fomrat is complex, string value accepted for compatibility only 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/mis/usp_v2/persondata/CompactPostalAddressType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CompactPostalAddressType.java new file mode 100644 index 0000000..56b1cba --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CompactPostalAddressType.java @@ -0,0 +1,378 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für CompactPostalAddressType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der countryCode-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryCode() { + return countryCode; + } + + /** + * Legt den Wert der countryCode-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryCode(String value) { + this.countryCode = value; + } + + /** + * Ruft den Wert der countryName-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryName() { + return countryName; + } + + /** + * Legt den Wert der countryName-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryName(String value) { + this.countryName = value; + } + + /** + * Ruft den Wert der postalCode-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostalCode() { + return postalCode; + } + + /** + * Legt den Wert der postalCode-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostalCode(String value) { + this.postalCode = value; + } + + /** + * Ruft den Wert der municipality-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMunicipality() { + return municipality; + } + + /** + * Legt den Wert der municipality-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMunicipality(String value) { + this.municipality = value; + } + + /** + * Ruft den Wert der deliveryAddress-Eigenschaft ab. + * + * @return + * possible object is + * {@link CompactPostalAddressType.DeliveryAddress } + * + */ + public CompactPostalAddressType.DeliveryAddress getDeliveryAddress() { + return deliveryAddress; + } + + /** + * Legt den Wert der deliveryAddress-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link CompactPostalAddressType.DeliveryAddress } + * + */ + public void setDeliveryAddress(CompactPostalAddressType.DeliveryAddress value) { + this.deliveryAddress = value; + } + + /** + * Ruft den Wert der type-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "undefined"; + } else { + return type; + } + } + + /** + * Legt den Wert der type-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der streetName-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStreetName() { + return streetName; + } + + /** + * Legt den Wert der streetName-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStreetName(String value) { + this.streetName = value; + } + + /** + * Ruft den Wert der buildingNumber-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBuildingNumber() { + return buildingNumber; + } + + /** + * Legt den Wert der buildingNumber-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBuildingNumber(String value) { + this.buildingNumber = value; + } + + /** + * Ruft den Wert der unit-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUnit() { + return unit; + } + + /** + * Legt den Wert der unit-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUnit(String value) { + this.unit = value; + } + + /** + * Ruft den Wert der doorNumber-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDoorNumber() { + return doorNumber; + } + + /** + * Legt den Wert der doorNumber-Eigenschaft fest. + * + * @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/mis/usp_v2/persondata/CorporateBodyType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CorporateBodyType.java new file mode 100644 index 0000000..3c0b8a0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/CorporateBodyType.java @@ -0,0 +1,271 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für CorporateBodyType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + } + + /** + * Ruft den Wert der fullName-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFullName() { + return fullName; + } + + /** + * Legt den Wert der fullName-Eigenschaft fest. + * + * @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; + } + + /** + * Ruft den Wert der legalForm-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLegalForm() { + return legalForm; + } + + /** + * Legt den Wert der legalForm-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLegalForm(String value) { + this.legalForm = value; + } + + /** + * Ruft den Wert der organization-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrganization() { + return organization; + } + + /** + * Legt den Wert der organization-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrganization(String value) { + this.organization = value; + } + + /** + * National or international bank connection, compare Bankverbindung 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/mis/usp_v2/persondata/DefinedAlternativeNameTypeType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/DefinedAlternativeNameTypeType.java new file mode 100644 index 0000000..c3f0d25 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/DefinedAlternativeNameTypeType.java @@ -0,0 +1,60 @@ + +package at.gv.util.xsd.mis.usp_v2.persondata; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für DefinedAlternativeNameTypeType. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * <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/mis/usp_v2/persondata/DefinedRelationType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/DefinedRelationType.java new file mode 100644 index 0000000..0438cf7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/DefinedRelationType.java @@ -0,0 +1,72 @@ + +package at.gv.util.xsd.mis.usp_v2.persondata; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für DefinedRelationType. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * <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/mis/usp_v2/persondata/FederalStateType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/FederalStateType.java new file mode 100644 index 0000000..d2caa69 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/FederalStateType.java @@ -0,0 +1,72 @@ + +package at.gv.util.xsd.mis.usp_v2.persondata; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für FederalStateType. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * <p> + * <pre> + * <simpleType name="FederalStateType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="Wien"/> + * <enumeration value="Niederösterreich"/> + * <enumeration value="Burgenland"/> + * <enumeration value="Oberösterreich"/> + * <enumeration value="Steiermark"/> + * <enumeration value="Salzburg"/> + * <enumeration value="Kärnten"/> + * <enumeration value="Tirol"/> + * <enumeration value="Vorarlberg"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "FederalStateType") +@XmlEnum +public enum FederalStateType { + + @XmlEnumValue("Wien") + WIEN("Wien"), + @XmlEnumValue("Nieder\u00f6sterreich") + NIEDERÖSTERREICH("Nieder\u00f6sterreich"), + @XmlEnumValue("Burgenland") + BURGENLAND("Burgenland"), + @XmlEnumValue("Ober\u00f6sterreich") + OBERÖSTERREICH("Ober\u00f6sterreich"), + @XmlEnumValue("Steiermark") + STEIERMARK("Steiermark"), + @XmlEnumValue("Salzburg") + SALZBURG("Salzburg"), + @XmlEnumValue("K\u00e4rnten") + KÄRNTEN("K\u00e4rnten"), + @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/mis/usp_v2/persondata/IdentificationType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/IdentificationType.java new file mode 100644 index 0000000..a485e83 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/IdentificationType.java @@ -0,0 +1,311 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für IdentificationType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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>(); + + /** + * Ruft den Wert der value-Eigenschaft ab. + * + * @return + * possible object is + * {@link IdentificationType.Value } + * + */ + public IdentificationType.Value getValue() { + return value; + } + + /** + * Legt den Wert der value-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link IdentificationType.Value } + * + */ + public void setValue(IdentificationType.Value value) { + this.value = value; + } + + /** + * Ruft den Wert der type-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Legt den Wert der type-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Ruft den Wert der authority-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAuthority() { + return authority; + } + + /** + * Legt den Wert der authority-Eigenschaft fest. + * + * @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; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @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-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der value-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Legt den Wert der value-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @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/mis/usp_v2/persondata/InternetAddressType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/InternetAddressType.java new file mode 100644 index 0000000..94662ff --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/InternetAddressType.java @@ -0,0 +1,136 @@ + +package at.gv.util.xsd.mis.usp_v2.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.mis.usp_v2.xmldsig.KeyInfoType; +import org.w3c.dom.Element; + + +/** + * e.g. e-mail, webiste, compare InternetAdresseTyp + * + * <p>Java-Klasse für InternetAddressType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + } + + /** + * Legt den Wert der keyInfo-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Ruft den Wert der address-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAddress() { + return address; + } + + /** + * Legt den Wert der address-Eigenschaft fest. + * + * @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/mis/usp_v2/persondata/MaritalStatusType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/MaritalStatusType.java new file mode 100644 index 0000000..606ae24 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/MaritalStatusType.java @@ -0,0 +1,57 @@ + +package at.gv.util.xsd.mis.usp_v2.persondata; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für MaritalStatusType. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * <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/mis/usp_v2/persondata/MobileTelcomNumberType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/MobileTelcomNumberType.java new file mode 100644 index 0000000..0e8bac7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/MobileTelcomNumberType.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für MobileTelcomNumberType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der smsEnabled-Eigenschaft ab. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isSmsEnabled() { + return smsEnabled; + } + + /** + * Legt den Wert der smsEnabled-Eigenschaft fest. + * + * @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/mis/usp_v2/persondata/NationalityType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/NationalityType.java new file mode 100644 index 0000000..0a5e13e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/NationalityType.java @@ -0,0 +1,99 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für NationalityType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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 = "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), + @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) + }) + @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 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 >} + * {@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/mis/usp_v2/persondata/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/ObjectFactory.java new file mode 100644 index 0000000..d295d5f --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/ObjectFactory.java @@ -0,0 +1,837 @@ + +package at.gv.util.xsd.mis.usp_v2.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.mis.usp_v2.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 _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 _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 _AbstractSimpleIdentification_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "AbstractSimpleIdentification"); + private final static QName _Address_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Address"); + private final static QName _AreaCityCode_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "AreaCityCode"); + private final static QName _BankConnection_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "BankConnection"); + private final static QName _CompactCorporateBody_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CompactCorporateBody"); + private final static QName _CompactName_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CompactName"); + private final static QName _CompactPhysicalPerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CompactPhysicalPerson"); + private final static QName _CompactPostalAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CompactPostalAddress"); + private final static QName _InternetAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "InternetAddress"); + private final static QName _TelephoneAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "TelephoneAddress"); + private final static QName _Confession_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Confession"); + private final static QName _CountryOfBirth_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CountryOfBirth"); + private final static QName _DateOfBirth_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "DateOfBirth"); + private final static QName _DateOfDeath_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "DateOfDeath"); + private final static QName _Ergaenzungsregisterzahl_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Ergaenzungsregisterzahl"); + private final static QName _Extension_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Extension"); + private final static QName _Fax_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Fax"); + private final static QName _Firmenbuchnummer_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Firmenbuchnummer"); + private final static QName _FormattedNumber_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "FormattedNumber"); + private final static QName _InternationalCountryCode_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "InternationalCountryCode"); + private final static QName _MaritalStatus_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "MaritalStatus"); + 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 _Name_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Name"); + private final static QName _NationalNumber_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "NationalNumber"); + 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 _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 _PlaceOfBirth_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PlaceOfBirth"); + private final static QName _PostalAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PostalAddress"); + private final static QName _Sex_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Sex"); + private final static QName _Sozialversicherungsnummer_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Sozialversicherungsnummer"); + private final static QName _Stammzahl_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Stammzahl"); + private final static QName _StateOfBirth_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "StateOfBirth"); + private final static QName _Steuernummer_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Steuernummer"); + private final static QName _SubscriberNumber_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "SubscriberNumber"); + private final static QName _TTYTDD_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "TTYTDD"); + private final static QName _Telephone_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Telephone"); + private final static QName _TypedPostalAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "TypedPostalAddress"); + private final static QName _Vereinsnummer_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Vereinsnummer"); + private final static QName _ZMRzahl_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "ZMRzahl"); + private final static QName _NationalityTypeISOCode3_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "ISOCode3"); + private final static QName _NationalityTypeCountryNameDE_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CountryNameDE"); + private final static QName _NationalityTypeCountryNameEN_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CountryNameEN"); + private final static QName _NationalityTypeCountryNameFR_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CountryNameFR"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mis.usp_v2.persondata + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link PersonNameType } + * + */ + public PersonNameType createPersonNameType() { + return new PersonNameType(); + } + + /** + * Create an instance of {@link IdentificationType } + * + */ + public IdentificationType createIdentificationType() { + return new IdentificationType(); + } + + /** + * Create an instance of {@link CompactPersonDataType } + * + */ + public CompactPersonDataType createCompactPersonDataType() { + return new CompactPersonDataType(); + } + + /** + * 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 PersonDataType } + * + */ + public PersonDataType createPersonDataType() { + return new PersonDataType(); + } + + /** + * 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 BankConnectionType } + * + */ + public BankConnectionType createBankConnectionType() { + return new BankConnectionType(); + } + + /** + * 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 AbstractPersonType } + * + */ + public AbstractPersonType createAbstractPersonType() { + return new AbstractPersonType(); + } + + /** + * Create an instance of {@link AbstractAddressType } + * + */ + public AbstractAddressType createAbstractAddressType() { + return new AbstractAddressType(); + } + + /** + * 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 CompactCorporateBodyType } + * + */ + public CompactCorporateBodyType createCompactCorporateBodyType() { + return new CompactCorporateBodyType(); + } + + /** + * 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 InternetAddressType } + * + */ + public InternetAddressType createInternetAddressType() { + return new InternetAddressType(); + } + + /** + * Create an instance of {@link TelephoneAddressType } + * + */ + public TelephoneAddressType createTelephoneAddressType() { + return new TelephoneAddressType(); + } + + /** + * Create an instance of {@link TelcomNumberType } + * + */ + public TelcomNumberType createTelcomNumberType() { + return new TelcomNumberType(); + } + + /** + * Create an instance of {@link MobileTelcomNumberType } + * + */ + public MobileTelcomNumberType createMobileTelcomNumberType() { + return new MobileTelcomNumberType(); + } + + /** + * Create an instance of {@link NationalityType } + * + */ + public NationalityType createNationalityType() { + return new NationalityType(); + } + + /** + * Create an instance of {@link TypedPostalAddressType } + * + */ + public TypedPostalAddressType createTypedPostalAddressType() { + return new TypedPostalAddressType(); + } + + /** + * Create an instance of {@link RelatedPerson } + * + */ + public RelatedPerson createRelatedPerson() { + return new RelatedPerson(); + } + + /** + * Create an instance of {@link IdentificationType.Value } + * + */ + public IdentificationType.Value createIdentificationTypeValue() { + return new IdentificationType.Value(); + } + + /** + * Create an instance of {@link CompactPersonDataType.AdditionalData } + * + */ + public CompactPersonDataType.AdditionalData createCompactPersonDataTypeAdditionalData() { + return new CompactPersonDataType.AdditionalData(); + } + + /** + * 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 PersonDataType.AdditionalData } + * + */ + public PersonDataType.AdditionalData createPersonDataTypeAdditionalData() { + return new PersonDataType.AdditionalData(); + } + + /** + * 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 BankConnectionType.InternationalBankConnection } + * + */ + public BankConnectionType.InternationalBankConnection createBankConnectionTypeInternationalBankConnection() { + return new BankConnectionType.InternationalBankConnection(); + } + + /** + * Create an instance of {@link BankConnectionType.NationalBankConnection } + * + */ + public BankConnectionType.NationalBankConnection createBankConnectionTypeNationalBankConnection() { + return new BankConnectionType.NationalBankConnection(); + } + + /** + * 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 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 String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", 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 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 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 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 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 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 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 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 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 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 = "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 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 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 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 = "Ergaenzungsregisterzahl", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<String> createErgaenzungsregisterzahl(String value) { + return new JAXBElement<String>(_Ergaenzungsregisterzahl_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 = "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 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 String }{@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<String> createFirmenbuchnummer(String value) { + return new JAXBElement<String>(_Firmenbuchnummer_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 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 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 String }{@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<String> createMatrikelnummer(String value) { + return new JAXBElement<String>(_Matrikelnummer_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 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 = "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 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 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", 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 = "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 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 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 = "Sozialversicherungsnummer", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<String> createSozialversicherungsnummer(String value) { + return new JAXBElement<String>(_Sozialversicherungsnummer_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 = "Stammzahl", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<String> createStammzahl(String value) { + return new JAXBElement<String>(_Stammzahl_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 = "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 String }{@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<String> createSteuernummer(String value) { + return new JAXBElement<String>(_Steuernummer_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 = "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 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 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 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 String }{@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<String> createVereinsnummer(String value) { + return new JAXBElement<String>(_Vereinsnummer_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 = "ZMRzahl", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "AbstractSimpleIdentification") + public JAXBElement<String> createZMRzahl(String value) { + return new JAXBElement<String>(_ZMRzahl_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 = "ISOCode3", scope = NationalityType.class) + public JAXBElement<String> createNationalityTypeISOCode3(String value) { + return new JAXBElement<String>(_NationalityTypeISOCode3_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 = "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 = "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 = "CountryNameFR", scope = NationalityType.class) + public JAXBElement<String> createNationalityTypeCountryNameFR(String value) { + return new JAXBElement<String>(_NationalityTypeCountryNameFR_QNAME, String.class, NationalityType.class, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/PersonDataType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/PersonDataType.java new file mode 100644 index 0000000..1c81b4d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/PersonDataType.java @@ -0,0 +1,255 @@ + +package at.gv.util.xsd.mis.usp_v2.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.mis.usp_v2.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-Klasse für PersonDataType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * element of person type, essential abstract, subsitute PhysicalPerson or CorporateBody instead or use with xsi:type="..." + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactCorporateBodyType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactPhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * + */ + public JAXBElement<? extends AbstractPersonType> getPerson() { + return person; + } + + /** + * Legt den Wert der person-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactCorporateBodyType }{@code >} + * {@link JAXBElement }{@code <}{@link CompactPhysicalPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} + * {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} + * + */ + public void setPerson(JAXBElement<? extends AbstractPersonType> value) { + this.person = value; + } + + /** + * element of address type, essentially abstract. Use InternetAddress, TelephoneAddress, PostalAddress, TypedPostalAddress instead, or use Address with xsi:type Attribute 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 CompactPostalAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link PostalAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link TelephoneAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link InternetAddressType }{@code >} + * {@link JAXBElement }{@code <}{@link TypedPostalAddressType }{@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; + } + + /** + * Ruft den Wert der additionalData-Eigenschaft ab. + * + * @return + * possible object is + * {@link PersonDataType.AdditionalData } + * + */ + public PersonDataType.AdditionalData getAdditionalData() { + return additionalData; + } + + /** + * Legt den Wert der additionalData-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link PersonDataType.AdditionalData } + * + */ + public void setAdditionalData(PersonDataType.AdditionalData value) { + this.additionalData = value; + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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 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/mis/usp_v2/persondata/PersonNameType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/PersonNameType.java new file mode 100644 index 0000000..b2f5cdf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/PersonNameType.java @@ -0,0 +1,657 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für PersonNameType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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="prefix" type="{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> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * <element name="Affix" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * <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> + * </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; + } + + /** + * Ruft den Wert der legalName-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLegalName() { + return legalName; + } + + /** + * Legt den Wert der legalName-Eigenschaft fest. + * + * @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; + } + + /** + * Ruft den Wert der preferredGivenName-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPreferredGivenName() { + return preferredGivenName; + } + + /** + * Legt den Wert der preferredGivenName-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPreferredGivenName(String value) { + this.preferredGivenName = value; + } + + /** + * Ruft den Wert der middleName-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMiddleName() { + return middleName; + } + + /** + * Legt den Wert der middleName-Eigenschaft fest. + * + * @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-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="position"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="prefix"/> + * <enumeration value="suffix"/> + * </restriction> + * </simpleType> + * </attribute> + * <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> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Affix { + + @XmlValue + protected String value; + @XmlAttribute(name = "position") + protected String position; + @XmlAttribute(name = "type") + protected String type; + + /** + * Ruft den Wert der value-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Legt den Wert der value-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Ruft den Wert der position-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPosition() { + return position; + } + + /** + * Legt den Wert der position-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPosition(String value) { + this.position = value; + } + + /** + * Ruft den Wert der type-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Legt den Wert der type-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="prefix" type="{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> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class FamilyName { + + @XmlValue + protected String value; + @XmlAttribute(name = "prefix") + protected String prefix; + @XmlAttribute(name = "primary") + protected String primary; + + /** + * Ruft den Wert der value-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Legt den Wert der value-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Ruft den Wert der prefix-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrefix() { + return prefix; + } + + /** + * Legt den Wert der prefix-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrefix(String value) { + this.prefix = value; + } + + /** + * Ruft den Wert der primary-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrimary() { + if (primary == null) { + return "undefined"; + } else { + return primary; + } + } + + /** + * Legt den Wert der primary-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrimary(String value) { + this.primary = value; + } + + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der value-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Legt den Wert der value-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Ruft den Wert der type-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "presentation"; + } else { + return type; + } + } + + /** + * Legt den Wert der type-Eigenschaft fest. + * + * @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_v2/persondata/PhysicalPersonType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/PhysicalPersonType.java new file mode 100644 index 0000000..e199dfb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/PhysicalPersonType.java @@ -0,0 +1,503 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für PhysicalPersonType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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") + @XmlSchemaType(name = "token") + protected MaritalStatusType maritalStatus; + @XmlElement(name = "Sex") + @XmlSchemaType(name = "token") + protected SexType sex; + @XmlElement(name = "DateOfBirth") + @XmlSchemaType(name = "anySimpleType") + 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") + @XmlSchemaType(name = "anySimpleType") + 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; + + /** + * data related to the person's name + * + * @return + * possible object is + * {@link PersonNameType } + * + */ + public PersonNameType getName() { + return name; + } + + /** + * Legt den Wert der name-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link PersonNameType } + * + */ + public void setName(PersonNameType value) { + this.name = value; + } + + /** + * Former name, Artist name, changes of Given name ..., compare AlternativName 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; + } + + /** + * status of a person in the cycle of life, compare Familienstand + * + * @return + * possible object is + * {@link MaritalStatusType } + * + */ + public MaritalStatusType getMaritalStatus() { + return maritalStatus; + } + + /** + * Legt den Wert der maritalStatus-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link MaritalStatusType } + * + */ + public void setMaritalStatus(MaritalStatusType value) { + this.maritalStatus = value; + } + + /** + * gender, comapre Geschlecht + * + * @return + * possible object is + * {@link SexType } + * + */ + public SexType getSex() { + return sex; + } + + /** + * Legt den Wert der sex-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link SexType } + * + */ + public void setSex(SexType value) { + this.sex = value; + } + + /** + * date of birth, compare Geburtsdatum + * + * @return + * possible object is + * {@link String } + * + */ + public String getDateOfBirth() { + return dateOfBirth; + } + + /** + * Legt den Wert der dateOfBirth-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDateOfBirth(String value) { + this.dateOfBirth = value; + } + + /** + * place of birth, compare Geburtsort + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlaceOfBirth() { + return placeOfBirth; + } + + /** + * Legt den Wert der placeOfBirth-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlaceOfBirth(String value) { + this.placeOfBirth = value; + } + + /** + * state of birth, comapre Geburtsbundesland + * + * @return + * possible object is + * {@link String } + * + */ + public String getStateOfBirth() { + return stateOfBirth; + } + + /** + * Legt den Wert der stateOfBirth-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStateOfBirth(String value) { + this.stateOfBirth = value; + } + + /** + * country of birth, compare Geburtsland + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryOfBirth() { + return countryOfBirth; + } + + /** + * Legt den Wert der countryOfBirth-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryOfBirth(String value) { + this.countryOfBirth = value; + } + + /** + * date of death, compare Sterbedatum + * + * @return + * possible object is + * {@link String } + * + */ + public String getDateOfDeath() { + return dateOfDeath; + } + + /** + * Legt den Wert der dateOfDeath-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDateOfDeath(String value) { + this.dateOfDeath = value; + } + + /** + * nationality of Person, compare Staatsangehoerigkeit. attention! New Fomrat is complex, string value accepted for compatibility only 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; + } + + /** + * confession (religion) of Person - xs:token? gibt es wirklich keine Staaten mit Leerzeichen im Namen? + * + * @return + * possible object is + * {@link String } + * + */ + public String getConfession() { + return confession; + } + + /** + * Legt den Wert der confession-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setConfession(String value) { + this.confession = value; + } + + /** + * occupation, compare Beruf + * + * @return + * possible object is + * {@link String } + * + */ + public String getOccupation() { + return occupation; + } + + /** + * Legt den Wert der occupation-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOccupation(String value) { + this.occupation = value; + } + + /** + * relatives (parents, ...), compare Verwandter 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; + } + + /** + * National or international bank connection, compare Bankverbindung 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/mis/usp_v2/persondata/PostalAddressType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/PostalAddressType.java new file mode 100644 index 0000000..2d5bed4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/PostalAddressType.java @@ -0,0 +1,1029 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für PostalAddressType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der countryCode-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryCode() { + return countryCode; + } + + /** + * Legt den Wert der countryCode-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryCode(String value) { + this.countryCode = value; + } + + /** + * Ruft den Wert der countryName-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountryName() { + return countryName; + } + + /** + * Legt den Wert der countryName-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountryName(String value) { + this.countryName = value; + } + + /** + * Ruft den Wert der postalCode-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostalCode() { + return postalCode; + } + + /** + * Legt den Wert der postalCode-Eigenschaft fest. + * + * @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; + } + + /** + * Ruft den Wert der state-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getState() { + return state; + } + + /** + * Legt den Wert der state-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setState(String value) { + this.state = value; + } + + /** + * Ruft den Wert der municipality-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMunicipality() { + return municipality; + } + + /** + * Legt den Wert der municipality-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMunicipality(String value) { + this.municipality = value; + } + + /** + * Ruft den Wert der municipalityNumber-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMunicipalityNumber() { + return municipalityNumber; + } + + /** + * Legt den Wert der municipalityNumber-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMunicipalityNumber(String value) { + this.municipalityNumber = value; + } + + /** + * Ruft den Wert der hamlet-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHamlet() { + return hamlet; + } + + /** + * Legt den Wert der hamlet-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHamlet(String value) { + this.hamlet = value; + } + + /** + * Ruft den Wert der hamletBilingual-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHamletBilingual() { + return hamletBilingual; + } + + /** + * Legt den Wert der hamletBilingual-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHamletBilingual(String value) { + this.hamletBilingual = value; + } + + /** + * Ruft den Wert der deliveryAddress-Eigenschaft ab. + * + * @return + * possible object is + * {@link PostalAddressType.DeliveryAddress } + * + */ + public PostalAddressType.DeliveryAddress getDeliveryAddress() { + return deliveryAddress; + } + + /** + * Legt den Wert der deliveryAddress-Eigenschaft fest. + * + * @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; + } + + /** + * Ruft den Wert der type-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + if (type == null) { + return "undefined"; + } else { + return type; + } + } + + /** + * Legt den Wert der type-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + } + + /** + * Ruft den Wert der streetName-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStreetName() { + return streetName; + } + + /** + * Legt den Wert der streetName-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStreetName(String value) { + this.streetName = value; + } + + /** + * Ruft den Wert der buildingNumber-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBuildingNumber() { + return buildingNumber; + } + + /** + * Legt den Wert der buildingNumber-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBuildingNumber(String value) { + this.buildingNumber = value; + } + + /** + * Ruft den Wert der unit-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUnit() { + return unit; + } + + /** + * Legt den Wert der unit-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUnit(String value) { + this.unit = value; + } + + /** + * Ruft den Wert der doorNumber-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDoorNumber() { + return doorNumber; + } + + /** + * Legt den Wert der doorNumber-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDoorNumber(String value) { + this.doorNumber = value; + } + + /** + * Ruft den Wert der postOfficeBox-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPostOfficeBox() { + return postOfficeBox; + } + + /** + * Legt den Wert der postOfficeBox-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPostOfficeBox(String value) { + this.postOfficeBox = value; + } + + /** + * Ruft den Wert der livingQuality-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLivingQuality() { + return livingQuality; + } + + /** + * Legt den Wert der livingQuality-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLivingQuality(String value) { + this.livingQuality = value; + } + + /** + * Ruft den Wert der dropOffPoint-Eigenschaft ab. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isDropOffPoint() { + return dropOffPoint; + } + + /** + * Legt den Wert der dropOffPoint-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setDropOffPoint(Boolean value) { + this.dropOffPoint = value; + } + + /** + * Ruft den Wert der areaNumber-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAreaNumber() { + return areaNumber; + } + + /** + * Legt den Wert der areaNumber-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAreaNumber(String value) { + this.areaNumber = value; + } + + /** + * Ruft den Wert der addressRegisterEntry-Eigenschaft ab. + * + * @return + * possible object is + * {@link PostalAddressType.DeliveryAddress.AddressRegisterEntry } + * + */ + public PostalAddressType.DeliveryAddress.AddressRegisterEntry getAddressRegisterEntry() { + return addressRegisterEntry; + } + + /** + * Legt den Wert der addressRegisterEntry-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link PostalAddressType.DeliveryAddress.AddressRegisterEntry } + * + */ + public void setAddressRegisterEntry(PostalAddressType.DeliveryAddress.AddressRegisterEntry value) { + this.addressRegisterEntry = value; + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der addressCode-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAddressCode() { + return addressCode; + } + + /** + * Legt den Wert der addressCode-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAddressCode(String value) { + this.addressCode = value; + } + + /** + * Ruft den Wert der subCode-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSubCode() { + return subCode; + } + + /** + * Legt den Wert der subCode-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSubCode(String value) { + this.subCode = value; + } + + /** + * Ruft den Wert der objectNumber-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getObjectNumber() { + return objectNumber; + } + + /** + * Legt den Wert der objectNumber-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setObjectNumber(String value) { + this.objectNumber = value; + } + + } + + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der personName-Eigenschaft ab. + * + * @return + * possible object is + * {@link PersonNameType } + * + */ + public PersonNameType getPersonName() { + return personName; + } + + /** + * Legt den Wert der personName-Eigenschaft fest. + * + * @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; + } + + /** + * Ruft den Wert der organization-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrganization() { + return organization; + } + + /** + * Legt den Wert der organization-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrganization(String value) { + this.organization = value; + } + + /** + * Ruft den Wert der organizationName-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrganizationName() { + return organizationName; + } + + /** + * Legt den Wert der organizationName-Eigenschaft fest. + * + * @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/mis/usp_v2/persondata/RelatedPerson.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/RelatedPerson.java new file mode 100644 index 0000000..6fc6ffe --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/RelatedPerson.java @@ -0,0 +1,101 @@ + +package at.gv.util.xsd.mis.usp_v2.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.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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") + @XmlSchemaType(name = "anySimpleType") + 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; + } + + /** + * element of physical person type, dreived from Person (abstract) + * + * @return + * possible object is + * {@link PhysicalPersonType } + * + */ + public PhysicalPersonType getPhysicalPerson() { + return physicalPerson; + } + + /** + * Legt den Wert der physicalPerson-Eigenschaft fest. + * + * @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/mis/usp_v2/persondata/SexType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/SexType.java new file mode 100644 index 0000000..8659b07 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/SexType.java @@ -0,0 +1,54 @@ + +package at.gv.util.xsd.mis.usp_v2.persondata; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlEnumValue; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für SexType. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * <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/mis/usp_v2/persondata/TelcomNumberType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/TelcomNumberType.java new file mode 100644 index 0000000..420d83e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/TelcomNumberType.java @@ -0,0 +1,204 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für TelcomNumberType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Complete number, ready formated - e.g. +43 1 5131345 4664 compare FormatierteNummer + * + * @return + * possible object is + * {@link String } + * + */ + public String getFormattedNumber() { + return formattedNumber; + } + + /** + * Legt den Wert der formattedNumber-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFormattedNumber(String value) { + this.formattedNumber = value; + } + + /** + * compare InternationalerLaendercode + * + * @return + * possible object is + * {@link String } + * + */ + public String getInternationalCountryCode() { + return internationalCountryCode; + } + + /** + * Legt den Wert der internationalCountryCode-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInternationalCountryCode(String value) { + this.internationalCountryCode = value; + } + + /** + * compare NationalNummer + * + * @return + * possible object is + * {@link String } + * + */ + public String getNationalNumber() { + return nationalNumber; + } + + /** + * Legt den Wert der nationalNumber-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNationalNumber(String value) { + this.nationalNumber = value; + } + + /** + * compare Vorwahl + * + * @return + * possible object is + * {@link String } + * + */ + public String getAreaCityCode() { + return areaCityCode; + } + + /** + * Legt den Wert der areaCityCode-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAreaCityCode(String value) { + this.areaCityCode = value; + } + + /** + * compare Anschlussnummer + * + * @return + * possible object is + * {@link String } + * + */ + public String getSubscriberNumber() { + return subscriberNumber; + } + + /** + * Legt den Wert der subscriberNumber-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSubscriberNumber(String value) { + this.subscriberNumber = value; + } + + /** + * compare Klappe + * + * @return + * possible object is + * {@link String } + * + */ + public String getExtension() { + return extension; + } + + /** + * Legt den Wert der extension-Eigenschaft fest. + * + * @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/mis/usp_v2/persondata/TelephoneAddressType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/TelephoneAddressType.java new file mode 100644 index 0000000..42eed66 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/TelephoneAddressType.java @@ -0,0 +1,140 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für TelephoneAddressType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + } + + /** + * Ruft den Wert der number-Eigenschaft ab. + * + * @return + * possible object is + * {@link TelcomNumberType } + * + */ + public TelcomNumberType getNumber() { + return number; + } + + /** + * Legt den Wert der number-Eigenschaft fest. + * + * @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/mis/usp_v2/persondata/TypedPostalAddressType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/TypedPostalAddressType.java new file mode 100644 index 0000000..75b2c09 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/TypedPostalAddressType.java @@ -0,0 +1,135 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für TypedPostalAddressType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der type-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Legt den Wert der type-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Postal or ZMR Address, compare PostAdresse + * + * @return + * possible object is + * {@link PostalAddressType } + * + */ + public PostalAddressType getPostalAddress() { + return postalAddress; + } + + /** + * Legt den Wert der postalAddress-Eigenschaft fest. + * + * @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/mis/usp_v2/persondata/package-info.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/persondata/package-info.java new file mode 100644 index 0000000..70f8b10 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/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.mis.usp_v2.persondata; diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/CanonicalizationMethodType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/CanonicalizationMethodType.java new file mode 100644 index 0000000..a13c24e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/CanonicalizationMethodType.java @@ -0,0 +1,102 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für CanonicalizationMethodType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + } + + /** + * Ruft den Wert der algorithm-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Legt den Wert der algorithm-Eigenschaft fest. + * + * @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/mis/usp_v2/xmldsig/DSAKeyValueType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/DSAKeyValueType.java new file mode 100644 index 0000000..64266cc --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/DSAKeyValueType.java @@ -0,0 +1,220 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für DSAKeyValueType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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="G" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <element name="Y" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary"/> + * <element name="J" type="{http://www.w3.org/2000/09/xmldsig#}CryptoBinary" minOccurs="0"/> + * <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", + "g", + "y", + "j", + "seed", + "pgenCounter" +}) +public class DSAKeyValueType { + + @XmlElement(name = "P") + protected byte[] p; + @XmlElement(name = "Q") + protected byte[] q; + @XmlElement(name = "G") + protected byte[] g; + @XmlElement(name = "Y", required = true) + protected byte[] y; + @XmlElement(name = "J") + protected byte[] j; + @XmlElement(name = "Seed") + protected byte[] seed; + @XmlElement(name = "PgenCounter") + protected byte[] pgenCounter; + + /** + * Ruft den Wert der p-Eigenschaft ab. + * + * @return + * possible object is + * byte[] + */ + public byte[] getP() { + return p; + } + + /** + * Legt den Wert der p-Eigenschaft fest. + * + * @param value + * allowed object is + * byte[] + */ + public void setP(byte[] value) { + this.p = value; + } + + /** + * Ruft den Wert der q-Eigenschaft ab. + * + * @return + * possible object is + * byte[] + */ + public byte[] getQ() { + return q; + } + + /** + * Legt den Wert der q-Eigenschaft fest. + * + * @param value + * allowed object is + * byte[] + */ + public void setQ(byte[] value) { + this.q = value; + } + + /** + * Ruft den Wert der g-Eigenschaft ab. + * + * @return + * possible object is + * byte[] + */ + public byte[] getG() { + return g; + } + + /** + * Legt den Wert der g-Eigenschaft fest. + * + * @param value + * allowed object is + * byte[] + */ + public void setG(byte[] value) { + this.g = value; + } + + /** + * Ruft den Wert der y-Eigenschaft ab. + * + * @return + * possible object is + * byte[] + */ + public byte[] getY() { + return y; + } + + /** + * Legt den Wert der y-Eigenschaft fest. + * + * @param value + * allowed object is + * byte[] + */ + public void setY(byte[] value) { + this.y = value; + } + + /** + * Ruft den Wert der j-Eigenschaft ab. + * + * @return + * possible object is + * byte[] + */ + public byte[] getJ() { + return j; + } + + /** + * Legt den Wert der j-Eigenschaft fest. + * + * @param value + * allowed object is + * byte[] + */ + public void setJ(byte[] value) { + this.j = value; + } + + /** + * Ruft den Wert der seed-Eigenschaft ab. + * + * @return + * possible object is + * byte[] + */ + public byte[] getSeed() { + return seed; + } + + /** + * Legt den Wert der seed-Eigenschaft fest. + * + * @param value + * allowed object is + * byte[] + */ + public void setSeed(byte[] value) { + this.seed = value; + } + + /** + * Ruft den Wert der pgenCounter-Eigenschaft ab. + * + * @return + * possible object is + * byte[] + */ + public byte[] getPgenCounter() { + return pgenCounter; + } + + /** + * Legt den Wert der pgenCounter-Eigenschaft fest. + * + * @param value + * allowed object is + * byte[] + */ + public void setPgenCounter(byte[] value) { + this.pgenCounter = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/DigestMethodType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/DigestMethodType.java new file mode 100644 index 0000000..0274215 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/DigestMethodType.java @@ -0,0 +1,104 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für DigestMethodType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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 Element } + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Ruft den Wert der algorithm-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Legt den Wert der algorithm-Eigenschaft fest. + * + * @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/mis/usp_v2/xmldsig/KeyInfoType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/KeyInfoType.java new file mode 100644 index 0000000..8a5bec4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/KeyInfoType.java @@ -0,0 +1,135 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für KeyInfoType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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#}MgmtData"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}PGPData"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}RetrievalMethod"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}SPKIData"/> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}X509Data"/> + * <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, 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 = "X509Data", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "MgmtData", 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), + @XmlElementRef(name = "KeyValue", 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 JAXBElement }{@code <}{@link SPKIDataType }{@code >} + * {@link Element } + * {@link JAXBElement }{@code <}{@link PGPDataType }{@code >} + * {@link JAXBElement }{@code <}{@link RetrievalMethodType }{@code >} + * {@link JAXBElement }{@code <}{@link X509DataType }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link Object } + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link KeyValueType }{@code >} + * {@link String } + * + * + */ + public List<Object> getContent() { + if (content == null) { + content = new ArrayList<Object>(); + } + return this.content; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @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/mis/usp_v2/xmldsig/KeyValueType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/KeyValueType.java new file mode 100644 index 0000000..ff873e0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/KeyValueType.java @@ -0,0 +1,85 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für KeyValueType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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, required = false), + @XmlElementRef(name = "RSAKeyValue", 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 JAXBElement }{@code <}{@link DSAKeyValueType }{@code >} + * {@link Element } + * {@link JAXBElement }{@code <}{@link RSAKeyValueType }{@code >} + * {@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/mis/usp_v2/xmldsig/ManifestType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/ManifestType.java new file mode 100644 index 0000000..0846abb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/ManifestType.java @@ -0,0 +1,104 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für ManifestType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @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/mis/usp_v2/xmldsig/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/ObjectFactory.java new file mode 100644 index 0000000..edb4d06 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/ObjectFactory.java @@ -0,0 +1,552 @@ + +package at.gv.util.xsd.mis.usp_v2.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.mis.usp_v2.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 _CanonicalizationMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "CanonicalizationMethod"); + private final static QName _DSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DSAKeyValue"); + 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 _KeyInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyInfo"); + 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 _Manifest_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Manifest"); + private final static QName _MgmtData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "MgmtData"); + private final static QName _Object_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Object"); + private final static QName _PGPData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPData"); + private final static QName _RSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RSAKeyValue"); + private final static QName _Reference_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Reference"); + private final static QName _RetrievalMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RetrievalMethod"); + private final static QName _SPKIData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKIData"); + private final static QName _Signature_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Signature"); + private final static QName _SignatureMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureMethod"); + private final static QName _SignatureProperties_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperties"); + private final static QName _SignatureProperty_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperty"); + private final static QName _SignatureValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureValue"); + private final static QName _SignedInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignedInfo"); + private final static QName _Transform_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transform"); + private final static QName _Transforms_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transforms"); + private final static QName _X509Data_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Data"); + private final static QName _X509DataTypeX509CRL_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509CRL"); + private final static QName _X509DataTypeX509Certificate_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Certificate"); + private final static QName _X509DataTypeX509IssuerSerial_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509IssuerSerial"); + 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 _TransformTypeXPath_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "XPath"); + 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"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mis.usp_v2.xmldsig + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link CanonicalizationMethodType } + * + */ + public CanonicalizationMethodType createCanonicalizationMethodType() { + return new CanonicalizationMethodType(); + } + + /** + * Create an instance of {@link DSAKeyValueType } + * + */ + public DSAKeyValueType createDSAKeyValueType() { + return new DSAKeyValueType(); + } + + /** + * Create an instance of {@link DigestMethodType } + * + */ + public DigestMethodType createDigestMethodType() { + return new DigestMethodType(); + } + + /** + * Create an instance of {@link KeyInfoType } + * + */ + public KeyInfoType createKeyInfoType() { + return new KeyInfoType(); + } + + /** + * Create an instance of {@link KeyValueType } + * + */ + public KeyValueType createKeyValueType() { + return new KeyValueType(); + } + + /** + * Create an instance of {@link ManifestType } + * + */ + public ManifestType createManifestType() { + return new ManifestType(); + } + + /** + * 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 RSAKeyValueType } + * + */ + public RSAKeyValueType createRSAKeyValueType() { + return new RSAKeyValueType(); + } + + /** + * Create an instance of {@link ReferenceType } + * + */ + public ReferenceType createReferenceType() { + return new ReferenceType(); + } + + /** + * Create an instance of {@link RetrievalMethodType } + * + */ + public RetrievalMethodType createRetrievalMethodType() { + return new RetrievalMethodType(); + } + + /** + * Create an instance of {@link SPKIDataType } + * + */ + public SPKIDataType createSPKIDataType() { + return new SPKIDataType(); + } + + /** + * 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 SignaturePropertiesType } + * + */ + public SignaturePropertiesType createSignaturePropertiesType() { + return new SignaturePropertiesType(); + } + + /** + * Create an instance of {@link SignaturePropertyType } + * + */ + public SignaturePropertyType createSignaturePropertyType() { + return new SignaturePropertyType(); + } + + /** + * 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 TransformType } + * + */ + public TransformType createTransformType() { + return new TransformType(); + } + + /** + * Create an instance of {@link TransformsType } + * + */ + public TransformsType createTransformsType() { + return new TransformsType(); + } + + /** + * Create an instance of {@link X509DataType } + * + */ + public X509DataType createX509DataType() { + return new X509DataType(); + } + + /** + * Create an instance of {@link X509IssuerSerialType } + * + */ + public X509IssuerSerialType createX509IssuerSerialType() { + return new X509IssuerSerialType(); + } + + /** + * 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 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 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 byte[]}{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestValue") + public JAXBElement<byte[]> createDigestValue(byte[] value) { + return new JAXBElement<byte[]>(_DigestValue_QNAME, byte[].class, null, ((byte[]) 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 = "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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 byte[]}{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509CRL", scope = X509DataType.class) + public JAXBElement<byte[]> createX509DataTypeX509CRL(byte[] value) { + return new JAXBElement<byte[]>(_X509DataTypeX509CRL_QNAME, byte[].class, X509DataType.class, ((byte[]) value)); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Certificate", scope = X509DataType.class) + public JAXBElement<byte[]> createX509DataTypeX509Certificate(byte[] value) { + return new JAXBElement<byte[]>(_X509DataTypeX509Certificate_QNAME, byte[].class, X509DataType.class, ((byte[]) 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 byte[]}{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SKI", scope = X509DataType.class) + public JAXBElement<byte[]> createX509DataTypeX509SKI(byte[] value) { + return new JAXBElement<byte[]>(_X509DataTypeX509SKI_QNAME, byte[].class, X509DataType.class, ((byte[]) 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 = "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 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 byte[]}{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKISexp", scope = SPKIDataType.class) + public JAXBElement<byte[]> createSPKIDataTypeSPKISexp(byte[] value) { + return new JAXBElement<byte[]>(_SPKIDataTypeSPKISexp_QNAME, byte[].class, SPKIDataType.class, ((byte[]) value)); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyID", scope = PGPDataType.class) + public JAXBElement<byte[]> createPGPDataTypePGPKeyID(byte[] value) { + return new JAXBElement<byte[]>(_PGPDataTypePGPKeyID_QNAME, byte[].class, PGPDataType.class, ((byte[]) value)); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyPacket", scope = PGPDataType.class) + public JAXBElement<byte[]> createPGPDataTypePGPKeyPacket(byte[] value) { + return new JAXBElement<byte[]>(_PGPDataTypePGPKeyPacket_QNAME, byte[].class, PGPDataType.class, ((byte[]) value)); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/ObjectType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/ObjectType.java new file mode 100644 index 0000000..d1d716d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/ObjectType.java @@ -0,0 +1,164 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für ObjectType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </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 = "Encoding") + @XmlSchemaType(name = "anyURI") + protected String encoding; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "MimeType") + protected String mimeType; + + /** + * 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; + } + + /** + * Ruft den Wert der encoding-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEncoding() { + return encoding; + } + + /** + * Legt den Wert der encoding-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEncoding(String value) { + this.encoding = value; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Ruft den Wert der mimeType-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMimeType() { + return mimeType; + } + + /** + * Legt den Wert der mimeType-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMimeType(String value) { + this.mimeType = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/PGPDataType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/PGPDataType.java new file mode 100644 index 0000000..9b1c1b8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/PGPDataType.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für PGPDataType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="PGPDataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="PGPKeyID" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="PGPKeyPacket" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <sequence> + * <element name="PGPKeyPacket" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <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, required = false), + @XmlElementRef(name = "PGPKeyPacket", namespace = "http://www.w3.org/2000/09/xmldsig#", type = JAXBElement.class, required = false) + }) + @XmlAnyElement(lax = true) + protected List<Object> content; + + /** + * Ruft das restliche Contentmodell ab. + * + * <p> + * Sie rufen diese "catch-all"-Eigenschaft aus folgendem Grund ab: + * Der Feldname "PGPKeyPacket" wird von zwei verschiedenen Teilen eines Schemas verwendet. Siehe: + * Zeile 216 von file:/F:/Projekte/svn/ovs/egovutils/src/main/resources/wsdl/mis/usp_v2/Synchronisation-1.wsdl + * Zeile 212 von file:/F:/Projekte/svn/ovs/egovutils/src/main/resources/wsdl/mis/usp_v2/Synchronisation-1.wsdl + * <p> + * Um diese Eigenschaft zu entfernen, wenden Sie eine Eigenschaftenanpassung für eine + * der beiden folgenden Deklarationen an, um deren Namen zu ändern: + * 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 byte[]}{@code >} + * {@link Element } + * {@link Object } + * {@link JAXBElement }{@code <}{@link byte[]}{@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/mis/usp_v2/xmldsig/RSAKeyValueType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/RSAKeyValueType.java new file mode 100644 index 0000000..951726a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/RSAKeyValueType.java @@ -0,0 +1,86 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für RSAKeyValueType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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 byte[] modulus; + @XmlElement(name = "Exponent", required = true) + protected byte[] exponent; + + /** + * Ruft den Wert der modulus-Eigenschaft ab. + * + * @return + * possible object is + * byte[] + */ + public byte[] getModulus() { + return modulus; + } + + /** + * Legt den Wert der modulus-Eigenschaft fest. + * + * @param value + * allowed object is + * byte[] + */ + public void setModulus(byte[] value) { + this.modulus = value; + } + + /** + * Ruft den Wert der exponent-Eigenschaft ab. + * + * @return + * possible object is + * byte[] + */ + public byte[] getExponent() { + return exponent; + } + + /** + * Legt den Wert der exponent-Eigenschaft fest. + * + * @param value + * allowed object is + * byte[] + */ + public void setExponent(byte[] value) { + this.exponent = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/ReferenceType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/ReferenceType.java new file mode 100644 index 0000000..1e6b7ed --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/ReferenceType.java @@ -0,0 +1,207 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für ReferenceType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="URI" 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 byte[] digestValue; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlAttribute(name = "URI") + @XmlSchemaType(name = "anyURI") + protected String uri; + + /** + * Ruft den Wert der transforms-Eigenschaft ab. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Legt den Wert der transforms-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Ruft den Wert der digestMethod-Eigenschaft ab. + * + * @return + * possible object is + * {@link DigestMethodType } + * + */ + public DigestMethodType getDigestMethod() { + return digestMethod; + } + + /** + * Legt den Wert der digestMethod-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link DigestMethodType } + * + */ + public void setDigestMethod(DigestMethodType value) { + this.digestMethod = value; + } + + /** + * Ruft den Wert der digestValue-Eigenschaft ab. + * + * @return + * possible object is + * byte[] + */ + public byte[] getDigestValue() { + return digestValue; + } + + /** + * Legt den Wert der digestValue-Eigenschaft fest. + * + * @param value + * allowed object is + * byte[] + */ + public void setDigestValue(byte[] value) { + this.digestValue = value; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Ruft den Wert der type-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Legt den Wert der type-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Ruft den Wert der uri-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Legt den Wert der uri-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/RetrievalMethodType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/RetrievalMethodType.java new file mode 100644 index 0000000..ad14dbb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/RetrievalMethodType.java @@ -0,0 +1,120 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für RetrievalMethodType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="RetrievalMethodType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/> + * </sequence> + * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * <attribute name="URI" 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 = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + @XmlAttribute(name = "URI") + @XmlSchemaType(name = "anyURI") + protected String uri; + + /** + * Ruft den Wert der transforms-Eigenschaft ab. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Legt den Wert der transforms-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Ruft den Wert der type-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Legt den Wert der type-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Ruft den Wert der uri-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Legt den Wert der uri-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SPKIDataType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SPKIDataType.java new file mode 100644 index 0000000..c0a6931 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SPKIDataType.java @@ -0,0 +1,76 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für SPKIDataType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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/2001/XMLSchema}base64Binary"/> + * <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 byte[]}{@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/mis/usp_v2/xmldsig/SignatureMethodType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignatureMethodType.java new file mode 100644 index 0000000..12cb706 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignatureMethodType.java @@ -0,0 +1,108 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für SignatureMethodType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + } + + /** + * Ruft den Wert der algorithm-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Legt den Wert der algorithm-Eigenschaft fest. + * + * @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/mis/usp_v2/xmldsig/SignaturePropertiesType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignaturePropertiesType.java new file mode 100644 index 0000000..7855f61 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignaturePropertiesType.java @@ -0,0 +1,104 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für SignaturePropertiesType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @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/mis/usp_v2/xmldsig/SignaturePropertyType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignaturePropertyType.java new file mode 100644 index 0000000..e6b1f69 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignaturePropertyType.java @@ -0,0 +1,137 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für SignaturePropertyType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="Target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + * </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 = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "Target", required = true) + @XmlSchemaType(name = "anyURI") + protected String target; + + /** + * 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; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Ruft den Wert der target-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTarget() { + return target; + } + + /** + * Legt den Wert der target-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTarget(String value) { + this.target = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignatureType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignatureType.java new file mode 100644 index 0000000..c1b6863 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignatureType.java @@ -0,0 +1,188 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für SignatureType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der signedInfo-Eigenschaft ab. + * + * @return + * possible object is + * {@link SignedInfoType } + * + */ + public SignedInfoType getSignedInfo() { + return signedInfo; + } + + /** + * Legt den Wert der signedInfo-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link SignedInfoType } + * + */ + public void setSignedInfo(SignedInfoType value) { + this.signedInfo = value; + } + + /** + * Ruft den Wert der signatureValue-Eigenschaft ab. + * + * @return + * possible object is + * {@link SignatureValueType } + * + */ + public SignatureValueType getSignatureValue() { + return signatureValue; + } + + /** + * Legt den Wert der signatureValue-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link SignatureValueType } + * + */ + public void setSignatureValue(SignatureValueType value) { + this.signatureValue = value; + } + + /** + * Ruft den Wert der keyInfo-Eigenschaft ab. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Legt den Wert der keyInfo-Eigenschaft fest. + * + * @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; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @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/mis/usp_v2/xmldsig/SignatureValueType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignatureValueType.java new file mode 100644 index 0000000..d9de757 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignatureValueType.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für SignatureValueType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="SignatureValueType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> + * <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 byte[] value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Ruft den Wert der value-Eigenschaft ab. + * + * @return + * possible object is + * byte[] + */ + public byte[] getValue() { + return value; + } + + /** + * Legt den Wert der value-Eigenschaft fest. + * + * @param value + * allowed object is + * byte[] + */ + public void setValue(byte[] value) { + this.value = value; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @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/mis/usp_v2/xmldsig/SignedInfoType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignedInfoType.java new file mode 100644 index 0000000..895f23c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/SignedInfoType.java @@ -0,0 +1,160 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für SignedInfoType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der canonicalizationMethod-Eigenschaft ab. + * + * @return + * possible object is + * {@link CanonicalizationMethodType } + * + */ + public CanonicalizationMethodType getCanonicalizationMethod() { + return canonicalizationMethod; + } + + /** + * Legt den Wert der canonicalizationMethod-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link CanonicalizationMethodType } + * + */ + public void setCanonicalizationMethod(CanonicalizationMethodType value) { + this.canonicalizationMethod = value; + } + + /** + * Ruft den Wert der signatureMethod-Eigenschaft ab. + * + * @return + * possible object is + * {@link SignatureMethodType } + * + */ + public SignatureMethodType getSignatureMethod() { + return signatureMethod; + } + + /** + * Legt den Wert der signatureMethod-Eigenschaft fest. + * + * @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; + } + + /** + * Ruft den Wert der id-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Legt den Wert der id-Eigenschaft fest. + * + * @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/mis/usp_v2/xmldsig/TransformType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/TransformType.java new file mode 100644 index 0000000..e98f7ec --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/TransformType.java @@ -0,0 +1,109 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für TransformType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="TransformType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice maxOccurs="unbounded" minOccurs="0"> + * <element name="XPath" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <any processContents='lax' namespace='##other'/> + * </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 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; + } + + /** + * Ruft den Wert der algorithm-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Legt den Wert der algorithm-Eigenschaft fest. + * + * @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/mis/usp_v2/xmldsig/TransformsType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/TransformsType.java new file mode 100644 index 0000000..5f5dbb1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/TransformsType.java @@ -0,0 +1,69 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für TransformsType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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/mis/usp_v2/xmldsig/X509DataType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/X509DataType.java new file mode 100644 index 0000000..b40cf7d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/X509DataType.java @@ -0,0 +1,93 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für X509DataType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="X509DataType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <choice> + * <element name="X509CRL" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="X509Certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="X509IssuerSerial" type="{http://www.w3.org/2000/09/xmldsig#}X509IssuerSerialType"/> + * <element name="X509SKI" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * <element name="X509SubjectName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <any processContents='lax' namespace='##other'/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509DataType", propOrder = { + "x509CRLOrX509CertificateOrX509IssuerSerial" +}) +public class X509DataType { + + @XmlElementRefs({ + @XmlElementRef(name = "X509IssuerSerial", 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 = "X509Certificate", 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> x509CRLOrX509CertificateOrX509IssuerSerial; + + /** + * Gets the value of the x509CRLOrX509CertificateOrX509IssuerSerial property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the x509CRLOrX509CertificateOrX509IssuerSerial property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getX509CRLOrX509CertificateOrX509IssuerSerial().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 byte[]}{@code >} + * {@link JAXBElement }{@code <}{@link byte[]}{@code >} + * {@link JAXBElement }{@code <}{@link byte[]}{@code >} + * {@link Object } + * + * + */ + public List<Object> getX509CRLOrX509CertificateOrX509IssuerSerial() { + if (x509CRLOrX509CertificateOrX509IssuerSerial == null) { + x509CRLOrX509CertificateOrX509IssuerSerial = new ArrayList<Object>(); + } + return this.x509CRLOrX509CertificateOrX509IssuerSerial; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/X509IssuerSerialType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/X509IssuerSerialType.java new file mode 100644 index 0000000..4bd865b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/X509IssuerSerialType.java @@ -0,0 +1,91 @@ + +package at.gv.util.xsd.mis.usp_v2.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-Klasse für X509IssuerSerialType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <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; + + /** + * Ruft den Wert der x509IssuerName-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getX509IssuerName() { + return x509IssuerName; + } + + /** + * Legt den Wert der x509IssuerName-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setX509IssuerName(String value) { + this.x509IssuerName = value; + } + + /** + * Ruft den Wert der x509SerialNumber-Eigenschaft ab. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getX509SerialNumber() { + return x509SerialNumber; + } + + /** + * Legt den Wert der x509SerialNumber-Eigenschaft fest. + * + * @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/mis/usp_v2/xmldsig/package-info.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/xmldsig/package-info.java new file mode 100644 index 0000000..9f74938 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/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.mis.usp_v2.xmldsig; diff --git a/src/main/resources/wsdl/custom-bindings/mis-usp_v2-wsdl.xml b/src/main/resources/wsdl/custom-bindings/mis-usp_v2-wsdl.xml new file mode 100644 index 0000000..93c9e7f --- /dev/null +++ b/src/main/resources/wsdl/custom-bindings/mis-usp_v2-wsdl.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="UTF-8"?> +<jaxws:bindings xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" + xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + + <jaxws:package name="at.gv.util.wsdl.mis.usp_v2"/> + + <jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:schema[1]"> + <jaxb:schemaBindings> + <jaxb:package name="at.gv.util.xsd.mis.usp_v2.eai.token" /> + </jaxb:schemaBindings> + </jaxws:bindings> + + <jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:schema[2]"> + <jaxb:schemaBindings> + <jaxb:package name="at.gv.util.xsd.mis.usp_v2.eai.syncmsgs" /> + </jaxb:schemaBindings> + </jaxws:bindings> + + <jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:schema[3]"> + <jaxb:schemaBindings> + <jaxb:package name="at.gv.util.xsd.mis.usp_v2.eai.common" /> + </jaxb:schemaBindings> + </jaxws:bindings> + ---- + <jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:schema[4]"> + <jaxb:schemaBindings> + <jaxb:package name="at.gv.util.xsd.mis.usp_v2.xmldsig" /> + </jaxb:schemaBindings> + </jaxws:bindings> + + <jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:schema[5]"> + <jaxb:schemaBindings> + <jaxb:package name="at.gv.util.xsd.mis.usp_v2.mandates" /> + </jaxb:schemaBindings> + </jaxws:bindings> + + <jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:schema[6]"> + <jaxb:schemaBindings> + <jaxb:package name="at.gv.util.xsd.mis.usp_v2.persondata" /> + </jaxb:schemaBindings> + </jaxws:bindings> + + <jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:schema[7]"> + <jaxb:schemaBindings> + <jaxb:package name="at.gv.util.xsd.mis.usp_v2.addpersondata" /> + </jaxb:schemaBindings> + </jaxws:bindings> + + <jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:schema[8]"> + <jaxb:schemaBindings> + <jaxb:package name="at.gv.util.xsd.mis.usp_v2.eai.synchronisation" /> + </jaxb:schemaBindings> + </jaxws:bindings> + + <jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:schema[9]"> + <jaxb:schemaBindings> + <jaxb:package name="at.gv.util.xsd.mis.usp_v2.eai.syncmsgs" /> + </jaxb:schemaBindings> + </jaxws:bindings> + + +</jaxws:bindings>
\ No newline at end of file diff --git a/src/main/resources/wsdl/mis/usp_v2/Synchronisation-1.wsdl b/src/main/resources/wsdl/mis/usp_v2/Synchronisation-1.wsdl new file mode 100644 index 0000000..8142d4a --- /dev/null +++ b/src/main/resources/wsdl/mis/usp_v2/Synchronisation-1.wsdl @@ -0,0 +1,2627 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--Created by TIBCO WSDL--> +<wsdl:definitions xmlns:ns6="http://reference.e-government.gv.at/namespace/persondata/20020228#" xmlns:ns5="http://reference.e-government.gv.at/namespace/mandates/20040701#" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns7="http://www.usp.gv.at/namespace/mandates/20160301#" xmlns:tns="http://xmlns.example.com/1481028889472" xmlns:ns0="http://eai.brz.gv.at/services/vdds/sync-msgs" xmlns:ns2="http://eai.brz.gv.at/services/vdds/token" xmlns:ns1="http://eai.brz.gv.at/services/vdds/synchronisation" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns4="http://www.w3.org/2000/09/xmldsig#" xmlns:ns3="http://eai.brz.gv.at/services/vdds/common" name="Untitled" targetNamespace="http://xmlns.example.com/1481028889472"> + <wsdl:types> + <xs:schema xmlns:tns="http://eai.brz.gv.at/services/vdds/token" xmlns:cm="http://eai.brz.gv.at/services/vdds/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://eai.brz.gv.at/services/vdds/token" elementFormDefault="qualified" attributeFormDefault="unqualified"> + <xs:import namespace="http://eai.brz.gv.at/services/vdds/common"/> + <xs:simpleType name="ActionTypeType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="CreateMandate"/> + <xs:enumeration value="TerminateMandate"/> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="ModificationTokenResultType"> + <xs:complexContent> + <xs:extension base="cm:ReferableResultType"> + <xs:sequence> + <xs:element ref="tns:ModificationToken" minOccurs="0"/> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="ModificationTokenType"> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="IssuedAt" type="xs:dateTime"/> + <xs:attribute name="ValidUntil" type="xs:dateTime"/> + <xs:anyAttribute processContents="strict" namespace="##any"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + <xs:element name="ModificationToken" type="tns:ModificationTokenType"/> + <xs:element name="ModificationTokenRequest"> + <xs:complexType> + <xs:sequence> + <xs:any processContents="strict" namespace="##other"/> + </xs:sequence> + <xs:attribute name="ActionType" type="tns:ActionTypeType"/> + </xs:complexType> + </xs:element> + <xs:element name="ModificationTokenResponse"> + <xs:complexType> + <xs:sequence> + <xs:element name="Result" type="tns:ModificationTokenResultType"/> + <xs:any minOccurs="0" processContents="strict" namespace="##other"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:schema> + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> + <xs:import namespace="http://eai.brz.gv.at/services/vdds/sync-msgs"/> + </xs:schema> + <xs:schema xmlns:tns="http://eai.brz.gv.at/services/vdds/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://eai.brz.gv.at/services/vdds/common" elementFormDefault="qualified" attributeFormDefault="unqualified"> + <xs:simpleType name="ActionType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="REQUEST_TOKEN"/> + <xs:enumeration value="CREATE_MANDATE"/> + <xs:enumeration value="TERMINATE_MANDATE"/> + <xs:enumeration value="SYNC_CREATE"/> + <xs:enumeration value="SYNC_TERMINATE"/> + <xs:enumeration value="COMMIT_CREATE"/> + <xs:enumeration value="COMMIT_TERMINATE"/> + <xs:enumeration value="ROLLBACK_CREATE"/> + <xs:enumeration value="ROLLBACK_TERMINATE"/> + <xs:enumeration value="NOTIFY_SUCCESS_CREATE"/> + <xs:enumeration value="NOTIFY_SUCCESS_TERMINATE"/> + <xs:enumeration value="NOTIFY_ROLLBACK_CREATE"/> + <xs:enumeration value="NOTIFY_ROLLBACK_TERMINATE"/> + <xs:enumeration value="NOOP"/> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="Header"> + <xs:sequence> + <xs:element name="Name" type="xs:string"/> + <xs:element name="Value" type="xs:string"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="ProcessStateType"> + <xs:sequence> + <xs:element name="ProcessAction" type="tns:ActionType"/> + <xs:element name="ProcessState" type="tns:StateType"/> + <xs:element name="LastProcessingTS" type="xs:dateTime"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="ReferableResultType"> + <xs:complexContent> + <xs:extension base="tns:ResultType"> + <xs:sequence> + <xs:element name="RefID" type="xs:string"/> + <xs:element name="State" type="tns:StateType"/> + <xs:element name="ProcessState" type="tns:ProcessStateType" minOccurs="0"/> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="ResultType"> + <xs:sequence minOccurs="0"> + <xs:element name="ErrorCode" type="xs:string"/> + <xs:element name="ErrorMessage" type="xs:string"/> + <xs:element name="ErrorLevel" default="ERROR" type="tns:SeverityType"/> + </xs:sequence> + </xs:complexType> + <xs:simpleType name="SeverityType"> + <xs:restriction base="xs:token"> + <xs:enumeration value="DEBUG"/> + <xs:enumeration value="INFO"/> + <xs:enumeration value="WARNING"/> + <xs:enumeration value="ERROR"/> + <xs:enumeration value="FATAL"/> + <xs:enumeration value="BL_INFO"/> + <xs:enumeration value="BL_WARNING"/> + <xs:enumeration value="BL_ERROR"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="StateType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="TOKEN"/> + <xs:enumeration value="RETRY"/> + <xs:enumeration value="PARTNER"/> + <xs:enumeration value="SYNC"/> + <xs:enumeration value="SYNCED"/> + <xs:enumeration value="COMMIT"/> + <xs:enumeration value="ROLLBACK"/> + <xs:enumeration value="APPLICABLE"/> + <xs:enumeration value="ERRONEOUS"/> + <xs:enumeration value="ROLLEDBACK"/> + <xs:enumeration value="TERMINATED"/> + </xs:restriction> + </xs:simpleType> + <xs:element name="Headers"> + <xs:complexType> + <xs:sequence> + <xs:element name="Header" type="tns:Header" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:schema> + <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.w3.org/2000/09/xmldsig#" version="0.1" elementFormDefault="qualified" attributeFormDefault="unqualified"> + <complexType name="CanonicalizationMethodType" mixed="true"> + <sequence> + <any minOccurs="0" maxOccurs="unbounded" processContents="strict" namespace="##any"/> + </sequence> + <attribute name="Algorithm" use="required" type="anyURI"/> + </complexType> + <simpleType name="CryptoBinary"> + <restriction base="base64Binary"/> + </simpleType> + <complexType name="DSAKeyValueType"> + <sequence> + <sequence minOccurs="0"> + <element name="P" type="ds:CryptoBinary"/> + <element name="Q" type="ds:CryptoBinary"/> + </sequence> + <element name="G" type="ds:CryptoBinary" minOccurs="0"/> + <element name="Y" type="ds:CryptoBinary"/> + <element name="J" type="ds:CryptoBinary" minOccurs="0"/> + <sequence minOccurs="0"> + <element name="Seed" type="ds:CryptoBinary"/> + <element name="PgenCounter" type="ds:CryptoBinary"/> + </sequence> + </sequence> + </complexType> + <complexType name="DigestMethodType" mixed="true"> + <sequence> + <any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"/> + </sequence> + <attribute name="Algorithm" use="required" type="anyURI"/> + </complexType> + <simpleType name="DigestValueType"> + <restriction base="base64Binary"/> + </simpleType> + <simpleType name="HMACOutputLengthType"> + <restriction base="integer"/> + </simpleType> + <complexType name="KeyInfoType" mixed="true"> + <choice maxOccurs="unbounded"> + <element ref="ds:KeyName"/> + <element ref="ds:KeyValue"/> + <element ref="ds:MgmtData"/> + <element ref="ds:PGPData"/> + <element ref="ds:RetrievalMethod"/> + <element ref="ds:SPKIData"/> + <element ref="ds:X509Data"/> + <any processContents="lax" namespace="##other"/> + </choice> + <attribute name="Id" type="ID"/> + </complexType> + <complexType name="KeyValueType" mixed="true"> + <choice> + <element ref="ds:DSAKeyValue"/> + <element ref="ds:RSAKeyValue"/> + <any processContents="lax" namespace="##other"/> + </choice> + </complexType> + <complexType name="ManifestType"> + <sequence> + <element ref="ds:Reference" maxOccurs="unbounded"/> + </sequence> + <attribute name="Id" type="ID"/> + </complexType> + <complexType name="ObjectType" mixed="true"> + <sequence minOccurs="0" maxOccurs="unbounded"> + <any processContents="lax" namespace="##any"/> + </sequence> + <attribute name="Encoding" type="anyURI"/> + <attribute name="Id" type="ID"/> + <attribute name="MimeType" type="string"/> + </complexType> + <complexType name="PGPDataType"> + <choice> + <sequence> + <element name="PGPKeyID" type="base64Binary"/> + <element name="PGPKeyPacket" type="base64Binary" minOccurs="0"/> + <any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"/> + </sequence> + <sequence> + <element name="PGPKeyPacket" type="base64Binary"/> + <any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"/> + </sequence> + </choice> + </complexType> + <complexType name="RSAKeyValueType"> + <sequence> + <element name="Modulus" type="ds:CryptoBinary"/> + <element name="Exponent" type="ds:CryptoBinary"/> + </sequence> + </complexType> + <complexType name="ReferenceType"> + <sequence> + <element ref="ds:Transforms" minOccurs="0"/> + <element ref="ds:DigestMethod"/> + <element ref="ds:DigestValue"/> + </sequence> + <attribute name="Id" type="ID"/> + <attribute name="Type" type="anyURI"/> + <attribute name="URI" type="anyURI"/> + </complexType> + <complexType name="RetrievalMethodType"> + <sequence> + <element ref="ds:Transforms" minOccurs="0"/> + </sequence> + <attribute name="Type" type="anyURI"/> + <attribute name="URI" type="anyURI"/> + </complexType> + <complexType name="SPKIDataType"> + <sequence maxOccurs="unbounded"> + <element name="SPKISexp" type="base64Binary"/> + <any minOccurs="0" processContents="lax" namespace="##other"/> + </sequence> + </complexType> + <complexType name="SignatureMethodType" mixed="true"> + <sequence> + <element name="HMACOutputLength" type="ds:HMACOutputLengthType" minOccurs="0"/> + <any minOccurs="0" maxOccurs="unbounded" processContents="strict" namespace="##other"/> + </sequence> + <attribute name="Algorithm" use="required" type="anyURI"/> + </complexType> + <complexType name="SignaturePropertiesType"> + <sequence> + <element ref="ds:SignatureProperty" maxOccurs="unbounded"/> + </sequence> + <attribute name="Id" type="ID"/> + </complexType> + <complexType name="SignaturePropertyType" mixed="true"> + <choice maxOccurs="unbounded"> + <any processContents="lax" namespace="##other"/> + </choice> + <attribute name="Id" type="ID"/> + <attribute name="Target" use="required" type="anyURI"/> + </complexType> + <complexType name="SignatureType"> + <sequence> + <element ref="ds:SignedInfo"/> + <element ref="ds:SignatureValue"/> + <element ref="ds:KeyInfo" minOccurs="0"/> + <element ref="ds:Object" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <attribute name="Id" type="ID"/> + </complexType> + <complexType name="SignatureValueType"> + <simpleContent> + <extension base="base64Binary"> + <attribute name="Id" type="ID"/> + </extension> + </simpleContent> + </complexType> + <complexType name="SignedInfoType"> + <sequence> + <element ref="ds:CanonicalizationMethod"/> + <element ref="ds:SignatureMethod"/> + <element ref="ds:Reference" maxOccurs="unbounded"/> + </sequence> + <attribute name="Id" type="ID"/> + </complexType> + <complexType name="TransformType" mixed="true"> + <choice minOccurs="0" maxOccurs="unbounded"> + <element name="XPath" type="string"/> + <any processContents="lax" namespace="##other"/> + </choice> + <attribute name="Algorithm" use="required" type="anyURI"/> + </complexType> + <complexType name="TransformsType"> + <sequence> + <element ref="ds:Transform" maxOccurs="unbounded"/> + </sequence> + </complexType> + <complexType name="X509DataType"> + <sequence maxOccurs="unbounded"> + <choice> + <element name="X509CRL" type="base64Binary"/> + <element name="X509Certificate" type="base64Binary"/> + <element name="X509IssuerSerial" type="ds:X509IssuerSerialType"/> + <element name="X509SKI" type="base64Binary"/> + <element name="X509SubjectName" type="string"/> + <any processContents="lax" namespace="##other"/> + </choice> + </sequence> + </complexType> + <complexType name="X509IssuerSerialType"> + <sequence> + <element name="X509IssuerName" type="string"/> + <element name="X509SerialNumber" type="integer"/> + </sequence> + </complexType> + <element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType"/> + <element name="DSAKeyValue" type="ds:DSAKeyValueType"/> + <element name="DigestMethod" type="ds:DigestMethodType"/> + <element name="DigestValue" type="ds:DigestValueType"/> + <element name="KeyInfo" type="ds:KeyInfoType"/> + <element name="KeyName" type="string"/> + <element name="KeyValue" type="ds:KeyValueType"/> + <element name="Manifest" type="ds:ManifestType"/> + <element name="MgmtData" type="string"/> + <element name="Object" type="ds:ObjectType"/> + <element name="PGPData" type="ds:PGPDataType"/> + <element name="RSAKeyValue" type="ds:RSAKeyValueType"/> + <element name="Reference" type="ds:ReferenceType"/> + <element name="RetrievalMethod" type="ds:RetrievalMethodType"/> + <element name="SPKIData" type="ds:SPKIDataType"/> + <element name="Signature" type="ds:SignatureType"/> + <element name="SignatureMethod" type="ds:SignatureMethodType"/> + <element name="SignatureProperties" type="ds:SignaturePropertiesType"/> + <element name="SignatureProperty" type="ds:SignaturePropertyType"/> + <element name="SignatureValue" type="ds:SignatureValueType"/> + <element name="SignedInfo" type="ds:SignedInfoType"/> + <element name="Transform" type="ds:TransformType"/> + <element name="Transforms" type="ds:TransformsType"/> + <element name="X509Data" type="ds:X509DataType"/> + </schema> + <xs:schema xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#" xmlns:usp="http://www.usp.gv.at/namespace/mandates/20160301#" xmlns:md="http://reference.e-government.gv.at/namespace/mandates/20040701#" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://reference.e-government.gv.at/namespace/mandates/20040701#" version="0.0.4" elementFormDefault="qualified" attributeFormDefault="unqualified"> + <xs:import namespace="http://www.w3.org/2000/09/xmldsig#"/> + <xs:import namespace="http://reference.e-government.gv.at/namespace/persondata/20020228#"/> + <xs:import namespace="http://www.usp.gv.at/namespace/mandates/20160301#"/> + <xs:simpleType name="DateType"> + <xs:annotation> + <xs:documentation>simple type for dates (union), which may omit day + and/or month</xs:documentation> + </xs:annotation> + <xs:union memberTypes="xs:date xs:gYearMonth xs:gYear"/> + </xs:simpleType> + <xs:complexType name="ParameterisedDescriptionType"> + <xs:annotation> + <xs:documentation>complex type for a parameterised description + </xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:element ref="md:ParameterisedText"> + <xs:annotation> + <xs:documentation>element contains parameterised text and the + definition of the annotation</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="md:ParameterDefinition" minOccurs="0"> + <xs:annotation> + <xs:documentation>element contains the definition of parameters used + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + <xs:complexType name="ParameterisedTextType" mixed="true"> + <xs:annotation> + <xs:documentation>complex type for describing a parameterised text + </xs:documentation> + </xs:annotation> + <xs:sequence minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="md:PasteParameter"> + <xs:annotation> + <xs:documentation>element represent a parameter to be replaced in the + parameterised text</xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + <xs:complexType name="PropertiesType"> + <xs:annotation> + <xs:documentation>complex type for describing arbitrary properties of + mandates</xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:element ref="usp:AdditionalMandateProperty"> + <xs:annotation> + <xs:documentation>additional usp specific property for an electronic mandate</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="SubstitutionAllowed" default="false" type="xs:boolean" minOccurs="0"/> + <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"> + <xs:annotation> + <xs:documentation>any additional properties</xs:documentation> + </xs:annotation> + </xs:any> + </xs:sequence> + </xs:complexType> + <xs:complexType name="SimpleMandateContentType"> + <xs:annotation> + <xs:documentation>complex type for describing the mandate using some + textual descriptions</xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="md:ParameterisedDescription"> + <xs:annotation> + <xs:documentation>element contains a parameterised description of a + mandate's + content + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="md:TextualDescription"> + <xs:annotation> + <xs:documentation>element contians parameterised text + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:choice> + <xs:element name="References" minOccurs="0"> + <xs:complexType> + <xs:sequence maxOccurs="unbounded"> + <xs:element name="MandateID"> + <xs:annotation> + <xs:documentation>the ID of the Mandate which is referenced by + the TextualDescription-Element</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:token"/> + </xs:simpleContent> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:group ref="md:ConstraintsGroup"> + <xs:annotation> + <xs:documentation>group of constraints applicable for a mandate + content</xs:documentation> + </xs:annotation> + </xs:group> + </xs:sequence> + <xs:attribute name="ContentIdentifier" type="xs:string"/> + </xs:complexType> + <xs:simpleType name="TextualDescriptionType"> + <xs:annotation> + <xs:documentation>simple type for textual descriptions of mandates, + constraints,..</xs:documentation> + </xs:annotation> + <xs:restriction base="xs:token"> + <xs:whiteSpace value="collapse"/> + </xs:restriction> + </xs:simpleType> + <xs:element name="Annotation"> + <xs:annotation> + <xs:documentation>arbitrary annotation containing a short description + of the mandate</xs:documentation> + </xs:annotation> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:whiteSpace value="collapse"/> + <xs:maxLength value="255"/> + </xs:restriction> + </xs:simpleType> + </xs:element> + <xs:element name="AnyConstraints" type="md:TextualDescriptionType"> + <xs:annotation> + <xs:documentation>element contains arbitrary restrictions + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Intermediary" type="pr:PhysicalPersonType"> + <xs:annotation> + <xs:documentation>personal data defining the intermediary + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Issued"> + <xs:annotation> + <xs:documentation>the place and the date of issuing the mandate + </xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:sequence> + <xs:element name="Place" type="xs:token"/> + <xs:element name="Date" type="md:DateType"/> + <xs:element name="Time" type="xs:time" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="Mandate"> + <xs:annotation> + <xs:documentation>electronic mandate</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:sequence> + <xs:element ref="md:Annotation" minOccurs="0"> + <xs:annotation> + <xs:documentation>arbitrary annotation containing a short description + of the mandate</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="md:StatusInformationService" minOccurs="0"> + <xs:annotation> + <xs:documentation>location to retrieve current status information + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="md:Representative"> + <xs:annotation> + <xs:documentation>personal data defining the representative + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="md:Mandator"> + <xs:annotation> + <xs:documentation>personal data defining the mandator + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="md:Intermediary" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>personal data defining the intermediary + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="md:Issued"> + <xs:annotation> + <xs:documentation>the place and the date of issuing the mandate + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="md:Properties" minOccurs="0"> + <xs:annotation> + <xs:documentation>element contains arbitrary properties of a mandate + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="md:SimpleMandateContent"> + <xs:annotation> + <xs:documentation>element contains the content of a mandate + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:choice> + <xs:element ref="dsig:Signature" minOccurs="0"/> + </xs:sequence> + <xs:attribute name="MandateID" use="required" type="xs:string"/> + <xs:attribute name="MandateType" type="xs:string"/> + </xs:complexType> + </xs:element> + <xs:element name="Mandator"> + <xs:annotation> + <xs:documentation>personal data defining the mandator + </xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:choice> + <xs:element ref="pr:CorporateBody"> + <xs:annotation> + <xs:documentation>element of corporate body type, derived from Person</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="pr:PhysicalPerson"> + <xs:annotation> + <xs:documentation>element of physical person type, dreived from Person (abstract)</xs:documentation> + </xs:annotation> + </xs:element> + </xs:choice> + </xs:complexType> + </xs:element> + <xs:element name="ParameterDefinition"> + <xs:annotation> + <xs:documentation>element contains the definition of parameters used + </xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:sequence minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="md:SetParameter"> + <xs:annotation> + <xs:documentation>element defines a parameter</xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="ParameterisedDescription" type="md:ParameterisedDescriptionType"> + <xs:annotation> + <xs:documentation>element contains a parameterised description of a + mandate's + content + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="ParameterisedText" type="md:ParameterisedTextType"> + <xs:annotation> + <xs:documentation>element contains parameterised text and the + definition of the annotation</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="PasteParameter"> + <xs:annotation> + <xs:documentation>element represent a parameter to be replaced in the + parameterised text</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:attribute name="Name" type="xs:token"/> + </xs:complexType> + </xs:element> + <xs:element name="Properties" type="md:PropertiesType"> + <xs:annotation> + <xs:documentation>element contains arbitrary properties of a mandate + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Representative"> + <xs:annotation> + <xs:documentation>personal data defining the representative + </xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:choice> + <xs:element ref="pr:CorporateBody"> + <xs:annotation> + <xs:documentation>element of corporate body type, derived from Person</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="pr:PhysicalPerson"> + <xs:annotation> + <xs:documentation>element of physical person type, dreived from Person (abstract)</xs:documentation> + </xs:annotation> + </xs:element> + </xs:choice> + </xs:complexType> + </xs:element> + <xs:element name="SetParameter"> + <xs:annotation> + <xs:documentation>element defines a parameter</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:token"> + <xs:attribute name="Name" type="xs:token"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + <xs:element name="SimpleMandateContent" type="md:SimpleMandateContentType"> + <xs:annotation> + <xs:documentation>element contains the content of a mandate + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="StatusInformationService" type="xs:anyURI"> + <xs:annotation> + <xs:documentation>location to retrieve current status information + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="TextualDescription" type="md:TextualDescriptionType"> + <xs:annotation> + <xs:documentation>element contians parameterised text + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="ValidFrom" type="md:DateType"> + <xs:annotation> + <xs:documentation>element describes beginning of the validity period + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="ValidTo" type="md:DateType"> + <xs:annotation> + <xs:documentation>element describes endpoint of the validity period + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:group name="ConstraintsGroup"> + <xs:annotation> + <xs:documentation>group of constraints applicable for a mandate + content</xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:element name="TimeConstraint" minOccurs="0"> + <xs:complexType> + <xs:sequence> + <xs:element ref="md:ValidFrom"> + <xs:annotation> + <xs:documentation>element describes beginning of the validity period + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="md:ValidTo"> + <xs:annotation> + <xs:documentation>element describes endpoint of the validity period + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="CollectiveConstraint" minOccurs="0"> + <xs:complexType> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="md:AnyConstraints"> + <xs:annotation> + <xs:documentation>element contains arbitrary restrictions + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="pr:CorporateBody"> + <xs:annotation> + <xs:documentation>element of corporate body type, derived from Person</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="pr:PhysicalPerson"> + <xs:annotation> + <xs:documentation>element of physical person type, dreived from Person (abstract)</xs:documentation> + </xs:annotation> + </xs:element> + </xs:choice> + </xs:complexType> + </xs:element> + <xs:element name="TransactionLimit" minOccurs="0"> + <xs:complexType> + <xs:sequence> + <xs:element name="Amount" type="xs:float"/> + <xs:element name="Currency" default="EUR" type="xs:token"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element ref="md:AnyConstraints" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>element contains arbitrary restrictions + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:group> + </xs:schema> + <xs:schema xmlns="http://reference.e-government.gv.at/namespace/persondata/20020228#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://reference.e-government.gv.at/namespace/persondata/20020228#" version="1.0.0" elementFormDefault="qualified" attributeFormDefault="unqualified"> + <xs:import namespace="http://www.w3.org/2000/09/xmldsig#"/> + <xs:annotation> + <xs:documentation>This version of person deploys only global elements. All types derived from abstract types have been replaced by substitution groups</xs:documentation> + </xs:annotation> + <xs:complexType name="AbstractAddressType"> + <xs:annotation> + <xs:documentation>main structure of address data</xs:documentation> + </xs:annotation> + <xs:sequence minOccurs="0"> + <xs:element name="Identification" type="ns6:IdentificationType" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>unique identification entities</xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + <xs:attribute name="Id" type="xs:ID"/> + <xs:anyAttribute processContents="strict" namespace="##other"/> + </xs:complexType> + <xs:complexType name="AbstractPersonType"> + <xs:annotation> + <xs:documentation>main structure of person data</xs:documentation> + </xs:annotation> + <xs:choice minOccurs="0"> + <xs:element ref="ns6:AbstractSimpleIdentification" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>possibility to include common austrian primary keys in human readable way, english translation not available</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Identification" type="ns6:IdentificationType" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>unique identification entities</xs:documentation> + </xs:annotation> + </xs:element> + </xs:choice> + <xs:attribute name="Id" type="xs:ID"/> + <xs:anyAttribute processContents="strict" namespace="##other"/> + </xs:complexType> + <xs:simpleType name="AlternativeNameTypeType"> + <xs:annotation> + <xs:documentation>known + any other alternative name types</xs:documentation> + </xs:annotation> + <xs:union memberTypes="ns6:xStringPatternExtensionType ns6:DefinedAlternativeNameTypeType"/> + </xs:simpleType> + <xs:complexType name="BankConnectionType"> + <xs:annotation> + <xs:documentation>compare BankverbindungTyp</xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:element name="Holder" type="xs:string"> + <xs:annotation> + <xs:documentation>Account holder, compare Inhaber</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="BankName" type="xs:string"> + <xs:annotation> + <xs:documentation>compare BankName</xs:documentation> + </xs:annotation> + </xs:element> + <xs:choice> + <xs:element name="InternationalBankConnection"> + <xs:annotation> + <xs:documentation>compare InternationaleBankverbindung</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:sequence> + <xs:element name="IBAN" type="xs:string"> + <xs:annotation> + <xs:documentation>compare IBAN</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="BIC" type="xs:string"> + <xs:annotation> + <xs:documentation>comapre BIC</xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="NationalBankConnection"> + <xs:annotation> + <xs:documentation>compare NationaleBankverbindung</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:sequence> + <xs:element name="AccountNumber" type="xs:integer"> + <xs:annotation> + <xs:documentation>compare Kontonummer</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="BankCode" type="xs:integer"> + <xs:annotation> + <xs:documentation>compare BLZ</xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:choice> + </xs:sequence> + </xs:complexType> + <xs:complexType name="CompactCorporateBodyType"> + <xs:annotation> + <xs:documentation>juridical person, organisation, compare NichtNatuerlichePersonTyp</xs:documentation> + </xs:annotation> + <xs:complexContent> + <xs:extension base="ns6:AbstractPersonType"> + <xs:sequence minOccurs="0"> + <xs:element name="Type" type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>URI pointing to a predefined Class of CorporateBodies, compare Typ</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="FullName" type="xs:token"> + <xs:annotation> + <xs:documentation>name of corporate body (whole name), compare VollerName</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="LegalForm" type="xs:anyURI" minOccurs="0"> + <xs:annotation> + <xs:documentation>type of company (eg AG, OHG, ...), URI pointing to predefined LegalForm, compare Rechtsform</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Organization" type="xs:token" minOccurs="0"> + <xs:annotation> + <xs:documentation>part of an organisation, see also X.500 ou (eg departement, section, branch, ...) , compare Organisation</xs:documentation> + </xs:annotation> + </xs:element> + <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"> + <xs:annotation> + <xs:documentation>any additional properties</xs:documentation> + </xs:annotation> + </xs:any> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="CompactPersonDataType"> + <xs:annotation> + <xs:documentation>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).</xs:documentation> + </xs:annotation> + <xs:complexContent> + <xs:extension base="ns6:AbstractPersonType"> + <xs:sequence> + <xs:element ref="ns6:Person"> + <xs:annotation> + <xs:documentation>element of person type, essential abstract, subsitute PhysicalPerson or CorporateBody instead or use with xsi:type="..."</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:Address" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>element of address type, essentially abstract. Use InternetAddress, TelephoneAddress, PostalAddress, TypedPostalAddress instead, or use Address with xsi:type Attribute</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="dsig:Signature" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>one or more electronic signatures applied on fields above</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="AdditionalData" minOccurs="0"> + <xs:annotation> + <xs:documentation>container for your Information needs. Contained Elements must reside in a different Namespace</xs:documentation> + </xs:annotation> + <xs:complexType mixed="true"> + <xs:sequence minOccurs="0" maxOccurs="unbounded"> + <xs:any processContents="lax" namespace="##any"> + <xs:annotation> + <xs:documentation>any additional properties</xs:documentation> + </xs:annotation> + </xs:any> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="CompactPersonNameType"> + <xs:annotation> + <xs:documentation>container for parts of a name, comapre PersonenNameTyp</xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:element name="GivenName" type="xs:string" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>Every given name should be contained inside a GivenName Tag. If that is not possible due to dabase contraints, ... putting several given names inside one GivenName Element is acceptable</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="FamilyName" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>Every family name should be contained inside a FamilyName Tag. If that is not possible due to dabase contraints, ... putting several family names inside one FamilyName Element is acceptable</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="prefix" type="xs:string"/> + <xs:attribute name="primary" default="undefined"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + <xs:enumeration value="undefined"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + <xs:element name="Affix" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>Inlcudes all Information that is not exactly a name: academic or aristocratic titles, ... the new position attribute can contain a suffx or prefix value</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="position"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="prefix"/> + <xs:enumeration value="suffix"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="type"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="academicGrade"/> + <xs:enumeration value="aristocraticPrefix"/> + <xs:enumeration value="aristocraticTitle"/> + <xs:enumeration value="familyNamePrefix"/> + <xs:enumeration value="familyNameSuffix"/> + <xs:enumeration value="formOfAddress"/> + <xs:enumeration value="generation"/> + <xs:enumeration value="qualification"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + <xs:complexType name="CompactPhysicalPersonType"> + <xs:annotation> + <xs:documentation>physical person, compare NatuerlichePersonTyp</xs:documentation> + </xs:annotation> + <xs:complexContent> + <xs:extension base="ns6:AbstractPersonType"> + <xs:sequence minOccurs="0"> + <xs:element ref="ns6:CompactName"> + <xs:annotation> + <xs:documentation>data related to the person's name</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:MaritalStatus" minOccurs="0"> + <xs:annotation> + <xs:documentation>status of a person in the cycle of life, compare Familienstand</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:Sex" minOccurs="0"> + <xs:annotation> + <xs:documentation>gender, comapre Geschlecht</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:DateOfBirth" minOccurs="0"> + <xs:annotation> + <xs:documentation>date of birth, compare Geburtsdatum</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:PlaceOfBirth" minOccurs="0"> + <xs:annotation> + <xs:documentation>place of birth, compare Geburtsort</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:Nationality" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>nationality of Person, compare Staatsangehoerigkeit. attention! New Fomrat is complex, string value accepted for compatibility only</xs:documentation> + </xs:annotation> + </xs:element> + <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"> + <xs:annotation> + <xs:documentation>any additional properties</xs:documentation> + </xs:annotation> + </xs:any> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="CompactPostalAddressType"> + <xs:annotation> + <xs:documentation>compare PostAdresseTyp</xs:documentation> + </xs:annotation> + <xs:complexContent> + <xs:extension base="ns6:AbstractAddressType"> + <xs:sequence> + <xs:element name="CountryCode" minOccurs="0"> + <xs:annotation> + <xs:documentation>Code for the country, use ISO or internatinal Postalstandard, compare Staatscode</xs:documentation> + </xs:annotation> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="[A-Z]{2}"/> + </xs:restriction> + </xs:simpleType> + </xs:element> + <xs:element name="CountryName" type="xs:string" minOccurs="0"> + <xs:annotation> + <xs:documentation>Name of the country, use ISO Name, or international Postal Standard, compare Staatsname</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="PostalCode" type="xs:string"> + <xs:annotation> + <xs:documentation>ZIP, compare Postleitzahl</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Municipality" type="xs:string"> + <xs:annotation> + <xs:documentation>compare Gemeinde</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="DeliveryAddress"> + <xs:complexType> + <xs:sequence> + <xs:element name="StreetName" type="xs:string"> + <xs:annotation> + <xs:documentation>if streetname not available use name of Ortschaft</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="BuildingNumber" type="xs:string"/> + <xs:element name="Unit" type="xs:string" minOccurs="0"/> + <xs:element name="DoorNumber" type="xs:string" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + <xs:attribute name="type" default="undefined"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="postOfficeBoxAddress"/> + <xs:enumeration value="streetAddress"/> + <xs:enumeration value="militaryAddress"/> + <xs:enumeration value="undefined"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="CorporateBodyType"> + <xs:annotation> + <xs:documentation>juridical person, organisation, compare NichtNatuerlichePersonTyp</xs:documentation> + </xs:annotation> + <xs:complexContent> + <xs:extension base="ns6:AbstractPersonType"> + <xs:sequence minOccurs="0"> + <xs:element name="Type" type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>URI pointing to a predefined Class of CorporateBodies, compare Typ</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="FullName" type="xs:token" minOccurs="0"> + <xs:annotation> + <xs:documentation>name of corporate body (whole name), compare VollerName</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="AlternativeName" type="xs:token" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>alternative names of corporate body (abbreviations, short name, synonyms, ...), comapre AlternativName</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="LegalForm" type="xs:anyURI" minOccurs="0"> + <xs:annotation> + <xs:documentation>type of company (eg AG, OHG, ...), URI pointing to predefined LegalForm, compare Rechtsform</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Organization" type="xs:token" minOccurs="0"> + <xs:annotation> + <xs:documentation>part of an organisation, see also X.500 ou (eg departement, section, branch, ...) , compare Organisation</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:BankConnection" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>National or international bank connection, compare Bankverbindung</xs:documentation> + </xs:annotation> + </xs:element> + <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"> + <xs:annotation> + <xs:documentation>any additional properties</xs:documentation> + </xs:annotation> + </xs:any> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:simpleType name="DateOfBirthType"> + <xs:annotation> + <xs:documentation>simple type for dates (union), which may omit day and/or month</xs:documentation> + </xs:annotation> + <xs:union memberTypes="xs:date xs:gYearMonth xs:gYear"/> + </xs:simpleType> + <xs:simpleType name="DateOfDeathType"> + <xs:annotation> + <xs:documentation>simple type for dates (union), which may omit day and/or month</xs:documentation> + </xs:annotation> + <xs:union memberTypes="xs:date xs:gYearMonth xs:gYear"/> + </xs:simpleType> + <xs:simpleType name="DefinedAlternativeNameTypeType"> + <xs:annotation> + <xs:documentation>known types of alternative names</xs:documentation> + </xs:annotation> + <xs:restriction base="xs:string"> + <xs:enumeration value="ArtistName"/> + <xs:enumeration value="NickName"/> + <xs:enumeration value="FormerName"/> + <xs:enumeration value="Alias"/> + <xs:enumeration value="MaidenName"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="DefinedRelationType"> + <xs:annotation> + <xs:documentation>known relations (family + functional)</xs:documentation> + </xs:annotation> + <xs:restriction base="xs:string"> + <xs:enumeration value="family:Parent"/> + <xs:enumeration value="family:Child"/> + <xs:enumeration value="family:Sibling"/> + <xs:enumeration value="family:Grandparent"/> + <xs:enumeration value="family:Grandchild"/> + <xs:enumeration value="family:Spouse"/> + <xs:enumeration value="function:LegalGuardian"/> + <xs:enumeration value="function:IsGuardedBy"/> + <xs:enumeration value="function:Cohabitant"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="FederalStateType"> + <xs:annotation> + <xs:documentation>zmr use only</xs:documentation> + </xs:annotation> + <xs:restriction base="xs:string"> + <xs:enumeration value="Wien"/> + <xs:enumeration value="Niederösterreich"/> + <xs:enumeration value="Burgenland"/> + <xs:enumeration value="Oberösterreich"/> + <xs:enumeration value="Steiermark"/> + <xs:enumeration value="Salzburg"/> + <xs:enumeration value="Kärnten"/> + <xs:enumeration value="Tirol"/> + <xs:enumeration value="Vorarlberg"/> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="IdentificationType"> + <xs:annotation> + <xs:documentation>unique identifier</xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:element name="Value"> + <xs:annotation> + <xs:documentation>actual value of the identifier.</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="Id" type="xs:ID"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + <xs:element name="Type" type="xs:anyURI"> + <xs:annotation> + <xs:documentation>type of value (eg 'ZMR', 'SV-Nummer', 'Martrikelnummer', database identification, ...)</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Authority" type="xs:anyURI" minOccurs="0"> + <xs:annotation> + <xs:documentation>authority, which is reponsible for generation of the identifier (eg university in case of 'MatrikelNummer')</xs:documentation> + </xs:annotation> + </xs:element> + <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"> + <xs:annotation> + <xs:documentation>any additional properties</xs:documentation> + </xs:annotation> + </xs:any> + </xs:sequence> + <xs:attribute name="Id" type="xs:ID"/> + <xs:anyAttribute processContents="strict" namespace="##other"/> + </xs:complexType> + <xs:complexType name="InternetAddressType"> + <xs:annotation> + <xs:documentation>e.g. e-mail, webiste, compare InternetAdresseTyp</xs:documentation> + </xs:annotation> + <xs:complexContent> + <xs:extension base="ns6:AbstractAddressType"> + <xs:sequence minOccurs="0"> + <xs:element ref="dsig:KeyInfo" minOccurs="0"> + <xs:annotation> + <xs:documentation>certificate for secure communication</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Address" type="xs:anyURI"> + <xs:annotation> + <xs:documentation>URI: email-Address, Web, FTP, LDAP, ..., comapre Adress</xs:documentation> + </xs:annotation> + </xs:element> + <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"> + <xs:annotation> + <xs:documentation>any additional properties</xs:documentation> + </xs:annotation> + </xs:any> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:simpleType name="MaritalStatusType"> + <xs:annotation> + <xs:documentation>simple type for marital status of a person</xs:documentation> + </xs:annotation> + <xs:restriction base="xs:token"> + <xs:enumeration value="single"/> + <xs:enumeration value="married"/> + <xs:enumeration value="divorced"/> + <xs:enumeration value="widowed"/> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="MobileTelcomNumberType"> + <xs:annotation> + <xs:documentation>like TelephoneAddresseType but with additional smsEnabled attribute</xs:documentation> + </xs:annotation> + <xs:complexContent> + <xs:extension base="ns6:TelcomNumberType"> + <xs:attribute name="smsEnabled" type="xs:boolean"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="NationalityType" mixed="true"> + <xs:annotation> + <xs:documentation>comapre, StaatsangehoerigkeitTyp</xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:element name="ISOCode3" minOccurs="0"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:length value="3"/> + </xs:restriction> + </xs:simpleType> + </xs:element> + <xs:element name="CountryNameDE" type="xs:string" minOccurs="0"/> + <xs:element name="CountryNameEN" type="xs:string" minOccurs="0"/> + <xs:element name="CountryNameFR" type="xs:string" minOccurs="0"/> + <xs:any processContents="lax" namespace="##other"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="PersonDataType"> + <xs:annotation> + <xs:documentation>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).</xs:documentation> + </xs:annotation> + <xs:complexContent> + <xs:extension base="ns6:AbstractPersonType"> + <xs:sequence> + <xs:element ref="ns6:Person"> + <xs:annotation> + <xs:documentation>element of person type, essential abstract, subsitute PhysicalPerson or CorporateBody instead or use with xsi:type="..."</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:Address" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>element of address type, essentially abstract. Use InternetAddress, TelephoneAddress, PostalAddress, TypedPostalAddress instead, or use Address with xsi:type Attribute</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="dsig:Signature" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>one or more electronic signatures applied on fields above</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="AdditionalData" minOccurs="0"> + <xs:annotation> + <xs:documentation>container for your Information needs. Contained Elements must reside in a different Namespace</xs:documentation> + </xs:annotation> + <xs:complexType mixed="true"> + <xs:sequence minOccurs="0" maxOccurs="unbounded"> + <xs:any processContents="lax" namespace="##any"> + <xs:annotation> + <xs:documentation>any additional properties</xs:documentation> + </xs:annotation> + </xs:any> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="PersonNameType"> + <xs:annotation> + <xs:documentation>container for parts of a name, comapre PersonenNameTyp</xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:element name="FormattedName" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>Complete Name (including Affixes) of the Person, especially useful for names from different cultural environments</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="type" default="presentation"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="presentation"/> + <xs:enumeration value="legal"/> + <xs:enumeration value="sortOrder"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + <xs:element name="LegalName" type="xs:string" minOccurs="0"/> + <xs:element name="GivenName" type="xs:string" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>Every given name should be contained inside a GivenName Tag. If that is not possible due to dabase contraints, ... putting several given names inside one GivenName Element is acceptable</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="PreferredGivenName" type="xs:string" minOccurs="0"> + <xs:annotation> + <xs:documentation>A Person in possesion of more than one GivenName frequently preferrs the use of a Name other than the first GivenName</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="MiddleName" type="xs:string" minOccurs="0"> + <xs:annotation> + <xs:documentation>MiddleNames are not commonly found in central Europe. The field is mainly for compatibility reasons</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="FamilyName" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>Every family name should be contained inside a FamilyName Tag. If that is not possible due to dabase contraints, ... putting several family names inside one FamilyName Element is acceptable</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="prefix" type="xs:string"/> + <xs:attribute name="primary" default="undefined"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + <xs:enumeration value="undefined"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + <xs:element name="Affix" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>Inlcudes all Information that is not exactly a name: academic or aristocratic titles, ... the new position attribute can contain a suffx or prefix value</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="position"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="prefix"/> + <xs:enumeration value="suffix"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="type"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="academicGrade"/> + <xs:enumeration value="aristocraticPrefix"/> + <xs:enumeration value="aristocraticTitle"/> + <xs:enumeration value="familyNamePrefix"/> + <xs:enumeration value="familyNameSuffix"/> + <xs:enumeration value="formOfAddress"/> + <xs:enumeration value="generation"/> + <xs:enumeration value="qualification"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + <xs:complexType name="PhysicalPersonType"> + <xs:annotation> + <xs:documentation>physical person, compare NatuerlichePersonTyp</xs:documentation> + </xs:annotation> + <xs:complexContent> + <xs:extension base="ns6:AbstractPersonType"> + <xs:sequence minOccurs="0"> + <xs:element ref="ns6:Name" minOccurs="0"> + <xs:annotation> + <xs:documentation>data related to the person's name</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:AlternativeName" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>Former name, Artist name, changes of Given name ..., compare AlternativName</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:MaritalStatus" minOccurs="0"> + <xs:annotation> + <xs:documentation>status of a person in the cycle of life, compare Familienstand</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:Sex" minOccurs="0"> + <xs:annotation> + <xs:documentation>gender, comapre Geschlecht</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:DateOfBirth" minOccurs="0"> + <xs:annotation> + <xs:documentation>date of birth, compare Geburtsdatum</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:PlaceOfBirth" minOccurs="0"> + <xs:annotation> + <xs:documentation>place of birth, compare Geburtsort</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:StateOfBirth" minOccurs="0"> + <xs:annotation> + <xs:documentation>state of birth, comapre Geburtsbundesland</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:CountryOfBirth" minOccurs="0"> + <xs:annotation> + <xs:documentation>country of birth, compare Geburtsland</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:DateOfDeath" minOccurs="0"> + <xs:annotation> + <xs:documentation>date of death, compare Sterbedatum</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:Nationality" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>nationality of Person, compare Staatsangehoerigkeit. attention! New Fomrat is complex, string value accepted for compatibility only</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:Confession" minOccurs="0"> + <xs:annotation> + <xs:documentation>confession (religion) of Person - xs:token? gibt es wirklich keine Staaten mit Leerzeichen im Namen?</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:Occupation" minOccurs="0"> + <xs:annotation> + <xs:documentation>occupation, compare Beruf</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:relatedPerson" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>relatives (parents, ...), compare Verwandter</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:BankConnection" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>National or international bank connection, compare Bankverbindung</xs:documentation> + </xs:annotation> + </xs:element> + <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"> + <xs:annotation> + <xs:documentation>any additional properties</xs:documentation> + </xs:annotation> + </xs:any> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="PostalAddressType"> + <xs:annotation> + <xs:documentation>compare PostAdresseTyp</xs:documentation> + </xs:annotation> + <xs:complexContent> + <xs:extension base="ns6:AbstractAddressType"> + <xs:sequence> + <xs:element name="CountryCode" minOccurs="0"> + <xs:annotation> + <xs:documentation>Code for the country, use ISO or internatinal Postalstandard, compare Staatscode</xs:documentation> + </xs:annotation> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="[A-Z]{2}"/> + </xs:restriction> + </xs:simpleType> + </xs:element> + <xs:element name="CountryName" type="xs:string" minOccurs="0"> + <xs:annotation> + <xs:documentation>Name of the country, use ISO Name, or international Postal Standard, compare Staatsname</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="PostalCode" type="xs:string" minOccurs="0"> + <xs:annotation> + <xs:documentation>ZIP, compare Postleitzahl</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Region" type="xs:string" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>compare Region</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="State" type="xs:string" minOccurs="0"> + <xs:annotation> + <xs:documentation>compare Bundesland</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Municipality" type="xs:string" minOccurs="0"> + <xs:annotation> + <xs:documentation>compare Gemeinde</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="MunicipalityNumber" type="xs:string" minOccurs="0"> + <xs:annotation> + <xs:documentation>compare Gemeindekennzahl</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Hamlet" type="xs:string" minOccurs="0"> + <xs:annotation> + <xs:documentation>ZMR use, compare Ortschaft</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="HamletBilingual" type="xs:string" minOccurs="0"> + <xs:annotation> + <xs:documentation>ZMR use, comapre OrtschaftZweisprachig</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="DeliveryAddress" minOccurs="0"> + <xs:complexType> + <xs:sequence> + <xs:element name="AddressLine" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> + <xs:element name="StreetName" type="xs:string" minOccurs="0"/> + <xs:element name="BuildingNumber" type="xs:string" minOccurs="0"/> + <xs:element name="Unit" type="xs:string" minOccurs="0"/> + <xs:element name="DoorNumber" type="xs:string" minOccurs="0"/> + <xs:element name="PostOfficeBox" type="xs:string" minOccurs="0"/> + <xs:element name="LivingQuality" type="xs:string" minOccurs="0"> + <xs:annotation> + <xs:documentation>zmr use only</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="DropOffPoint" type="xs:boolean" minOccurs="0"> + <xs:annotation> + <xs:documentation>zmr use only</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="AreaNumber" type="xs:string" minOccurs="0"/> + <xs:element name="AddressRegisterEntry" minOccurs="0"> + <xs:annotation> + <xs:documentation>Addressregister database keys used to identify Addresses</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:sequence> + <xs:element name="AddressCode" type="ns6:string7"/> + <xs:element name="SubCode" type="ns6:string3" minOccurs="0"/> + <xs:element name="ObjectNumber" type="ns6:string7" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="Recipient" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>If Addressis used outside of PersonData a recipient can be specified</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:sequence> + <xs:element name="PersonName" type="ns6:PersonNameType" minOccurs="0"/> + <xs:element name="AdditionalText" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> + <xs:element name="Organization" type="xs:string" minOccurs="0"> + <xs:annotation> + <xs:documentation>rather OrganizationUnit e.G Sales Departement</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="OrganizationName" type="xs:string" minOccurs="0"> + <xs:annotation> + <xs:documentation>e.g. Smith Ltd</xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + <xs:attribute name="type" default="undefined"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="postOfficeBoxAddress"/> + <xs:enumeration value="streetAddress"/> + <xs:enumeration value="militaryAddress"/> + <xs:enumeration value="undefined"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:simpleType name="RelationType"> + <xs:annotation> + <xs:documentation>known + any other relation</xs:documentation> + </xs:annotation> + <xs:union memberTypes="ns6:xStringPatternExtensionType ns6:DefinedRelationType"/> + </xs:simpleType> + <xs:simpleType name="SexType"> + <xs:annotation> + <xs:documentation>simple type for sex (gender) of person</xs:documentation> + </xs:annotation> + <xs:restriction base="xs:token"> + <xs:enumeration value="male"/> + <xs:enumeration value="female"/> + <xs:enumeration value="unknown"/> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="TelcomNumberType"> + <xs:annotation> + <xs:documentation>formated number or set of telephone number parts</xs:documentation> + </xs:annotation> + <xs:choice> + <xs:element ref="ns6:FormattedNumber"> + <xs:annotation> + <xs:documentation>Complete number, ready formated - e.g. +43 1 5131345 4664 compare FormatierteNummer</xs:documentation> + </xs:annotation> + </xs:element> + <xs:group ref="ns6:TelcomNumberGroup"> + <xs:annotation> + <xs:documentation>set of telephone number parts</xs:documentation> + </xs:annotation> + </xs:group> + </xs:choice> + </xs:complexType> + <xs:complexType name="TelephoneAddressType"> + <xs:annotation> + <xs:documentation>phone numbers, conmpare TelephoneAdresseTyp</xs:documentation> + </xs:annotation> + <xs:complexContent> + <xs:extension base="ns6:AbstractAddressType"> + <xs:sequence minOccurs="0"> + <xs:element name="Type" type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>type of phononumber - category (eg 'Festnetz', 'Mobile', 'fax', ...)</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Number" type="ns6:TelcomNumberType"> + <xs:annotation> + <xs:documentation>phonenumber</xs:documentation> + </xs:annotation> + </xs:element> + <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"> + <xs:annotation> + <xs:documentation>any additional properties</xs:documentation> + </xs:annotation> + </xs:any> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="TypedPostalAddressType"> + <xs:annotation> + <xs:documentation>postal address with type information, compare TypisiertePostAdresseTyp</xs:documentation> + </xs:annotation> + <xs:complexContent> + <xs:extension base="ns6:AbstractAddressType"> + <xs:sequence minOccurs="0"> + <xs:element name="Type" type="xs:anyURI" minOccurs="0"> + <xs:annotation> + <xs:documentation>type of address - category (eg 'Wohnsitz', 'Zentrale', ...)</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:PostalAddress"> + <xs:annotation> + <xs:documentation>Postal or ZMR Address, compare PostAdresse</xs:documentation> + </xs:annotation> + </xs:element> + <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"> + <xs:annotation> + <xs:documentation>any additional properties</xs:documentation> + </xs:annotation> + </xs:any> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:simpleType name="integer5"> + <xs:restriction base="xs:integer"> + <xs:minInclusive value="10000"/> + <xs:maxInclusive value="99999"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="string100"> + <xs:restriction base="xs:string"> + <xs:maxLength value="100"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="string20"> + <xs:restriction base="xs:string"> + <xs:maxLength value="20"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="string3"> + <xs:restriction base="xs:string"> + <xs:maxLength value="3"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="string30"> + <xs:restriction base="xs:string"> + <xs:maxLength value="30"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="string4"> + <xs:restriction base="xs:string"> + <xs:maxLength value="4"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="string50"> + <xs:restriction base="xs:string"> + <xs:maxLength value="50"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="string7"> + <xs:restriction base="xs:string"> + <xs:maxLength value="7"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="xStringPatternExtensionType"> + <xs:annotation> + <xs:documentation>pattern type for enlargement of type definitions. Contents as follows +x:sometext or 12345 or _ or other symbols +</xs:documentation> + </xs:annotation> + <xs:restriction base="xs:string"> + <xs:pattern value="x:\S.*"/> + </xs:restriction> + </xs:simpleType> + <xs:element name="AbstractPersonData" type="ns6:AbstractPersonType"> + <xs:annotation> + <xs:documentation>dummy abstract Peson Data element needed for bi-lingual schema (substitution groups)</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="AbstractSimpleIdentification" type="xs:string"> + <xs:annotation> + <xs:documentation>possibility to include common austrian primary keys in human readable way, english translation not available</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Address" type="ns6:AbstractAddressType"> + <xs:annotation> + <xs:documentation>element of address type, essentially abstract. Use InternetAddress, TelephoneAddress, PostalAddress, TypedPostalAddress instead, or use Address with xsi:type Attribute</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="AlternativeName"> + <xs:annotation> + <xs:documentation>Former name, Artist name, changes of Given name ..., compare AlternativName</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:complexContent> + <xs:extension base="ns6:PersonNameType"> + <xs:attribute name="Type" type="ns6:AlternativeNameTypeType"/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="AreaCityCode" type="xs:string"> + <xs:annotation> + <xs:documentation>compare Vorwahl</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="BankConnection" type="ns6:BankConnectionType"> + <xs:annotation> + <xs:documentation>National or international bank connection, compare Bankverbindung</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="CompactCorporateBody" substitutionGroup="ns6:Person" type="ns6:CompactCorporateBodyType"> + <xs:annotation> + <xs:documentation>element of corporate body type, derived from Person</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="CompactName" type="ns6:CompactPersonNameType"> + <xs:annotation> + <xs:documentation>data related to the person's name</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="CompactPersonData"> + <xs:annotation> + <xs:documentation>element of signed person datastructure type</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:sequence> + <xs:choice> + <xs:element ref="ns6:CompactCorporateBody"> + <xs:annotation> + <xs:documentation>element of corporate body type, derived from Person</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:CompactPhysicalPerson"> + <xs:annotation> + <xs:documentation>element of physical person type, dreived from Person (abstract)</xs:documentation> + </xs:annotation> + </xs:element> + </xs:choice> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:element ref="ns6:CompactPostalAddress"> + <xs:annotation> + <xs:documentation>Postal or ZMR Address, compare PostAdresse</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:InternetAddress"> + <xs:annotation> + <xs:documentation>InternetAdress such as e-mail or website, compare InternetAdresse</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:TelephoneAddress"> + <xs:annotation> + <xs:documentation>Typed TelephoneAddress, compare TelefonAdresse</xs:documentation> + </xs:annotation> + </xs:element> + </xs:choice> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="CompactPhysicalPerson" substitutionGroup="ns6:Person" type="ns6:CompactPhysicalPersonType"> + <xs:annotation> + <xs:documentation>element of physical person type, dreived from Person (abstract)</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="CompactPostalAddress" substitutionGroup="ns6:Address" type="ns6:CompactPostalAddressType"> + <xs:annotation> + <xs:documentation>Postal or ZMR Address, compare PostAdresse</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Confession" type="xs:token"> + <xs:annotation> + <xs:documentation>confession (religion) of Person - xs:token? gibt es wirklich keine Staaten mit Leerzeichen im Namen?</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="CorporateBody" substitutionGroup="ns6:Person" type="ns6:CorporateBodyType"> + <xs:annotation> + <xs:documentation>element of corporate body type, derived from Person</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="CountryOfBirth" type="xs:token"> + <xs:annotation> + <xs:documentation>country of birth, compare Geburtsland</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="DateOfBirth" type="ns6:DateOfBirthType"> + <xs:annotation> + <xs:documentation>date of birth, compare Geburtsdatum</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="DateOfDeath" type="ns6:DateOfDeathType"> + <xs:annotation> + <xs:documentation>date of death, compare Sterbedatum</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Ergaenzungsregisterzahl" substitutionGroup="ns6:AbstractSimpleIdentification" type="xs:string"> + <xs:annotation> + <xs:documentation>Ergänzungsregister für nicht-natürliche Personen (CorporateBody)</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Extension" type="xs:string"> + <xs:annotation> + <xs:documentation>compare Klappe</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Fax" type="ns6:TelcomNumberType"/> + <xs:element name="Firmenbuchnummer" substitutionGroup="ns6:AbstractSimpleIdentification" type="xs:string"/> + <xs:element name="FormattedNumber" type="xs:string"> + <xs:annotation> + <xs:documentation>Complete number, ready formated - e.g. +43 1 5131345 4664 compare FormatierteNummer</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="InternationalCountryCode" type="xs:string"> + <xs:annotation> + <xs:documentation>compare InternationalerLaendercode</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="InternetAddress" substitutionGroup="ns6:Address" type="ns6:InternetAddressType"> + <xs:annotation> + <xs:documentation>InternetAdress such as e-mail or website, compare InternetAdresse</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="MaritalStatus" type="ns6:MaritalStatusType"> + <xs:annotation> + <xs:documentation>status of a person in the cycle of life, compare Familienstand</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Matrikelnummer" substitutionGroup="ns6:AbstractSimpleIdentification" type="xs:string"/> + <xs:element name="Mobile" type="ns6:MobileTelcomNumberType"/> + <xs:element name="Name" type="ns6:PersonNameType"> + <xs:annotation> + <xs:documentation>data related to the person's name</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="NationalNumber" type="xs:string"> + <xs:annotation> + <xs:documentation>compare NationalNummer</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Nationality" type="ns6:NationalityType"> + <xs:annotation> + <xs:documentation>nationality of Person, compare Staatsangehoerigkeit. attention! New Fomrat is complex, string value accepted for compatibility only</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Occupation" type="xs:string"> + <xs:annotation> + <xs:documentation>occupation, compare Beruf</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Pager" type="ns6:TelcomNumberType"/> + <xs:element name="Person" type="ns6:AbstractPersonType"> + <xs:annotation> + <xs:documentation>element of person type, essential abstract, subsitute PhysicalPerson or CorporateBody instead or use with xsi:type="..."</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="PersonData" substitutionGroup="ns6:AbstractPersonData" type="ns6:PersonDataType"> + <xs:annotation> + <xs:documentation>element of signed person datastructure type</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="PhysicalPerson" substitutionGroup="ns6:Person" type="ns6:PhysicalPersonType"> + <xs:annotation> + <xs:documentation>element of physical person type, dreived from Person (abstract)</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="PlaceOfBirth" type="xs:token"> + <xs:annotation> + <xs:documentation>place of birth, compare Geburtsort</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="PostalAddress" substitutionGroup="ns6:Address" type="ns6:PostalAddressType"> + <xs:annotation> + <xs:documentation>Postal or ZMR Address, compare PostAdresse</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Sex" type="ns6:SexType"> + <xs:annotation> + <xs:documentation>gender, comapre Geschlecht</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Sozialversicherungsnummer" substitutionGroup="ns6:AbstractSimpleIdentification" type="xs:string"/> + <xs:element name="Stammzahl" substitutionGroup="ns6:AbstractSimpleIdentification" type="xs:string"/> + <xs:element name="StateOfBirth" type="xs:token"> + <xs:annotation> + <xs:documentation>state of birth, comapre Geburtsbundesland</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Steuernummer" substitutionGroup="ns6:AbstractSimpleIdentification" type="xs:string"/> + <xs:element name="SubscriberNumber" type="xs:string"> + <xs:annotation> + <xs:documentation>compare Anschlussnummer</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="TTYTDD" type="ns6:TelcomNumberType"> + <xs:annotation> + <xs:documentation>teletyper or telephone for the hearing impaired</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Telephone" type="ns6:TelcomNumberType"/> + <xs:element name="TelephoneAddress" substitutionGroup="ns6:Address" type="ns6:TelephoneAddressType"> + <xs:annotation> + <xs:documentation>Typed TelephoneAddress, compare TelefonAdresse</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="TypedPostalAddress" substitutionGroup="ns6:Address" type="ns6:TypedPostalAddressType"> + <xs:annotation> + <xs:documentation>Typed Postal or ZMR Address, compare TypisiertePostAdresse</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="Vereinsnummer" substitutionGroup="ns6:AbstractSimpleIdentification" type="xs:string"/> + <xs:element name="ZMRzahl" substitutionGroup="ns6:AbstractSimpleIdentification" type="xs:string"/> + <xs:element name="relatedPerson"> + <xs:annotation> + <xs:documentation>relatives (parents, ...), compare Verwandter</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:sequence> + <xs:element name="TypeOfRelation" type="ns6:RelationType" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>type of the relationship, compare Verwandschftsgrad</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:PhysicalPerson"> + <xs:annotation> + <xs:documentation>element of physical person type, dreived from Person (abstract)</xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:group name="TelcomNumberGroup"> + <xs:annotation> + <xs:documentation>set of telephone number parts</xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:element ref="ns6:InternationalCountryCode" minOccurs="0"> + <xs:annotation> + <xs:documentation>compare InternationalerLaendercode</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:NationalNumber" minOccurs="0"> + <xs:annotation> + <xs:documentation>compare NationalNummer</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:AreaCityCode" minOccurs="0"> + <xs:annotation> + <xs:documentation>compare Vorwahl</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:SubscriberNumber"> + <xs:annotation> + <xs:documentation>compare Anschlussnummer</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="ns6:Extension" minOccurs="0"> + <xs:annotation> + <xs:documentation>compare Klappe</xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:group> + </xs:schema> + <xs:schema xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.usp.gv.at/namespace/mandates/20160301#" version="0.0.1" elementFormDefault="qualified" attributeFormDefault="unqualified"> + <xs:import namespace="http://reference.e-government.gv.at/namespace/persondata/20020228#"/> + <xs:element name="AdditionalMandateProperty"> + <xs:annotation> + <xs:documentation>additional usp specific property for an electronic mandate</xs:documentation> + </xs:annotation> + <xs:complexType> + <xs:sequence minOccurs="0"> + <xs:element name="RepresentativeSubId" type="pr:IdentificationType"/> + <xs:element name="MandatorSubId" type="pr:IdentificationType"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:schema> + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://eai.brz.gv.at/services/vdds/synchronisation" elementFormDefault="qualified" attributeFormDefault="unqualified"> + <xs:import namespace="http://eai.brz.gv.at/services/vdds/sync-msgs"/> + <xs:import namespace="http://reference.e-government.gv.at/namespace/mandates/20040701#"/> + <xs:import namespace="http://reference.e-government.gv.at/namespace/persondata/20020228#"/> + <xs:import namespace="http://www.w3.org/2000/09/xmldsig#"/> + <xs:import namespace="http://www.usp.gv.at/namespace/mandates/20160301#"/> + <xs:import namespace="http://eai.brz.gv.at/services/vdds/common"/> + <xs:import namespace="http://eai.brz.gv.at/services/vdds/token"/> + <xs:import/> + <xs:element name="CreateMandateFault" type="ns3:ResultType"/> + <xs:element name="CreateMandateStateFault" type="ns3:ResultType"/> + <xs:element name="ListMandatesFault" type="ns3:ResultType"/> + <xs:element name="RequestModificationTokenFault" type="ns3:ResultType"/> + <xs:element name="TerminateMandateFault" type="ns3:ResultType"/> + <xs:element name="TerminateMandateStateFault" type="ns3:ResultType"/> + </xs:schema> + <xs:schema xmlns:pers="http://reference.e-government.gv.at/namespace/persondata/20020228#" xmlns:md="http://reference.e-government.gv.at/namespace/mandates/20040701#" xmlns:tk="http://eai.brz.gv.at/services/vdds/token" xmlns:tns="http://eai.brz.gv.at/services/vdds/sync-msgs" xmlns:cm="http://eai.brz.gv.at/services/vdds/common" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://eai.brz.gv.at/services/vdds/sync-msgs" elementFormDefault="qualified" attributeFormDefault="unqualified"> + <xs:import namespace="http://reference.e-government.gv.at/namespace/mandates/20040701#"/> + <xs:import namespace="http://eai.brz.gv.at/services/vdds/token"/> + <xs:import namespace="http://eai.brz.gv.at/services/vdds/common"/> + <xs:import namespace="http://reference.e-government.gv.at/namespace/persondata/20020228#"/> + <xs:simpleType name="DetailsType"> + <xs:restriction base="xs:string"> + <xs:enumeration value="Full"/> + <xs:enumeration value="Identifiers"/> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="FilterType"> + <xs:sequence> + <xs:element name="Filter" type="xs:anyType"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="ListMandatesResponseType"> + <xs:choice> + <xs:sequence> + <xs:element ref="tns:Pagination" minOccurs="0"/> + <xs:element ref="tns:SearchResult"/> + </xs:sequence> + <xs:sequence> + <xs:element ref="tns:Result"> + <xs:annotation> + <xs:documentation> + this is the general purpose response element used + to acknowledge several events + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:choice> + <xs:attribute name="variantType" type="xs:string"/> + <xs:attribute name="version" type="xs:string"/> + </xs:complexType> + <xs:complexType name="MandateAttributesSearchFilterType"> + <xs:complexContent> + <xs:restriction base="tns:FilterType"> + <xs:sequence> + <xs:element name="Filter"> + <xs:complexType> + <xs:sequence> + <xs:element name="SearchCriteria"> + <xs:complexType> + <xs:sequence maxOccurs="7"> + <xs:choice> + <xs:element name="ActivationRange" type="tns:TimeRangeType"/> + <xs:element name="MandateType" type="md:TextualDescriptionType"/> + <xs:element name="MandatorID" type="pers:IdentificationType"/> + <xs:element name="RepresentativeID" type="pers:IdentificationType"/> + <xs:element name="TerminationRange" type="tns:TimeRangeType"/> + <xs:element name="ValidFromTo" type="tns:TimeRangeType"/> + <xs:element ref="md:Properties"> + <xs:annotation> + <xs:documentation>element contains arbitrary properties of a mandate + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:choice> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="MandateIDSearchFilterType"> + <xs:complexContent> + <xs:restriction base="tns:FilterType"> + <xs:sequence> + <xs:element name="Filter"> + <xs:complexType> + <xs:sequence> + <xs:element name="SearchCriteria"> + <xs:complexType> + <xs:sequence> + <xs:element name="MandateID" type="xs:string"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="MandateListType"> + <xs:choice minOccurs="0"> + <xs:element ref="tns:MandateAttributes" maxOccurs="unbounded"/> + <xs:element ref="md:Mandate" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>electronic mandate</xs:documentation> + </xs:annotation> + </xs:element> + </xs:choice> + </xs:complexType> + <xs:complexType name="MandateRequestType"> + <xs:sequence> + <xs:element ref="tk:ModificationToken"/> + <xs:element ref="md:Mandate"> + <xs:annotation> + <xs:documentation>electronic mandate</xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="tns:TextProperties" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="OutputFilterType"> + <xs:complexContent> + <xs:extension base="tns:FilterType"> + <xs:sequence> + <xs:element name="Details" type="tns:DetailsType"/> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:simpleType name="ReferenceTypes"> + <xs:restriction base="xs:string"> + <xs:enumeration value="Representative"/> + <xs:enumeration value="Mandator"/> + </xs:restriction> + </xs:simpleType> + <xs:complexType name="ReferencedMandatesType"> + <xs:sequence> + <xs:choice> + <xs:element ref="md:Mandator"> + <xs:annotation> + <xs:documentation>personal data defining the mandator + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="md:Representative"> + <xs:annotation> + <xs:documentation>personal data defining the representative + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:choice> + <xs:choice> + <xs:element ref="tns:MandateAttributes" maxOccurs="unbounded"/> + <xs:element ref="md:Mandate" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation>electronic mandate</xs:documentation> + </xs:annotation> + </xs:element> + </xs:choice> + </xs:sequence> + </xs:complexType> + <xs:complexType name="SimplePath"> + <xs:sequence> + <xs:element name="PathTo"> + <xs:complexType> + <xs:attribute name="recurse" type="xs:boolean"/> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + <xs:complexType name="TimeRangeType"> + <xs:sequence> + <xs:element name="From" type="md:DateType"/> + <xs:element name="To" default="9999-12-31" type="md:DateType"/> + </xs:sequence> + <xs:attribute name="strictRange" type="xs:boolean"/> + </xs:complexType> + <xs:element name="CreateMandateAck" type="cm:ReferableResultType"/> + <xs:element name="CreateMandateAsyncResponse"> + <xs:complexType> + <xs:sequence> + <xs:element ref="tk:ModificationToken"/> + <xs:element ref="tns:Result"> + <xs:annotation> + <xs:documentation> + this is the general purpose response element used + to acknowledge several events + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="CreateMandateRequest" type="tns:MandateRequestType"/> + <xs:element name="ListMandatesRequest"> + <xs:complexType> + <xs:sequence> + <xs:element ref="tns:SearchFilter" maxOccurs="2"/> + <xs:element ref="tns:OutputFilter" minOccurs="0"/> + </xs:sequence> + <xs:attribute name="variantType" type="xs:string"/> + <xs:attribute name="version" type="xs:string"/> + </xs:complexType> + </xs:element> + <xs:element name="ListMandatesResponse" type="tns:ListMandatesResponseType"/> + <xs:element name="ListReferencedMandatesOutputFilter" substitutionGroup="tns:OutputFilter"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="tns:OutputFilterType"> + <xs:sequence> + <xs:element name="Filter"> + <xs:complexType> + <xs:sequence> + <xs:element name="ReferencedBy" type="tns:ReferenceTypes"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="Details" type="tns:DetailsType"/> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="MandateAttributes"> + <xs:complexType> + <xs:sequence> + <xs:element name="MandateId" type="xs:string" minOccurs="0"/> + <xs:element name="MandateType" type="md:TextualDescriptionType" minOccurs="0"/> + <xs:element name="MandateText" type="md:ParameterisedDescriptionType" minOccurs="0"/> + <xs:element ref="md:Mandator" minOccurs="0"> + <xs:annotation> + <xs:documentation>personal data defining the mandator + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="md:Representative" minOccurs="0"> + <xs:annotation> + <xs:documentation>personal data defining the representative + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element ref="md:Properties" minOccurs="0"> + <xs:annotation> + <xs:documentation>element contains arbitrary properties of a mandate + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="ActivationTime" type="xs:dateTime" minOccurs="0"/> + <xs:element name="TerminationTime" type="xs:dateTime" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="MandateAttributesSearchFilter" substitutionGroup="tns:SearchFilter" type="tns:MandateAttributesSearchFilterType"/> + <xs:element name="MandateIDSearchFilter" substitutionGroup="tns:SearchFilter" type="tns:MandateIDSearchFilterType"/> + <xs:element name="MandateList" substitutionGroup="tns:SearchResult"> + <xs:complexType> + <xs:sequence> + <xs:element name="Mandates" type="tns:MandateListType"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="OutputFilter" type="tns:OutputFilterType"/> + <xs:element name="Pagination"> + <xs:complexType> + <xs:sequence> + <xs:element name="StartRow" type="xs:integer"/> + <xs:element name="NumRows" type="xs:integer"/> + <xs:element name="HasMore" type="xs:boolean" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="PaginationFilter" substitutionGroup="tns:SearchFilter"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="tns:FilterType"> + <xs:sequence> + <xs:element name="Filter"> + <xs:complexType> + <xs:sequence> + <xs:element ref="tns:Pagination"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="ProcessTypeOutputFilter" substitutionGroup="tns:OutputFilter"> + <xs:complexType> + <xs:complexContent> + <xs:restriction base="tns:OutputFilterType"> + <xs:sequence> + <xs:element name="Filter"> + <xs:complexType> + <xs:sequence> + <xs:element name="ProcessIdentifier" type="xs:string"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="Details" type="tns:DetailsType"/> + </xs:sequence> + </xs:restriction> + </xs:complexContent> + </xs:complexType> + </xs:element> + <xs:element name="ReferencedMandatesResult" substitutionGroup="tns:SearchResult"> + <xs:complexType> + <xs:sequence> + <xs:element name="ReferencedMandates" type="tns:ReferencedMandatesType"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="Result" type="cm:ReferableResultType"> + <xs:annotation> + <xs:documentation> + this is the general purpose response element used + to acknowledge several events + </xs:documentation> + </xs:annotation> + </xs:element> + <xs:element name="SearchFilter" type="tns:FilterType"/> + <xs:element name="SearchResult" type="xs:anyType"/> + <xs:element name="TerminateMandateAck" type="cm:ReferableResultType"/> + <xs:element name="TerminateMandateAsyncResponse"> + <xs:complexType> + <xs:sequence> + <xs:element ref="tk:ModificationToken"/> + <xs:element ref="tns:Result"> + <xs:annotation> + <xs:documentation> + this is the general purpose response element used + to acknowledge several events + </xs:documentation> + </xs:annotation> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="TerminateMandateRequest" type="tns:MandateRequestType"/> + <xs:element name="TextProperties"> + <xs:complexType> + <xs:sequence> + <xs:element name="Property" maxOccurs="unbounded"> + <xs:complexType> + <xs:sequence> + <xs:element name="Name" type="xs:string"/> + <xs:element name="Value" type="xs:string"/> + </xs:sequence> + <xs:attribute name="ValueType" type="xs:string"/> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="VariantAttributes"> + <xs:attribute name="variantType" type="xs:string"/> + <xs:attribute name="version" type="xs:string"/> + </xs:attributeGroup> + </xs:schema> + </wsdl:types> + <wsdl:service name="synchronisation-service.serviceagent"> + <wsdl:port name="ISyncServiceEndpoint" binding="tns:ISyncServiceEndpointBinding"> + <soap:address location="http://localhost:7145/Synchronisation-Provide-WSDL"/> + </wsdl:port> + </wsdl:service> + <wsdl:portType name="ISyncService"> + <wsdl:operation name="TerminateMandateState"> + <wsdl:input message="tns:TerminateMandateStateRequest"/> + <wsdl:output message="tns:TerminateMandate_OutputMessage"/> + <wsdl:fault name="fault" message="tns:TerminateMandateStateFault"/> + </wsdl:operation> + <wsdl:operation name="TerminateMandate"> + <wsdl:input message="tns:TerminateMandate_InputMessage"/> + <wsdl:output message="tns:TerminateMandate_OutputMessage"/> + <wsdl:fault name="fault" message="tns:TerminateMandateFault"/> + </wsdl:operation> + <wsdl:operation name="CreateMandate"> + <wsdl:input message="tns:CreateMandate_InputMessage"/> + <wsdl:output message="tns:CreateMandate_OutputMessage"/> + <wsdl:fault name="fault" message="tns:CreateMandateFault"/> + </wsdl:operation> + <wsdl:operation name="ListMandates"> + <wsdl:input message="tns:ListMandatesRequest"/> + <wsdl:output message="tns:ListMandatesResponse"/> + <wsdl:fault name="fault" message="tns:ListMandatesFault"/> + </wsdl:operation> + <wsdl:operation name="RequestModificationToken"> + <wsdl:input message="tns:RequestToken_InputMessage"/> + <wsdl:output message="tns:RequestToken_OutputMessage"/> + <wsdl:fault name="fault" message="tns:RequestModificationTokenFault"/> + </wsdl:operation> + <wsdl:operation name="CreateMandateState"> + <wsdl:input message="tns:CreateMandateStateRequest"/> + <wsdl:output message="tns:CreateMandate_OutputMessage"/> + <wsdl:fault name="fault" message="tns:CreateMandateStateFault"/> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="ISyncServiceEndpointBinding" type="tns:ISyncService"> + <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="TerminateMandateState"> + <soap:operation style="document" soapAction="TerminateMandateState"/> + <wsdl:input> + <soap:body use="literal" parts="parameters"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" parts="parameters"/> + </wsdl:output> + <wsdl:fault name="fault"> + <soap:fault use="literal" name="fault"/> + </wsdl:fault> + </wsdl:operation> + <wsdl:operation name="TerminateMandate"> + <soap:operation style="document" soapAction="TerminateMandate"/> + <wsdl:input> + <soap:body use="literal" parts="parameters"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" parts="parameters"/> + </wsdl:output> + <wsdl:fault name="fault"> + <soap:fault use="literal" name="fault"/> + </wsdl:fault> + </wsdl:operation> + <wsdl:operation name="CreateMandate"> + <soap:operation style="document" soapAction="CreateMandate"/> + <wsdl:input> + <soap:body use="literal" parts="parameters"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" parts="parameters"/> + </wsdl:output> + <wsdl:fault name="fault"> + <soap:fault use="literal" name="fault"/> + </wsdl:fault> + </wsdl:operation> + <wsdl:operation name="ListMandates"> + <soap:operation style="document" soapAction="ListMandates"/> + <wsdl:input> + <soap:body use="literal" parts="parameters"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" parts="parameters"/> + </wsdl:output> + <wsdl:fault name="fault"> + <soap:fault use="literal" name="fault"/> + </wsdl:fault> + </wsdl:operation> + <wsdl:operation name="RequestModificationToken"> + <soap:operation style="document" soapAction="RequestModificationToken"/> + <wsdl:input> + <soap:body use="literal" parts="parameters"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" parts="parameters"/> + </wsdl:output> + <wsdl:fault name="fault"> + <soap:fault use="literal" name="fault"/> + </wsdl:fault> + </wsdl:operation> + <wsdl:operation name="CreateMandateState"> + <soap:operation style="document" soapAction="CreateMandateState"/> + <wsdl:input> + <soap:body use="literal" parts="parameters"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" parts="parameters"/> + </wsdl:output> + <wsdl:fault name="fault"> + <soap:fault use="literal" name="fault"/> + </wsdl:fault> + </wsdl:operation> + </wsdl:binding> + <wsdl:message name="TerminateMandateStateRequest"> + <wsdl:part name="parameters" element="ns0:TerminateMandateAsyncResponse"/> + </wsdl:message> + <wsdl:message name="TerminateMandate_OutputMessage"> + <wsdl:part name="parameters" element="ns0:TerminateMandateAck"/> + </wsdl:message> + <wsdl:message name="TerminateMandateStateFault"> + <wsdl:part name="parameters" element="ns1:TerminateMandateStateFault"/> + </wsdl:message> + <wsdl:message name="TerminateMandate_InputMessage"> + <wsdl:part name="parameters" element="ns0:TerminateMandateRequest"/> + </wsdl:message> + <wsdl:message name="TerminateMandateFault"> + <wsdl:part name="parameters" element="ns1:TerminateMandateFault"/> + </wsdl:message> + <wsdl:message name="CreateMandate_InputMessage"> + <wsdl:part name="parameters" element="ns0:CreateMandateRequest"/> + </wsdl:message> + <wsdl:message name="CreateMandate_OutputMessage"> + <wsdl:part name="parameters" element="ns0:CreateMandateAck"/> + </wsdl:message> + <wsdl:message name="CreateMandateFault"> + <wsdl:part name="parameters" element="ns1:CreateMandateFault"/> + </wsdl:message> + <wsdl:message name="ListMandatesRequest"> + <wsdl:part name="parameters" element="ns0:ListMandatesRequest"/> + </wsdl:message> + <wsdl:message name="ListMandatesResponse"> + <wsdl:part name="parameters" element="ns0:ListMandatesResponse"/> + </wsdl:message> + <wsdl:message name="ListMandatesFault"> + <wsdl:part name="parameters" element="ns1:ListMandatesFault"/> + </wsdl:message> + <wsdl:message name="RequestToken_InputMessage"> + <wsdl:part name="parameters" element="ns2:ModificationTokenRequest"/> + </wsdl:message> + <wsdl:message name="RequestToken_OutputMessage"> + <wsdl:part name="parameters" element="ns2:ModificationTokenResponse"/> + </wsdl:message> + <wsdl:message name="RequestModificationTokenFault"> + <wsdl:part name="parameters" element="ns1:RequestModificationTokenFault"/> + </wsdl:message> + <wsdl:message name="CreateMandateStateRequest"> + <wsdl:part name="parameters" element="ns0:CreateMandateAsyncResponse"/> + </wsdl:message> + <wsdl:message name="CreateMandateStateFault"> + <wsdl:part name="parameters" element="ns1:CreateMandateStateFault"/> + </wsdl:message> +</wsdl:definitions>
\ No newline at end of file |