001: package org.w3._2002._03.xkms_;
002:
003: import java.math.BigInteger;
004: import java.util.ArrayList;
005: import java.util.List;
006:
007: import javax.xml.bind.annotation.XmlAccessType;
008: import javax.xml.bind.annotation.XmlAccessorType;
009: import javax.xml.bind.annotation.XmlAttribute;
010: import javax.xml.bind.annotation.XmlElement;
011: import javax.xml.bind.annotation.XmlSchemaType;
012: import javax.xml.bind.annotation.XmlType;
013: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
014: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
015:
016: /**
017: * <p>Java class for RequestAbstractType complex type.
018: *
019: * <p>The following schema fragment specifies the expected content contained within this class.
020: *
021: * <pre>
022: * <complexType name="RequestAbstractType">
023: * <complexContent>
024: * <extension base="{http://www.w3.org/2002/03/xkms#}MessageAbstractType">
025: * <sequence>
026: * <element ref="{http://www.w3.org/2002/03/xkms#}ResponseMechanism" maxOccurs="unbounded" minOccurs="0"/>
027: * <element ref="{http://www.w3.org/2002/03/xkms#}RespondWith" maxOccurs="unbounded" minOccurs="0"/>
028: * <element ref="{http://www.w3.org/2002/03/xkms#}PendingNotification" minOccurs="0"/>
029: * </sequence>
030: * <attribute name="OriginalRequestId" type="{http://www.w3.org/2001/XMLSchema}NCName" />
031: * <attribute name="ResponseLimit" type="{http://www.w3.org/2001/XMLSchema}integer" />
032: * </extension>
033: * </complexContent>
034: * </complexType>
035: * </pre>
036: *
037: *
038: */
039: @XmlAccessorType(XmlAccessType.FIELD)
040: @XmlType(name="RequestAbstractType",propOrder={"responseMechanism","respondWith","pendingNotification"})
041: /*@XmlSeeAlso({
042: ReissueRequestType.class,
043: LocateRequestType.class,
044: RevokeRequestType.class,
045: RecoverRequestType.class,
046: CompoundRequestType.class,
047: ValidateRequestType.class,
048: PendingRequestType.class,
049: RegisterRequestType.class
050: })*/
051: public abstract class RequestAbstractType extends MessageAbstractType {
052:
053: @XmlElement(name="ResponseMechanism")
054: protected List<String> responseMechanism;
055: @XmlElement(name="RespondWith")
056: protected List<String> respondWith;
057: @XmlElement(name="PendingNotification")
058: protected PendingNotificationType pendingNotification;
059: @XmlAttribute(name="OriginalRequestId")
060: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
061: @XmlSchemaType(name="NCName")
062: protected String originalRequestId;
063: @XmlAttribute(name="ResponseLimit")
064: protected BigInteger responseLimit;
065:
066: /**
067: * Gets the value of the responseMechanism property.
068: *
069: * <p>
070: * This accessor method returns a reference to the live list,
071: * not a snapshot. Therefore any modification you make to the
072: * returned list will be present inside the JAXB object.
073: * This is why there is not a <CODE>set</CODE> method for the responseMechanism property.
074: *
075: * <p>
076: * For example, to add a new item, do as follows:
077: * <pre>
078: * getResponseMechanism().add(newItem);
079: * </pre>
080: *
081: *
082: * <p>
083: * Objects of the following type(s) are allowed in the list
084: * {@link String }
085: *
086: *
087: */
088: public List<String> getResponseMechanism() {
089: if (responseMechanism == null) {
090: responseMechanism = new ArrayList<String>();
091: }
092: return this .responseMechanism;
093: }
094:
095: /**
096: * Gets the value of the respondWith property.
097: *
098: * <p>
099: * This accessor method returns a reference to the live list,
100: * not a snapshot. Therefore any modification you make to the
101: * returned list will be present inside the JAXB object.
102: * This is why there is not a <CODE>set</CODE> method for the respondWith property.
103: *
104: * <p>
105: * For example, to add a new item, do as follows:
106: * <pre>
107: * getRespondWith().add(newItem);
108: * </pre>
109: *
110: *
111: * <p>
112: * Objects of the following type(s) are allowed in the list
113: * {@link String }
114: *
115: *
116: */
117: public List<String> getRespondWith() {
118: if (respondWith == null) {
119: respondWith = new ArrayList<String>();
120: }
121: return this .respondWith;
122: }
123:
124: /**
125: * Gets the value of the pendingNotification property.
126: *
127: * @return
128: * possible object is
129: * {@link PendingNotificationType }
130: *
131: */
132: public PendingNotificationType getPendingNotification() {
133: return pendingNotification;
134: }
135:
136: /**
137: * Sets the value of the pendingNotification property.
138: *
139: * @param value
140: * allowed object is
141: * {@link PendingNotificationType }
142: *
143: */
144: public void setPendingNotification(PendingNotificationType value) {
145: this .pendingNotification = value;
146: }
147:
148: /**
149: * Gets the value of the originalRequestId property.
150: *
151: * @return
152: * possible object is
153: * {@link String }
154: *
155: */
156: public String getOriginalRequestId() {
157: return originalRequestId;
158: }
159:
160: /**
161: * Sets the value of the originalRequestId property.
162: *
163: * @param value
164: * allowed object is
165: * {@link String }
166: *
167: */
168: public void setOriginalRequestId(String value) {
169: this .originalRequestId = value;
170: }
171:
172: /**
173: * Gets the value of the responseLimit property.
174: *
175: * @return
176: * possible object is
177: * {@link BigInteger }
178: *
179: */
180: public BigInteger getResponseLimit() {
181: return responseLimit;
182: }
183:
184: /**
185: * Sets the value of the responseLimit property.
186: *
187: * @param value
188: * allowed object is
189: * {@link BigInteger }
190: *
191: */
192: public void setResponseLimit(BigInteger value) {
193: this.responseLimit = value;
194: }
195:
196: }
|