001: package org.w3._2002._03.xkms_;
002:
003: import java.util.ArrayList;
004: import java.util.List;
005: import javax.xml.bind.annotation.XmlAccessType;
006: import javax.xml.bind.annotation.XmlAccessorType;
007: import javax.xml.bind.annotation.XmlAttribute;
008: import javax.xml.bind.annotation.XmlElement;
009: import javax.xml.bind.annotation.XmlType;
010:
011: /**
012: * <p>Java class for StatusType complex type.
013: *
014: * <p>The following schema fragment specifies the expected content contained within this class.
015: *
016: * <pre>
017: * <complexType name="StatusType">
018: * <complexContent>
019: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
020: * <sequence>
021: * <element ref="{http://www.w3.org/2002/03/xkms#}ValidReason" maxOccurs="unbounded" minOccurs="0"/>
022: * <element ref="{http://www.w3.org/2002/03/xkms#}IndeterminateReason" maxOccurs="unbounded" minOccurs="0"/>
023: * <element ref="{http://www.w3.org/2002/03/xkms#}InvalidReason" maxOccurs="unbounded" minOccurs="0"/>
024: * </sequence>
025: * <attribute name="StatusValue" use="required" type="{http://www.w3.org/2002/03/xkms#}KeyBindingEnum" />
026: * </restriction>
027: * </complexContent>
028: * </complexType>
029: * </pre>
030: *
031: *
032: */
033: @XmlAccessorType(XmlAccessType.FIELD)
034: @XmlType(name="StatusType",propOrder={"validReason","indeterminateReason","invalidReason"})
035: public class StatusType {
036:
037: @XmlElement(name="ValidReason")
038: protected List<String> validReason;
039: @XmlElement(name="IndeterminateReason")
040: protected List<String> indeterminateReason;
041: @XmlElement(name="InvalidReason")
042: protected List<String> invalidReason;
043: @XmlAttribute(name="StatusValue",required=true)
044: protected String statusValue;
045:
046: /**
047: * Gets the value of the validReason property.
048: *
049: * <p>
050: * This accessor method returns a reference to the live list,
051: * not a snapshot. Therefore any modification you make to the
052: * returned list will be present inside the JAXB object.
053: * This is why there is not a <CODE>set</CODE> method for the validReason property.
054: *
055: * <p>
056: * For example, to add a new item, do as follows:
057: * <pre>
058: * getValidReason().add(newItem);
059: * </pre>
060: *
061: *
062: * <p>
063: * Objects of the following type(s) are allowed in the list
064: * {@link String }
065: *
066: *
067: */
068: public List<String> getValidReason() {
069: if (validReason == null) {
070: validReason = new ArrayList<String>();
071: }
072: return this .validReason;
073: }
074:
075: /**
076: * Gets the value of the indeterminateReason property.
077: *
078: * <p>
079: * This accessor method returns a reference to the live list,
080: * not a snapshot. Therefore any modification you make to the
081: * returned list will be present inside the JAXB object.
082: * This is why there is not a <CODE>set</CODE> method for the indeterminateReason property.
083: *
084: * <p>
085: * For example, to add a new item, do as follows:
086: * <pre>
087: * getIndeterminateReason().add(newItem);
088: * </pre>
089: *
090: *
091: * <p>
092: * Objects of the following type(s) are allowed in the list
093: * {@link String }
094: *
095: *
096: */
097: public List<String> getIndeterminateReason() {
098: if (indeterminateReason == null) {
099: indeterminateReason = new ArrayList<String>();
100: }
101: return this .indeterminateReason;
102: }
103:
104: /**
105: * Gets the value of the invalidReason property.
106: *
107: * <p>
108: * This accessor method returns a reference to the live list,
109: * not a snapshot. Therefore any modification you make to the
110: * returned list will be present inside the JAXB object.
111: * This is why there is not a <CODE>set</CODE> method for the invalidReason property.
112: *
113: * <p>
114: * For example, to add a new item, do as follows:
115: * <pre>
116: * getInvalidReason().add(newItem);
117: * </pre>
118: *
119: *
120: * <p>
121: * Objects of the following type(s) are allowed in the list
122: * {@link String }
123: *
124: *
125: */
126: public List<String> getInvalidReason() {
127: if (invalidReason == null) {
128: invalidReason = new ArrayList<String>();
129: }
130: return this .invalidReason;
131: }
132:
133: /**
134: * Gets the value of the statusValue property.
135: *
136: * @return
137: * possible object is
138: * {@link String }
139: *
140: */
141: public String getStatusValue() {
142: return statusValue;
143: }
144:
145: /**
146: * Sets the value of the statusValue property.
147: *
148: * @param value
149: * allowed object is
150: * {@link String }
151: *
152: */
153: public void setStatusValue(String value) {
154: this.statusValue = value;
155: }
156:
157: }
|