001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-463
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2007.08.30 at 11:26:34 AM PDT
006: //
007:
008: package com.sun.xml.ws.rm.v200702;
009:
010: import org.w3c.dom.Element;
011:
012: import javax.xml.bind.annotation.*;
013: import javax.xml.namespace.QName;
014: import java.util.ArrayList;
015: import java.util.HashMap;
016: import java.util.List;
017: import java.util.Map;
018:
019: /**
020: * <p>Java class for MakeConnectionType complex type.
021: *
022: * <p>The following schema fragment specifies the expected content contained within this class.
023: *
024: * <pre>
025: * <complexType name="MakeConnectionType">
026: * <complexContent>
027: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
028: * <sequence>
029: * <element ref="{http://docs.oasis-open.org/ws-rx/wsmc/200702}Address" minOccurs="0"/>
030: * <any/>
031: * </sequence>
032: * </restriction>
033: * </complexContent>
034: * </complexType>
035: * </pre>
036: *
037: *
038: */
039: @XmlAccessorType(XmlAccessType.FIELD)
040: @XmlType(name="MakeConnectionType",namespace="http://docs.oasis-open.org/ws-rx/wsmc/200702",propOrder={"address","identifier","any"})
041: @XmlRootElement(name="MakeConnection",namespace="http://docs.oasis-open.org/ws-rx/wsmc/200702")
042: public class MakeConnectionElement {
043:
044: @XmlElement(name="Address",namespace="http://docs.oasis-open.org/ws-rx/wsmc/200702")
045: protected Address address;
046: @XmlElement(name="Identifier",namespace="http://docs.oasis-open.org/ws-rx/wsmc/200702")
047: protected Identifier identifier;
048: @XmlAnyElement(lax=true)
049: protected List<Object> any;
050: @XmlAnyAttribute
051: private Map<QName, String> otherAttributes = new HashMap<QName, String>();
052:
053: /**
054: * Gets the value of the address property.
055: *
056: * @return
057: * possible object is
058: * {@link Address }
059: *
060: */
061: public Address getAddress() {
062: return address;
063: }
064:
065: /**
066: * Sets the value of the address property.
067: *
068: * @param value
069: * allowed object is
070: * {@link Address }
071: *
072: */
073: public void setAddress(Address value) {
074: this .address = value;
075: }
076:
077: public Identifier getIdentifier() {
078: return identifier;
079: }
080:
081: public void setIdentifier(Identifier id) {
082: this .identifier = id;
083: }
084:
085: /**
086: * Gets the value of the any property.
087: *
088: * <p>
089: * This accessor method returns a reference to the live list,
090: * not a snapshot. Therefore any modification you make to the
091: * returned list will be present inside the JAXB object.
092: * This is why there is not a <CODE>set</CODE> method for the any property.
093: *
094: * <p>
095: * For example, to add a new item, do as follows:
096: * <pre>
097: * getAny().add(newItem);
098: * </pre>
099: *
100: *
101: * <p>
102: * Objects of the following type(s) are allowed in the list
103: * {@link Element }
104: * {@link Object }
105: *
106: *
107: */
108: public List<Object> getAny() {
109: if (any == null) {
110: any = new ArrayList<Object>();
111: }
112: return this .any;
113: }
114:
115: /**
116: * Gets a map that contains attributes that aren't bound to any typed property on this class.
117: *
118: * <p>
119: * the map is keyed by the name of the attribute and
120: * the value is the string value of the attribute.
121: *
122: * the map returned by this method is live, and you can add new attribute
123: * by updating the map directly. Because of this design, there's no setter.
124: *
125: *
126: * @return
127: * always non-null
128: */
129: public Map<QName, String> getOtherAttributes() {
130: return otherAttributes;
131: }
132:
133: }
|