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/at/gv/util/xsd/ur/xmlsw/ResultRecord.java | |
download | egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.gz egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.bz2 egovutils-defceef8afef538555c13d33e344a89a828a3d97.zip |
inital
Diffstat (limited to 'src/main/java/at/gv/util/xsd/ur/xmlsw/ResultRecord.java')
-rw-r--r-- | src/main/java/at/gv/util/xsd/ur/xmlsw/ResultRecord.java | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultRecord.java b/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultRecord.java new file mode 100644 index 0000000..e3d945e --- /dev/null +++ b/src/main/java/at/gv/util/xsd/ur/xmlsw/ResultRecord.java @@ -0,0 +1,104 @@ + +package at.gv.util.xsd.ur.xmlsw; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "any" +}) +@XmlRootElement(name = "ResultRecord") +public class ResultRecord { + + @XmlAnyElement(lax = true) + protected List<Object> any; + @XmlAttribute(name = "id") + @XmlSchemaType(name = "nonNegativeInteger") + protected BigInteger id; + + /** + * Gets the value of the any property. + * + * <p> + * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a <CODE>set</CODE> method for the any property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getAny().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Object } + * {@link Element } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setId(BigInteger value) { + this.id = value; + } + +} |