This project has retired. For details please refer to its Attic page.
CmisProperty xref

1   
2   package org.apache.chemistry.opencmis.commons.impl.jaxb;
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.XmlSeeAlso;
12  import javax.xml.bind.annotation.XmlType;
13  import javax.xml.namespace.QName;
14  
15  
16  /**
17   * <p>Java class for cmisProperty complex type.
18   * 
19   * <p>The following schema fragment specifies the expected content contained within this class.
20   * 
21   * <pre>
22   * &lt;complexType name="cmisProperty">
23   *   &lt;complexContent>
24   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
25   *       &lt;attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
26   *       &lt;attribute name="propertyDefinitionId" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
27   *       &lt;attribute name="localName" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
28   *       &lt;attribute name="displayName" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
29   *       &lt;attribute name="queryName" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
30   *       &lt;anyAttribute processContents='lax' namespace='##other'/>
31   *     &lt;/restriction>
32   *   &lt;/complexContent>
33   * &lt;/complexType>
34   * </pre>
35   * 
36   * 
37   */
38  @XmlAccessorType(XmlAccessType.FIELD)
39  @XmlType(name = "cmisProperty", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")
40  @XmlSeeAlso({
41      CmisPropertyHtml.class,
42      CmisPropertyDecimal.class,
43      CmisPropertyDateTime.class,
44      CmisPropertyId.class,
45      CmisPropertyString.class,
46      CmisPropertyUri.class,
47      CmisPropertyBoolean.class,
48      CmisPropertyInteger.class
49  })
50  public class CmisProperty {
51  
52      @XmlAttribute
53      @XmlSchemaType(name = "anySimpleType")
54      protected String propertyDefinitionId;
55      @XmlAttribute
56      @XmlSchemaType(name = "anySimpleType")
57      protected String localName;
58      @XmlAttribute
59      @XmlSchemaType(name = "anySimpleType")
60      protected String displayName;
61      @XmlAttribute
62      @XmlSchemaType(name = "anySimpleType")
63      protected String queryName;
64      @XmlAnyAttribute
65      private Map<QName, String> otherAttributes = new HashMap<QName, String>();
66  
67      /**
68       * Gets the value of the propertyDefinitionId property.
69       * 
70       * @return
71       *     possible object is
72       *     {@link String }
73       *     
74       */
75      public String getPropertyDefinitionId() {
76          return propertyDefinitionId;
77      }
78  
79      /**
80       * Sets the value of the propertyDefinitionId property.
81       * 
82       * @param value
83       *     allowed object is
84       *     {@link String }
85       *     
86       */
87      public void setPropertyDefinitionId(String value) {
88          this.propertyDefinitionId = value;
89      }
90  
91      /**
92       * Gets the value of the localName property.
93       * 
94       * @return
95       *     possible object is
96       *     {@link String }
97       *     
98       */
99      public String getLocalName() {
100         return localName;
101     }
102 
103     /**
104      * Sets the value of the localName property.
105      * 
106      * @param value
107      *     allowed object is
108      *     {@link String }
109      *     
110      */
111     public void setLocalName(String value) {
112         this.localName = value;
113     }
114 
115     /**
116      * Gets the value of the displayName property.
117      * 
118      * @return
119      *     possible object is
120      *     {@link String }
121      *     
122      */
123     public String getDisplayName() {
124         return displayName;
125     }
126 
127     /**
128      * Sets the value of the displayName property.
129      * 
130      * @param value
131      *     allowed object is
132      *     {@link String }
133      *     
134      */
135     public void setDisplayName(String value) {
136         this.displayName = value;
137     }
138 
139     /**
140      * Gets the value of the queryName property.
141      * 
142      * @return
143      *     possible object is
144      *     {@link String }
145      *     
146      */
147     public String getQueryName() {
148         return queryName;
149     }
150 
151     /**
152      * Sets the value of the queryName property.
153      * 
154      * @param value
155      *     allowed object is
156      *     {@link String }
157      *     
158      */
159     public void setQueryName(String value) {
160         this.queryName = value;
161     }
162 
163     /**
164      * Gets a map that contains attributes that aren't bound to any typed property on this class.
165      * 
166      * <p>
167      * the map is keyed by the name of the attribute and 
168      * the value is the string value of the attribute.
169      * 
170      * the map returned by this method is live, and you can add new attribute
171      * by updating the map directly. Because of this design, there's no setter.
172      * 
173      * 
174      * @return
175      *     always non-null
176      */
177     public Map<QName, String> getOtherAttributes() {
178         return otherAttributes;
179     }
180 
181 }