diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2014-03-25 12:11:34 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2014-03-25 12:11:34 +0100 |
commit | 107930978eefc7234e99bbccd483f4da3a690c0d (patch) | |
tree | feef5d6db47dada6cb9df3333bebfa8fdb13db29 /src/main/java | |
parent | 655d20aa34b819720b20165dc6aeea032df224cc (diff) | |
download | egovutils-107930978eefc7234e99bbccd483f4da3a690c0d.tar.gz egovutils-107930978eefc7234e99bbccd483f4da3a690c0d.tar.bz2 egovutils-107930978eefc7234e99bbccd483f4da3a690c0d.zip |
add UR Client version 5
remove UR Client version 1
change egovutils version to 1.0.5
Diffstat (limited to 'src/main/java')
93 files changed, 6212 insertions, 2770 deletions
diff --git a/src/main/java/at/gv/util/client/ur/URClient.java b/src/main/java/at/gv/util/client/ur/URClient.java deleted file mode 100644 index 4988a0f..0000000 --- a/src/main/java/at/gv/util/client/ur/URClient.java +++ /dev/null @@ -1,307 +0,0 @@ -package at.gv.util.client.ur; - -import java.math.BigInteger; -import java.net.URL; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -import javax.annotation.Resource; -import javax.net.ssl.SSLContext; -import javax.xml.bind.JAXBElement; -import javax.xml.namespace.QName; -import javax.xml.ws.BindingProvider; -import javax.xml.ws.WebServiceContext; -import javax.xml.ws.handler.Handler; - -import org.apache.commons.lang.RandomStringUtils; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.w3c.dom.Element; -import org.w3c.dom.NodeList; - -import at.gv.util.xsd.ur.xmlsw.ResultCriteriaType; -import at.gv.util.xsd.ur.xmlsw.ResultRecord; -import at.gv.util.xsd.ur.xmlsw.SearchByExampleType; -import at.gv.util.xsd.ur.xmlsw.SearchCriteriaType; -import at.gv.util.xsd.ur.xmlsw.SearchResponseType; -import at.gv.util.DOMUtils; -import at.gv.util.LaxHostNameVerifier; -import at.gv.util.LoggingHandler; -import at.gv.util.MiscUtil; -import at.gv.util.client.szr.SZRSOAPHandler; -import at.gv.util.config.EgovUtilConfiguration; -import at.gv.util.ex.EgovUtilException; -import at.gv.util.wsdl.ur.URSuche; -import at.gv.util.wsdl.ur.URSucheService; -import at.gv.util.xsd.szr.pvp.PvpTokenType; -import at.gv.util.xsd.ur.pd.IdentificationType; -import at.gv.util.xsd.ur.pd.NichtNatuerlichePersonTyp; -import at.gv.util.xsd.ur.pd.PersonenDatenTyp; -import at.gv.util.xsd.ur.search.Funktion; -import at.gv.util.xsd.ur.search.ObjectFactory; -import at.gv.util.xsd.ur.search.SucheUnternehmenNachBpkRequest; -import at.gv.util.xsd.ur.search.SucheUnternehmenNachIdsRequest; -import at.gv.util.xsd.ur.search.SucheUnternehmenRequest; -import at.gv.util.xsd.ur.search.SucheUnternehmensdaten; - -import com.sun.xml.ws.developer.JAXWSProperties; - -public class URClient { - - @Resource - WebServiceContext wsContext; - - private EgovUtilConfiguration config = null; - private Logger log = LoggerFactory.getLogger(URClient.class); - private boolean logEnabled = true; - private boolean evbCheck = true; - - private URSuche urSuche = null; - - private final static String version = "V2.0"; - private List<String> allowedKeys = null; - - private final static String EVB = "einzelvertretungsbefugt"; - - public URClient(EgovUtilConfiguration config, List<String> allowedKeys, boolean evbCheck, boolean logEnabled) throws EgovUtilException { - MiscUtil.assertNotNull(config, "config"); - this.config = config; - this.allowedKeys = allowedKeys; - this.logEnabled = logEnabled; - this.evbCheck = evbCheck; - initialize(); - } - - public List<NichtNatuerlichePersonTyp> searchByBpk(String vzbpk) throws URClientException { - SucheUnternehmenNachBpkRequest request = new SucheUnternehmenNachBpkRequest(); - ObjectFactory of = new ObjectFactory(); - request.setVersion(version); - request.setBpkWTUREncoded(vzbpk); - List<ResultRecord> results = searchByExample(of.createSucheUnternehmenNachBpkRequest(request), -1); - return getNichtNatuerlichePersonen(results); - } - - public List<NichtNatuerlichePersonTyp> searchByRegisterNumber(String number, String type, int maxResults) throws URClientException { - SucheUnternehmenRequest request = new SucheUnternehmenRequest(); - ObjectFactory of = new ObjectFactory(); - request.setVersion(version); - SucheUnternehmensdaten sud = new SucheUnternehmensdaten(); - sud.setId(number); - sud.setIdArt(type); - request.setUnternehmensdaten(sud); - List<ResultRecord> results = searchByExample(of.createSucheUnternehmenRequest(request), maxResults); - return getNichtNatuerlichePersonen(results); - } - - public List<NichtNatuerlichePersonTyp> searchByName(String name, String plz, int maxResults) throws URClientException { - SucheUnternehmenRequest request = new SucheUnternehmenRequest(); - ObjectFactory of = new ObjectFactory(); - request.setVersion(version); - SucheUnternehmensdaten sud = new SucheUnternehmensdaten(); - sud.setUntName(name); - if (MiscUtil.isNotEmpty(plz)) { - sud.setPlz(plz); - } - request.setUnternehmensdaten(sud); - List<ResultRecord> results = searchByExample(of.createSucheUnternehmenRequest(request), maxResults); - return getNichtNatuerlichePersonen(results); - } - - @SuppressWarnings("unchecked") - private List<NichtNatuerlichePersonTyp> getNichtNatuerlichePersonen(List<ResultRecord> records) throws URClientException { - - if (records == null || records.size() == 0) { - return new ArrayList<NichtNatuerlichePersonTyp>(); - } - List<String> kurs = new ArrayList<String>(); - for (ResultRecord rr : records) { - PersonenDatenTyp pdt = ((JAXBElement<PersonenDatenTyp>) rr.getAny().get(0)).getValue(); - NichtNatuerlichePersonTyp nnpt = ((JAXBElement<NichtNatuerlichePersonTyp>) pdt.getPerson()).getValue(); - for (IdentificationType idt : nnpt.getIdentification()) { - if ("KUR".equals(idt.getType())) { - - // check evb - if (this.evbCheck) { - if (isEVB(pdt)) { - kurs.add(idt.getValue().getValue()); - log.debug("EVB found for " + nnpt.getVollerName()); - } else { - log.debug("Not EVB for " + nnpt.getVollerName()); - } - } else { - kurs.add(idt.getValue().getValue()); - } - } - } - } - return getNichtNatuerlichePerson(kurs); - } - - // check if person is einzelvertretungsbefugt - public static boolean isEVB(PersonenDatenTyp pdt) { - boolean isEVB = false; - for (Object content : pdt.getZusatzdaten().getContent()) { - if (content instanceof JAXBElement) { - JAXBElement jxb = (JAXBElement) content; - if (jxb.getDeclaredType().equals(PersonenDatenTyp.class)) { - PersonenDatenTyp pd = (PersonenDatenTyp) jxb.getValue(); - if (pd.getZusatzdaten() != null) { - for (Object c2 : pd.getZusatzdaten().getContent()) { - - if (c2 instanceof Element) { - Element fktElement = (Element) c2; - if ("Funktion".equals(fktElement.getLocalName())) { - NodeList nl = fktElement.getElementsByTagNameNS("http://statistik.at/namespace/ur/stammdaten/1#", "Vertretungsbefugnis"); - if (nl.getLength() > 0) { - String vbt = DOMUtils.getText(nl.item(0)); - if (EVB.equals(vbt)) { - return true; - } - } - } - } else if (c2 instanceof JAXBElement) { - JAXBElement jxb2= (JAXBElement) c2; - if (jxb2.getDeclaredType().equals(Funktion.class)) { - Funktion fkt = (Funktion) jxb2.getValue(); - if (EVB.equals(fkt.getVertretungsbefugnis())) { - return true; - } - } - } - } - } - } - } - } - return false; - } - - // get list of legal persons - @SuppressWarnings("unchecked") - public List<NichtNatuerlichePersonTyp> getNichtNatuerlichePerson(List<String> ids) throws URClientException { - SucheUnternehmenNachIdsRequest request = new SucheUnternehmenNachIdsRequest(); - ObjectFactory of = new ObjectFactory(); - request.getKur().addAll(ids); - List<ResultRecord> results = searchByExample(of.createSucheUnternehmenNachIdsRequest(request), -1); - if (results.size() == 0) { - return new ArrayList<NichtNatuerlichePersonTyp>(); - } - List<NichtNatuerlichePersonTyp> result = new ArrayList<NichtNatuerlichePersonTyp>(); - for (ResultRecord rr : results) { - PersonenDatenTyp pdt = ((JAXBElement<PersonenDatenTyp>)rr.getAny().get(0)).getValue(); - - NichtNatuerlichePersonTyp nnpt = ((JAXBElement<NichtNatuerlichePersonTyp>) pdt.getPerson()).getValue(); - - // check if we have to filter out - if (this.allowedKeys == null || this.allowedKeys.size() == 0) { - result.add(nnpt); - } else { - boolean hasKey = false; - for (IdentificationType idt : nnpt.getIdentification()) { - if (this.allowedKeys.contains(idt.getType())) { - hasKey = true; - } - } - if (hasKey) { - result.add(nnpt); - } - } - - } - return result; - } - - // search by example - public List<ResultRecord> searchByExample(Object request, int maxResults) throws URClientException { - SearchByExampleType body = new SearchByExampleType(); - body.setSearchRequestId(createURSearchId()); - ResultCriteriaType rc = new ResultCriteriaType(); - // set only value of max results if > 0 - if (maxResults > 0) { - rc.setMaxRecords(BigInteger.valueOf(maxResults)); - } - body.setResultCriteria(rc); - SearchCriteriaType sct = new SearchCriteriaType(); - sct.getAny().add(request); - body.setSearchCriteria(sct); - SearchResponseType srt = this.urSuche.searchByExample(body); - - // check number of records found -// int numFound = 0; -// if (srt.getResultInfo() != null) { -// numFound = srt.getResultInfo().getReturnedRecords().intValue(); -// } - // check whether we have an error message - if (srt.getMessage() != null) { - if (srt.getMessage().getCode().intValue() != 2040) { // 2040 = no records found - throw new URClientException(srt.getMessage().getReason().get(0), srt.getMessage().getCode().intValue()); - } - } - if (srt.getResultRecords() == null || srt.getResultRecords().getResultRecord() == null) { - return new ArrayList<ResultRecord>(); - } - return srt.getResultRecords().getResultRecord(); - } - - @SuppressWarnings({ "rawtypes", "unchecked" }) - private void initialize() throws EgovUtilException { - URL url = URClient.class.getResource("/wsdl/ur/URSucheService.wsdl"); - URSucheService urService = null; - String urURL = null; - urService = new URSucheService(url, new QName("urn:at:statistik:udb:ws", "URSucheService")); - urSuche = urService.getURSucheService(); - if (config.isURTestEnvironment()) { - log.trace("Initializing UR test configuration."); - urURL = config.getURTestEnvironmentURL(); - } else { - log.trace("Initializing UR productive configuration."); - urURL = config.getURProductionEnvironmentURL(); - } - - log.trace("UR connection URL: " + urURL); - BindingProvider bindingProvider = (BindingProvider) urSuche; - Map<String, Object> requestContext = bindingProvider.getRequestContext(); - requestContext.put( - BindingProvider.ENDPOINT_ADDRESS_PROPERTY, urURL); - - log.trace("Adding JAX-WS request/response trace handler."); - List<Handler> handlerList = bindingProvider.getBinding().getHandlerChain(); - if (handlerList == null) { - handlerList = new ArrayList(); - } - LoggingHandler loggingHandler = new LoggingHandler(); - if (this.logEnabled) { - handlerList.add(loggingHandler); - } - log.trace("Adding WS-Security Header handler."); - PvpTokenType pvpToken = config.getURPVPToken(); - SZRSOAPHandler szrSOAPHandler = new SZRSOAPHandler(); - szrSOAPHandler.configure(pvpToken); - handlerList.add(szrSOAPHandler); - bindingProvider.getBinding().setHandlerChain(handlerList); - - // check for ssl - if (urURL.toLowerCase().startsWith("https")) { - log.trace("Using ssl for SZR client request."); - SSLContext sslContext = this.config.getURsslConfiguration().getSSLContext(false); - if (sslContext == null) { - throw new EgovUtilException("SSL context from configuration is empty. Please configure an SSL context in the configuration first."); - } - requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, sslContext.getSocketFactory()); - - // check for lax hostname - if (this.config.getURsslConfiguration().useLaxHostNameVerifier()) { - log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); - requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, new LaxHostNameVerifier()); - } - } - } - - private String createURSearchId() { - return RandomStringUtils.randomAlphanumeric(8) + "-" + - RandomStringUtils.randomAlphanumeric(4) + "-" + RandomStringUtils.randomAlphanumeric(4) + "-" + - RandomStringUtils.randomAlphanumeric(12); - } - -} diff --git a/src/main/java/at/gv/util/client/ur_V5/URClient.java b/src/main/java/at/gv/util/client/ur_V5/URClient.java new file mode 100644 index 0000000..e39b18d --- /dev/null +++ b/src/main/java/at/gv/util/client/ur_V5/URClient.java @@ -0,0 +1,519 @@ +package at.gv.util.client.ur_V5; + +import java.math.BigInteger; +import java.net.URL; +import java.util.ArrayList; +import java.util.GregorianCalendar; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import javax.annotation.Resource; +import javax.net.ssl.SSLContext; +import javax.xml.datatype.DatatypeConfigurationException; +import javax.xml.datatype.DatatypeConstants; +import javax.xml.datatype.DatatypeFactory; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; +import javax.xml.ws.BindingProvider; +import javax.xml.ws.WebServiceContext; +import javax.xml.ws.handler.Handler; + +import org.apache.commons.lang.RandomStringUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import at.gv.util.xsd.ur_V5.xmlsw.ExtraResultCriteria; +import at.gv.util.xsd.ur_V5.xmlsw.ResultCriteriaType; +import at.gv.util.xsd.ur_V5.xmlsw.ResultRecord; +import at.gv.util.xsd.ur_V5.xmlsw.SearchByExampleType; +import at.gv.util.xsd.ur_V5.xmlsw.SearchCriteriaType; +import at.gv.util.xsd.ur_V5.xmlsw.SearchResponseType; +import at.gv.util.LaxHostNameVerifier; +import at.gv.util.LoggingHandler; +import at.gv.util.MiscUtil; +import at.gv.util.client.szr.SZRSOAPHandler; +import at.gv.util.config.EgovUtilConfiguration; +import at.gv.util.ex.EgovUtilException; +import at.gv.util.wsdl.ur_V5.URSuche; +import at.gv.util.wsdl.ur_V5.URSucheService; +import at.gv.util.wsdl.ur_V5.XmlSwFault; +import at.gv.util.xsd.szr.pvp.PvpTokenType; +import at.gv.util.xsd.ur_V5.pd.IdentificationType; +import at.gv.util.xsd.ur_V5.pd.NichtNatuerlichePersonTyp; +import at.gv.util.xsd.ur_V5.pd.PersonenDatenTyp; +import at.gv.util.xsd.ur_V5.pd.PersonenDatenTyp.Zusatzdaten; +import at.gv.util.xsd.ur_V5.pd.PersonenDatenZusatzdatenTyp; +import at.gv.util.xsd.ur_V5.pd.ZusatzdatenPersonenTyp; +import at.gv.util.xsd.ur_V5.search.BestandszeitraumVollzug; +import at.gv.util.xsd.ur_V5.search.FunktionVollzug; +import at.gv.util.xsd.ur_V5.search.SucheUnternehmenNachBpkRequest; +import at.gv.util.xsd.ur_V5.search.SucheUnternehmenRequest; +import at.gv.util.xsd.ur_V5.search.SucheUnternehmensdaten; +import at.gv.util.xsd.ur_V5.simpletypes.EvbStatusTyp; + +import com.sun.xml.ws.developer.JAXWSProperties; + +public class URClient { + + @Resource + WebServiceContext wsContext; + + private EgovUtilConfiguration config = null; + private Logger log = LoggerFactory.getLogger(URClient.class); + private boolean logEnabled = true; + private boolean evbCheck = true; + private URSuche urSuche = null; + + private final static String version = "V5.0"; + private List<String> allowedKeys = null; + private HashSet<String> allowedERsBKeys = null; + + public URClient(EgovUtilConfiguration config, List<String> allowedKeys, HashSet<String> ersbkeys, boolean evbCheck, boolean logEnabled) throws EgovUtilException { + MiscUtil.assertNotNull(config, "config"); + this.config = config; + this.allowedKeys = allowedKeys; + this.logEnabled = logEnabled; + this.evbCheck = evbCheck; + this.allowedERsBKeys = ersbkeys; + + initialize(); + } + + public List<URSearchResult> searchByBpk(String vzbpk) throws URClientException { + SucheUnternehmenNachBpkRequest request = new SucheUnternehmenNachBpkRequest(); + request.setVersion(version); + request.setBpkWTUREncoded(vzbpk); + + request.setNurAktive(true); + + SearchCriteriaType sct = new SearchCriteriaType(); + sct.setSucheUnternehmenNachBpkRequest(request); + + List<ResultRecord> results = searchByExample(sct, -1); + return getURSearchResult(results); + } + + public List<NichtNatuerlichePersonTyp> searchByRegisterNumber(String number, String type, int maxResults) throws URClientException { + SucheUnternehmenRequest request = new SucheUnternehmenRequest(); + request.setVersion(version); + SucheUnternehmensdaten sud = new SucheUnternehmensdaten(); + sud.setId(number); + sud.setIdArt(type); + request.setUnternehmensdaten(sud); + + SearchCriteriaType sct = new SearchCriteriaType(); + sct.setSucheUnternehmenRequest(request); + + List<ResultRecord> results = searchByExample(sct, maxResults); + return getNichtNatuerlichePersonen(results); + } + + public List<NichtNatuerlichePersonTyp> searchByName(String name, String plz, int maxResults) throws URClientException { + SucheUnternehmenRequest request = new SucheUnternehmenRequest(); + request.setVersion(version); + SucheUnternehmensdaten sud = new SucheUnternehmensdaten(); + sud.setUntName(name); + if (MiscUtil.isNotEmpty(plz)) { + sud.setPlz(plz); + } + request.setUnternehmensdaten(sud); + + SearchCriteriaType sct = new SearchCriteriaType(); + sct.setSucheUnternehmenRequest(request); + + List<ResultRecord> results = searchByExample(sct, maxResults); + return getNichtNatuerlichePersonen(results); + } + + private List<URSearchResult> getURSearchResult(List<ResultRecord> records) throws URClientException { + + if (records == null || records.size() == 0) { + return new ArrayList<URSearchResult>(); + } + + List<URSearchResult> result = new ArrayList<URSearchResult>(); + + log.debug("UR SOAP response with " + records.size() + "records"); + + for (ResultRecord rr : records) { + PersonenDatenTyp pdt = rr.getPersonenDaten(); + NichtNatuerlichePersonTyp nnpt = pdt.getNichtNatuerlichePerson(); + Zusatzdaten zsd = pdt.getZusatzdaten(); + + //check validity era + boolean check_valera = isInValidityEra(zsd); + + //check allowed keys + boolean check_allowedkeys = hasAllowedKeys(nnpt.getIdentification()); + + //ERsB function codes + List<String> ersbcode = hasAllowedEVBCode(zsd); + + //check EVB + boolean check_EVB = isEVB(zsd); + + if (check_valera && check_allowedkeys && (check_EVB || !ersbcode.isEmpty())) { + result.add(new URSearchResult(nnpt, ersbcode, check_EVB)); + } + else { + log.debug("No validity for " + nnpt.getRest().get(0).getValue() + + "(Validity era=" + String.valueOf(check_valera) + + " Allowed Keys="+ String.valueOf(check_allowedkeys) + + " EVB check=" + String.valueOf(check_EVB) +")"); + } + } + + return result; + } + + private List<NichtNatuerlichePersonTyp> getNichtNatuerlichePersonen(List<ResultRecord> records) throws URClientException { + + if (records == null || records.size() == 0) { + return new ArrayList<NichtNatuerlichePersonTyp>(); + } + + List<NichtNatuerlichePersonTyp> result = new ArrayList<NichtNatuerlichePersonTyp>(); + + log.debug("UR SOAP response with " + records.size() + "records"); + + for (ResultRecord rr : records) { + PersonenDatenTyp pdt = rr.getPersonenDaten(); + NichtNatuerlichePersonTyp nnpt = pdt.getNichtNatuerlichePerson(); + Zusatzdaten zsd = pdt.getZusatzdaten(); + + //check validity era + boolean check_valera = isInValidityEra(zsd); + + //check allowed keys + boolean check_allowedkeys = hasAllowedKeys(nnpt.getIdentification()); + + //check EVB + boolean check_EVB = isEVB(zsd); + + if (check_valera && check_allowedkeys && check_EVB) { + result.add(nnpt); + } + else { + log.debug("No validity for " + nnpt.getRest().get(0).getValue() + + "(Validity era=" + String.valueOf(check_valera) + + " Allowed Keys="+ String.valueOf(check_allowedkeys) + + " EVB check=" + String.valueOf(check_EVB) +")"); + } + } + + return result; + } + + private List<String> hasAllowedEVBCode(Zusatzdaten zsd) { + + Set<String> set = new HashSet<String>(); + + if ((this.allowedERsBKeys == null || this.allowedERsBKeys.size() == 0)) { + return new ArrayList<String>(); + + } else { + + if(zsd != null) { + List<PersonenDatenZusatzdatenTyp> pd = zsd.getPersonenDaten(); + for (PersonenDatenZusatzdatenTyp pdzd : pd) { + + ZusatzdatenPersonenTyp zusatzdaten = pdzd.getZusatzdaten(); + if (zusatzdaten != null) { + + List<FunktionVollzug> function = zusatzdaten.getFunktion(); + for (FunktionVollzug funct : function) { + + if (this.allowedERsBKeys.contains(String.valueOf(funct.getFktName()))) + + set.add(String.valueOf(funct.getFktName())); + } + } + } + } + + return new ArrayList<String>(set); + } + } + + //check if corporation is in validity era + //TODO: check correctness of TRUE if no validity era is defined!!! + private boolean isInValidityEra(Zusatzdaten zsd) throws URClientException { + if(zsd != null) { + List<BestandszeitraumVollzug> validityera = zsd.getBestandszeitraum(); + for ( BestandszeitraumVollzug valera_el : validityera) { + try { + GregorianCalendar now = new GregorianCalendar(); + XMLGregorianCalendar xmldate = DatatypeFactory.newInstance().newXMLGregorianCalendar(now); + + if ( !(valera_el.getBestandVon().compare(xmldate) == DatatypeConstants.LESSER + && valera_el.getBestandBis().compare(xmldate) == DatatypeConstants.GREATER) ) { + + log.debug("Corporation is not within the validity period"); + return false; + } + + } catch (DatatypeConfigurationException e) { + log.warn("Internal error during date conversion", e); + } + } + } + return true; + } + + // check if person is einzelvertretungsbefugt + private boolean isEVB(Zusatzdaten zsd) { + if (!this.evbCheck) { + return true; + } + else { + if(zsd != null) { + List<PersonenDatenZusatzdatenTyp> pd = zsd.getPersonenDaten(); + for (PersonenDatenZusatzdatenTyp pdzd : pd) { + + if (pdzd.getZusatzdaten() != null) { + EvbStatusTyp evbstatus = pdzd.getZusatzdaten().getEvbStatus(); + if (evbstatus!=null && evbstatus.equals(EvbStatusTyp.J)) { + return true; + } + } + } + } + } + return false; + } + + //check allowedKeys + private boolean hasAllowedKeys(List<IdentificationType> list) throws URClientException { + + if ((this.allowedKeys == null || this.allowedKeys.size() == 0)) { + return true; + + } else { + for (IdentificationType idt : list) { + if (this.allowedKeys.contains(idt.getType())) { + return true; + } + } + } + return false; + } + + + + // search by example + public List<ResultRecord> searchByExample(SearchCriteriaType sct, int maxResults) throws URClientException { + + + SearchByExampleType body = new SearchByExampleType(); + + body.setSearchRequestId(createURSearchId()); + ResultCriteriaType rc = new ResultCriteriaType(); + + log.debug("UR SOAP request with Id " + body.getSearchRequestId()); + + // set only value of max results if > 0 + if (maxResults > 0) { + rc.setMaxRecords(BigInteger.valueOf(maxResults)); + } + + // set ExtraResultCriterias + ExtraResultCriteria ec = new ExtraResultCriteria(); + ec.setErsbAttribute(true); + rc.setExtraResultCriteria(ec); + body.setResultCriteria(rc); + + body.setSearchCriteria(sct); + + //request UR service + SearchResponseType srt = null; + try { + srt = this.urSuche.searchByExample(body); + + } catch (javax.xml.ws.soap.SOAPFaultException e) { + //request secondary service + switchTOSecondarySystem(e); + try { + srt = this.urSuche.searchByExample(body); + + } catch (XmlSwFault e1) { + + if (e1.getFaultInfo() != null) { + throw new URClientException(e1.getFaultInfo().getHelp(), e1.getFaultInfo().getCode().intValue()); + + } else { + throw new URClientException(e1.getMessage(), -1, e1); + } + } + + } catch (com.sun.xml.ws.client.ClientTransportException e) { + //request secondary service + switchTOSecondarySystem(e); + + try { + srt = this.urSuche.searchByExample(body); + + } catch (XmlSwFault e1) { + + if (e1.getFaultInfo() != null) { + throw new URClientException(e1.getFaultInfo().getHelp(), e1.getFaultInfo().getCode().intValue()); + + } else { + throw new URClientException(e1.getMessage(), -1, e1); + } + } + + } catch (XmlSwFault e) { + + if (e.getFaultInfo() != null) { + throw new URClientException(e.getFaultInfo().getHelp(), e.getFaultInfo().getCode().intValue()); + + } else { + throw new URClientException(e.getMessage(), -1, e); + } + + } + + // check number of records found +// int numFound = 0; +// if (srt.getResultInfo() != null) { +// numFound = srt.getResultInfo().getReturnedRecords().intValue(); +// } + // check whether we have an error message + if (srt.getMessage() != null) { + if (srt.getMessage().getCode().intValue() != 2040) { // 2040 = no records found + throw new URClientException(srt.getMessage().getReason().get(0), srt.getMessage().getCode().intValue()); + } + } + + if (srt.getResultRecords() == null || srt.getResultRecords().getResultRecord() == null) { + return new ArrayList<ResultRecord>(); + } + return srt.getResultRecords().getResultRecord(); + } + + private void switchTOSecondarySystem(Exception e) throws URClientException { + log.warn("Request primary UR service failed with error \"" + e.getMessage() +"\". " + + "Switch to secondary UR service."); + + String urURL = config.getURSecondaryProductionEnvironmentURL(); + try { + setURServiceURL(urURL); + + } catch (EgovUtilException e1) { + log.error("Switch to secodary UR service FAILED!", e1); + throw new URClientException(e1.getMessage(), 0); + } + } + + private void setURServiceURL(String urURL) throws EgovUtilException { + // set UR Service URL + + log.trace("UR connection URL: " + urURL); + BindingProvider bindingProvider = (BindingProvider) urSuche; + Map<String, Object> requestContext = bindingProvider.getRequestContext(); + requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, urURL); + + //set HTTP Client Timeout (Default Timeout 60sec) + //requestContext.put(JAXWSProperties.CONNECT_TIMEOUT, this.config.getHTTPRequestTimeout()); + requestContext.put(JAXWSProperties.CONNECT_TIMEOUT, 15000); + + //check for ssl + if (urURL.toLowerCase().startsWith("https")) { + log.trace("Using ssl for SZR client request."); + SSLContext sslContext = this.config.getURsslConfiguration().getSSLContext(false); + if (sslContext == null) { + throw new EgovUtilException("SSL context from configuration is empty. Please configure an SSL context in the configuration first."); + } + requestContext.put(JAXWSProperties.SSL_SOCKET_FACTORY, sslContext.getSocketFactory()); + + // check for lax hostname + if (this.config.getURsslConfiguration().useLaxHostNameVerifier()) { + log.trace("LaxHostnameVerifier enabled. This setting is not recommended to use."); + requestContext.put(JAXWSProperties.HOSTNAME_VERIFIER, new LaxHostNameVerifier()); + } + } + + } + + + @SuppressWarnings({ "rawtypes", "unchecked" }) + private void initialize() throws EgovUtilException { + URL url = URClient.class.getResource("/wsdl/ur_V5/URSucheService.wsdl"); + URSucheService urService = null; + urService = new URSucheService(url, new QName("urn:at:statistik:ur:ws", "URSucheService")); + urSuche = urService.getURSucheService(); + + BindingProvider bindingProvider = (BindingProvider) urSuche; + + //set service URLs + String urURL = null; + if (config.isURTestEnvironment()) { + log.trace("Initializing UR test configuration."); + urURL = config.getURTestEnvironmentURL(); + } else { + log.trace("Initializing UR productive configuration."); + urURL = config.getURProductionEnvironmentURL(); + } + + setURServiceURL(urURL); + + log.trace("Adding JAX-WS request/response trace handler."); + List<Handler> handlerList = bindingProvider.getBinding().getHandlerChain(); + if (handlerList == null) { + handlerList = new ArrayList(); + } + + LoggingHandler loggingHandler = new LoggingHandler(); + if (this.logEnabled) { + handlerList.add(loggingHandler); + } + + log.trace("Adding WS-Security Header handler."); + PvpTokenType pvpToken = config.getURPVPToken(); + SZRSOAPHandler szrSOAPHandler = new SZRSOAPHandler(); + szrSOAPHandler.configure(pvpToken); + handlerList.add(szrSOAPHandler); + bindingProvider.getBinding().setHandlerChain(handlerList); + } + + private String createURSearchId() { + return RandomStringUtils.randomAlphanumeric(8) + "-" + + RandomStringUtils.randomAlphanumeric(4) + "-" + RandomStringUtils.randomAlphanumeric(4) + "-" + + RandomStringUtils.randomAlphanumeric(12); + } + + public class URSearchResult { + private NichtNatuerlichePersonTyp result; + private List<String> ersbcode; + private boolean evb; + + public URSearchResult() { + this.result = null; + this.ersbcode = null; + this.evb = false; + } + + public URSearchResult(NichtNatuerlichePersonTyp result, List<String> ersb_code, boolean isevb) { + this.result = result; + this.ersbcode = ersb_code; + this.evb = isevb; + } + + public NichtNatuerlichePersonTyp getResult() { + return result; + } + + public List<String> getErsbcode() { + return ersbcode; + } + + public boolean isEVB() { + return evb; + } + } + + +} + diff --git a/src/main/java/at/gv/util/client/ur/URClientException.java b/src/main/java/at/gv/util/client/ur_V5/URClientException.java index 80b4cd6..2d69ec4 100644 --- a/src/main/java/at/gv/util/client/ur/URClientException.java +++ b/src/main/java/at/gv/util/client/ur_V5/URClientException.java @@ -1,4 +1,4 @@ -package at.gv.util.client.ur; +package at.gv.util.client.ur_V5; public class URClientException extends Exception { diff --git a/src/main/java/at/gv/util/wsdl/ur/URSuche.java b/src/main/java/at/gv/util/wsdl/ur_V5/URSuche.java index a5f46ff..1d0e99d 100644 --- a/src/main/java/at/gv/util/wsdl/ur/URSuche.java +++ b/src/main/java/at/gv/util/wsdl/ur_V5/URSuche.java @@ -1,5 +1,5 @@ -package at.gv.util.wsdl.ur; +package at.gv.util.wsdl.ur_V5; import javax.jws.WebMethod; import javax.jws.WebParam; @@ -7,9 +7,9 @@ import javax.jws.WebResult; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; import javax.xml.bind.annotation.XmlSeeAlso; -import at.gv.util.xsd.ur.xmlsw.SearchByExampleType; -import at.gv.util.xsd.ur.xmlsw.SearchByIdType; -import at.gv.util.xsd.ur.xmlsw.SearchResponseType; +import at.gv.util.xsd.ur_V5.xmlsw.SearchByExampleType; +import at.gv.util.xsd.ur_V5.xmlsw.SearchByIdType; +import at.gv.util.xsd.ur_V5.xmlsw.SearchResponseType; /** @@ -18,14 +18,13 @@ import at.gv.util.xsd.ur.xmlsw.SearchResponseType; * Generated source version: 2.2 * */ -@WebService(name = "URSuche", targetNamespace = "urn:at:statistik:udb:ws") +@WebService(name = "URSuche", targetNamespace = "urn:at:statistik:ur:ws") @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) @XmlSeeAlso({ - at.gv.util.xsd.ur.search.ObjectFactory.class, - at.gv.util.xsd.ur.pd.ObjectFactory.class, - at.gv.util.xsd.ur.xmlsw.ObjectFactory.class, - generated.ObjectFactory.class, - at.gv.util.xsd.ur.simpletypes.ObjectFactory.class + at.gv.util.xsd.ur_V5.pd.ObjectFactory.class, + at.gv.util.xsd.ur_V5.search.ObjectFactory.class, + at.gv.util.xsd.ur_V5.xmlsw.ObjectFactory.class, + at.gv.util.xsd.ur_V5.simpletypes.ObjectFactory.class }) public interface URSuche { @@ -37,13 +36,16 @@ public interface URSuche { * * @param body * @return - * returns at.gv.util.xsd.ur.xmlsw.SearchResponseType + * returns at.gv.util.xsd.ur_V5.xmlsw.SearchResponseType + * @throws XmlSwFault */ @WebMethod @WebResult(name = "SearchResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") public SearchResponseType searchByExample( @WebParam(name = "SearchByExample", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") - SearchByExampleType body); + SearchByExampleType body) + throws XmlSwFault + ; /** * Operation für den Abfragetyp @@ -52,12 +54,15 @@ public interface URSuche { * * @param body * @return - * returns at.gv.util.xsd.ur.xmlsw.SearchResponseType + * returns at.gv.util.xsd.ur_V5.xmlsw.SearchResponseType + * @throws XmlSwFault */ @WebMethod @WebResult(name = "SearchResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") public SearchResponseType searchById( @WebParam(name = "SearchById", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") - SearchByIdType body); + SearchByIdType body) + throws XmlSwFault + ; } diff --git a/src/main/java/at/gv/util/wsdl/ur/URSucheService.java b/src/main/java/at/gv/util/wsdl/ur_V5/URSucheService.java index 6168ae3..8f039c3 100644 --- a/src/main/java/at/gv/util/wsdl/ur/URSucheService.java +++ b/src/main/java/at/gv/util/wsdl/ur_V5/URSucheService.java @@ -1,5 +1,5 @@ -package at.gv.util.wsdl.ur; +package at.gv.util.wsdl.ur_V5; import java.net.MalformedURLException; import java.net.URL; @@ -17,20 +17,20 @@ import javax.xml.ws.WebServiceFeature; * Generated source version: 2.2 * */ -@WebServiceClient(name = "URSucheService", targetNamespace = "urn:at:statistik:udb:ws", wsdlLocation = "file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ur/URSucheService.wsdl") +@WebServiceClient(name = "URSucheService", targetNamespace = "urn:at:statistik:ur:ws", wsdlLocation = "file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ur_V5/URSucheService.wsdl") public class URSucheService extends Service { private final static URL URSUCHESERVICE_WSDL_LOCATION; private final static WebServiceException URSUCHESERVICE_EXCEPTION; - private final static QName URSUCHESERVICE_QNAME = new QName("urn:at:statistik:udb:ws", "URSucheService"); + private final static QName URSUCHESERVICE_QNAME = new QName("urn:at:statistik:ur:ws", "URSucheService"); static { URL url = null; WebServiceException e = null; try { - url = new URL("file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ur/URSucheService.wsdl"); + url = new URL("file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ur_V5/URSucheService.wsdl"); } catch (MalformedURLException ex) { e = new WebServiceException(ex); } @@ -42,14 +42,26 @@ public class URSucheService super(__getWsdlLocation(), URSUCHESERVICE_QNAME); } + public URSucheService(WebServiceFeature... features) { + super(__getWsdlLocation(), URSUCHESERVICE_QNAME, features); + } + public URSucheService(URL wsdlLocation) { super(wsdlLocation, URSUCHESERVICE_QNAME); } + public URSucheService(URL wsdlLocation, WebServiceFeature... features) { + super(wsdlLocation, URSUCHESERVICE_QNAME, features); + } + public URSucheService(URL wsdlLocation, QName serviceName) { super(wsdlLocation, serviceName); } + public URSucheService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) { + super(wsdlLocation, serviceName, features); + } + /** * * @return @@ -57,7 +69,7 @@ public class URSucheService */ @WebEndpoint(name = "URSucheService") public URSuche getURSucheService() { - return super.getPort(new QName("urn:at:statistik:udb:ws", "URSucheService"), URSuche.class); + return super.getPort(new QName("urn:at:statistik:ur:ws", "URSucheService"), URSuche.class); } /** @@ -69,7 +81,7 @@ public class URSucheService */ @WebEndpoint(name = "URSucheService") public URSuche getURSucheService(WebServiceFeature... features) { - return super.getPort(new QName("urn:at:statistik:udb:ws", "URSucheService"), URSuche.class, features); + return super.getPort(new QName("urn:at:statistik:ur:ws", "URSucheService"), URSuche.class, features); } private static URL __getWsdlLocation() { diff --git a/src/main/java/at/gv/util/wsdl/ur_V5/XmlSwFault.java b/src/main/java/at/gv/util/wsdl/ur_V5/XmlSwFault.java new file mode 100644 index 0000000..2f1ee37 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/ur_V5/XmlSwFault.java @@ -0,0 +1,55 @@ + +package at.gv.util.wsdl.ur_V5; + +import javax.xml.ws.WebFault; +import at.gv.util.xsd.ur_V5.xmlsw.CustomFaultType; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.2.4-b01 + * Generated source version: 2.2 + * + */ +@WebFault(name = "XmlSwFault", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#") +public class XmlSwFault + extends Exception +{ + + /** + * Java type that goes as soapenv:Fault detail element. + * + */ + private CustomFaultType faultInfo; + + /** + * + * @param message + * @param faultInfo + */ + public XmlSwFault(String message, CustomFaultType faultInfo) { + super(message); + this.faultInfo = faultInfo; + } + + /** + * + * @param message + * @param faultInfo + * @param cause + */ + public XmlSwFault(String message, CustomFaultType faultInfo, Throwable cause) { + super(message, cause); + this.faultInfo = faultInfo; + } + + /** + * + * @return + * returns fault bean: at.gv.util.xsd.ur_V5.xmlsw.CustomFaultType + */ + public CustomFaultType getFaultInfo() { + return faultInfo; + } + +} diff --git a/src/main/java/at/gv/util/wsdl/ur/package-info.java b/src/main/java/at/gv/util/wsdl/ur_V5/package-info.java index 6a7f40f..847ecd4 100644 --- a/src/main/java/at/gv/util/wsdl/ur/package-info.java +++ b/src/main/java/at/gv/util/wsdl/ur_V5/package-info.java @@ -3,4 +3,4 @@ * XML-Search-Service. * */ -package at.gv.util.wsdl.ur; +package at.gv.util.wsdl.ur_V5; diff --git a/src/main/java/at/gv/util/xsd/ur/pd/NichtNatuerlichePersonTyp.java b/src/main/java/at/gv/util/xsd/ur/pd/NichtNatuerlichePersonTyp.java deleted file mode 100644 index 858446e..0000000 --- a/src/main/java/at/gv/util/xsd/ur/pd/NichtNatuerlichePersonTyp.java +++ /dev/null @@ -1,139 +0,0 @@ - -package at.gv.util.xsd.ur.pd; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import org.w3c.dom.Element; - - -/** - * entspricht CorporateBodyType - * - * <p>Java class for NichtNatuerlichePersonTyp complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="NichtNatuerlichePersonTyp"> - * <complexContent> - * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> - * <sequence minOccurs="0"> - * <element name="VollerName" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> - * <element name="Rechtsform" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute namespace='##other'/> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NichtNatuerlichePersonTyp", propOrder = { - "vollerName", - "rechtsform", - "any" -}) -public class NichtNatuerlichePersonTyp - extends AbstractPersonType -{ - - @XmlElement(name = "VollerName") - @XmlJavaTypeAdapter(CollapsedStringAdapter.class) - @XmlSchemaType(name = "token") - protected String vollerName; - @XmlElement(name = "Rechtsform") - @XmlSchemaType(name = "anyURI") - protected String rechtsform; - @XmlAnyElement(lax = true) - protected List<Object> any; - - /** - * Gets the value of the vollerName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVollerName() { - return vollerName; - } - - /** - * Sets the value of the vollerName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVollerName(String value) { - this.vollerName = value; - } - - /** - * Gets the value of the rechtsform property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRechtsform() { - return rechtsform; - } - - /** - * Sets the value of the rechtsform property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRechtsform(String value) { - this.rechtsform = value; - } - - /** - * Gets the value of the any property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - -} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/PersonenDatenTyp.java b/src/main/java/at/gv/util/xsd/ur/pd/PersonenDatenTyp.java deleted file mode 100644 index b84f115..0000000 --- a/src/main/java/at/gv/util/xsd/ur/pd/PersonenDatenTyp.java +++ /dev/null @@ -1,214 +0,0 @@ - -package at.gv.util.xsd.ur.pd; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlMixed; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Container um eine Person und ihre Adressen zu speichern - * - * <p>Java class for PersonenDatenTyp complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="PersonenDatenTyp"> - * <complexContent> - * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> - * <sequence> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}Person"/> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}Address" maxOccurs="unbounded" minOccurs="0"/> - * <element name="Zusatzdaten" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence maxOccurs="unbounded" minOccurs="0"> - * <any processContents='lax'/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </sequence> - * <anyAttribute namespace='##other'/> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PersonenDatenTyp", propOrder = { - "person", - "address", - "zusatzdaten" -}) -public class PersonenDatenTyp - extends AbstractPersonType -{ - - @XmlElementRef(name = "Person", namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", type = JAXBElement.class) - protected JAXBElement<? extends AbstractPersonType> person; - @XmlElementRef(name = "Address", namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", type = JAXBElement.class) - protected List<JAXBElement<? extends AbstractAddressType>> address; - @XmlElement(name = "Zusatzdaten") - protected PersonenDatenTyp.Zusatzdaten zusatzdaten; - - /** - * Gets the value of the person property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link NichtNatuerlichePersonTyp }{@code >} - * {@link JAXBElement }{@code <}{@link NatuerlichePersonTyp }{@code >} - * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} - * - */ - public JAXBElement<? extends AbstractPersonType> getPerson() { - return person; - } - - /** - * Sets the value of the person property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link NichtNatuerlichePersonTyp }{@code >} - * {@link JAXBElement }{@code <}{@link NatuerlichePersonTyp }{@code >} - * {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} - * - */ - public void setPerson(JAXBElement<? extends AbstractPersonType> value) { - this.person = value; - } - - /** - * Gets the value of the address property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the address property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAddress().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >} - * {@link JAXBElement }{@code <}{@link TypisiertePostAdresseTyp }{@code >} - * {@link JAXBElement }{@code <}{@link PostAdresseTyp }{@code >} - * - * - */ - public List<JAXBElement<? extends AbstractAddressType>> getAddress() { - if (address == null) { - address = new ArrayList<JAXBElement<? extends AbstractAddressType>>(); - } - return this.address; - } - - /** - * Gets the value of the zusatzdaten property. - * - * @return - * possible object is - * {@link PersonenDatenTyp.Zusatzdaten } - * - */ - public PersonenDatenTyp.Zusatzdaten getZusatzdaten() { - return zusatzdaten; - } - - /** - * Sets the value of the zusatzdaten property. - * - * @param value - * allowed object is - * {@link PersonenDatenTyp.Zusatzdaten } - * - */ - public void setZusatzdaten(PersonenDatenTyp.Zusatzdaten value) { - this.zusatzdaten = value; - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence maxOccurs="unbounded" minOccurs="0"> - * <any processContents='lax'/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "content" - }) - public static class Zusatzdaten { - - @XmlMixed - @XmlAnyElement(lax = true) - protected List<Object> content; - - /** - * Gets the value of the content property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the content property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getContent().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * {@link String } - * - * - */ - public List<Object> getContent() { - if (content == null) { - content = new ArrayList<Object>(); - } - return this.content; - } - - } - -} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/TypisiertePostAdresseTyp.java b/src/main/java/at/gv/util/xsd/ur/pd/TypisiertePostAdresseTyp.java deleted file mode 100644 index e669638..0000000 --- a/src/main/java/at/gv/util/xsd/ur/pd/TypisiertePostAdresseTyp.java +++ /dev/null @@ -1,105 +0,0 @@ - -package at.gv.util.xsd.ur.pd; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * entspricht TypedPostalAddressType - * - * <p>Java class for TypisiertePostAdresseTyp complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="TypisiertePostAdresseTyp"> - * <complexContent> - * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractAddressType"> - * <sequence minOccurs="0"> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PostAdresse"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute namespace='##other'/> - * </extension> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TypisiertePostAdresseTyp", propOrder = { - "postAdresse", - "any" -}) -public class TypisiertePostAdresseTyp - extends AbstractAddressType -{ - - @XmlElement(name = "PostAdresse") - protected PostAdresseTyp postAdresse; - @XmlAnyElement(lax = true) - protected List<Object> any; - - /** - * Gets the value of the postAdresse property. - * - * @return - * possible object is - * {@link PostAdresseTyp } - * - */ - public PostAdresseTyp getPostAdresse() { - return postAdresse; - } - - /** - * Sets the value of the postAdresse property. - * - * @param value - * allowed object is - * {@link PostAdresseTyp } - * - */ - public void setPostAdresse(PostAdresseTyp value) { - this.postAdresse = value; - } - - /** - * Gets the value of the any property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - -} diff --git a/src/main/java/at/gv/util/xsd/ur/search/DecodeBpkRequest.java b/src/main/java/at/gv/util/xsd/ur/search/DecodeBpkRequest.java deleted file mode 100644 index 318c639..0000000 --- a/src/main/java/at/gv/util/xsd/ur/search/DecodeBpkRequest.java +++ /dev/null @@ -1,89 +0,0 @@ - -package at.gv.util.xsd.ur.search; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for DecodeBpkRequest complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="DecodeBpkRequest"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VersionTyp" minOccurs="0"/> - * <element name="bpkWTUREncoded" type="{http://statistik.at/namespace/ur/simpleTypes/1#}BpkEncodedTyp"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DecodeBpkRequest", propOrder = { - "version", - "bpkWTUREncoded" -}) -public class DecodeBpkRequest { - - protected String version; - @XmlElement(required = true) - protected String bpkWTUREncoded; - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - - /** - * Gets the value of the bpkWTUREncoded property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBpkWTUREncoded() { - return bpkWTUREncoded; - } - - /** - * Sets the value of the bpkWTUREncoded property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBpkWTUREncoded(String value) { - this.bpkWTUREncoded = value; - } - -} diff --git a/src/main/java/at/gv/util/xsd/ur/search/Funktion.java b/src/main/java/at/gv/util/xsd/ur/search/Funktion.java deleted file mode 100644 index 717b187..0000000 --- a/src/main/java/at/gv/util/xsd/ur/search/Funktion.java +++ /dev/null @@ -1,268 +0,0 @@ - -package at.gv.util.xsd.ur.search; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.datatype.XMLGregorianCalendar; - - -/** - * <p>Java class for Funktion complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="Funktion"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="FktName" type="{http://statistik.at/namespace/ur/simpleTypes/1#}FunktionTyp"/> - * <element name="Vertretungsbefugnis" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VertretungsbefugnisTyp"/> - * <element name="VertretungsbefugnisText" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://statistik.at/namespace/ur/simpleTypes/1#>VertretungsbefugnisTextTyp"> - * <attribute name="beginn" use="required" type="{http://www.w3.org/2001/XMLSchema}date" /> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * <element name="Beginn" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType"/> - * <element name="Ende" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Funktion", propOrder = { - "fktName", - "vertretungsbefugnis", - "vertretungsbefugnisText", - "beginn", - "ende" -}) -public class Funktion { - - @XmlElement(name = "FktName", required = true) - protected String fktName; - @XmlElement(name = "Vertretungsbefugnis", required = true) - protected String vertretungsbefugnis; - @XmlElement(name = "VertretungsbefugnisText") - protected Funktion.VertretungsbefugnisText vertretungsbefugnisText; - @XmlElement(name = "Beginn", required = true) - protected QuellenType beginn; - @XmlElement(name = "Ende") - protected QuellenType ende; - - /** - * Gets the value of the fktName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFktName() { - return fktName; - } - - /** - * Sets the value of the fktName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFktName(String value) { - this.fktName = value; - } - - /** - * Gets the value of the vertretungsbefugnis property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVertretungsbefugnis() { - return vertretungsbefugnis; - } - - /** - * Sets the value of the vertretungsbefugnis property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVertretungsbefugnis(String value) { - this.vertretungsbefugnis = value; - } - - /** - * Gets the value of the vertretungsbefugnisText property. - * - * @return - * possible object is - * {@link Funktion.VertretungsbefugnisText } - * - */ - public Funktion.VertretungsbefugnisText getVertretungsbefugnisText() { - return vertretungsbefugnisText; - } - - /** - * Sets the value of the vertretungsbefugnisText property. - * - * @param value - * allowed object is - * {@link Funktion.VertretungsbefugnisText } - * - */ - public void setVertretungsbefugnisText(Funktion.VertretungsbefugnisText value) { - this.vertretungsbefugnisText = value; - } - - /** - * Gets the value of the beginn property. - * - * @return - * possible object is - * {@link QuellenType } - * - */ - public QuellenType getBeginn() { - return beginn; - } - - /** - * Sets the value of the beginn property. - * - * @param value - * allowed object is - * {@link QuellenType } - * - */ - public void setBeginn(QuellenType value) { - this.beginn = value; - } - - /** - * Gets the value of the ende property. - * - * @return - * possible object is - * {@link QuellenType } - * - */ - public QuellenType getEnde() { - return ende; - } - - /** - * Sets the value of the ende property. - * - * @param value - * allowed object is - * {@link QuellenType } - * - */ - public void setEnde(QuellenType value) { - this.ende = value; - } - - - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <simpleContent> - * <extension base="<http://statistik.at/namespace/ur/simpleTypes/1#>VertretungsbefugnisTextTyp"> - * <attribute name="beginn" use="required" type="{http://www.w3.org/2001/XMLSchema}date" /> - * </extension> - * </simpleContent> - * </complexType> - * </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class VertretungsbefugnisText { - - @XmlValue - protected String value; - @XmlAttribute(name = "beginn", required = true) - @XmlSchemaType(name = "date") - protected XMLGregorianCalendar beginn; - - /** - * - * Beschreibung der Vertretungsbefugnis - * - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the beginn property. - * - * @return - * possible object is - * {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getBeginn() { - return beginn; - } - - /** - * Sets the value of the beginn property. - * - * @param value - * allowed object is - * {@link XMLGregorianCalendar } - * - */ - public void setBeginn(XMLGregorianCalendar value) { - this.beginn = value; - } - - } - -} diff --git a/src/main/java/at/gv/util/xsd/ur/search/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ur/search/ObjectFactory.java deleted file mode 100644 index a4fa294..0000000 --- a/src/main/java/at/gv/util/xsd/ur/search/ObjectFactory.java +++ /dev/null @@ -1,314 +0,0 @@ - -package at.gv.util.xsd.ur.search; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.datatype.XMLGregorianCalendar; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the at.gv.util.xsd.ur.search package. - * <p>An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _UntName_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "UntName"); - private final static QName _SucheUnternehmenNachAendDatRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "SucheUnternehmenNachAendDatRequest"); - private final static QName _DecodeBpkRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "DecodeBpkRequest"); - private final static QName _Funktion_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "Funktion"); - private final static QName _SucheUnternehmenNachBpkRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "SucheUnternehmenNachBpkRequest"); - private final static QName _TypeText_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "TypeText"); - private final static QName _SucheUnternehmenNachIdsRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "SucheUnternehmenNachIdsRequest"); - private final static QName _BpkWTUR_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "bpkWTUR"); - private final static QName _AendDat_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "AendDat"); - private final static QName _Branche_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "Branche"); - private final static QName _Beginn_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "Beginn"); - private final static QName _SucheUnternehmenNachBpkEncodedRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "SucheUnternehmenNachBpkEncodedRequest"); - private final static QName _Ende_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "Ende"); - private final static QName _Rechtsform_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "Rechtsform"); - private final static QName _SucheUnternehmenRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/1#", "SucheUnternehmenRequest"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur.search - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link Funktion } - * - */ - public Funktion createFunktion() { - return new Funktion(); - } - - /** - * Create an instance of {@link QuellenType } - * - */ - public QuellenType createQuellenType() { - return new QuellenType(); - } - - /** - * Create an instance of {@link SucheUnternehmenNachBpkRequest } - * - */ - public SucheUnternehmenNachBpkRequest createSucheUnternehmenNachBpkRequest() { - return new SucheUnternehmenNachBpkRequest(); - } - - /** - * Create an instance of {@link UntName } - * - */ - public UntName createUntName() { - return new UntName(); - } - - /** - * Create an instance of {@link SucheUnternehmenNachIdsRequest } - * - */ - public SucheUnternehmenNachIdsRequest createSucheUnternehmenNachIdsRequest() { - return new SucheUnternehmenNachIdsRequest(); - } - - /** - * Create an instance of {@link DecodeBpkRequest } - * - */ - public DecodeBpkRequest createDecodeBpkRequest() { - return new DecodeBpkRequest(); - } - - /** - * Create an instance of {@link SucheUnternehmenNachAendDatRequest } - * - */ - public SucheUnternehmenNachAendDatRequest createSucheUnternehmenNachAendDatRequest() { - return new SucheUnternehmenNachAendDatRequest(); - } - - /** - * Create an instance of {@link Rechtsform } - * - */ - public Rechtsform createRechtsform() { - return new Rechtsform(); - } - - /** - * Create an instance of {@link Branche } - * - */ - public Branche createBranche() { - return new Branche(); - } - - /** - * Create an instance of {@link SucheUnternehmenNachBpkEncodedRequest } - * - */ - public SucheUnternehmenNachBpkEncodedRequest createSucheUnternehmenNachBpkEncodedRequest() { - return new SucheUnternehmenNachBpkEncodedRequest(); - } - - /** - * Create an instance of {@link SucheUnternehmenRequest } - * - */ - public SucheUnternehmenRequest createSucheUnternehmenRequest() { - return new SucheUnternehmenRequest(); - } - - /** - * Create an instance of {@link SucheUnternehmensdaten } - * - */ - public SucheUnternehmensdaten createSucheUnternehmensdaten() { - return new SucheUnternehmensdaten(); - } - - /** - * Create an instance of {@link OenaceType } - * - */ - public OenaceType createOenaceType() { - return new OenaceType(); - } - - /** - * Create an instance of {@link SucheBranche } - * - */ - public SucheBranche createSucheBranche() { - return new SucheBranche(); - } - - /** - * Create an instance of {@link SuchePersonendaten } - * - */ - public SuchePersonendaten createSuchePersonendaten() { - return new SuchePersonendaten(); - } - - /** - * Create an instance of {@link Funktion.VertretungsbefugnisText } - * - */ - public Funktion.VertretungsbefugnisText createFunktionVertretungsbefugnisText() { - return new Funktion.VertretungsbefugnisText(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link UntName }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "UntName") - public JAXBElement<UntName> createUntName(UntName value) { - return new JAXBElement<UntName>(_UntName_QNAME, UntName.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachAendDatRequest }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "SucheUnternehmenNachAendDatRequest") - public JAXBElement<SucheUnternehmenNachAendDatRequest> createSucheUnternehmenNachAendDatRequest(SucheUnternehmenNachAendDatRequest value) { - return new JAXBElement<SucheUnternehmenNachAendDatRequest>(_SucheUnternehmenNachAendDatRequest_QNAME, SucheUnternehmenNachAendDatRequest.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DecodeBpkRequest }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "DecodeBpkRequest") - public JAXBElement<DecodeBpkRequest> createDecodeBpkRequest(DecodeBpkRequest value) { - return new JAXBElement<DecodeBpkRequest>(_DecodeBpkRequest_QNAME, DecodeBpkRequest.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Funktion }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "Funktion") - public JAXBElement<Funktion> createFunktion(Funktion value) { - return new JAXBElement<Funktion>(_Funktion_QNAME, Funktion.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachBpkRequest }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "SucheUnternehmenNachBpkRequest") - public JAXBElement<SucheUnternehmenNachBpkRequest> createSucheUnternehmenNachBpkRequest(SucheUnternehmenNachBpkRequest value) { - return new JAXBElement<SucheUnternehmenNachBpkRequest>(_SucheUnternehmenNachBpkRequest_QNAME, SucheUnternehmenNachBpkRequest.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "TypeText") - public JAXBElement<String> createTypeText(String value) { - return new JAXBElement<String>(_TypeText_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachIdsRequest }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "SucheUnternehmenNachIdsRequest") - public JAXBElement<SucheUnternehmenNachIdsRequest> createSucheUnternehmenNachIdsRequest(SucheUnternehmenNachIdsRequest value) { - return new JAXBElement<SucheUnternehmenNachIdsRequest>(_SucheUnternehmenNachIdsRequest_QNAME, SucheUnternehmenNachIdsRequest.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "bpkWTUR") - public JAXBElement<String> createBpkWTUR(String value) { - return new JAXBElement<String>(_BpkWTUR_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "AendDat") - public JAXBElement<XMLGregorianCalendar> createAendDat(XMLGregorianCalendar value) { - return new JAXBElement<XMLGregorianCalendar>(_AendDat_QNAME, XMLGregorianCalendar.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Branche }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "Branche") - public JAXBElement<Branche> createBranche(Branche value) { - return new JAXBElement<Branche>(_Branche_QNAME, Branche.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link QuellenType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "Beginn") - public JAXBElement<QuellenType> createBeginn(QuellenType value) { - return new JAXBElement<QuellenType>(_Beginn_QNAME, QuellenType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachBpkEncodedRequest }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "SucheUnternehmenNachBpkEncodedRequest") - public JAXBElement<SucheUnternehmenNachBpkEncodedRequest> createSucheUnternehmenNachBpkEncodedRequest(SucheUnternehmenNachBpkEncodedRequest value) { - return new JAXBElement<SucheUnternehmenNachBpkEncodedRequest>(_SucheUnternehmenNachBpkEncodedRequest_QNAME, SucheUnternehmenNachBpkEncodedRequest.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link QuellenType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "Ende") - public JAXBElement<QuellenType> createEnde(QuellenType value) { - return new JAXBElement<QuellenType>(_Ende_QNAME, QuellenType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Rechtsform }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "Rechtsform") - public JAXBElement<Rechtsform> createRechtsform(Rechtsform value) { - return new JAXBElement<Rechtsform>(_Rechtsform_QNAME, Rechtsform.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenRequest }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", name = "SucheUnternehmenRequest") - public JAXBElement<SucheUnternehmenRequest> createSucheUnternehmenRequest(SucheUnternehmenRequest value) { - return new JAXBElement<SucheUnternehmenRequest>(_SucheUnternehmenRequest_QNAME, SucheUnternehmenRequest.class, null, value); - } - -} diff --git a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachBpkEncodedRequest.java b/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachBpkEncodedRequest.java deleted file mode 100644 index 5478d79..0000000 --- a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachBpkEncodedRequest.java +++ /dev/null @@ -1,145 +0,0 @@ - -package at.gv.util.xsd.ur.search; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for SucheUnternehmenNachBpkEncodedRequest complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="SucheUnternehmenNachBpkEncodedRequest"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VersionTyp" minOccurs="0"/> - * <element name="bpkEncodedWTUR" type="{http://statistik.at/namespace/ur/simpleTypes/1#}BpkEncodedTyp"/> - * <element name="bpkEncodedBereich" type="{http://statistik.at/namespace/ur/simpleTypes/1#}BpkEncodedTyp"/> - * <element name="bereich" type="{http://www.w3.org/2001/XMLSchema}string"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SucheUnternehmenNachBpkEncodedRequest", propOrder = { - "version", - "bpkEncodedWTUR", - "bpkEncodedBereich", - "bereich" -}) -public class SucheUnternehmenNachBpkEncodedRequest { - - protected String version; - @XmlElement(required = true) - protected String bpkEncodedWTUR; - @XmlElement(required = true) - protected String bpkEncodedBereich; - @XmlElement(required = true) - protected String bereich; - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - - /** - * Gets the value of the bpkEncodedWTUR property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBpkEncodedWTUR() { - return bpkEncodedWTUR; - } - - /** - * Sets the value of the bpkEncodedWTUR property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBpkEncodedWTUR(String value) { - this.bpkEncodedWTUR = value; - } - - /** - * Gets the value of the bpkEncodedBereich property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBpkEncodedBereich() { - return bpkEncodedBereich; - } - - /** - * Sets the value of the bpkEncodedBereich property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBpkEncodedBereich(String value) { - this.bpkEncodedBereich = value; - } - - /** - * Gets the value of the bereich property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBereich() { - return bereich; - } - - /** - * Sets the value of the bereich property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBereich(String value) { - this.bereich = value; - } - -} diff --git a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachIdsRequest.java b/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachIdsRequest.java deleted file mode 100644 index 1d6914d..0000000 --- a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachIdsRequest.java +++ /dev/null @@ -1,96 +0,0 @@ - -package at.gv.util.xsd.ur.search; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for SucheUnternehmenNachIdsRequest complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="SucheUnternehmenNachIdsRequest"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VersionTyp" minOccurs="0"/> - * <element name="kur" type="{http://statistik.at/namespace/ur/simpleTypes/1#}KurTyp" maxOccurs="unbounded"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SucheUnternehmenNachIdsRequest", propOrder = { - "version", - "kur" -}) -public class SucheUnternehmenNachIdsRequest { - - protected String version; - @XmlElement(required = true) - protected List<String> kur; - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - - /** - * Gets the value of the kur property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the kur property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getKur().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List<String> getKur() { - if (kur == null) { - kur = new ArrayList<String>(); - } - return this.kur; - } - -} diff --git a/src/main/java/at/gv/util/xsd/ur/search/UntName.java b/src/main/java/at/gv/util/xsd/ur/search/UntName.java deleted file mode 100644 index 2924ac8..0000000 --- a/src/main/java/at/gv/util/xsd/ur/search/UntName.java +++ /dev/null @@ -1,118 +0,0 @@ - -package at.gv.util.xsd.ur.search; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - * <p>Java class for UntName complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="UntName"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="VollerName" type="{http://statistik.at/namespace/ur/simpleTypes/1#}UntNameTyp"/> - * <element name="Beginn" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType"/> - * <element name="Ende" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "UntName", propOrder = { - "vollerName", - "beginn", - "ende" -}) -public class UntName { - - @XmlElement(name = "VollerName", required = true) - protected String vollerName; - @XmlElement(name = "Beginn", required = true) - protected QuellenType beginn; - @XmlElement(name = "Ende") - protected QuellenType ende; - - /** - * Gets the value of the vollerName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVollerName() { - return vollerName; - } - - /** - * Sets the value of the vollerName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVollerName(String value) { - this.vollerName = value; - } - - /** - * Gets the value of the beginn property. - * - * @return - * possible object is - * {@link QuellenType } - * - */ - public QuellenType getBeginn() { - return beginn; - } - - /** - * Sets the value of the beginn property. - * - * @param value - * allowed object is - * {@link QuellenType } - * - */ - public void setBeginn(QuellenType value) { - this.beginn = value; - } - - /** - * Gets the value of the ende property. - * - * @return - * possible object is - * {@link QuellenType } - * - */ - public QuellenType getEnde() { - return ende; - } - - /** - * Sets the value of the ende property. - * - * @param value - * allowed object is - * {@link QuellenType } - * - */ - public void setEnde(QuellenType value) { - this.ende = value; - } - -} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/ExtraResultCriteria.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/ExtraResultCriteria.java deleted file mode 100644 index feec384..0000000 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/ExtraResultCriteria.java +++ /dev/null @@ -1,73 +0,0 @@ - -package at.gv.util.xsd.ur.xmlsw; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "any" -}) -@XmlRootElement(name = "ExtraResultCriteria") -public class ExtraResultCriteria { - - @XmlAnyElement(lax = true) - protected List<Object> any; - - /** - * Gets the value of the any property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - -} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/ExtraResultInfo.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/ExtraResultInfo.java deleted file mode 100644 index 0258127..0000000 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/ExtraResultInfo.java +++ /dev/null @@ -1,73 +0,0 @@ - -package at.gv.util.xsd.ur.xmlsw; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "any" -}) -@XmlRootElement(name = "ExtraResultInfo") -public class ExtraResultInfo { - - @XmlAnyElement(lax = true) - protected List<Object> any; - - /** - * Gets the value of the any property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - -} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/RecordFieldList.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/RecordFieldList.java deleted file mode 100644 index 9dc8b7b..0000000 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/RecordFieldList.java +++ /dev/null @@ -1,73 +0,0 @@ - -package at.gv.util.xsd.ur.xmlsw; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "any" -}) -@XmlRootElement(name = "RecordFieldList") -public class RecordFieldList { - - @XmlAnyElement(lax = true) - protected List<Object> any; - - /** - * Gets the value of the any property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - -} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchCriteriaType.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchCriteriaType.java deleted file mode 100644 index f15c61f..0000000 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchCriteriaType.java +++ /dev/null @@ -1,100 +0,0 @@ - -package at.gv.util.xsd.ur.xmlsw; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * <p>Java class for SearchCriteriaType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="SearchCriteriaType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ResultSetId" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SearchCriteriaType", propOrder = { - "resultSetId", - "any" -}) -public class SearchCriteriaType { - - @XmlElement(name = "ResultSetId") - protected String resultSetId; - @XmlAnyElement(lax = true) - protected List<Object> any; - - /** - * Gets the value of the resultSetId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getResultSetId() { - return resultSetId; - } - - /** - * Sets the value of the resultSetId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setResultSetId(String value) { - this.resultSetId = value; - } - - /** - * Gets the value of the any property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - -} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchRequestInfoType.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchRequestInfoType.java deleted file mode 100644 index d3f0ad6..0000000 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchRequestInfoType.java +++ /dev/null @@ -1,71 +0,0 @@ - -package at.gv.util.xsd.ur.xmlsw; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * <p>Java class for SearchRequestInfoType complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * <complexType name="SearchRequestInfoType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> - * </pre> - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SearchRequestInfoType", propOrder = { - "any" -}) -public class SearchRequestInfoType { - - @XmlAnyElement(lax = true) - protected List<Object> any; - - /** - * Gets the value of the any property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - -} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/AbstractAddressType.java b/src/main/java/at/gv/util/xsd/ur_V5/pd/AbstractAddressType.java index 4fbf6e7..da0d8fd 100644 --- a/src/main/java/at/gv/util/xsd/ur/pd/AbstractAddressType.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/pd/AbstractAddressType.java @@ -1,11 +1,8 @@ -package at.gv.util.xsd.ur.pd; +package at.gv.util.xsd.ur_V5.pd; -import java.util.HashMap; -import java.util.Map; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlID; import javax.xml.bind.annotation.XmlSchemaType; @@ -13,11 +10,11 @@ import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.namespace.QName; /** * Struktur des Abstrakten Address Elements + * * * <p>Java class for AbstractAddressType complex type. * @@ -28,7 +25,6 @@ import javax.xml.namespace.QName; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> - * <anyAttribute namespace='##other'/> * </restriction> * </complexContent> * </complexType> @@ -49,8 +45,6 @@ public class AbstractAddressType { @XmlID @XmlSchemaType(name = "ID") protected String id; - @XmlAnyAttribute - private Map<QName, String> otherAttributes = new HashMap<QName, String>(); /** * Gets the value of the id property. @@ -76,22 +70,4 @@ public class AbstractAddressType { this.id = value; } - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * <p> - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map<QName, String> getOtherAttributes() { - return otherAttributes; - } - } diff --git a/src/main/java/at/gv/util/xsd/ur/pd/AbstractPersonType.java b/src/main/java/at/gv/util/xsd/ur_V5/pd/AbstractPersonType.java index 9804ab0..d69d563 100644 --- a/src/main/java/at/gv/util/xsd/ur/pd/AbstractPersonType.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/pd/AbstractPersonType.java @@ -1,13 +1,10 @@ -package at.gv.util.xsd.ur.pd; +package at.gv.util.xsd.ur_V5.pd; import java.util.ArrayList; -import java.util.HashMap; import java.util.List; -import java.util.Map; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlID; @@ -16,7 +13,6 @@ 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; /** @@ -34,7 +30,6 @@ import javax.xml.namespace.QName; * <element name="Identification" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}IdentificationType" maxOccurs="unbounded" minOccurs="0"/> * </choice> * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> - * <anyAttribute namespace='##other'/> * </restriction> * </complexContent> * </complexType> @@ -47,9 +42,10 @@ import javax.xml.namespace.QName; "identification" }) @XmlSeeAlso({ - NatuerlichePersonTyp.class, PersonenDatenTyp.class, - NichtNatuerlichePersonTyp.class + NatuerlichePersonTyp.class, + NichtNatuerlichePersonTyp.class, + PersonenDatenZusatzdatenTyp.class }) public class AbstractPersonType { @@ -60,8 +56,6 @@ public class AbstractPersonType { @XmlID @XmlSchemaType(name = "ID") protected String id; - @XmlAnyAttribute - private Map<QName, String> otherAttributes = new HashMap<QName, String>(); /** * Gets the value of the identification property. @@ -116,22 +110,4 @@ public class AbstractPersonType { this.id = value; } - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * <p> - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map<QName, String> getOtherAttributes() { - return otherAttributes; - } - } diff --git a/src/main/java/at/gv/util/xsd/ur/pd/IdentificationType.java b/src/main/java/at/gv/util/xsd/ur_V5/pd/IdentificationType.java index 6474b2e..6c26713 100644 --- a/src/main/java/at/gv/util/xsd/ur/pd/IdentificationType.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/pd/IdentificationType.java @@ -1,14 +1,8 @@ -package at.gv.util.xsd.ur.pd; +package at.gv.util.xsd.ur_V5.pd; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlID; @@ -17,12 +11,13 @@ 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; +import at.gv.util.xsd.ur_V5.search.QuellenType; /** - * Container für beliebige Identifikationsmerkmale, besteht aus Type und Value Unterelementen, aus technischen Gründen nur auf Englisch verfügbar + * Container für beliebige Identifikationsmerkmale, + * besteht aus Type und Value Unterelementen, aus technischen Gründen + * nur auf Englisch verfügbar * * <p>Java class for IdentificationType complex type. * @@ -43,10 +38,11 @@ import org.w3c.dom.Element; * </complexType> * </element> * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}TypeText" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Beginn" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Ende" minOccurs="0"/> * </sequence> * <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> - * <anyAttribute namespace='##other'/> * </restriction> * </complexContent> * </complexType> @@ -58,7 +54,9 @@ import org.w3c.dom.Element; @XmlType(name = "IdentificationType", propOrder = { "value", "type", - "any" + "typeText", + "beginn", + "ende" }) public class IdentificationType { @@ -67,15 +65,17 @@ public class IdentificationType { @XmlElement(name = "Type", required = true) @XmlSchemaType(name = "anyURI") protected String type; - @XmlAnyElement(lax = true) - protected List<Object> any; + @XmlElement(name = "TypeText", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected String typeText; + @XmlElement(name = "Beginn", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected QuellenType beginn; + @XmlElement(name = "Ende", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected QuellenType ende; @XmlAttribute(name = "Id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; - @XmlAnyAttribute - private Map<QName, String> otherAttributes = new HashMap<QName, String>(); /** * Gets the value of the value property. @@ -126,33 +126,75 @@ public class IdentificationType { } /** - * Gets the value of the any property. + * Gets the value of the typeText property. * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make 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. + * @return + * possible object is + * {@link String } + * + */ + public String getTypeText() { + return typeText; + } + + /** + * Sets the value of the typeText property. * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> + * @param value + * allowed object is + * {@link String } + * + */ + public void setTypeText(String value) { + this.typeText = value; + } + + /** + * Gets the value of the beginn property. * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getBeginn() { + return beginn; + } + + /** + * Sets the value of the beginn property. * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } + * @param value + * allowed object is + * {@link QuellenType } + * + */ + public void setBeginn(QuellenType value) { + this.beginn = value; + } + + /** + * Gets the value of the ende property. * + * @return + * possible object is + * {@link QuellenType } + * + */ + public QuellenType getEnde() { + return ende; + } + + /** + * Sets the value of the ende property. * + * @param value + * allowed object is + * {@link QuellenType } + * */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; + public void setEnde(QuellenType value) { + this.ende = value; } /** @@ -179,24 +221,6 @@ public class IdentificationType { this.id = value; } - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * <p> - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map<QName, String> getOtherAttributes() { - return otherAttributes; - } - /** * <p>Java class for anonymous complex type. diff --git a/src/main/java/at/gv/util/xsd/ur/pd/NatuerlichePersonTyp.java b/src/main/java/at/gv/util/xsd/ur_V5/pd/NatuerlichePersonTyp.java index f9632ff..a96c4ff 100644 --- a/src/main/java/at/gv/util/xsd/ur/pd/NatuerlichePersonTyp.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/pd/NatuerlichePersonTyp.java @@ -1,14 +1,13 @@ -package at.gv.util.xsd.ur.pd; +package at.gv.util.xsd.ur_V5.pd; -import java.util.ArrayList; -import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; /** @@ -25,9 +24,8 @@ import org.w3c.dom.Element; * <sequence minOccurs="0"> * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PersonenName" minOccurs="0"/> * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}Geburtsdatum" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> * </sequence> - * <anyAttribute namespace='##other'/> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/4#}VollzugAttributes"/> * </extension> * </complexContent> * </complexType> @@ -38,8 +36,7 @@ import org.w3c.dom.Element; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "NatuerlichePersonTyp", propOrder = { "personenName", - "geburtsdatum", - "any" + "geburtsdatum" }) public class NatuerlichePersonTyp extends AbstractPersonType @@ -49,8 +46,14 @@ public class NatuerlichePersonTyp protected PersonenNameTyp personenName; @XmlElement(name = "Geburtsdatum") protected String geburtsdatum; - @XmlAnyElement(lax = true) - protected List<Object> any; + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; /** * Gets the value of the personenName property. @@ -101,33 +104,51 @@ public class NatuerlichePersonTyp } /** - * 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> + * Gets the value of the vollzugBeginn property. * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. * + * @param value + * allowed object is + * {@link Object } + * */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; } } diff --git a/src/main/java/at/gv/util/xsd/ur_V5/pd/NichtNatuerlichePersonTyp.java b/src/main/java/at/gv/util/xsd/ur_V5/pd/NichtNatuerlichePersonTyp.java new file mode 100644 index 0000000..eee6885 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/pd/NichtNatuerlichePersonTyp.java @@ -0,0 +1,158 @@ + +package at.gv.util.xsd.ur_V5.pd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlElementRefs; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ur_V5.search.RechtsformVollzug; +import at.gv.util.xsd.ur_V5.search.UntNameVollzug; + + +/** + * entspricht CorporateBodyType + * + * <p>Java class for NichtNatuerlichePersonTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="NichtNatuerlichePersonTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> + * <sequence minOccurs="0"> + * <element name="VollerName" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + * <element name="Rechtsform" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}UntName" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Rechtsform" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/4#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "NichtNatuerlichePersonTyp", propOrder = { + "rest" +}) +public class NichtNatuerlichePersonTyp + extends AbstractPersonType +{ + + @XmlElementRefs({ + @XmlElementRef(name = "Rechtsform", namespace = "http://statistik.at/namespace/ur/stammdaten/4#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "VollerName", namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "Rechtsform", namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", type = JAXBElement.class, required = false), + @XmlElementRef(name = "UntName", namespace = "http://statistik.at/namespace/ur/stammdaten/4#", type = JAXBElement.class, required = false) + }) + protected List<JAXBElement<?>> rest; + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the rest of the content model. + * + * <p> + * You are getting this "catch-all" property because of the following reason: + * The field name "Rechtsform" is used by two different parts of a schema. See: + * line 310 of file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ur_V5/schema/urs-v5-PersonData.xsd + * line 299 of file:/D:/Projekte/svn/online-vollmachten/egovutils/src/main/resources/wsdl/ur_V5/schema/urs-v5-PersonData.xsd + * <p> + * To get rid of this property, apply a property customization to one + * of both of the following declarations to change their names: + * Gets the value of the rest property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the rest property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRest().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link UntNameVollzug }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link RechtsformVollzug }{@code >} + * + * + */ + public List<JAXBElement<?>> getRest() { + if (rest == null) { + rest = new ArrayList<JAXBElement<?>>(); + } + return this.rest; + } + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ur_V5/pd/ObjectFactory.java index 6758f36..80401d4 100644 --- a/src/main/java/at/gv/util/xsd/ur/pd/ObjectFactory.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/pd/ObjectFactory.java @@ -1,16 +1,18 @@ -package at.gv.util.xsd.ur.pd; +package at.gv.util.xsd.ur_V5.pd; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlElementDecl; import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import javax.xml.namespace.QName; /** * This object contains factory methods for each * Java content interface and Java element interface - * generated in the at.gv.util.xsd.ur.pd package. + * generated in the at.gv.util.xsd.ur_V5.pd package. * <p>An ObjectFactory allows you to programatically * construct new instances of the Java representation * for XML content. The Java representation of XML @@ -34,9 +36,11 @@ public class ObjectFactory { private final static QName _TypisiertePostAdresse_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "TypisiertePostAdresse"); private final static QName _PersonenName_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "PersonenName"); private final static QName _PersonenDaten_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "PersonenDaten"); + private final static QName _NichtNatuerlichePersonTypRechtsform_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "Rechtsform"); + private final static QName _NichtNatuerlichePersonTypVollerName_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/de/20040201#", "VollerName"); /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur.pd + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur_V5.pd * */ public ObjectFactory() { @@ -67,19 +71,19 @@ public class ObjectFactory { } /** - * Create an instance of {@link PersonenDatenTyp } + * Create an instance of {@link PostAdresseTyp.Zustelladresse } * */ - public PersonenDatenTyp createPersonenDatenTyp() { - return new PersonenDatenTyp(); + public PostAdresseTyp.Zustelladresse createPostAdresseTypZustelladresse() { + return new PostAdresseTyp.Zustelladresse(); } /** - * Create an instance of {@link NatuerlichePersonTyp } + * Create an instance of {@link PersonenDatenTyp } * */ - public NatuerlichePersonTyp createNatuerlichePersonTyp() { - return new NatuerlichePersonTyp(); + public PersonenDatenTyp createPersonenDatenTyp() { + return new PersonenDatenTyp(); } /** @@ -91,6 +95,14 @@ public class ObjectFactory { } /** + * Create an instance of {@link NatuerlichePersonTyp } + * + */ + public NatuerlichePersonTyp createNatuerlichePersonTyp() { + return new NatuerlichePersonTyp(); + } + + /** * Create an instance of {@link AbstractAddressType } * */ @@ -115,6 +127,22 @@ public class ObjectFactory { } /** + * Create an instance of {@link PersonenDatenZusatzdatenTyp } + * + */ + public PersonenDatenZusatzdatenTyp createPersonenDatenZusatzdatenTyp() { + return new PersonenDatenZusatzdatenTyp(); + } + + /** + * Create an instance of {@link ZusatzdatenPersonenTyp } + * + */ + public ZusatzdatenPersonenTyp createZusatzdatenPersonenTyp() { + return new ZusatzdatenPersonenTyp(); + } + + /** * Create an instance of {@link IdentificationType.Value } * */ @@ -139,11 +167,11 @@ public class ObjectFactory { } /** - * Create an instance of {@link PostAdresseTyp.Zustelladresse } + * Create an instance of {@link PostAdresseTyp.Zustelladresse.AdressRegisterEintrag } * */ - public PostAdresseTyp.Zustelladresse createPostAdresseTypZustelladresse() { - return new PostAdresseTyp.Zustelladresse(); + public PostAdresseTyp.Zustelladresse.AdressRegisterEintrag createPostAdresseTypZustelladresseAdressRegisterEintrag() { + return new PostAdresseTyp.Zustelladresse.AdressRegisterEintrag(); } /** @@ -244,4 +272,23 @@ public class ObjectFactory { return new JAXBElement<PersonenDatenTyp>(_PersonenDaten_QNAME, PersonenDatenTyp.class, null, value); } + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "Rechtsform", scope = NichtNatuerlichePersonTyp.class) + public JAXBElement<String> createNichtNatuerlichePersonTypRechtsform(String value) { + return new JAXBElement<String>(_NichtNatuerlichePersonTypRechtsform_QNAME, String.class, NichtNatuerlichePersonTyp.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", name = "VollerName", scope = NichtNatuerlichePersonTyp.class) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createNichtNatuerlichePersonTypVollerName(String value) { + return new JAXBElement<String>(_NichtNatuerlichePersonTypVollerName_QNAME, String.class, NichtNatuerlichePersonTyp.class, value); + } + } diff --git a/src/main/java/at/gv/util/xsd/ur_V5/pd/PersonenDatenTyp.java b/src/main/java/at/gv/util/xsd/ur_V5/pd/PersonenDatenTyp.java new file mode 100644 index 0000000..fb68bd5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/pd/PersonenDatenTyp.java @@ -0,0 +1,536 @@ + +package at.gv.util.xsd.ur_V5.pd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; +import at.gv.util.xsd.ur_V5.search.BestandsnachweisVollzug; +import at.gv.util.xsd.ur_V5.search.BestandszeitraumVollzug; +import at.gv.util.xsd.ur_V5.search.Branche; +import at.gv.util.xsd.ur_V5.search.Dubletten; +import at.gv.util.xsd.ur_V5.search.RechtstatsachenVollzug; +import at.gv.util.xsd.ur_V5.search.TaetigkeitszeitraumVollzug; +import at.gv.util.xsd.ur_V5.search.VertretungVollzug; +import at.gv.util.xsd.ur_V5.search.Vollzug; + + +/** + * Container um eine Person und ihre Adressen zu + * speichern + * + * <p>Java class for PersonenDatenTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonenDatenTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}NichtNatuerlichePerson"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}TypisiertePostAdresse" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Zusatzdaten" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}AendDat" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Gesperrt" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Dubletten" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Bestandszeitraum" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Taetigkeitszeitraum" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Bestandsnachweis" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Vertretung" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Rechtstatsachen" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Branche" maxOccurs="unbounded" minOccurs="0"/> + * <element name="PersonenDaten" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PersonenDatenZusatzdatenTyp" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Vollzug" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonenDatenTyp", propOrder = { + "nichtNatuerlichePerson", + "typisiertePostAdresse", + "zusatzdaten" +}) +public class PersonenDatenTyp + extends AbstractPersonType +{ + + @XmlElement(name = "NichtNatuerlichePerson", required = true) + protected NichtNatuerlichePersonTyp nichtNatuerlichePerson; + @XmlElement(name = "TypisiertePostAdresse") + protected List<TypisiertePostAdresseTyp> typisiertePostAdresse; + @XmlElement(name = "Zusatzdaten") + protected PersonenDatenTyp.Zusatzdaten zusatzdaten; + + /** + * Gets the value of the nichtNatuerlichePerson property. + * + * @return + * possible object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public NichtNatuerlichePersonTyp getNichtNatuerlichePerson() { + return nichtNatuerlichePerson; + } + + /** + * Sets the value of the nichtNatuerlichePerson property. + * + * @param value + * allowed object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public void setNichtNatuerlichePerson(NichtNatuerlichePersonTyp value) { + this.nichtNatuerlichePerson = value; + } + + /** + * Gets the value of the typisiertePostAdresse property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the typisiertePostAdresse property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTypisiertePostAdresse().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TypisiertePostAdresseTyp } + * + * + */ + public List<TypisiertePostAdresseTyp> getTypisiertePostAdresse() { + if (typisiertePostAdresse == null) { + typisiertePostAdresse = new ArrayList<TypisiertePostAdresseTyp>(); + } + return this.typisiertePostAdresse; + } + + /** + * Gets the value of the zusatzdaten property. + * + * @return + * possible object is + * {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public PersonenDatenTyp.Zusatzdaten getZusatzdaten() { + return zusatzdaten; + } + + /** + * Sets the value of the zusatzdaten property. + * + * @param value + * allowed object is + * {@link PersonenDatenTyp.Zusatzdaten } + * + */ + public void setZusatzdaten(PersonenDatenTyp.Zusatzdaten value) { + this.zusatzdaten = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}AendDat" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Gesperrt" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Dubletten" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Bestandszeitraum" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Taetigkeitszeitraum" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Bestandsnachweis" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Vertretung" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Rechtstatsachen" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Branche" maxOccurs="unbounded" minOccurs="0"/> + * <element name="PersonenDaten" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PersonenDatenZusatzdatenTyp" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Vollzug" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "aendDat", + "gesperrt", + "dubletten", + "bestandszeitraum", + "taetigkeitszeitraum", + "bestandsnachweis", + "vertretung", + "rechtstatsachen", + "branche", + "personenDaten", + "vollzug" + }) + public static class Zusatzdaten { + + @XmlElement(name = "AendDat", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar aendDat; + @XmlElement(name = "Gesperrt", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected Boolean gesperrt; + @XmlElement(name = "Dubletten", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected Dubletten dubletten; + @XmlElement(name = "Bestandszeitraum", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected List<BestandszeitraumVollzug> bestandszeitraum; + @XmlElement(name = "Taetigkeitszeitraum", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected List<TaetigkeitszeitraumVollzug> taetigkeitszeitraum; + @XmlElement(name = "Bestandsnachweis", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected List<BestandsnachweisVollzug> bestandsnachweis; + @XmlElement(name = "Vertretung", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected List<VertretungVollzug> vertretung; + @XmlElement(name = "Rechtstatsachen", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected List<RechtstatsachenVollzug> rechtstatsachen; + @XmlElement(name = "Branche", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected List<Branche> branche; + @XmlElement(name = "PersonenDaten") + protected List<PersonenDatenZusatzdatenTyp> personenDaten; + @XmlElement(name = "Vollzug", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected List<Vollzug> vollzug; + + /** + * Gets the value of the aendDat property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getAendDat() { + return aendDat; + } + + /** + * Sets the value of the aendDat property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setAendDat(XMLGregorianCalendar value) { + this.aendDat = value; + } + + /** + * Gets the value of the gesperrt property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isGesperrt() { + return gesperrt; + } + + /** + * Sets the value of the gesperrt property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setGesperrt(Boolean value) { + this.gesperrt = value; + } + + /** + * Gets the value of the dubletten property. + * + * @return + * possible object is + * {@link Dubletten } + * + */ + public Dubletten getDubletten() { + return dubletten; + } + + /** + * Sets the value of the dubletten property. + * + * @param value + * allowed object is + * {@link Dubletten } + * + */ + public void setDubletten(Dubletten value) { + this.dubletten = value; + } + + /** + * Gets the value of the bestandszeitraum property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the bestandszeitraum property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBestandszeitraum().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link BestandszeitraumVollzug } + * + * + */ + public List<BestandszeitraumVollzug> getBestandszeitraum() { + if (bestandszeitraum == null) { + bestandszeitraum = new ArrayList<BestandszeitraumVollzug>(); + } + return this.bestandszeitraum; + } + + /** + * Gets the value of the taetigkeitszeitraum property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the taetigkeitszeitraum property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTaetigkeitszeitraum().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TaetigkeitszeitraumVollzug } + * + * + */ + public List<TaetigkeitszeitraumVollzug> getTaetigkeitszeitraum() { + if (taetigkeitszeitraum == null) { + taetigkeitszeitraum = new ArrayList<TaetigkeitszeitraumVollzug>(); + } + return this.taetigkeitszeitraum; + } + + /** + * Gets the value of the bestandsnachweis property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the bestandsnachweis property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBestandsnachweis().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link BestandsnachweisVollzug } + * + * + */ + public List<BestandsnachweisVollzug> getBestandsnachweis() { + if (bestandsnachweis == null) { + bestandsnachweis = new ArrayList<BestandsnachweisVollzug>(); + } + return this.bestandsnachweis; + } + + /** + * Gets the value of the vertretung property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the vertretung property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getVertretung().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link VertretungVollzug } + * + * + */ + public List<VertretungVollzug> getVertretung() { + if (vertretung == null) { + vertretung = new ArrayList<VertretungVollzug>(); + } + return this.vertretung; + } + + /** + * Gets the value of the rechtstatsachen property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the rechtstatsachen property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRechtstatsachen().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link RechtstatsachenVollzug } + * + * + */ + public List<RechtstatsachenVollzug> getRechtstatsachen() { + if (rechtstatsachen == null) { + rechtstatsachen = new ArrayList<RechtstatsachenVollzug>(); + } + return this.rechtstatsachen; + } + + /** + * Gets the value of the branche property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the branche property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBranche().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Branche } + * + * + */ + public List<Branche> getBranche() { + if (branche == null) { + branche = new ArrayList<Branche>(); + } + return this.branche; + } + + /** + * Gets the value of the personenDaten property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the personenDaten property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getPersonenDaten().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonenDatenZusatzdatenTyp } + * + * + */ + public List<PersonenDatenZusatzdatenTyp> getPersonenDaten() { + if (personenDaten == null) { + personenDaten = new ArrayList<PersonenDatenZusatzdatenTyp>(); + } + return this.personenDaten; + } + + /** + * Gets the value of the vollzug property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the vollzug property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getVollzug().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Vollzug } + * + * + */ + public List<Vollzug> getVollzug() { + if (vollzug == null) { + vollzug = new ArrayList<Vollzug>(); + } + return this.vollzug; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/pd/PersonenDatenZusatzdatenTyp.java b/src/main/java/at/gv/util/xsd/ur_V5/pd/PersonenDatenZusatzdatenTyp.java new file mode 100644 index 0000000..a95eaea --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/pd/PersonenDatenZusatzdatenTyp.java @@ -0,0 +1,160 @@ + +package at.gv.util.xsd.ur_V5.pd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Container um eine Person und ihre Adressen zu + * speichern + * + * <p>Java class for PersonenDatenZusatzdatenTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="PersonenDatenZusatzdatenTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractPersonType"> + * <sequence> + * <choice minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}NichtNatuerlichePerson"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}NatuerlichePerson"/> + * </choice> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}TypisiertePostAdresse" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Zusatzdaten" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}ZusatzdatenPersonenTyp" minOccurs="0"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonenDatenZusatzdatenTyp", propOrder = { + "nichtNatuerlichePerson", + "natuerlichePerson", + "typisiertePostAdresse", + "zusatzdaten" +}) +public class PersonenDatenZusatzdatenTyp + extends AbstractPersonType +{ + + @XmlElement(name = "NichtNatuerlichePerson") + protected NichtNatuerlichePersonTyp nichtNatuerlichePerson; + @XmlElement(name = "NatuerlichePerson") + protected NatuerlichePersonTyp natuerlichePerson; + @XmlElement(name = "TypisiertePostAdresse") + protected List<TypisiertePostAdresseTyp> typisiertePostAdresse; + @XmlElement(name = "Zusatzdaten") + protected ZusatzdatenPersonenTyp zusatzdaten; + + /** + * Gets the value of the nichtNatuerlichePerson property. + * + * @return + * possible object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public NichtNatuerlichePersonTyp getNichtNatuerlichePerson() { + return nichtNatuerlichePerson; + } + + /** + * Sets the value of the nichtNatuerlichePerson property. + * + * @param value + * allowed object is + * {@link NichtNatuerlichePersonTyp } + * + */ + public void setNichtNatuerlichePerson(NichtNatuerlichePersonTyp value) { + this.nichtNatuerlichePerson = value; + } + + /** + * Gets the value of the natuerlichePerson property. + * + * @return + * possible object is + * {@link NatuerlichePersonTyp } + * + */ + public NatuerlichePersonTyp getNatuerlichePerson() { + return natuerlichePerson; + } + + /** + * Sets the value of the natuerlichePerson property. + * + * @param value + * allowed object is + * {@link NatuerlichePersonTyp } + * + */ + public void setNatuerlichePerson(NatuerlichePersonTyp value) { + this.natuerlichePerson = value; + } + + /** + * Gets the value of the typisiertePostAdresse property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the typisiertePostAdresse property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getTypisiertePostAdresse().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link TypisiertePostAdresseTyp } + * + * + */ + public List<TypisiertePostAdresseTyp> getTypisiertePostAdresse() { + if (typisiertePostAdresse == null) { + typisiertePostAdresse = new ArrayList<TypisiertePostAdresseTyp>(); + } + return this.typisiertePostAdresse; + } + + /** + * Gets the value of the zusatzdaten property. + * + * @return + * possible object is + * {@link ZusatzdatenPersonenTyp } + * + */ + public ZusatzdatenPersonenTyp getZusatzdaten() { + return zusatzdaten; + } + + /** + * Sets the value of the zusatzdaten property. + * + * @param value + * allowed object is + * {@link ZusatzdatenPersonenTyp } + * + */ + public void setZusatzdaten(ZusatzdatenPersonenTyp value) { + this.zusatzdaten = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/PersonenNameTyp.java b/src/main/java/at/gv/util/xsd/ur_V5/pd/PersonenNameTyp.java index 8c640e8..d9af557 100644 --- a/src/main/java/at/gv/util/xsd/ur/pd/PersonenNameTyp.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/pd/PersonenNameTyp.java @@ -1,6 +1,8 @@ -package at.gv.util.xsd.ur.pd; +package at.gv.util.xsd.ur_V5.pd; +import java.util.ArrayList; +import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; @@ -40,7 +42,7 @@ import javax.xml.bind.annotation.XmlValue; * </simpleContent> * </complexType> * </element> - * <element name="Affix" minOccurs="0"> + * <element name="Affix" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>string"> @@ -89,7 +91,7 @@ public class PersonenNameTyp { @XmlElement(name = "Familienname", required = true) protected PersonenNameTyp.Familienname familienname; @XmlElement(name = "Affix") - protected PersonenNameTyp.Affix affix; + protected List<PersonenNameTyp.Affix> affix; /** * Gets the value of the vorname property. @@ -142,25 +144,30 @@ public class PersonenNameTyp { /** * Gets the value of the affix property. * - * @return - * possible object is - * {@link PersonenNameTyp.Affix } - * - */ - public PersonenNameTyp.Affix getAffix() { - return affix; - } - - /** - * Sets the value of the affix property. + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the affix property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAffix().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PersonenNameTyp.Affix } + * * - * @param value - * allowed object is - * {@link PersonenNameTyp.Affix } - * */ - public void setAffix(PersonenNameTyp.Affix value) { - this.affix = value; + public List<PersonenNameTyp.Affix> getAffix() { + if (affix == null) { + affix = new ArrayList<PersonenNameTyp.Affix>(); + } + return this.affix; } diff --git a/src/main/java/at/gv/util/xsd/ur/pd/PostAdresseTyp.java b/src/main/java/at/gv/util/xsd/ur_V5/pd/PostAdresseTyp.java index 5335fc2..4a402fa 100644 --- a/src/main/java/at/gv/util/xsd/ur/pd/PostAdresseTyp.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/pd/PostAdresseTyp.java @@ -1,9 +1,8 @@ -package at.gv.util.xsd.ur.pd; +package at.gv.util.xsd.ur_V5.pd; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; @@ -41,23 +40,26 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; * <sequence> * <element name="Strassenname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="Orientierungsnummer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Nutzungseinheitlaufnummer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="AdressRegisterEintrag" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Adresscode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7"/> + * <element name="Subcode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string3" minOccurs="0"/> + * <element name="Objektnummer" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> - * <attribute name="type" default="undefiniert"> - * <simpleType> - * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> - * <enumeration value="Postfachadresse"/> - * <enumeration value="Anschrift"/> - * <enumeration value="MilitaerischeAdresse"/> - * <enumeration value="undefiniert"/> - * </restriction> - * </simpleType> - * </attribute> - * <anyAttribute namespace='##other'/> * </extension> * </complexContent> * </complexType> @@ -94,8 +96,6 @@ public class PostAdresseTyp protected String ortschaft; @XmlElement(name = "Zustelladresse") protected PostAdresseTyp.Zustelladresse zustelladresse; - @XmlAttribute(name = "type") - protected String type; /** * Gets the value of the staatscode property. @@ -241,34 +241,6 @@ public class PostAdresseTyp this.zustelladresse = value; } - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - if (type == null) { - return "undefiniert"; - } else { - return type; - } - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - /** * <p>Java class for anonymous complex type. @@ -282,6 +254,20 @@ public class PostAdresseTyp * <sequence> * <element name="Strassenname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="Orientierungsnummer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Nutzungseinheitlaufnummer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="AdressRegisterEintrag" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Adresscode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7"/> + * <element name="Subcode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string3" minOccurs="0"/> + * <element name="Objektnummer" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> * </sequence> * </restriction> * </complexContent> @@ -293,7 +279,9 @@ public class PostAdresseTyp @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "strassenname", - "orientierungsnummer" + "orientierungsnummer", + "nutzungseinheitlaufnummer", + "adressRegisterEintrag" }) public static class Zustelladresse { @@ -301,6 +289,10 @@ public class PostAdresseTyp protected String strassenname; @XmlElement(name = "Orientierungsnummer") protected String orientierungsnummer; + @XmlElement(name = "Nutzungseinheitlaufnummer") + protected String nutzungseinheitlaufnummer; + @XmlElement(name = "AdressRegisterEintrag") + protected PostAdresseTyp.Zustelladresse.AdressRegisterEintrag adressRegisterEintrag; /** * Gets the value of the strassenname property. @@ -350,6 +342,165 @@ public class PostAdresseTyp this.orientierungsnummer = value; } + /** + * Gets the value of the nutzungseinheitlaufnummer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNutzungseinheitlaufnummer() { + return nutzungseinheitlaufnummer; + } + + /** + * Sets the value of the nutzungseinheitlaufnummer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNutzungseinheitlaufnummer(String value) { + this.nutzungseinheitlaufnummer = value; + } + + /** + * Gets the value of the adressRegisterEintrag property. + * + * @return + * possible object is + * {@link PostAdresseTyp.Zustelladresse.AdressRegisterEintrag } + * + */ + public PostAdresseTyp.Zustelladresse.AdressRegisterEintrag getAdressRegisterEintrag() { + return adressRegisterEintrag; + } + + /** + * Sets the value of the adressRegisterEintrag property. + * + * @param value + * allowed object is + * {@link PostAdresseTyp.Zustelladresse.AdressRegisterEintrag } + * + */ + public void setAdressRegisterEintrag(PostAdresseTyp.Zustelladresse.AdressRegisterEintrag value) { + this.adressRegisterEintrag = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Adresscode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7"/> + * <element name="Subcode" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string3" minOccurs="0"/> + * <element name="Objektnummer" type="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}string7" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "adresscode", + "subcode", + "objektnummer" + }) + public static class AdressRegisterEintrag { + + @XmlElement(name = "Adresscode", required = true) + protected String adresscode; + @XmlElement(name = "Subcode") + protected String subcode; + @XmlElement(name = "Objektnummer") + protected String objektnummer; + + /** + * Gets the value of the adresscode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdresscode() { + return adresscode; + } + + /** + * Sets the value of the adresscode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdresscode(String value) { + this.adresscode = value; + } + + /** + * Gets the value of the subcode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSubcode() { + return subcode; + } + + /** + * Sets the value of the subcode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSubcode(String value) { + this.subcode = value; + } + + /** + * Gets the value of the objektnummer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getObjektnummer() { + return objektnummer; + } + + /** + * Sets the value of the objektnummer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setObjektnummer(String value) { + this.objektnummer = value; + } + + } + } } diff --git a/src/main/java/at/gv/util/xsd/ur_V5/pd/TypisiertePostAdresseTyp.java b/src/main/java/at/gv/util/xsd/ur_V5/pd/TypisiertePostAdresseTyp.java new file mode 100644 index 0000000..da4be8d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/pd/TypisiertePostAdresseTyp.java @@ -0,0 +1,156 @@ + +package at.gv.util.xsd.ur_V5.pd; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ur_V5.simpletypes.AdressTyp; + + +/** + * entspricht TypedPostalAddressType + * + * + * <p>Java class for TypisiertePostAdresseTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TypisiertePostAdresseTyp"> + * <complexContent> + * <extension base="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}AbstractAddressType"> + * <sequence minOccurs="0"> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PostAdresse"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Typ"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/4#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TypisiertePostAdresseTyp", propOrder = { + "postAdresse", + "typ" +}) +public class TypisiertePostAdresseTyp + extends AbstractAddressType +{ + + @XmlElement(name = "PostAdresse") + protected PostAdresseTyp postAdresse; + @XmlElement(name = "Typ", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected AdressTyp typ; + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the postAdresse property. + * + * @return + * possible object is + * {@link PostAdresseTyp } + * + */ + public PostAdresseTyp getPostAdresse() { + return postAdresse; + } + + /** + * Sets the value of the postAdresse property. + * + * @param value + * allowed object is + * {@link PostAdresseTyp } + * + */ + public void setPostAdresse(PostAdresseTyp value) { + this.postAdresse = value; + } + + /** + * Gets the value of the typ property. + * + * @return + * possible object is + * {@link AdressTyp } + * + */ + public AdressTyp getTyp() { + return typ; + } + + /** + * Sets the value of the typ property. + * + * @param value + * allowed object is + * {@link AdressTyp } + * + */ + public void setTyp(AdressTyp value) { + this.typ = value; + } + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/pd/ZusatzdatenPersonenTyp.java b/src/main/java/at/gv/util/xsd/ur_V5/pd/ZusatzdatenPersonenTyp.java new file mode 100644 index 0000000..f5aee24 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/pd/ZusatzdatenPersonenTyp.java @@ -0,0 +1,133 @@ + +package at.gv.util.xsd.ur_V5.pd; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ur_V5.search.FunktionVollzug; +import at.gv.util.xsd.ur_V5.search.RechtstatsachenVollzug; +import at.gv.util.xsd.ur_V5.simpletypes.EvbStatusTyp; + + +/** + * <p>Java class for ZusatzdatenPersonenTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="ZusatzdatenPersonenTyp"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}EvbStatus" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Funktion" maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}Rechtstatsachen" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ZusatzdatenPersonenTyp", propOrder = { + "evbStatus", + "funktion", + "rechtstatsachen" +}) +public class ZusatzdatenPersonenTyp { + + @XmlElement(name = "EvbStatus", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected EvbStatusTyp evbStatus; + @XmlElement(name = "Funktion", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected List<FunktionVollzug> funktion; + @XmlElement(name = "Rechtstatsachen", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected List<RechtstatsachenVollzug> rechtstatsachen; + + /** + * Gets the value of the evbStatus property. + * + * @return + * possible object is + * {@link EvbStatusTyp } + * + */ + public EvbStatusTyp getEvbStatus() { + return evbStatus; + } + + /** + * Sets the value of the evbStatus property. + * + * @param value + * allowed object is + * {@link EvbStatusTyp } + * + */ + public void setEvbStatus(EvbStatusTyp value) { + this.evbStatus = value; + } + + /** + * Gets the value of the funktion property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the funktion property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFunktion().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link FunktionVollzug } + * + * + */ + public List<FunktionVollzug> getFunktion() { + if (funktion == null) { + funktion = new ArrayList<FunktionVollzug>(); + } + return this.funktion; + } + + /** + * Gets the value of the rechtstatsachen property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the rechtstatsachen property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRechtstatsachen().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link RechtstatsachenVollzug } + * + * + */ + public List<RechtstatsachenVollzug> getRechtstatsachen() { + if (rechtstatsachen == null) { + rechtstatsachen = new ArrayList<RechtstatsachenVollzug>(); + } + return this.rechtstatsachen; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/pd/package-info.java b/src/main/java/at/gv/util/xsd/ur_V5/pd/package-info.java index 64113f9..c485dc8 100644 --- a/src/main/java/at/gv/util/xsd/ur/pd/package-info.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/pd/package-info.java @@ -1,2 +1,2 @@ @javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) -package at.gv.util.xsd.ur.pd; +package at.gv.util.xsd.ur_V5.pd; diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/Bestandsnachweis.java b/src/main/java/at/gv/util/xsd/ur_V5/search/Bestandsnachweis.java new file mode 100644 index 0000000..00d36d7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/Bestandsnachweis.java @@ -0,0 +1,63 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for Bestandsnachweis complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Bestandsnachweis"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Bestandsnachweis", propOrder = { + "value" +}) +@XmlSeeAlso({ + BestandsnachweisVollzug.class +}) +public abstract class Bestandsnachweis { + + @XmlValue + protected String value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/BestandsnachweisVollzug.java b/src/main/java/at/gv/util/xsd/ur_V5/search/BestandsnachweisVollzug.java new file mode 100644 index 0000000..3f6f957 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/BestandsnachweisVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for BestandsnachweisVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="BestandsnachweisVollzug"> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/stammdaten/4#>Bestandsnachweis"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/4#}VollzugAttributes"/> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BestandsnachweisVollzug") +public class BestandsnachweisVollzug + extends Bestandsnachweis +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/Bestandszeitraum.java b/src/main/java/at/gv/util/xsd/ur_V5/search/Bestandszeitraum.java new file mode 100644 index 0000000..337d8b6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/Bestandszeitraum.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for Bestandszeitraum complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Bestandszeitraum"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="BestandVon" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="BestandBis" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Bestandszeitraum", propOrder = { + "bestandVon", + "bestandBis" +}) +@XmlSeeAlso({ + BestandszeitraumVollzug.class +}) +public abstract class Bestandszeitraum { + + @XmlElement(name = "BestandVon") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar bestandVon; + @XmlElement(name = "BestandBis") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar bestandBis; + + /** + * Gets the value of the bestandVon property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getBestandVon() { + return bestandVon; + } + + /** + * Sets the value of the bestandVon property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setBestandVon(XMLGregorianCalendar value) { + this.bestandVon = value; + } + + /** + * Gets the value of the bestandBis property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getBestandBis() { + return bestandBis; + } + + /** + * Sets the value of the bestandBis property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setBestandBis(XMLGregorianCalendar value) { + this.bestandBis = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/BestandszeitraumVollzug.java b/src/main/java/at/gv/util/xsd/ur_V5/search/BestandszeitraumVollzug.java new file mode 100644 index 0000000..3249535 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/BestandszeitraumVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for BestandszeitraumVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="BestandszeitraumVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/4#}Bestandszeitraum"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/4#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BestandszeitraumVollzug") +public class BestandszeitraumVollzug + extends Bestandszeitraum +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/Branche.java b/src/main/java/at/gv/util/xsd/ur_V5/search/Branche.java index d7a4ab8..28b822d 100644 --- a/src/main/java/at/gv/util/xsd/ur/search/Branche.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/Branche.java @@ -1,12 +1,12 @@ -package at.gv.util.xsd.ur.search; +package at.gv.util.xsd.ur_V5.search; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; -import at.gv.util.xsd.ur.simpletypes.OenaceArtTyp; +import at.gv.util.xsd.ur_V5.simpletypes.OenaceArtTyp; /** @@ -19,12 +19,12 @@ import at.gv.util.xsd.ur.simpletypes.OenaceArtTyp; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="Oenace" type="{http://statistik.at/namespace/ur/stammdaten/1#}OenaceType"/> + * <element name="Oenace" type="{http://statistik.at/namespace/ur/stammdaten/4#}OenaceType"/> * <element name="OenaceText" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="Beginn" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType"/> - * <element name="Ende" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType" minOccurs="0"/> + * <element name="Beginn" type="{http://statistik.at/namespace/ur/stammdaten/4#}QuellenType"/> + * <element name="Ende" type="{http://statistik.at/namespace/ur/stammdaten/4#}QuellenType" minOccurs="0"/> * </sequence> - * <attribute name="art" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/1#}OenaceArtTyp" /> + * <attribute name="art" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OenaceArtTyp" /> * </restriction> * </complexContent> * </complexType> diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/Dubletten.java b/src/main/java/at/gv/util/xsd/ur_V5/search/Dubletten.java new file mode 100644 index 0000000..3126e85 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/Dubletten.java @@ -0,0 +1,124 @@ + +package at.gv.util.xsd.ur_V5.search; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ur_V5.simpletypes.ArtDublette; + + +/** + * <p>Java class for Dubletten complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Dubletten"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="art" type="{http://statistik.at/namespace/ur/simpleTypes/2#}ArtDublette"/> + * <element name="kurMaster" type="{http://statistik.at/namespace/ur/simpleTypes/2#}KurTyp" minOccurs="0"/> + * <element name="kurSlave" type="{http://statistik.at/namespace/ur/simpleTypes/2#}KurTyp" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Dubletten", propOrder = { + "art", + "kurMaster", + "kurSlave" +}) +public class Dubletten { + + @XmlElement(required = true) + protected ArtDublette art; + protected String kurMaster; + protected List<String> kurSlave; + + /** + * Gets the value of the art property. + * + * @return + * possible object is + * {@link ArtDublette } + * + */ + public ArtDublette getArt() { + return art; + } + + /** + * Sets the value of the art property. + * + * @param value + * allowed object is + * {@link ArtDublette } + * + */ + public void setArt(ArtDublette value) { + this.art = value; + } + + /** + * Gets the value of the kurMaster property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKurMaster() { + return kurMaster; + } + + /** + * Sets the value of the kurMaster property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKurMaster(String value) { + this.kurMaster = value; + } + + /** + * Gets the value of the kurSlave property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the kurSlave property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getKurSlave().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getKurSlave() { + if (kurSlave == null) { + kurSlave = new ArrayList<String>(); + } + return this.kurSlave; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/FktRegelTyp.java b/src/main/java/at/gv/util/xsd/ur_V5/search/FktRegelTyp.java new file mode 100644 index 0000000..c302dd4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/FktRegelTyp.java @@ -0,0 +1,126 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for FktRegelTyp complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FktRegelTyp"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FktRegelVon" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="FktRegelBis" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="FktRegelText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FktRegelTextTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FktRegelTyp", propOrder = { + "fktRegelVon", + "fktRegelBis", + "fktRegelText" +}) +@XmlSeeAlso({ + FktRegelTypVollzug.class +}) +public abstract class FktRegelTyp { + + @XmlElement(name = "FktRegelVon") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar fktRegelVon; + @XmlElement(name = "FktRegelBis") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar fktRegelBis; + @XmlElement(name = "FktRegelText") + protected String fktRegelText; + + /** + * Gets the value of the fktRegelVon property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getFktRegelVon() { + return fktRegelVon; + } + + /** + * Sets the value of the fktRegelVon property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setFktRegelVon(XMLGregorianCalendar value) { + this.fktRegelVon = value; + } + + /** + * Gets the value of the fktRegelBis property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getFktRegelBis() { + return fktRegelBis; + } + + /** + * Sets the value of the fktRegelBis property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setFktRegelBis(XMLGregorianCalendar value) { + this.fktRegelBis = value; + } + + /** + * Gets the value of the fktRegelText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFktRegelText() { + return fktRegelText; + } + + /** + * Sets the value of the fktRegelText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFktRegelText(String value) { + this.fktRegelText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/FktRegelTypVollzug.java b/src/main/java/at/gv/util/xsd/ur_V5/search/FktRegelTypVollzug.java new file mode 100644 index 0000000..5216279 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/FktRegelTypVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for FktRegelTypVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FktRegelTypVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/4#}FktRegelTyp"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/4#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FktRegelTypVollzug") +public class FktRegelTypVollzug + extends FktRegelTyp +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/Funktion.java b/src/main/java/at/gv/util/xsd/ur_V5/search/Funktion.java new file mode 100644 index 0000000..2f3eef0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/Funktion.java @@ -0,0 +1,86 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for Funktion complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Funktion"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FktName" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FunktionTyp"/> + * <element name="FktNameText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FunktionTextTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Funktion", propOrder = { + "fktName", + "fktNameText" +}) +@XmlSeeAlso({ + FunktionVollzug.class +}) +public abstract class Funktion { + + @XmlElement(name = "FktName") + protected int fktName; + @XmlElement(name = "FktNameText") + protected String fktNameText; + + /** + * Gets the value of the fktName property. + * + */ + public int getFktName() { + return fktName; + } + + /** + * Sets the value of the fktName property. + * + */ + public void setFktName(int value) { + this.fktName = value; + } + + /** + * Gets the value of the fktNameText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFktNameText() { + return fktNameText; + } + + /** + * Sets the value of the fktNameText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFktNameText(String value) { + this.fktNameText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/FunktionVollzug.java b/src/main/java/at/gv/util/xsd/ur_V5/search/FunktionVollzug.java new file mode 100644 index 0000000..ef648d6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/FunktionVollzug.java @@ -0,0 +1,164 @@ + +package at.gv.util.xsd.ur_V5.search; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for FunktionVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="FunktionVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/4#}Funktion"> + * <sequence> + * <element name="FktRegel" type="{http://statistik.at/namespace/ur/stammdaten/4#}FktRegelTypVollzug" maxOccurs="unbounded" minOccurs="0"/> + * <element name="Rechtstatsachen" type="{http://statistik.at/namespace/ur/stammdaten/4#}RechtstatsachenVollzug" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/4#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FunktionVollzug", propOrder = { + "fktRegel", + "rechtstatsachen" +}) +public class FunktionVollzug + extends Funktion +{ + + @XmlElement(name = "FktRegel") + protected List<FktRegelTypVollzug> fktRegel; + @XmlElement(name = "Rechtstatsachen") + protected List<RechtstatsachenVollzug> rechtstatsachen; + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the fktRegel property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the fktRegel property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFktRegel().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link FktRegelTypVollzug } + * + * + */ + public List<FktRegelTypVollzug> getFktRegel() { + if (fktRegel == null) { + fktRegel = new ArrayList<FktRegelTypVollzug>(); + } + return this.fktRegel; + } + + /** + * Gets the value of the rechtstatsachen property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the rechtstatsachen property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRechtstatsachen().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link RechtstatsachenVollzug } + * + * + */ + public List<RechtstatsachenVollzug> getRechtstatsachen() { + if (rechtstatsachen == null) { + rechtstatsachen = new ArrayList<RechtstatsachenVollzug>(); + } + return this.rechtstatsachen; + } + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ur_V5/search/ObjectFactory.java new file mode 100644 index 0000000..a41014c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/ObjectFactory.java @@ -0,0 +1,482 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; +import at.gv.util.xsd.ur_V5.simpletypes.AdressTyp; +import at.gv.util.xsd.ur_V5.simpletypes.EvbStatusTyp; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.ur_V5.search package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Bestandsnachweis_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "Bestandsnachweis"); + private final static QName _SucheUnternehmenNachIdRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "SucheUnternehmenNachIdRequest"); + private final static QName _Bestandszeitraum_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "Bestandszeitraum"); + private final static QName _Vertretung_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "Vertretung"); + private final static QName _EvbStatus_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "EvbStatus"); + private final static QName _TypeText_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "TypeText"); + private final static QName _SucheUnternehmenNachBpkRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "SucheUnternehmenNachBpkRequest"); + private final static QName _Funktion_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "Funktion"); + private final static QName _Taetigkeitszeitraum_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "Taetigkeitszeitraum"); + private final static QName _SucheUnternehmenNachAendDatRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "SucheUnternehmenNachAendDatRequest"); + private final static QName _UntName_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "UntName"); + private final static QName _SucheUnternehmenRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "SucheUnternehmenRequest"); + private final static QName _URVPdf_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "URV_pdf"); + private final static QName _Dubletten_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "Dubletten"); + private final static QName _Typ_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "Typ"); + private final static QName _Rechtsform_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "Rechtsform"); + private final static QName _Rechtstatsachen_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "Rechtstatsachen"); + private final static QName _Ende_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "Ende"); + private final static QName _Branche_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "Branche"); + private final static QName _Gesperrt_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "Gesperrt"); + private final static QName _Beginn_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "Beginn"); + private final static QName _Vollzug_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "Vollzug"); + private final static QName _AendDat_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "AendDat"); + private final static QName _BpkWTUR_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "bpkWTUR"); + private final static QName _ErsbAttribute_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "ErsbAttribute"); + private final static QName _SucheUnternehmenNachIdsRequest_QNAME = new QName("http://statistik.at/namespace/ur/stammdaten/4#", "SucheUnternehmenNachIdsRequest"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur_V5.search + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link QuellenType } + * + */ + public QuellenType createQuellenType() { + return new QuellenType(); + } + + /** + * Create an instance of {@link SucheUnternehmenNachBpkRequest } + * + */ + public SucheUnternehmenNachBpkRequest createSucheUnternehmenNachBpkRequest() { + return new SucheUnternehmenNachBpkRequest(); + } + + /** + * Create an instance of {@link Dubletten } + * + */ + public Dubletten createDubletten() { + return new Dubletten(); + } + + /** + * Create an instance of {@link RechtsformVollzug } + * + */ + public RechtsformVollzug createRechtsformVollzug() { + return new RechtsformVollzug(); + } + + /** + * Create an instance of {@link RechtstatsachenVollzug } + * + */ + public RechtstatsachenVollzug createRechtstatsachenVollzug() { + return new RechtstatsachenVollzug(); + } + + /** + * Create an instance of {@link BestandszeitraumVollzug } + * + */ + public BestandszeitraumVollzug createBestandszeitraumVollzug() { + return new BestandszeitraumVollzug(); + } + + /** + * Create an instance of {@link VertretungVollzug } + * + */ + public VertretungVollzug createVertretungVollzug() { + return new VertretungVollzug(); + } + + /** + * Create an instance of {@link BestandsnachweisVollzug } + * + */ + public BestandsnachweisVollzug createBestandsnachweisVollzug() { + return new BestandsnachweisVollzug(); + } + + /** + * Create an instance of {@link SucheUnternehmenNachIdRequest } + * + */ + public SucheUnternehmenNachIdRequest createSucheUnternehmenNachIdRequest() { + return new SucheUnternehmenNachIdRequest(); + } + + /** + * Create an instance of {@link SucheUnternehmenRequest } + * + */ + public SucheUnternehmenRequest createSucheUnternehmenRequest() { + return new SucheUnternehmenRequest(); + } + + /** + * Create an instance of {@link UntNameVollzug } + * + */ + public UntNameVollzug createUntNameVollzug() { + return new UntNameVollzug(); + } + + /** + * Create an instance of {@link SucheUnternehmenNachIdsRequest } + * + */ + public SucheUnternehmenNachIdsRequest createSucheUnternehmenNachIdsRequest() { + return new SucheUnternehmenNachIdsRequest(); + } + + /** + * Create an instance of {@link SucheUnternehmenNachAendDatRequest } + * + */ + public SucheUnternehmenNachAendDatRequest createSucheUnternehmenNachAendDatRequest() { + return new SucheUnternehmenNachAendDatRequest(); + } + + /** + * Create an instance of {@link Branche } + * + */ + public Branche createBranche() { + return new Branche(); + } + + /** + * Create an instance of {@link Vollzug } + * + */ + public Vollzug createVollzug() { + return new Vollzug(); + } + + /** + * Create an instance of {@link FunktionVollzug } + * + */ + public FunktionVollzug createFunktionVollzug() { + return new FunktionVollzug(); + } + + /** + * Create an instance of {@link TaetigkeitszeitraumVollzug } + * + */ + public TaetigkeitszeitraumVollzug createTaetigkeitszeitraumVollzug() { + return new TaetigkeitszeitraumVollzug(); + } + + /** + * Create an instance of {@link SucheUnternehmensdaten } + * + */ + public SucheUnternehmensdaten createSucheUnternehmensdaten() { + return new SucheUnternehmensdaten(); + } + + /** + * Create an instance of {@link OenaceType } + * + */ + public OenaceType createOenaceType() { + return new OenaceType(); + } + + /** + * Create an instance of {@link VollzugElem } + * + */ + public VollzugElem createVollzugElem() { + return new VollzugElem(); + } + + /** + * Create an instance of {@link SucheBranche } + * + */ + public SucheBranche createSucheBranche() { + return new SucheBranche(); + } + + /** + * Create an instance of {@link FktRegelTypVollzug } + * + */ + public FktRegelTypVollzug createFktRegelTypVollzug() { + return new FktRegelTypVollzug(); + } + + /** + * Create an instance of {@link SuchePersonendaten } + * + */ + public SuchePersonendaten createSuchePersonendaten() { + return new SuchePersonendaten(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BestandsnachweisVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "Bestandsnachweis") + public JAXBElement<BestandsnachweisVollzug> createBestandsnachweis(BestandsnachweisVollzug value) { + return new JAXBElement<BestandsnachweisVollzug>(_Bestandsnachweis_QNAME, BestandsnachweisVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachIdRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "SucheUnternehmenNachIdRequest") + public JAXBElement<SucheUnternehmenNachIdRequest> createSucheUnternehmenNachIdRequest(SucheUnternehmenNachIdRequest value) { + return new JAXBElement<SucheUnternehmenNachIdRequest>(_SucheUnternehmenNachIdRequest_QNAME, SucheUnternehmenNachIdRequest.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BestandszeitraumVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "Bestandszeitraum") + public JAXBElement<BestandszeitraumVollzug> createBestandszeitraum(BestandszeitraumVollzug value) { + return new JAXBElement<BestandszeitraumVollzug>(_Bestandszeitraum_QNAME, BestandszeitraumVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link VertretungVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "Vertretung") + public JAXBElement<VertretungVollzug> createVertretung(VertretungVollzug value) { + return new JAXBElement<VertretungVollzug>(_Vertretung_QNAME, VertretungVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EvbStatusTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "EvbStatus") + public JAXBElement<EvbStatusTyp> createEvbStatus(EvbStatusTyp value) { + return new JAXBElement<EvbStatusTyp>(_EvbStatus_QNAME, EvbStatusTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "TypeText") + public JAXBElement<String> createTypeText(String value) { + return new JAXBElement<String>(_TypeText_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachBpkRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "SucheUnternehmenNachBpkRequest") + public JAXBElement<SucheUnternehmenNachBpkRequest> createSucheUnternehmenNachBpkRequest(SucheUnternehmenNachBpkRequest value) { + return new JAXBElement<SucheUnternehmenNachBpkRequest>(_SucheUnternehmenNachBpkRequest_QNAME, SucheUnternehmenNachBpkRequest.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link FunktionVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "Funktion") + public JAXBElement<FunktionVollzug> createFunktion(FunktionVollzug value) { + return new JAXBElement<FunktionVollzug>(_Funktion_QNAME, FunktionVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TaetigkeitszeitraumVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "Taetigkeitszeitraum") + public JAXBElement<TaetigkeitszeitraumVollzug> createTaetigkeitszeitraum(TaetigkeitszeitraumVollzug value) { + return new JAXBElement<TaetigkeitszeitraumVollzug>(_Taetigkeitszeitraum_QNAME, TaetigkeitszeitraumVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachAendDatRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "SucheUnternehmenNachAendDatRequest") + public JAXBElement<SucheUnternehmenNachAendDatRequest> createSucheUnternehmenNachAendDatRequest(SucheUnternehmenNachAendDatRequest value) { + return new JAXBElement<SucheUnternehmenNachAendDatRequest>(_SucheUnternehmenNachAendDatRequest_QNAME, SucheUnternehmenNachAendDatRequest.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link UntNameVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "UntName") + public JAXBElement<UntNameVollzug> createUntName(UntNameVollzug value) { + return new JAXBElement<UntNameVollzug>(_UntName_QNAME, UntNameVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "SucheUnternehmenRequest") + public JAXBElement<SucheUnternehmenRequest> createSucheUnternehmenRequest(SucheUnternehmenRequest value) { + return new JAXBElement<SucheUnternehmenRequest>(_SucheUnternehmenRequest_QNAME, SucheUnternehmenRequest.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "URV_pdf") + public JAXBElement<byte[]> createURVPdf(byte[] value) { + return new JAXBElement<byte[]>(_URVPdf_QNAME, byte[].class, null, ((byte[]) value)); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Dubletten }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "Dubletten") + public JAXBElement<Dubletten> createDubletten(Dubletten value) { + return new JAXBElement<Dubletten>(_Dubletten_QNAME, Dubletten.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link AdressTyp }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "Typ") + public JAXBElement<AdressTyp> createTyp(AdressTyp value) { + return new JAXBElement<AdressTyp>(_Typ_QNAME, AdressTyp.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RechtsformVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "Rechtsform") + public JAXBElement<RechtsformVollzug> createRechtsform(RechtsformVollzug value) { + return new JAXBElement<RechtsformVollzug>(_Rechtsform_QNAME, RechtsformVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RechtstatsachenVollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "Rechtstatsachen") + public JAXBElement<RechtstatsachenVollzug> createRechtstatsachen(RechtstatsachenVollzug value) { + return new JAXBElement<RechtstatsachenVollzug>(_Rechtstatsachen_QNAME, RechtstatsachenVollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link QuellenType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "Ende") + public JAXBElement<QuellenType> createEnde(QuellenType value) { + return new JAXBElement<QuellenType>(_Ende_QNAME, QuellenType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Branche }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "Branche") + public JAXBElement<Branche> createBranche(Branche value) { + return new JAXBElement<Branche>(_Branche_QNAME, Branche.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "Gesperrt") + public JAXBElement<Boolean> createGesperrt(Boolean value) { + return new JAXBElement<Boolean>(_Gesperrt_QNAME, Boolean.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link QuellenType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "Beginn") + public JAXBElement<QuellenType> createBeginn(QuellenType value) { + return new JAXBElement<QuellenType>(_Beginn_QNAME, QuellenType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Vollzug }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "Vollzug") + public JAXBElement<Vollzug> createVollzug(Vollzug value) { + return new JAXBElement<Vollzug>(_Vollzug_QNAME, Vollzug.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "AendDat") + public JAXBElement<XMLGregorianCalendar> createAendDat(XMLGregorianCalendar value) { + return new JAXBElement<XMLGregorianCalendar>(_AendDat_QNAME, XMLGregorianCalendar.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "bpkWTUR") + public JAXBElement<String> createBpkWTUR(String value) { + return new JAXBElement<String>(_BpkWTUR_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "ErsbAttribute", defaultValue = "false") + public JAXBElement<Boolean> createErsbAttribute(Boolean value) { + return new JAXBElement<Boolean>(_ErsbAttribute_QNAME, Boolean.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SucheUnternehmenNachIdsRequest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", name = "SucheUnternehmenNachIdsRequest") + public JAXBElement<SucheUnternehmenNachIdsRequest> createSucheUnternehmenNachIdsRequest(SucheUnternehmenNachIdsRequest value) { + return new JAXBElement<SucheUnternehmenNachIdsRequest>(_SucheUnternehmenNachIdsRequest_QNAME, SucheUnternehmenNachIdsRequest.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/OenaceType.java b/src/main/java/at/gv/util/xsd/ur_V5/search/OenaceType.java index 9f5f2ee..cb6b455 100644 --- a/src/main/java/at/gv/util/xsd/ur/search/OenaceType.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/OenaceType.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.search; +package at.gv.util.xsd.ur_V5.search; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; @@ -16,8 +16,8 @@ import javax.xml.bind.annotation.XmlValue; * <pre> * <complexType name="OenaceType"> * <simpleContent> - * <extension base="<http://statistik.at/namespace/ur/simpleTypes/1#>OenaceCodeTyp"> - * <attribute name="jahr" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/1#}OenaceJahrTyp" /> + * <extension base="<http://statistik.at/namespace/ur/simpleTypes/2#>OenaceCodeTyp"> + * <attribute name="jahr" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OenaceJahrTyp" /> * </extension> * </simpleContent> * </complexType> @@ -38,7 +38,7 @@ public class OenaceType { /** * - * ÖNACE - Branchenkennzahl + * Ö\u0096NACE - Branchenkennzahl * * * @return diff --git a/src/main/java/at/gv/util/xsd/ur/search/QuellenType.java b/src/main/java/at/gv/util/xsd/ur_V5/search/QuellenType.java index 6c9eebb..01a3fec 100644 --- a/src/main/java/at/gv/util/xsd/ur/search/QuellenType.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/QuellenType.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.search; +package at.gv.util.xsd.ur_V5.search; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; @@ -19,7 +19,7 @@ import javax.xml.datatype.XMLGregorianCalendar; * <complexType name="QuellenType"> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>date"> - * <attribute name="quelle" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/1#}QuelleTyp" /> + * <attribute name="quelle" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}QuelleTyp" /> * <attribute name="quText" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> * </extension> * </simpleContent> diff --git a/src/main/java/at/gv/util/xsd/ur/search/Rechtsform.java b/src/main/java/at/gv/util/xsd/ur_V5/search/Rechtsform.java index 1e6df01..58eea19 100644 --- a/src/main/java/at/gv/util/xsd/ur/search/Rechtsform.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/Rechtsform.java @@ -1,9 +1,10 @@ -package at.gv.util.xsd.ur.search; +package at.gv.util.xsd.ur_V5.search; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; @@ -17,11 +18,10 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="ReForm" type="{http://statistik.at/namespace/ur/simpleTypes/1#}RechtsformTyp"/> - * <element name="ReFormText" type="{http://statistik.at/namespace/ur/simpleTypes/1#}RechtsformTextTyp"/> - * <element name="ReFormExtern" type="{http://statistik.at/namespace/ur/simpleTypes/1#}RechtsformTextTyp"/> - * <element name="Beginn" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType"/> - * <element name="Ende" type="{http://statistik.at/namespace/ur/stammdaten/1#}QuellenType" minOccurs="0"/> + * <element name="ReForm" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTyp" minOccurs="0"/> + * <element name="ReFormText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTextTyp" minOccurs="0"/> + * <element name="ReFormExtern" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTyp"/> + * <element name="ReFormExternText" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTextTyp" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -35,31 +35,31 @@ import javax.xml.bind.annotation.XmlType; "reForm", "reFormText", "reFormExtern", - "beginn", - "ende" + "reFormExternText" }) -public class Rechtsform { +@XmlSeeAlso({ + RechtsformVollzug.class +}) +public abstract class Rechtsform { - @XmlElement(name = "ReForm", required = true) - protected String reForm; - @XmlElement(name = "ReFormText", required = true) + @XmlElement(name = "ReForm") + protected Integer reForm; + @XmlElement(name = "ReFormText") protected String reFormText; - @XmlElement(name = "ReFormExtern", required = true) - protected String reFormExtern; - @XmlElement(name = "Beginn", required = true) - protected QuellenType beginn; - @XmlElement(name = "Ende") - protected QuellenType ende; + @XmlElement(name = "ReFormExtern") + protected int reFormExtern; + @XmlElement(name = "ReFormExternText") + protected String reFormExternText; /** * Gets the value of the reForm property. * * @return * possible object is - * {@link String } + * {@link Integer } * */ - public String getReForm() { + public Integer getReForm() { return reForm; } @@ -68,10 +68,10 @@ public class Rechtsform { * * @param value * allowed object is - * {@link String } + * {@link Integer } * */ - public void setReForm(String value) { + public void setReForm(Integer value) { this.reForm = value; } @@ -102,73 +102,41 @@ public class Rechtsform { /** * Gets the value of the reFormExtern property. * - * @return - * possible object is - * {@link String } - * */ - public String getReFormExtern() { + public int getReFormExtern() { return reFormExtern; } /** * Sets the value of the reFormExtern property. * - * @param value - * allowed object is - * {@link String } - * */ - public void setReFormExtern(String value) { + public void setReFormExtern(int value) { this.reFormExtern = value; } /** - * Gets the value of the beginn property. + * Gets the value of the reFormExternText property. * * @return * possible object is - * {@link QuellenType } - * - */ - public QuellenType getBeginn() { - return beginn; - } - - /** - * Sets the value of the beginn property. - * - * @param value - * allowed object is - * {@link QuellenType } - * - */ - public void setBeginn(QuellenType value) { - this.beginn = value; - } - - /** - * Gets the value of the ende property. - * - * @return - * possible object is - * {@link QuellenType } + * {@link String } * */ - public QuellenType getEnde() { - return ende; + public String getReFormExternText() { + return reFormExternText; } /** - * Sets the value of the ende property. + * Sets the value of the reFormExternText property. * * @param value * allowed object is - * {@link QuellenType } + * {@link String } * */ - public void setEnde(QuellenType value) { - this.ende = value; + public void setReFormExternText(String value) { + this.reFormExternText = value; } } diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/RechtsformVollzug.java b/src/main/java/at/gv/util/xsd/ur_V5/search/RechtsformVollzug.java new file mode 100644 index 0000000..a63b789 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/RechtsformVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RechtsformVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RechtsformVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/4#}Rechtsform"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/4#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RechtsformVollzug") +public class RechtsformVollzug + extends Rechtsform +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/Rechtstatsachen.java b/src/main/java/at/gv/util/xsd/ur_V5/search/Rechtstatsachen.java new file mode 100644 index 0000000..934f1f4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/Rechtstatsachen.java @@ -0,0 +1,122 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for Rechtstatsachen complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Rechtstatsachen"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="RT_Nummer" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RT_NummerTyp" minOccurs="0"/> + * <element name="RT_Code" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RT_CodeTyp" minOccurs="0"/> + * <element name="RT_Text" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Rechtstatsachen", propOrder = { + "rtNummer", + "rtCode", + "rtText" +}) +@XmlSeeAlso({ + RechtstatsachenVollzug.class +}) +public abstract class Rechtstatsachen { + + @XmlElement(name = "RT_Nummer") + protected String rtNummer; + @XmlElement(name = "RT_Code") + protected String rtCode; + @XmlElement(name = "RT_Text") + protected String rtText; + + /** + * Gets the value of the rtNummer property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRTNummer() { + return rtNummer; + } + + /** + * Sets the value of the rtNummer property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRTNummer(String value) { + this.rtNummer = value; + } + + /** + * Gets the value of the rtCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRTCode() { + return rtCode; + } + + /** + * Sets the value of the rtCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRTCode(String value) { + this.rtCode = value; + } + + /** + * Gets the value of the rtText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRTText() { + return rtText; + } + + /** + * Sets the value of the rtText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRTText(String value) { + this.rtText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/RechtstatsachenVollzug.java b/src/main/java/at/gv/util/xsd/ur_V5/search/RechtstatsachenVollzug.java new file mode 100644 index 0000000..c44e2c1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/RechtstatsachenVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for RechtstatsachenVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="RechtstatsachenVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/4#}Rechtstatsachen"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/4#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RechtstatsachenVollzug") +public class RechtstatsachenVollzug + extends Rechtstatsachen +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/SucheBranche.java b/src/main/java/at/gv/util/xsd/ur_V5/search/SucheBranche.java index 1131840..b6b54d5 100644 --- a/src/main/java/at/gv/util/xsd/ur/search/SucheBranche.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/SucheBranche.java @@ -1,10 +1,10 @@ -package at.gv.util.xsd.ur.search; +package at.gv.util.xsd.ur_V5.search; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; -import at.gv.util.xsd.ur.simpletypes.OenaceArtTyp; +import at.gv.util.xsd.ur_V5.simpletypes.OenaceArtTyp; /** @@ -17,9 +17,9 @@ import at.gv.util.xsd.ur.simpletypes.OenaceArtTyp; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="oenaceJahr" type="{http://statistik.at/namespace/ur/simpleTypes/1#}OenaceJahrTyp" minOccurs="0"/> - * <element name="oenaceCode" type="{http://statistik.at/namespace/ur/simpleTypes/1#}OenaceCodeTyp" minOccurs="0"/> - * <element name="oenaceArt" type="{http://statistik.at/namespace/ur/simpleTypes/1#}OenaceArtTyp" minOccurs="0"/> + * <element name="oenaceJahr" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OenaceJahrTyp" minOccurs="0"/> + * <element name="oenaceCode" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OenaceCodeTyp" minOccurs="0"/> + * <element name="oenaceArt" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OenaceArtTyp" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> diff --git a/src/main/java/at/gv/util/xsd/ur/search/SuchePersonendaten.java b/src/main/java/at/gv/util/xsd/ur_V5/search/SuchePersonendaten.java index 19fd338..8e2f6e2 100644 --- a/src/main/java/at/gv/util/xsd/ur/search/SuchePersonendaten.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/SuchePersonendaten.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.search; +package at.gv.util.xsd.ur_V5.search; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; @@ -18,15 +18,18 @@ import javax.xml.datatype.XMLGregorianCalendar; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="nachname" type="{http://statistik.at/namespace/ur/simpleTypes/1#}NachnameTyp" minOccurs="0"/> - * <element name="vorname" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VornameTyp" minOccurs="0"/> + * <element name="phonetisch" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="nachname" type="{http://statistik.at/namespace/ur/simpleTypes/2#}NachnameTyp" minOccurs="0"/> + * <element name="vorname" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VornameTyp" minOccurs="0"/> * <element name="gebDatum" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> - * <element name="strasse" type="{http://statistik.at/namespace/ur/simpleTypes/1#}StrasseTyp" minOccurs="0"/> - * <element name="hNr" type="{http://statistik.at/namespace/ur/simpleTypes/1#}HNrTyp" minOccurs="0"/> - * <element name="ort" type="{http://statistik.at/namespace/ur/simpleTypes/1#}OrtTyp" minOccurs="0"/> - * <element name="gemnr" type="{http://statistik.at/namespace/ur/simpleTypes/1#}GemnrTyp" minOccurs="0"/> - * <element name="plz" type="{http://statistik.at/namespace/ur/simpleTypes/1#}PlzTyp" minOccurs="0"/> - * <element name="land" type="{http://statistik.at/namespace/ur/simpleTypes/1#}LandTyp" minOccurs="0"/> + * <element name="strasse" type="{http://statistik.at/namespace/ur/simpleTypes/2#}StrasseTyp" minOccurs="0"/> + * <element name="hNr" type="{http://statistik.at/namespace/ur/simpleTypes/2#}HNrTyp" minOccurs="0"/> + * <element name="ort" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OrtTyp" minOccurs="0"/> + * <element name="gemnr" type="{http://statistik.at/namespace/ur/simpleTypes/2#}GemnrTyp" minOccurs="0"/> + * <element name="plz" type="{http://statistik.at/namespace/ur/simpleTypes/2#}PlzTyp" minOccurs="0"/> + * <element name="land" type="{http://statistik.at/namespace/ur/simpleTypes/2#}LandTyp" minOccurs="0"/> + * <element name="stammzahl" type="{http://statistik.at/namespace/ur/simpleTypes/2#}IdTyp" minOccurs="0"/> + * <element name="stammregister" type="{http://statistik.at/namespace/ur/simpleTypes/2#}IdArtTyp" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -37,6 +40,7 @@ import javax.xml.datatype.XMLGregorianCalendar; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SuchePersonendaten", propOrder = { + "phonetisch", "nachname", "vorname", "gebDatum", @@ -45,10 +49,13 @@ import javax.xml.datatype.XMLGregorianCalendar; "ort", "gemnr", "plz", - "land" + "land", + "stammzahl", + "stammregister" }) public class SuchePersonendaten { + protected Boolean phonetisch; protected String nachname; protected String vorname; @XmlSchemaType(name = "date") @@ -59,6 +66,32 @@ public class SuchePersonendaten { protected Integer gemnr; protected String plz; protected String land; + protected String stammzahl; + protected String stammregister; + + /** + * Gets the value of the phonetisch property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isPhonetisch() { + return phonetisch; + } + + /** + * Sets the value of the phonetisch property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setPhonetisch(Boolean value) { + this.phonetisch = value; + } /** * Gets the value of the nachname property. @@ -276,4 +309,52 @@ public class SuchePersonendaten { this.land = value; } + /** + * Gets the value of the stammzahl property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStammzahl() { + return stammzahl; + } + + /** + * Sets the value of the stammzahl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStammzahl(String value) { + this.stammzahl = value; + } + + /** + * Gets the value of the stammregister property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getStammregister() { + return stammregister; + } + + /** + * Sets the value of the stammregister property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setStammregister(String value) { + this.stammregister = value; + } + } diff --git a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachAendDatRequest.java b/src/main/java/at/gv/util/xsd/ur_V5/search/SucheUnternehmenNachAendDatRequest.java index 3a08d16..c7f05dc 100644 --- a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachAendDatRequest.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/SucheUnternehmenNachAendDatRequest.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.search; +package at.gv.util.xsd.ur_V5.search; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; @@ -19,7 +19,7 @@ import javax.xml.datatype.XMLGregorianCalendar; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VersionTyp" minOccurs="0"/> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VersionTyp" minOccurs="0"/> * <element name="aendDat" type="{http://www.w3.org/2001/XMLSchema}date"/> * </sequence> * </restriction> diff --git a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachBpkRequest.java b/src/main/java/at/gv/util/xsd/ur_V5/search/SucheUnternehmenNachBpkRequest.java index 6e146ae..9f2affe 100644 --- a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenNachBpkRequest.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/SucheUnternehmenNachBpkRequest.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.search; +package at.gv.util.xsd.ur_V5.search; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; @@ -16,11 +16,12 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VersionTyp" minOccurs="0"/> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VersionTyp" minOccurs="0"/> * <choice> - * <element name="bpkWTUR" type="{http://statistik.at/namespace/ur/simpleTypes/1#}BpkTyp"/> - * <element name="bpkWTUREncoded" type="{http://statistik.at/namespace/ur/simpleTypes/1#}BpkEncodedTyp"/> + * <element name="bpkWTUR" type="{http://statistik.at/namespace/ur/simpleTypes/2#}BpkTyp"/> + * <element name="bpkWTUREncoded" type="{http://statistik.at/namespace/ur/simpleTypes/2#}BpkEncodedTyp"/> * </choice> + * <element name="nurAktive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -33,13 +34,15 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "SucheUnternehmenNachBpkRequest", propOrder = { "version", "bpkWTUR", - "bpkWTUREncoded" + "bpkWTUREncoded", + "nurAktive" }) public class SucheUnternehmenNachBpkRequest { protected String version; protected String bpkWTUR; protected String bpkWTUREncoded; + protected Boolean nurAktive; /** * Gets the value of the version property. @@ -113,4 +116,28 @@ public class SucheUnternehmenNachBpkRequest { this.bpkWTUREncoded = value; } + /** + * Gets the value of the nurAktive property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isNurAktive() { + return nurAktive; + } + + /** + * Sets the value of the nurAktive property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setNurAktive(Boolean value) { + this.nurAktive = value; + } + } diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/SucheUnternehmenNachIdRequest.java b/src/main/java/at/gv/util/xsd/ur_V5/search/SucheUnternehmenNachIdRequest.java new file mode 100644 index 0000000..6cc06cf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/SucheUnternehmenNachIdRequest.java @@ -0,0 +1,304 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; +import at.gv.util.xsd.ur_V5.simpletypes.ErgebnisVollzugStatusTyp; + + +/** + * <p>Java class for SucheUnternehmenNachIdRequest complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheUnternehmenNachIdRequest"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VersionTyp" minOccurs="0"/> + * <choice> + * <element name="kur" type="{http://statistik.at/namespace/ur/simpleTypes/2#}KurTyp"/> + * <element name="fbn" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FbnTyp"/> + * <element name="zvr" type="{http://statistik.at/namespace/ur/simpleTypes/2#}ZvrTyp"/> + * <element name="erj" type="{http://statistik.at/namespace/ur/simpleTypes/2#}ErjTyp"/> + * <element name="sek" type="{http://statistik.at/namespace/ur/simpleTypes/2#}SekTyp"/> + * </choice> + * <element name="URV_pdf" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="stichtag" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="mitHistorie" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="vollzugStatus" type="{http://statistik.at/namespace/ur/simpleTypes/2#}ErgebnisVollzugStatusTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheUnternehmenNachIdRequest", propOrder = { + "version", + "kur", + "fbn", + "zvr", + "erj", + "sek", + "urvPdf", + "stichtag", + "mitHistorie", + "vollzugStatus" +}) +public class SucheUnternehmenNachIdRequest { + + protected String version; + protected String kur; + protected String fbn; + protected String zvr; + protected String erj; + protected String sek; + @XmlElement(name = "URV_pdf", defaultValue = "false") + protected Boolean urvPdf; + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar stichtag; + @XmlElement(defaultValue = "false") + protected boolean mitHistorie; + protected ErgebnisVollzugStatusTyp vollzugStatus; + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the kur property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKur() { + return kur; + } + + /** + * Sets the value of the kur property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKur(String value) { + this.kur = value; + } + + /** + * Gets the value of the fbn property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFbn() { + return fbn; + } + + /** + * Sets the value of the fbn property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFbn(String value) { + this.fbn = value; + } + + /** + * Gets the value of the zvr property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getZvr() { + return zvr; + } + + /** + * Sets the value of the zvr property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setZvr(String value) { + this.zvr = value; + } + + /** + * Gets the value of the erj property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getErj() { + return erj; + } + + /** + * Sets the value of the erj property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setErj(String value) { + this.erj = value; + } + + /** + * Gets the value of the sek property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSek() { + return sek; + } + + /** + * Sets the value of the sek property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSek(String value) { + this.sek = value; + } + + /** + * Gets the value of the urvPdf property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isURVPdf() { + return urvPdf; + } + + /** + * Sets the value of the urvPdf property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setURVPdf(Boolean value) { + this.urvPdf = value; + } + + /** + * Gets the value of the stichtag property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getStichtag() { + return stichtag; + } + + /** + * Sets the value of the stichtag property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setStichtag(XMLGregorianCalendar value) { + this.stichtag = value; + } + + /** + * Gets the value of the mitHistorie property. + * + */ + public boolean isMitHistorie() { + return mitHistorie; + } + + /** + * Sets the value of the mitHistorie property. + * + */ + public void setMitHistorie(boolean value) { + this.mitHistorie = value; + } + + /** + * Gets the value of the vollzugStatus property. + * + * @return + * possible object is + * {@link ErgebnisVollzugStatusTyp } + * + */ + public ErgebnisVollzugStatusTyp getVollzugStatus() { + return vollzugStatus; + } + + /** + * Sets the value of the vollzugStatus property. + * + * @param value + * allowed object is + * {@link ErgebnisVollzugStatusTyp } + * + */ + public void setVollzugStatus(ErgebnisVollzugStatusTyp value) { + this.vollzugStatus = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/SucheUnternehmenNachIdsRequest.java b/src/main/java/at/gv/util/xsd/ur_V5/search/SucheUnternehmenNachIdsRequest.java new file mode 100644 index 0000000..45196b6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/SucheUnternehmenNachIdsRequest.java @@ -0,0 +1,279 @@ + +package at.gv.util.xsd.ur_V5.search; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ur_V5.simpletypes.ErgebnisVollzugStatusTyp; + + +/** + * <p>Java class for SucheUnternehmenNachIdsRequest complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SucheUnternehmenNachIdsRequest"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VersionTyp" minOccurs="0"/> + * <element name="kur" type="{http://statistik.at/namespace/ur/simpleTypes/2#}KurTyp" maxOccurs="unbounded" minOccurs="0"/> + * <element name="fbn" type="{http://statistik.at/namespace/ur/simpleTypes/2#}FbnTyp" maxOccurs="unbounded" minOccurs="0"/> + * <element name="zvr" type="{http://statistik.at/namespace/ur/simpleTypes/2#}ZvrTyp" maxOccurs="unbounded" minOccurs="0"/> + * <element name="erj" type="{http://statistik.at/namespace/ur/simpleTypes/2#}ErjTyp" maxOccurs="unbounded" minOccurs="0"/> + * <element name="sek" type="{http://statistik.at/namespace/ur/simpleTypes/2#}SekTyp" maxOccurs="unbounded" minOccurs="0"/> + * <element name="mitHistorie" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="vollzugStatus" type="{http://statistik.at/namespace/ur/simpleTypes/2#}ErgebnisVollzugStatusTyp" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SucheUnternehmenNachIdsRequest", propOrder = { + "version", + "kur", + "fbn", + "zvr", + "erj", + "sek", + "mitHistorie", + "vollzugStatus" +}) +public class SucheUnternehmenNachIdsRequest { + + protected String version; + protected List<String> kur; + protected List<String> fbn; + protected List<String> zvr; + protected List<String> erj; + protected List<String> sek; + @XmlElement(defaultValue = "false") + protected Boolean mitHistorie; + protected ErgebnisVollzugStatusTyp vollzugStatus; + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the kur property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the kur property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getKur().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getKur() { + if (kur == null) { + kur = new ArrayList<String>(); + } + return this.kur; + } + + /** + * Gets the value of the fbn property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the fbn property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFbn().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getFbn() { + if (fbn == null) { + fbn = new ArrayList<String>(); + } + return this.fbn; + } + + /** + * Gets the value of the zvr property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the zvr property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getZvr().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getZvr() { + if (zvr == null) { + zvr = new ArrayList<String>(); + } + return this.zvr; + } + + /** + * Gets the value of the erj property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the erj property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getErj().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getErj() { + if (erj == null) { + erj = new ArrayList<String>(); + } + return this.erj; + } + + /** + * Gets the value of the sek property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the sek property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getSek().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getSek() { + if (sek == null) { + sek = new ArrayList<String>(); + } + return this.sek; + } + + /** + * Gets the value of the mitHistorie property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isMitHistorie() { + return mitHistorie; + } + + /** + * Sets the value of the mitHistorie property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setMitHistorie(Boolean value) { + this.mitHistorie = value; + } + + /** + * Gets the value of the vollzugStatus property. + * + * @return + * possible object is + * {@link ErgebnisVollzugStatusTyp } + * + */ + public ErgebnisVollzugStatusTyp getVollzugStatus() { + return vollzugStatus; + } + + /** + * Sets the value of the vollzugStatus property. + * + * @param value + * allowed object is + * {@link ErgebnisVollzugStatusTyp } + * + */ + public void setVollzugStatus(ErgebnisVollzugStatusTyp value) { + this.vollzugStatus = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenRequest.java b/src/main/java/at/gv/util/xsd/ur_V5/search/SucheUnternehmenRequest.java index bfc7d9d..039d1bc 100644 --- a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmenRequest.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/SucheUnternehmenRequest.java @@ -1,11 +1,9 @@ -package at.gv.util.xsd.ur.search; +package at.gv.util.xsd.ur_V5.search; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; -import javax.xml.datatype.XMLGregorianCalendar; /** @@ -18,12 +16,10 @@ import javax.xml.datatype.XMLGregorianCalendar; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/1#}VersionTyp" minOccurs="0"/> - * <element name="unternehmensdaten" type="{http://statistik.at/namespace/ur/stammdaten/1#}SucheUnternehmensdaten" minOccurs="0"/> - * <element name="branche" type="{http://statistik.at/namespace/ur/stammdaten/1#}SucheBranche" minOccurs="0"/> - * <element name="personendaten" type="{http://statistik.at/namespace/ur/stammdaten/1#}SuchePersonendaten" minOccurs="0"/> - * <element name="zeitraumVon" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> - * <element name="zeitraumBis" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="version" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VersionTyp" minOccurs="0"/> + * <element name="unternehmensdaten" type="{http://statistik.at/namespace/ur/stammdaten/4#}SucheUnternehmensdaten" minOccurs="0"/> + * <element name="branche" type="{http://statistik.at/namespace/ur/stammdaten/4#}SucheBranche" minOccurs="0"/> + * <element name="personendaten" type="{http://statistik.at/namespace/ur/stammdaten/4#}SuchePersonendaten" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -37,9 +33,7 @@ import javax.xml.datatype.XMLGregorianCalendar; "version", "unternehmensdaten", "branche", - "personendaten", - "zeitraumVon", - "zeitraumBis" + "personendaten" }) public class SucheUnternehmenRequest { @@ -47,10 +41,6 @@ public class SucheUnternehmenRequest { protected SucheUnternehmensdaten unternehmensdaten; protected SucheBranche branche; protected SuchePersonendaten personendaten; - @XmlSchemaType(name = "date") - protected XMLGregorianCalendar zeitraumVon; - @XmlSchemaType(name = "date") - protected XMLGregorianCalendar zeitraumBis; /** * Gets the value of the version property. @@ -148,52 +138,4 @@ public class SucheUnternehmenRequest { this.personendaten = value; } - /** - * Gets the value of the zeitraumVon property. - * - * @return - * possible object is - * {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getZeitraumVon() { - return zeitraumVon; - } - - /** - * Sets the value of the zeitraumVon property. - * - * @param value - * allowed object is - * {@link XMLGregorianCalendar } - * - */ - public void setZeitraumVon(XMLGregorianCalendar value) { - this.zeitraumVon = value; - } - - /** - * Gets the value of the zeitraumBis property. - * - * @return - * possible object is - * {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getZeitraumBis() { - return zeitraumBis; - } - - /** - * Sets the value of the zeitraumBis property. - * - * @param value - * allowed object is - * {@link XMLGregorianCalendar } - * - */ - public void setZeitraumBis(XMLGregorianCalendar value) { - this.zeitraumBis = value; - } - } diff --git a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmensdaten.java b/src/main/java/at/gv/util/xsd/ur_V5/search/SucheUnternehmensdaten.java index d09b891..80e77f9 100644 --- a/src/main/java/at/gv/util/xsd/ur/search/SucheUnternehmensdaten.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/SucheUnternehmensdaten.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.search; +package at.gv.util.xsd.ur_V5.search; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; @@ -17,17 +17,16 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="phonetisch" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> - * <element name="klammer" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> - * <element name="untName" type="{http://statistik.at/namespace/ur/simpleTypes/1#}UntNameTyp" minOccurs="0"/> - * <element name="rechtsform" type="{http://statistik.at/namespace/ur/simpleTypes/1#}RechtsformTyp" minOccurs="0"/> - * <element name="id" type="{http://statistik.at/namespace/ur/simpleTypes/1#}IdTyp" minOccurs="0"/> - * <element name="idArt" type="{http://statistik.at/namespace/ur/simpleTypes/1#}IdArtTyp" minOccurs="0"/> - * <element name="strasse" type="{http://statistik.at/namespace/ur/simpleTypes/1#}StrasseTyp" minOccurs="0"/> - * <element name="hNr" type="{http://statistik.at/namespace/ur/simpleTypes/1#}HNrTyp" minOccurs="0"/> - * <element name="ort" type="{http://statistik.at/namespace/ur/simpleTypes/1#}OrtTyp" minOccurs="0"/> - * <element name="gemnr" type="{http://statistik.at/namespace/ur/simpleTypes/1#}GemnrTyp" minOccurs="0"/> - * <element name="plz" type="{http://statistik.at/namespace/ur/simpleTypes/1#}PlzTyp" minOccurs="0"/> - * <element name="land" type="{http://statistik.at/namespace/ur/simpleTypes/1#}LandTyp" minOccurs="0"/> + * <element name="untName" type="{http://statistik.at/namespace/ur/simpleTypes/2#}UntNameTyp" minOccurs="0"/> + * <element name="rechtsform" type="{http://statistik.at/namespace/ur/simpleTypes/2#}RechtsformTyp" minOccurs="0"/> + * <element name="id" type="{http://statistik.at/namespace/ur/simpleTypes/2#}IdTyp" minOccurs="0"/> + * <element name="idArt" type="{http://statistik.at/namespace/ur/simpleTypes/2#}IdArtTyp" minOccurs="0"/> + * <element name="strasse" type="{http://statistik.at/namespace/ur/simpleTypes/2#}StrasseTyp" minOccurs="0"/> + * <element name="hNr" type="{http://statistik.at/namespace/ur/simpleTypes/2#}HNrTyp" minOccurs="0"/> + * <element name="ort" type="{http://statistik.at/namespace/ur/simpleTypes/2#}OrtTyp" minOccurs="0"/> + * <element name="gemnr" type="{http://statistik.at/namespace/ur/simpleTypes/2#}GemnrTyp" minOccurs="0"/> + * <element name="plz" type="{http://statistik.at/namespace/ur/simpleTypes/2#}PlzTyp" minOccurs="0"/> + * <element name="land" type="{http://statistik.at/namespace/ur/simpleTypes/2#}LandTyp" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -39,7 +38,6 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SucheUnternehmensdaten", propOrder = { "phonetisch", - "klammer", "untName", "rechtsform", "id", @@ -54,9 +52,8 @@ import javax.xml.bind.annotation.XmlType; public class SucheUnternehmensdaten { protected Boolean phonetisch; - protected Boolean klammer; protected String untName; - protected String rechtsform; + protected Integer rechtsform; protected String id; protected String idArt; protected String strasse; @@ -91,30 +88,6 @@ public class SucheUnternehmensdaten { } /** - * Gets the value of the klammer property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isKlammer() { - return klammer; - } - - /** - * Sets the value of the klammer property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setKlammer(Boolean value) { - this.klammer = value; - } - - /** * Gets the value of the untName property. * * @return @@ -143,10 +116,10 @@ public class SucheUnternehmensdaten { * * @return * possible object is - * {@link String } + * {@link Integer } * */ - public String getRechtsform() { + public Integer getRechtsform() { return rechtsform; } @@ -155,10 +128,10 @@ public class SucheUnternehmensdaten { * * @param value * allowed object is - * {@link String } + * {@link Integer } * */ - public void setRechtsform(String value) { + public void setRechtsform(Integer value) { this.rechtsform = value; } diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/Taetigkeitszeitraum.java b/src/main/java/at/gv/util/xsd/ur_V5/search/Taetigkeitszeitraum.java new file mode 100644 index 0000000..b9f27a0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/Taetigkeitszeitraum.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for Taetigkeitszeitraum complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Taetigkeitszeitraum"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="TaetigVon" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * <element name="TaetigBis" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Taetigkeitszeitraum", propOrder = { + "taetigVon", + "taetigBis" +}) +@XmlSeeAlso({ + TaetigkeitszeitraumVollzug.class +}) +public abstract class Taetigkeitszeitraum { + + @XmlElement(name = "TaetigVon") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar taetigVon; + @XmlElement(name = "TaetigBis") + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar taetigBis; + + /** + * Gets the value of the taetigVon property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTaetigVon() { + return taetigVon; + } + + /** + * Sets the value of the taetigVon property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setTaetigVon(XMLGregorianCalendar value) { + this.taetigVon = value; + } + + /** + * Gets the value of the taetigBis property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTaetigBis() { + return taetigBis; + } + + /** + * Sets the value of the taetigBis property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setTaetigBis(XMLGregorianCalendar value) { + this.taetigBis = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/TaetigkeitszeitraumVollzug.java b/src/main/java/at/gv/util/xsd/ur_V5/search/TaetigkeitszeitraumVollzug.java new file mode 100644 index 0000000..8195fbe --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/TaetigkeitszeitraumVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TaetigkeitszeitraumVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="TaetigkeitszeitraumVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/4#}Taetigkeitszeitraum"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/4#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TaetigkeitszeitraumVollzug") +public class TaetigkeitszeitraumVollzug + extends Taetigkeitszeitraum +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/UntName.java b/src/main/java/at/gv/util/xsd/ur_V5/search/UntName.java new file mode 100644 index 0000000..d84dda5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/UntName.java @@ -0,0 +1,66 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for UntName complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="UntName"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="VollerName" type="{http://statistik.at/namespace/ur/simpleTypes/2#}UntNameTyp"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "UntName", propOrder = { + "vollerName" +}) +@XmlSeeAlso({ + UntNameVollzug.class +}) +public abstract class UntName { + + @XmlElement(name = "VollerName", required = true) + protected String vollerName; + + /** + * Gets the value of the vollerName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVollerName() { + return vollerName; + } + + /** + * Sets the value of the vollerName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVollerName(String value) { + this.vollerName = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/UntNameVollzug.java b/src/main/java/at/gv/util/xsd/ur_V5/search/UntNameVollzug.java new file mode 100644 index 0000000..10f83ae --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/UntNameVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for UntNameVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="UntNameVollzug"> + * <complexContent> + * <extension base="{http://statistik.at/namespace/ur/stammdaten/4#}UntName"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/4#}VollzugAttributes"/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "UntNameVollzug") +public class UntNameVollzug + extends UntName +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/Vertretung.java b/src/main/java/at/gv/util/xsd/ur_V5/search/Vertretung.java new file mode 100644 index 0000000..7e3225c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/Vertretung.java @@ -0,0 +1,63 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for Vertretung complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Vertretung"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Vertretung", propOrder = { + "value" +}) +@XmlSeeAlso({ + VertretungVollzug.class +}) +public abstract class Vertretung { + + @XmlValue + protected String value; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/VertretungVollzug.java b/src/main/java/at/gv/util/xsd/ur_V5/search/VertretungVollzug.java new file mode 100644 index 0000000..e6d2800 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/VertretungVollzug.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlIDREF; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for VertretungVollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VertretungVollzug"> + * <simpleContent> + * <extension base="<http://statistik.at/namespace/ur/stammdaten/4#>Vertretung"> + * <attGroup ref="{http://statistik.at/namespace/ur/stammdaten/4#}VollzugAttributes"/> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VertretungVollzug") +public class VertretungVollzug + extends Vertretung +{ + + @XmlAttribute(name = "vollzugBeginn", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugBeginn; + @XmlAttribute(name = "vollzugEnde", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + @XmlIDREF + @XmlSchemaType(name = "IDREF") + protected Object vollzugEnde; + + /** + * Gets the value of the vollzugBeginn property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugBeginn() { + return vollzugBeginn; + } + + /** + * Sets the value of the vollzugBeginn property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugBeginn(Object value) { + this.vollzugBeginn = value; + } + + /** + * Gets the value of the vollzugEnde property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getVollzugEnde() { + return vollzugEnde; + } + + /** + * Sets the value of the vollzugEnde property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setVollzugEnde(Object value) { + this.vollzugEnde = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/Vollzug.java b/src/main/java/at/gv/util/xsd/ur_V5/search/Vollzug.java new file mode 100644 index 0000000..7d740eb --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/Vollzug.java @@ -0,0 +1,209 @@ + +package at.gv.util.xsd.ur_V5.search; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import at.gv.util.xsd.ur_V5.simpletypes.VollzugStatusTyp; + + +/** + * <p>Java class for Vollzug complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="Vollzug"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Antrag" type="{http://statistik.at/namespace/ur/stammdaten/4#}VollzugElem"/> + * <element name="Vollzug" type="{http://statistik.at/namespace/ur/stammdaten/4#}VollzugElem" minOccurs="0"/> + * <element name="Zurueckstellung" type="{http://statistik.at/namespace/ur/stammdaten/4#}VollzugElem" minOccurs="0"/> + * </sequence> + * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> + * <attribute name="nummer" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> + * <attribute name="status" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}VollzugStatusTyp" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Vollzug", propOrder = { + "antrag", + "vollzug", + "zurueckstellung" +}) +public class Vollzug { + + @XmlElement(name = "Antrag", required = true) + protected VollzugElem antrag; + @XmlElement(name = "Vollzug") + protected VollzugElem vollzug; + @XmlElement(name = "Zurueckstellung") + protected VollzugElem zurueckstellung; + @XmlAttribute(name = "id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "nummer", required = true) + protected BigInteger nummer; + @XmlAttribute(name = "status", required = true) + protected VollzugStatusTyp status; + + /** + * Gets the value of the antrag property. + * + * @return + * possible object is + * {@link VollzugElem } + * + */ + public VollzugElem getAntrag() { + return antrag; + } + + /** + * Sets the value of the antrag property. + * + * @param value + * allowed object is + * {@link VollzugElem } + * + */ + public void setAntrag(VollzugElem value) { + this.antrag = value; + } + + /** + * Gets the value of the vollzug property. + * + * @return + * possible object is + * {@link VollzugElem } + * + */ + public VollzugElem getVollzug() { + return vollzug; + } + + /** + * Sets the value of the vollzug property. + * + * @param value + * allowed object is + * {@link VollzugElem } + * + */ + public void setVollzug(VollzugElem value) { + this.vollzug = value; + } + + /** + * Gets the value of the zurueckstellung property. + * + * @return + * possible object is + * {@link VollzugElem } + * + */ + public VollzugElem getZurueckstellung() { + return zurueckstellung; + } + + /** + * Sets the value of the zurueckstellung property. + * + * @param value + * allowed object is + * {@link VollzugElem } + * + */ + public void setZurueckstellung(VollzugElem value) { + this.zurueckstellung = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Gets the value of the nummer property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getNummer() { + return nummer; + } + + /** + * Sets the value of the nummer property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setNummer(BigInteger value) { + this.nummer = value; + } + + /** + * Gets the value of the status property. + * + * @return + * possible object is + * {@link VollzugStatusTyp } + * + */ + public VollzugStatusTyp getStatus() { + return status; + } + + /** + * Sets the value of the status property. + * + * @param value + * allowed object is + * {@link VollzugStatusTyp } + * + */ + public void setStatus(VollzugStatusTyp value) { + this.status = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/search/VollzugElem.java b/src/main/java/at/gv/util/xsd/ur_V5/search/VollzugElem.java new file mode 100644 index 0000000..84c5d5c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/VollzugElem.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.ur_V5.search; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for VollzugElem complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="VollzugElem"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>date"> + * <attribute name="quelle" use="required" type="{http://statistik.at/namespace/ur/simpleTypes/2#}QuelleTyp" /> + * <attribute name="quText" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "VollzugElem", propOrder = { + "value" +}) +public class VollzugElem { + + @XmlValue + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar value; + @XmlAttribute(name = "quelle", required = true) + protected String quelle; + @XmlAttribute(name = "quText", required = true) + @XmlSchemaType(name = "anySimpleType") + protected String quText; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setValue(XMLGregorianCalendar value) { + this.value = value; + } + + /** + * Gets the value of the quelle property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuelle() { + return quelle; + } + + /** + * Sets the value of the quelle property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuelle(String value) { + this.quelle = value; + } + + /** + * Gets the value of the quText property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQuText() { + return quText; + } + + /** + * Sets the value of the quText property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQuText(String value) { + this.quText = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/search/package-info.java b/src/main/java/at/gv/util/xsd/ur_V5/search/package-info.java index b2d6987..c7febe7 100644 --- a/src/main/java/at/gv/util/xsd/ur/search/package-info.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/search/package-info.java @@ -1,2 +1,2 @@ -@javax.xml.bind.annotation.XmlSchema(namespace = "http://statistik.at/namespace/ur/stammdaten/1#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) -package at.gv.util.xsd.ur.search; +@javax.xml.bind.annotation.XmlSchema(namespace = "http://statistik.at/namespace/ur/stammdaten/4#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.ur_V5.search; diff --git a/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/AdressTyp.java b/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/AdressTyp.java new file mode 100644 index 0000000..42ee29d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/AdressTyp.java @@ -0,0 +1,38 @@ + +package at.gv.util.xsd.ur_V5.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for AdressTyp. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="AdressTyp"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="SITZ"/> + * <enumeration value="ZUSTELLADRESSE"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "AdressTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") +@XmlEnum +public enum AdressTyp { + + SITZ, + ZUSTELLADRESSE; + + public String value() { + return name(); + } + + public static AdressTyp fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/ArtDublette.java b/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/ArtDublette.java new file mode 100644 index 0000000..ccbea6b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/ArtDublette.java @@ -0,0 +1,38 @@ + +package at.gv.util.xsd.ur_V5.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ArtDublette. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="ArtDublette"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="M"/> + * <enumeration value="S"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "ArtDublette", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") +@XmlEnum +public enum ArtDublette { + + M, + S; + + public String value() { + return name(); + } + + public static ArtDublette fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/ErgebnisVollzugStatusTyp.java b/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/ErgebnisVollzugStatusTyp.java new file mode 100644 index 0000000..0770ab6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/ErgebnisVollzugStatusTyp.java @@ -0,0 +1,38 @@ + +package at.gv.util.xsd.ur_V5.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for ErgebnisVollzugStatusTyp. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="ErgebnisVollzugStatusTyp"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="V"/> + * <enumeration value="AZV"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "ErgebnisVollzugStatusTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") +@XmlEnum +public enum ErgebnisVollzugStatusTyp { + + V, + AZV; + + public String value() { + return name(); + } + + public static ErgebnisVollzugStatusTyp fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/EvbStatusTyp.java b/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/EvbStatusTyp.java new file mode 100644 index 0000000..16bc296 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/EvbStatusTyp.java @@ -0,0 +1,40 @@ + +package at.gv.util.xsd.ur_V5.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for EvbStatusTyp. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="EvbStatusTyp"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="J"/> + * <enumeration value="N"/> + * <enumeration value="U"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "EvbStatusTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") +@XmlEnum +public enum EvbStatusTyp { + + J, + N, + U; + + public String value() { + return name(); + } + + public static EvbStatusTyp fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/simpletypes/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/ObjectFactory.java index 1653fad..85c1538 100644 --- a/src/main/java/at/gv/util/xsd/ur/simpletypes/ObjectFactory.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/ObjectFactory.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.simpletypes; +package at.gv.util.xsd.ur_V5.simpletypes; import javax.xml.bind.annotation.XmlRegistry; @@ -7,7 +7,7 @@ import javax.xml.bind.annotation.XmlRegistry; /** * This object contains factory methods for each * Java content interface and Java element interface - * generated in the at.gv.util.xsd.ur.simpletypes package. + * generated in the at.gv.util.xsd.ur_V5.simpletypes package. * <p>An ObjectFactory allows you to programatically * construct new instances of the Java representation * for XML content. The Java representation of XML @@ -23,7 +23,7 @@ public class ObjectFactory { /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur.simpletypes + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur_V5.simpletypes * */ public ObjectFactory() { diff --git a/src/main/java/at/gv/util/xsd/ur/simpletypes/OenaceArtTyp.java b/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/OenaceArtTyp.java index 9788faf..3312580 100644 --- a/src/main/java/at/gv/util/xsd/ur/simpletypes/OenaceArtTyp.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/OenaceArtTyp.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.simpletypes; +package at.gv.util.xsd.ur_V5.simpletypes; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; @@ -20,7 +20,7 @@ import javax.xml.bind.annotation.XmlType; * </pre> * */ -@XmlType(name = "OenaceArtTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/1#") +@XmlType(name = "OenaceArtTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") @XmlEnum public enum OenaceArtTyp { diff --git a/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/VollzugStatusTyp.java b/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/VollzugStatusTyp.java new file mode 100644 index 0000000..3e61598 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/simpletypes/VollzugStatusTyp.java @@ -0,0 +1,40 @@ + +package at.gv.util.xsd.ur_V5.simpletypes; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for VollzugStatusTyp. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * <p> + * <pre> + * <simpleType name="VollzugStatusTyp"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="A"/> + * <enumeration value="V"/> + * <enumeration value="Z"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "VollzugStatusTyp", namespace = "http://statistik.at/namespace/ur/simpleTypes/2#") +@XmlEnum +public enum VollzugStatusTyp { + + A, + V, + Z; + + public String value() { + return name(); + } + + public static VollzugStatusTyp fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/CustomFaultType.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/CustomFaultType.java index 83138df..77ccc28 100644 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/CustomFaultType.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/CustomFaultType.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.xmlsw; +package at.gv.util.xsd.ur_V5.xmlsw; import java.math.BigInteger; import java.util.ArrayList; @@ -25,7 +25,7 @@ import javax.xml.bind.annotation.XmlType; * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}integer"/> * <element name="Reason" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> * <element name="Help" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="Detail" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}FaultHint" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -39,7 +39,7 @@ import javax.xml.bind.annotation.XmlType; "code", "reason", "help", - "detail" + "faultHint" }) public class CustomFaultType { @@ -49,8 +49,8 @@ public class CustomFaultType { protected List<String> reason; @XmlElement(name = "Help") protected String help; - @XmlElement(name = "Detail") - protected Object detail; + @XmlElement(name = "FaultHint") + protected List<String> faultHint; /** * Gets the value of the code property. @@ -130,27 +130,32 @@ public class CustomFaultType { } /** - * Gets the value of the detail property. + * Gets the value of the faultHint property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the faultHint property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getFaultHint().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } * - * @return - * possible object is - * {@link Object } - * - */ - public Object getDetail() { - return detail; - } - - /** - * Sets the value of the detail property. * - * @param value - * allowed object is - * {@link Object } - * */ - public void setDetail(Object value) { - this.detail = value; + public List<String> getFaultHint() { + if (faultHint == null) { + faultHint = new ArrayList<String>(); + } + return this.faultHint; } } diff --git a/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ExtraResultCriteria.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ExtraResultCriteria.java new file mode 100644 index 0000000..068dd95 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ExtraResultCriteria.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.ur_V5.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}ErsbAttribute" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "ersbAttribute" +}) +@XmlRootElement(name = "ExtraResultCriteria") +public class ExtraResultCriteria { + + @XmlElement(name = "ErsbAttribute", namespace = "http://statistik.at/namespace/ur/stammdaten/4#", defaultValue = "false") + protected Boolean ersbAttribute; + + /** + * Gets the value of the ersbAttribute property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isErsbAttribute() { + return ersbAttribute; + } + + /** + * Sets the value of the ersbAttribute property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setErsbAttribute(Boolean value) { + this.ersbAttribute = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ExtraResultInfo.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ExtraResultInfo.java new file mode 100644 index 0000000..8495046 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ExtraResultInfo.java @@ -0,0 +1,34 @@ + +package at.gv.util.xsd.ur_V5.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "ExtraResultInfo") +public class ExtraResultInfo { + + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/ObjectFactory.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ObjectFactory.java index 4cbb57d..cc099dc 100644 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/ObjectFactory.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ObjectFactory.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.xmlsw; +package at.gv.util.xsd.ur_V5.xmlsw; import java.math.BigInteger; import javax.xml.bind.JAXBElement; @@ -12,7 +12,7 @@ import javax.xml.namespace.QName; /** * This object contains factory methods for each * Java content interface and Java element interface - * generated in the at.gv.util.xsd.ur.xmlsw package. + * generated in the at.gv.util.xsd.ur_V5.xmlsw package. * <p>An ObjectFactory allows you to programatically * construct new instances of the Java representation * for XML content. The Java representation of XML @@ -28,6 +28,7 @@ public class ObjectFactory { private final static QName _FaultHint_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "FaultHint"); private final static QName _CaseSensitive_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "CaseSensitive"); + private final static QName _XmlSwFault_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "XmlSwFault"); private final static QName _Path_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "Path"); private final static QName _SearchRequestInfo_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchRequestInfo"); private final static QName _ResultSetId_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "ResultSetId"); @@ -40,8 +41,8 @@ public class ObjectFactory { private final static QName _SearchRequestId_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchRequestId"); private final static QName _ResultCriteria_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "ResultCriteria"); private final static QName _ReturnedRecords_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "ReturnedRecords"); - private final static QName _SearchResponse_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchResponse"); private final static QName _AccountedUnits_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "AccountedUnits"); + private final static QName _SearchResponse_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchResponse"); private final static QName _FoundRecords_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "FoundRecords"); private final static QName _StartRecord_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "StartRecord"); private final static QName _Ascending_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "Ascending"); @@ -49,14 +50,14 @@ public class ObjectFactory { private final static QName _TimeOut_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "TimeOut"); private final static QName _InvoiceId_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "InvoiceId"); private final static QName _Message_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "Message"); - private final static QName _SortKeys_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SortKeys"); private final static QName _MaxRecords_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "MaxRecords"); + private final static QName _SortKeys_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SortKeys"); private final static QName _SearchById_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "SearchById"); private final static QName _ResultInfo_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "ResultInfo"); private final static QName _PaymentInfo_QNAME = new QName("http://reference.e-government.gv.at/namespace/xml-sw/1#", "PaymentInfo"); /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur.xmlsw + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.ur_V5.xmlsw * */ public ObjectFactory() { @@ -79,6 +80,14 @@ public class ObjectFactory { } /** + * Create an instance of {@link CustomFaultType } + * + */ + public CustomFaultType createCustomFaultType() { + return new CustomFaultType(); + } + + /** * Create an instance of {@link SearchByExampleType } * */ @@ -103,14 +112,6 @@ public class ObjectFactory { } /** - * Create an instance of {@link CustomFaultType } - * - */ - public CustomFaultType createCustomFaultType() { - return new CustomFaultType(); - } - - /** * Create an instance of {@link ResultInfoType } * */ @@ -209,6 +210,15 @@ public class ObjectFactory { } /** + * Create an instance of {@link JAXBElement }{@code <}{@link CustomFaultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "XmlSwFault") + public JAXBElement<CustomFaultType> createXmlSwFault(CustomFaultType value) { + return new JAXBElement<CustomFaultType>(_XmlSwFault_QNAME, CustomFaultType.class, null, value); + } + + /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} * */ @@ -317,21 +327,21 @@ public class ObjectFactory { } /** - * Create an instance of {@link JAXBElement }{@code <}{@link SearchResponseType }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} * */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SearchResponse") - public JAXBElement<SearchResponseType> createSearchResponse(SearchResponseType value) { - return new JAXBElement<SearchResponseType>(_SearchResponse_QNAME, SearchResponseType.class, null, value); + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "AccountedUnits") + public JAXBElement<BigInteger> createAccountedUnits(BigInteger value) { + return new JAXBElement<BigInteger>(_AccountedUnits_QNAME, BigInteger.class, null, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link SearchResponseType }{@code >}} * */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "AccountedUnits") - public JAXBElement<BigInteger> createAccountedUnits(BigInteger value) { - return new JAXBElement<BigInteger>(_AccountedUnits_QNAME, BigInteger.class, null, value); + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SearchResponse") + public JAXBElement<SearchResponseType> createSearchResponse(SearchResponseType value) { + return new JAXBElement<SearchResponseType>(_SearchResponse_QNAME, SearchResponseType.class, null, value); } /** @@ -398,21 +408,21 @@ public class ObjectFactory { } /** - * Create an instance of {@link JAXBElement }{@code <}{@link SortKeysType }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} * */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SortKeys") - public JAXBElement<SortKeysType> createSortKeys(SortKeysType value) { - return new JAXBElement<SortKeysType>(_SortKeys_QNAME, SortKeysType.class, null, value); + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "MaxRecords") + public JAXBElement<BigInteger> createMaxRecords(BigInteger value) { + return new JAXBElement<BigInteger>(_MaxRecords_QNAME, BigInteger.class, null, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link SortKeysType }{@code >}} * */ - @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "MaxRecords") - public JAXBElement<BigInteger> createMaxRecords(BigInteger value) { - return new JAXBElement<BigInteger>(_MaxRecords_QNAME, BigInteger.class, null, value); + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", name = "SortKeys") + public JAXBElement<SortKeysType> createSortKeys(SortKeysType value) { + return new JAXBElement<SortKeysType>(_SortKeys_QNAME, SortKeysType.class, null, value); } /** diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/PaymentInfoType.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/PaymentInfoType.java index 9ce4339..ccfb4fc 100644 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/PaymentInfoType.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/PaymentInfoType.java @@ -1,17 +1,13 @@ -package at.gv.util.xsd.ur.xmlsw; +package at.gv.util.xsd.ur_V5.xmlsw; import java.math.BigInteger; -import java.util.ArrayList; -import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; -import org.w3c.dom.Element; /** @@ -28,7 +24,6 @@ import org.w3c.dom.Element; * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}Costs"/> * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}AccountedUnits" minOccurs="0"/> * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}TimeStamp"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -42,8 +37,7 @@ import org.w3c.dom.Element; "invoiceId", "costs", "accountedUnits", - "timeStamp", - "any" + "timeStamp" }) public class PaymentInfoType { @@ -57,8 +51,6 @@ public class PaymentInfoType { @XmlElement(name = "TimeStamp", required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar timeStamp; - @XmlAnyElement(lax = true) - protected List<Object> any; /** * Gets the value of the invoiceId property. @@ -148,34 +140,4 @@ public class PaymentInfoType { this.timeStamp = value; } - /** - * Gets the value of the any property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; - } - } diff --git a/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/RecordFieldList.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/RecordFieldList.java new file mode 100644 index 0000000..703fb6c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/RecordFieldList.java @@ -0,0 +1,34 @@ + +package at.gv.util.xsd.ur_V5.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "RecordFieldList") +public class RecordFieldList { + + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultCriteriaType.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ResultCriteriaType.java index e1f1de7..f0bf0ea 100644 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultCriteriaType.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ResultCriteriaType.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.xmlsw; +package at.gv.util.xsd.ur_V5.xmlsw; import java.math.BigInteger; import javax.xml.bind.annotation.XmlAccessType; diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultInfoType.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ResultInfoType.java index d82d0dc..a51a3f6 100644 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultInfoType.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ResultInfoType.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.xmlsw; +package at.gv.util.xsd.ur_V5.xmlsw; import java.math.BigInteger; import javax.xml.bind.annotation.XmlAccessType; diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultRecord.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ResultRecord.java index e3d945e..8581156 100644 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultRecord.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ResultRecord.java @@ -1,17 +1,15 @@ -package at.gv.util.xsd.ur.xmlsw; +package at.gv.util.xsd.ur_V5.xmlsw; import java.math.BigInteger; -import java.util.ArrayList; -import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; +import at.gv.util.xsd.ur_V5.pd.PersonenDatenTyp; /** @@ -24,7 +22,8 @@ import org.w3c.dom.Element; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/de/20040201#}PersonenDaten"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}URV_pdf" minOccurs="0"/> * </sequence> * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> * </restriction> @@ -36,45 +35,64 @@ import org.w3c.dom.Element; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "any" + "personenDaten", + "urvPdf" }) @XmlRootElement(name = "ResultRecord") public class ResultRecord { - @XmlAnyElement(lax = true) - protected List<Object> any; + @XmlElement(name = "PersonenDaten", namespace = "http://reference.e-government.gv.at/namespace/persondata/de/20040201#", required = true) + protected PersonenDatenTyp personenDaten; + @XmlElement(name = "URV_pdf", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected byte[] urvPdf; @XmlAttribute(name = "id") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger id; /** - * Gets the value of the any property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the any property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAny().add(newItem); - * </pre> + * Gets the value of the personenDaten property. * + * @return + * possible object is + * {@link PersonenDatenTyp } + * + */ + public PersonenDatenTyp getPersonenDaten() { + return personenDaten; + } + + /** + * Sets the value of the personenDaten property. * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } + * @param value + * allowed object is + * {@link PersonenDatenTyp } + * + */ + public void setPersonenDaten(PersonenDatenTyp value) { + this.personenDaten = value; + } + + /** + * Gets the value of the urvPdf property. * + * @return + * possible object is + * byte[] + */ + public byte[] getURVPdf() { + return urvPdf; + } + + /** + * Sets the value of the urvPdf property. * + * @param value + * allowed object is + * byte[] */ - public List<Object> getAny() { - if (any == null) { - any = new ArrayList<Object>(); - } - return this.any; + public void setURVPdf(byte[] value) { + this.urvPdf = value; } /** diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultRecords.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ResultRecords.java index 05126a3..742bc42 100644 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultRecords.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/ResultRecords.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.xmlsw; +package at.gv.util.xsd.ur_V5.xmlsw; import java.util.ArrayList; import java.util.List; diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchByExampleType.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SearchByExampleType.java index 10b8812..64e25cc 100644 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchByExampleType.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SearchByExampleType.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.xmlsw; +package at.gv.util.xsd.ur_V5.xmlsw; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchByIdType.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SearchByIdType.java index 217f526..22d2b0d 100644 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchByIdType.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SearchByIdType.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.xmlsw; +package at.gv.util.xsd.ur_V5.xmlsw; import java.math.BigInteger; import javax.xml.bind.annotation.XmlAccessType; diff --git a/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SearchCriteriaType.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SearchCriteriaType.java new file mode 100644 index 0000000..8ddd5b1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SearchCriteriaType.java @@ -0,0 +1,209 @@ + +package at.gv.util.xsd.ur_V5.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.ur_V5.search.SucheUnternehmenNachAendDatRequest; +import at.gv.util.xsd.ur_V5.search.SucheUnternehmenNachBpkRequest; +import at.gv.util.xsd.ur_V5.search.SucheUnternehmenNachIdRequest; +import at.gv.util.xsd.ur_V5.search.SucheUnternehmenNachIdsRequest; +import at.gv.util.xsd.ur_V5.search.SucheUnternehmenRequest; + + +/** + * <p>Java class for SearchCriteriaType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SearchCriteriaType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/xml-sw/1#}ResultSetId" minOccurs="0"/> + * <choice> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}SucheUnternehmenNachAendDatRequest"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}SucheUnternehmenNachBpkRequest"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}SucheUnternehmenNachIdRequest"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}SucheUnternehmenNachIdsRequest"/> + * <element ref="{http://statistik.at/namespace/ur/stammdaten/4#}SucheUnternehmenRequest"/> + * </choice> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SearchCriteriaType", propOrder = { + "resultSetId", + "sucheUnternehmenNachAendDatRequest", + "sucheUnternehmenNachBpkRequest", + "sucheUnternehmenNachIdRequest", + "sucheUnternehmenNachIdsRequest", + "sucheUnternehmenRequest" +}) +public class SearchCriteriaType { + + @XmlElement(name = "ResultSetId") + protected String resultSetId; + @XmlElement(name = "SucheUnternehmenNachAendDatRequest", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected SucheUnternehmenNachAendDatRequest sucheUnternehmenNachAendDatRequest; + @XmlElement(name = "SucheUnternehmenNachBpkRequest", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected SucheUnternehmenNachBpkRequest sucheUnternehmenNachBpkRequest; + @XmlElement(name = "SucheUnternehmenNachIdRequest", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected SucheUnternehmenNachIdRequest sucheUnternehmenNachIdRequest; + @XmlElement(name = "SucheUnternehmenNachIdsRequest", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected SucheUnternehmenNachIdsRequest sucheUnternehmenNachIdsRequest; + @XmlElement(name = "SucheUnternehmenRequest", namespace = "http://statistik.at/namespace/ur/stammdaten/4#") + protected SucheUnternehmenRequest sucheUnternehmenRequest; + + /** + * Gets the value of the resultSetId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getResultSetId() { + return resultSetId; + } + + /** + * Sets the value of the resultSetId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setResultSetId(String value) { + this.resultSetId = value; + } + + /** + * Gets the value of the sucheUnternehmenNachAendDatRequest property. + * + * @return + * possible object is + * {@link SucheUnternehmenNachAendDatRequest } + * + */ + public SucheUnternehmenNachAendDatRequest getSucheUnternehmenNachAendDatRequest() { + return sucheUnternehmenNachAendDatRequest; + } + + /** + * Sets the value of the sucheUnternehmenNachAendDatRequest property. + * + * @param value + * allowed object is + * {@link SucheUnternehmenNachAendDatRequest } + * + */ + public void setSucheUnternehmenNachAendDatRequest(SucheUnternehmenNachAendDatRequest value) { + this.sucheUnternehmenNachAendDatRequest = value; + } + + /** + * Gets the value of the sucheUnternehmenNachBpkRequest property. + * + * @return + * possible object is + * {@link SucheUnternehmenNachBpkRequest } + * + */ + public SucheUnternehmenNachBpkRequest getSucheUnternehmenNachBpkRequest() { + return sucheUnternehmenNachBpkRequest; + } + + /** + * Sets the value of the sucheUnternehmenNachBpkRequest property. + * + * @param value + * allowed object is + * {@link SucheUnternehmenNachBpkRequest } + * + */ + public void setSucheUnternehmenNachBpkRequest(SucheUnternehmenNachBpkRequest value) { + this.sucheUnternehmenNachBpkRequest = value; + } + + /** + * Gets the value of the sucheUnternehmenNachIdRequest property. + * + * @return + * possible object is + * {@link SucheUnternehmenNachIdRequest } + * + */ + public SucheUnternehmenNachIdRequest getSucheUnternehmenNachIdRequest() { + return sucheUnternehmenNachIdRequest; + } + + /** + * Sets the value of the sucheUnternehmenNachIdRequest property. + * + * @param value + * allowed object is + * {@link SucheUnternehmenNachIdRequest } + * + */ + public void setSucheUnternehmenNachIdRequest(SucheUnternehmenNachIdRequest value) { + this.sucheUnternehmenNachIdRequest = value; + } + + /** + * Gets the value of the sucheUnternehmenNachIdsRequest property. + * + * @return + * possible object is + * {@link SucheUnternehmenNachIdsRequest } + * + */ + public SucheUnternehmenNachIdsRequest getSucheUnternehmenNachIdsRequest() { + return sucheUnternehmenNachIdsRequest; + } + + /** + * Sets the value of the sucheUnternehmenNachIdsRequest property. + * + * @param value + * allowed object is + * {@link SucheUnternehmenNachIdsRequest } + * + */ + public void setSucheUnternehmenNachIdsRequest(SucheUnternehmenNachIdsRequest value) { + this.sucheUnternehmenNachIdsRequest = value; + } + + /** + * Gets the value of the sucheUnternehmenRequest property. + * + * @return + * possible object is + * {@link SucheUnternehmenRequest } + * + */ + public SucheUnternehmenRequest getSucheUnternehmenRequest() { + return sucheUnternehmenRequest; + } + + /** + * Sets the value of the sucheUnternehmenRequest property. + * + * @param value + * allowed object is + * {@link SucheUnternehmenRequest } + * + */ + public void setSucheUnternehmenRequest(SucheUnternehmenRequest value) { + this.sucheUnternehmenRequest = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SearchRequestInfoType.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SearchRequestInfoType.java new file mode 100644 index 0000000..fe8d112 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SearchRequestInfoType.java @@ -0,0 +1,32 @@ + +package at.gv.util.xsd.ur_V5.xmlsw; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SearchRequestInfoType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="SearchRequestInfoType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SearchRequestInfoType") +public class SearchRequestInfoType { + + +} diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchResponseType.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SearchResponseType.java index 4af6e3e..4b2f2fa 100644 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/SearchResponseType.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SearchResponseType.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.xmlsw; +package at.gv.util.xsd.ur_V5.xmlsw; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/SortKeyType.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SortKeyType.java index 274365b..98907b3 100644 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/SortKeyType.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SortKeyType.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.xmlsw; +package at.gv.util.xsd.ur_V5.xmlsw; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/SortKeysType.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SortKeysType.java index ce78a67..d70be98 100644 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/SortKeysType.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/SortKeysType.java @@ -1,5 +1,5 @@ -package at.gv.util.xsd.ur.xmlsw; +package at.gv.util.xsd.ur_V5.xmlsw; import java.util.ArrayList; import java.util.List; diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/package-info.java b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/package-info.java index 5a4e788..9b0b515 100644 --- a/src/main/java/at/gv/util/xsd/ur/xmlsw/package-info.java +++ b/src/main/java/at/gv/util/xsd/ur_V5/xmlsw/package-info.java @@ -1,2 +1,2 @@ @javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) -package at.gv.util.xsd.ur.xmlsw; +package at.gv.util.xsd.ur_V5.xmlsw; |