diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common')
10 files changed, 777 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ActionType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ActionType.java new file mode 100644 index 0000000..8cf2dc7 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ActionType.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für ActionType. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * <p> + * <pre> + * <simpleType name="ActionType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="REQUEST_TOKEN"/> + * <enumeration value="CREATE_MANDATE"/> + * <enumeration value="TERMINATE_MANDATE"/> + * <enumeration value="SYNC_CREATE"/> + * <enumeration value="SYNC_TERMINATE"/> + * <enumeration value="COMMIT_CREATE"/> + * <enumeration value="COMMIT_TERMINATE"/> + * <enumeration value="ROLLBACK_CREATE"/> + * <enumeration value="ROLLBACK_TERMINATE"/> + * <enumeration value="NOTIFY_SUCCESS_CREATE"/> + * <enumeration value="NOTIFY_SUCCESS_TERMINATE"/> + * <enumeration value="NOTIFY_ROLLBACK_CREATE"/> + * <enumeration value="NOTIFY_ROLLBACK_TERMINATE"/> + * <enumeration value="NOOP"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "ActionType") +@XmlEnum +public enum ActionType { + + REQUEST_TOKEN, + CREATE_MANDATE, + TERMINATE_MANDATE, + SYNC_CREATE, + SYNC_TERMINATE, + COMMIT_CREATE, + COMMIT_TERMINATE, + ROLLBACK_CREATE, + ROLLBACK_TERMINATE, + NOTIFY_SUCCESS_CREATE, + NOTIFY_SUCCESS_TERMINATE, + NOTIFY_ROLLBACK_CREATE, + NOTIFY_ROLLBACK_TERMINATE, + NOOP; + + public String value() { + return name(); + } + + public static ActionType fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/Header.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/Header.java new file mode 100644 index 0000000..b0b1a56 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/Header.java @@ -0,0 +1,90 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für Header complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="Header"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Header", propOrder = { + "name", + "value" +}) +public class Header { + + @XmlElement(name = "Name", required = true) + protected String name; + @XmlElement(name = "Value", required = true) + protected String value; + + /** + * Ruft den Wert der name-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Legt den Wert der name-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Ruft den Wert der value-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Legt den Wert der value-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/Headers.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/Headers.java new file mode 100644 index 0000000..e139e86 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/Headers.java @@ -0,0 +1,71 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Header" type="{http://eai.brz.gv.at/services/vdds/common}Header" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "header" +}) +@XmlRootElement(name = "Headers") +public class Headers { + + @XmlElement(name = "Header") + protected List<Header> header; + + /** + * Gets the value of the header property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the header property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getHeader().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Header } + * + * + */ + public List<Header> getHeader() { + if (header == null) { + header = new ArrayList<Header>(); + } + return this.header; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ObjectFactory.java new file mode 100644 index 0000000..79bb7e9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ObjectFactory.java @@ -0,0 +1,72 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.mis.usp_v2.eai.common package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mis.usp_v2.eai.common + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link Headers } + * + */ + public Headers createHeaders() { + return new Headers(); + } + + /** + * Create an instance of {@link Header } + * + */ + public Header createHeader() { + return new Header(); + } + + /** + * Create an instance of {@link ProcessStateType } + * + */ + public ProcessStateType createProcessStateType() { + return new ProcessStateType(); + } + + /** + * Create an instance of {@link ReferableResultType } + * + */ + public ReferableResultType createReferableResultType() { + return new ReferableResultType(); + } + + /** + * Create an instance of {@link ResultType } + * + */ + public ResultType createResultType() { + return new ResultType(); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ProcessStateType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ProcessStateType.java new file mode 100644 index 0000000..df3b02b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ProcessStateType.java @@ -0,0 +1,123 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java-Klasse für ProcessStateType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="ProcessStateType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ProcessAction" type="{http://eai.brz.gv.at/services/vdds/common}ActionType"/> + * <element name="ProcessState" type="{http://eai.brz.gv.at/services/vdds/common}StateType"/> + * <element name="LastProcessingTS" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ProcessStateType", propOrder = { + "processAction", + "processState", + "lastProcessingTS" +}) +public class ProcessStateType { + + @XmlElement(name = "ProcessAction", required = true) + @XmlSchemaType(name = "string") + protected ActionType processAction; + @XmlElement(name = "ProcessState", required = true) + @XmlSchemaType(name = "string") + protected StateType processState; + @XmlElement(name = "LastProcessingTS", required = true) + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar lastProcessingTS; + + /** + * Ruft den Wert der processAction-Eigenschaft ab. + * + * @return + * possible object is + * {@link ActionType } + * + */ + public ActionType getProcessAction() { + return processAction; + } + + /** + * Legt den Wert der processAction-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ActionType } + * + */ + public void setProcessAction(ActionType value) { + this.processAction = value; + } + + /** + * Ruft den Wert der processState-Eigenschaft ab. + * + * @return + * possible object is + * {@link StateType } + * + */ + public StateType getProcessState() { + return processState; + } + + /** + * Legt den Wert der processState-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link StateType } + * + */ + public void setProcessState(StateType value) { + this.processState = value; + } + + /** + * Ruft den Wert der lastProcessingTS-Eigenschaft ab. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getLastProcessingTS() { + return lastProcessingTS; + } + + /** + * Legt den Wert der lastProcessingTS-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setLastProcessingTS(XMLGregorianCalendar value) { + this.lastProcessingTS = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ReferableResultType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ReferableResultType.java new file mode 100644 index 0000000..f6cac15 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ReferableResultType.java @@ -0,0 +1,127 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import at.gv.util.xsd.mis.usp_v2.eai.token.ModificationTokenResultType; + + +/** + * <p>Java-Klasse für ReferableResultType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="ReferableResultType"> + * <complexContent> + * <extension base="{http://eai.brz.gv.at/services/vdds/common}ResultType"> + * <sequence> + * <element name="RefID" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="State" type="{http://eai.brz.gv.at/services/vdds/common}StateType"/> + * <element name="ProcessState" type="{http://eai.brz.gv.at/services/vdds/common}ProcessStateType" minOccurs="0"/> + * </sequence> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferableResultType", propOrder = { + "refID", + "state", + "processState" +}) +@XmlSeeAlso({ + ModificationTokenResultType.class +}) +public class ReferableResultType + extends ResultType +{ + + @XmlElement(name = "RefID", required = true) + protected String refID; + @XmlElement(name = "State", required = true) + @XmlSchemaType(name = "string") + protected StateType state; + @XmlElement(name = "ProcessState") + protected ProcessStateType processState; + + /** + * Ruft den Wert der refID-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRefID() { + return refID; + } + + /** + * Legt den Wert der refID-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRefID(String value) { + this.refID = value; + } + + /** + * Ruft den Wert der state-Eigenschaft ab. + * + * @return + * possible object is + * {@link StateType } + * + */ + public StateType getState() { + return state; + } + + /** + * Legt den Wert der state-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link StateType } + * + */ + public void setState(StateType value) { + this.state = value; + } + + /** + * Ruft den Wert der processState-Eigenschaft ab. + * + * @return + * possible object is + * {@link ProcessStateType } + * + */ + public ProcessStateType getProcessState() { + return processState; + } + + /** + * Legt den Wert der processState-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link ProcessStateType } + * + */ + public void setProcessState(ProcessStateType value) { + this.processState = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ResultType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ResultType.java new file mode 100644 index 0000000..c5d44df --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/ResultType.java @@ -0,0 +1,124 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für ResultType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="ResultType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="ErrorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="ErrorLevel" type="{http://eai.brz.gv.at/services/vdds/common}SeverityType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ResultType", propOrder = { + "errorCode", + "errorMessage", + "errorLevel" +}) +@XmlSeeAlso({ + ReferableResultType.class +}) +public class ResultType { + + @XmlElement(name = "ErrorCode") + protected String errorCode; + @XmlElement(name = "ErrorMessage") + protected String errorMessage; + @XmlElement(name = "ErrorLevel", defaultValue = "ERROR") + @XmlSchemaType(name = "token") + protected SeverityType errorLevel; + + /** + * Ruft den Wert der errorCode-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getErrorCode() { + return errorCode; + } + + /** + * Legt den Wert der errorCode-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setErrorCode(String value) { + this.errorCode = value; + } + + /** + * Ruft den Wert der errorMessage-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getErrorMessage() { + return errorMessage; + } + + /** + * Legt den Wert der errorMessage-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setErrorMessage(String value) { + this.errorMessage = value; + } + + /** + * Ruft den Wert der errorLevel-Eigenschaft ab. + * + * @return + * possible object is + * {@link SeverityType } + * + */ + public SeverityType getErrorLevel() { + return errorLevel; + } + + /** + * Legt den Wert der errorLevel-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link SeverityType } + * + */ + public void setErrorLevel(SeverityType value) { + this.errorLevel = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/SeverityType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/SeverityType.java new file mode 100644 index 0000000..9d6384e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/SeverityType.java @@ -0,0 +1,50 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für SeverityType. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * <p> + * <pre> + * <simpleType name="SeverityType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> + * <enumeration value="DEBUG"/> + * <enumeration value="INFO"/> + * <enumeration value="WARNING"/> + * <enumeration value="ERROR"/> + * <enumeration value="FATAL"/> + * <enumeration value="BL_INFO"/> + * <enumeration value="BL_WARNING"/> + * <enumeration value="BL_ERROR"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "SeverityType") +@XmlEnum +public enum SeverityType { + + DEBUG, + INFO, + WARNING, + ERROR, + FATAL, + BL_INFO, + BL_WARNING, + BL_ERROR; + + public String value() { + return name(); + } + + public static SeverityType fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/StateType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/StateType.java new file mode 100644 index 0000000..fe35489 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/StateType.java @@ -0,0 +1,56 @@ + +package at.gv.util.xsd.mis.usp_v2.eai.common; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für StateType. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * <p> + * <pre> + * <simpleType name="StateType"> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="TOKEN"/> + * <enumeration value="RETRY"/> + * <enumeration value="PARTNER"/> + * <enumeration value="SYNC"/> + * <enumeration value="SYNCED"/> + * <enumeration value="COMMIT"/> + * <enumeration value="ROLLBACK"/> + * <enumeration value="APPLICABLE"/> + * <enumeration value="ERRONEOUS"/> + * <enumeration value="ROLLEDBACK"/> + * <enumeration value="TERMINATED"/> + * </restriction> + * </simpleType> + * </pre> + * + */ +@XmlType(name = "StateType") +@XmlEnum +public enum StateType { + + TOKEN, + RETRY, + PARTNER, + SYNC, + SYNCED, + COMMIT, + ROLLBACK, + APPLICABLE, + ERRONEOUS, + ROLLEDBACK, + TERMINATED; + + public String value() { + return name(); + } + + public static StateType fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/package-info.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/package-info.java new file mode 100644 index 0000000..d7e5df2 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/common/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://eai.brz.gv.at/services/vdds/common", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mis.usp_v2.eai.common; |