01: package com.sun.xml.ws.rm.protocol;
02:
03: import javax.xml.namespace.QName;
04: import javax.xml.ws.wsaddressing.W3CEndpointReference;
05: import java.util.List;
06: import java.util.Map;
07:
08: /**
09: * Created by IntelliJ IDEA.
10: * User: Administrator
11: * Date: Aug 23, 2007
12: * Time: 3:37:23 PM
13: * To change this template use File | Settings | File Templates.
14: */
15: public abstract class AbstractAcceptType {
16:
17: /**
18: * Gets the value of the acksTo property.
19: *
20: * @return
21: * possible object is
22: * {@link com.sun.xml.ws.api.addressing.WSEndpointReference }
23: *
24: */
25: protected abstract W3CEndpointReference getAcksTo();
26:
27: /**
28: * Sets the value of the acksTo property.
29: *
30: * @param value
31: * allowed object is
32: * {@link com.sun.xml.ws.api.addressing.WSEndpointReference }
33: *
34: */
35: public abstract void setAcksTo(W3CEndpointReference value);
36:
37: /**
38: * Gets the value of the any property.
39: *
40: * <p>
41: * This accessor method returns a reference to the live list,
42: * not a snapshot. Therefore any modification you make to the
43: * returned list will be present inside the JAXB object.
44: * This is why there is not a <CODE>set</CODE> method for the any property.
45: *
46: * <p>
47: * For example, to add a new item, do as follows:
48: * <pre>
49: * getAny().add(newItem);
50: * </pre>
51: *
52: *
53: * <p>
54: * Objects of the following type(s) are allowed in the list
55: * {@link Object }
56: * {@link org.w3c.dom.Element }
57: *
58: *
59: */
60: public abstract List<Object> getAny();
61:
62: /**
63: * Gets a map that contains attributes that aren't bound to any typed property on this class.
64: *
65: * <p>
66: * the map is keyed by the name of the attribute and
67: * the value is the string value of the attribute.
68: *
69: * the map returned by this method is live, and you can add new attribute
70: * by updating the map directly. Because of this design, there's no setter.
71: *
72: *
73: * @return
74: * always non-null
75: */
76: public abstract Map<QName, String> getOtherAttributes();
77:
78: }
|