diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 |
commit | defceef8afef538555c13d33e344a89a828a3d97 (patch) | |
tree | 24b44f970f161d5b139dde501ca0f5d883f9fdea /src/main/java/generated | |
download | egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.gz egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.bz2 egovutils-defceef8afef538555c13d33e344a89a828a3d97.zip |
inital
Diffstat (limited to 'src/main/java/generated')
-rw-r--r-- | src/main/java/generated/CustomFaultType.java | 156 | ||||
-rw-r--r-- | src/main/java/generated/ObjectFactory.java | 53 |
2 files changed, 209 insertions, 0 deletions
diff --git a/src/main/java/generated/CustomFaultType.java b/src/main/java/generated/CustomFaultType.java new file mode 100644 index 0000000..18cb522 --- /dev/null +++ b/src/main/java/generated/CustomFaultType.java @@ -0,0 +1,156 @@ + +package generated; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * CustomFault reporting structure + * + * <p>Java class for CustomFaultType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType name="CustomFaultType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * <element name="Reason" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> + * <element name="Help" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Detail" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CustomFaultType", propOrder = { + "code", + "reason", + "help", + "detail" +}) +public class CustomFaultType { + + @XmlElement(name = "Code", required = true) + protected BigInteger code; + @XmlElement(name = "Reason", required = true) + protected List<String> reason; + @XmlElement(name = "Help") + protected String help; + @XmlElement(name = "Detail") + protected Object detail; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the reason property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the reason property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getReason().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getReason() { + if (reason == null) { + reason = new ArrayList<String>(); + } + return this.reason; + } + + /** + * Gets the value of the help property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getHelp() { + return help; + } + + /** + * Sets the value of the help property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setHelp(String value) { + this.help = value; + } + + /** + * Gets the value of the detail property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getDetail() { + return detail; + } + + /** + * Sets the value of the detail property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setDetail(Object value) { + this.detail = value; + } + +} diff --git a/src/main/java/generated/ObjectFactory.java b/src/main/java/generated/ObjectFactory.java new file mode 100644 index 0000000..8addfac --- /dev/null +++ b/src/main/java/generated/ObjectFactory.java @@ -0,0 +1,53 @@ + +package generated; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the generated package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Message_QNAME = new QName("", "Message"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: generated + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link CustomFaultType } + * + */ + public CustomFaultType createCustomFaultType() { + return new CustomFaultType(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CustomFaultType }{@code >}} + * + */ + @XmlElementDecl(namespace = "", name = "Message") + public JAXBElement<CustomFaultType> createMessage(CustomFaultType value) { + return new JAXBElement<CustomFaultType>(_Message_QNAME, CustomFaultType.class, null, value); + } + +} |