View Javadoc
1   
2   package org.xmlsoap.schemas.ws._2004._08.addressing;
3   
4   import java.util.HashMap;
5   import java.util.Map;
6   import javax.xml.bind.annotation.XmlAccessType;
7   import javax.xml.bind.annotation.XmlAccessorType;
8   import javax.xml.bind.annotation.XmlAnyAttribute;
9   import javax.xml.bind.annotation.XmlAttribute;
10  import javax.xml.bind.annotation.XmlSchemaType;
11  import javax.xml.bind.annotation.XmlType;
12  import javax.xml.bind.annotation.XmlValue;
13  import javax.xml.namespace.QName;
14  
15  
16  /**
17   * <p>Java class for Relationship complex type.
18   * 
19   * <p>The following schema fragment specifies the expected content contained within this class.
20   * 
21   * <pre>
22   * &lt;complexType name="Relationship"&gt;
23   *   &lt;simpleContent&gt;
24   *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;anyURI"&gt;
25   *       &lt;attribute name="RelationshipType" type="{http://www.w3.org/2001/XMLSchema}QName" /&gt;
26   *       &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
27   *     &lt;/extension&gt;
28   *   &lt;/simpleContent&gt;
29   * &lt;/complexType&gt;
30   * </pre>
31   * 
32   * 
33   */
34  @XmlAccessorType(XmlAccessType.FIELD)
35  @XmlType(name = "Relationship", propOrder = {
36      "value"
37  })
38  public class Relationship {
39  
40      @XmlValue
41      @XmlSchemaType(name = "anyURI")
42      protected String value;
43      @XmlAttribute(name = "RelationshipType")
44      protected QName relationshipType;
45      @XmlAnyAttribute
46      private Map<QName, String> otherAttributes = new HashMap<QName, String>();
47  
48      /**
49       * Gets the value of the value property.
50       * 
51       * @return
52       *     possible object is
53       *     {@link String }
54       *     
55       */
56      public String getValue() {
57          return value;
58      }
59  
60      /**
61       * Sets the value of the value property.
62       * 
63       * @param value
64       *     allowed object is
65       *     {@link String }
66       *     
67       */
68      public void setValue(String value) {
69          this.value = value;
70      }
71  
72      /**
73       * Gets the value of the relationshipType property.
74       * 
75       * @return
76       *     possible object is
77       *     {@link QName }
78       *     
79       */
80      public QName getRelationshipType() {
81          return relationshipType;
82      }
83  
84      /**
85       * Sets the value of the relationshipType property.
86       * 
87       * @param value
88       *     allowed object is
89       *     {@link QName }
90       *     
91       */
92      public void setRelationshipType(QName value) {
93          this.relationshipType = value;
94      }
95  
96      /**
97       * Gets a map that contains attributes that aren't bound to any typed property on this class.
98       * 
99       * <p>
100      * the map is keyed by the name of the attribute and 
101      * the value is the string value of the attribute.
102      * 
103      * the map returned by this method is live, and you can add new attribute
104      * by updating the map directly. Because of this design, there's no setter.
105      * 
106      * 
107      * @return
108      *     always non-null
109      */
110     public Map<QName, String> getOtherAttributes() {
111         return otherAttributes;
112     }
113 
114 }