01: package com.sun.xml.ws.rm.protocol;
02:
03: import javax.xml.namespace.QName;
04: import java.util.List;
05: import java.util.Map;
06:
07: /**
08: * This is the base class for the implementations of <code> CreateSequence </code> based on the
09: * two versions of the RM specification
10: *
11: * @author Bhakti Mehta
12: * @author Mike Grogan
13: *
14: */
15: public abstract class AbstractCreateSequenceResponse {
16:
17: /**
18: * Gets the value of the any property.
19: *
20: * <p>
21: * This accessor method returns a reference to the live list,
22: * not a snapshot. Therefore any modification you make to the
23: * returned list will be present inside the JAXB object.
24: * This is why there is not a <CODE>set</CODE> method for the any property.
25: *
26: * <p>
27: * For example, to add a new item, do as follows:
28: * <pre>
29: * getAny().add(newItem);
30: * </pre>
31: *
32: *
33: * <p>
34: * Objects of the following type(s) are allowed in the list
35: * {@link Object }
36: * {@link org.w3c.dom.Element }
37: *
38: *
39: */
40: public abstract List<Object> getAny();
41:
42: /**
43: * Gets a map that contains attributes that aren't bound to any typed property on this class.
44: *
45: * <p>
46: * the map is keyed by the name of the attribute and
47: * the value is the string value of the attribute.
48: *
49: * the map returned by this method is live, and you can add new attribute
50: * by updating the map directly. Because of this design, there's no setter.
51: *
52: *
53: * @return
54: * always non-null
55: */
56: public abstract Map<QName, String> getOtherAttributes();
57:
58: /**
59: * Sets the value of the accept property.
60: *
61: * @param value
62: * allowed object is
63: * {@link com.sun.xml.ws.rm.v200702.AcceptType }
64: *
65: */
66: public abstract void setAccept(AbstractAcceptType value);
67: }
|