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

1   
2   package org.apache.chemistry.opencmis.commons.impl.jaxb;
3   
4   import javax.xml.bind.JAXBElement;
5   import javax.xml.bind.annotation.XmlAccessType;
6   import javax.xml.bind.annotation.XmlAccessorType;
7   import javax.xml.bind.annotation.XmlElement;
8   import javax.xml.bind.annotation.XmlElementRef;
9   import javax.xml.bind.annotation.XmlRootElement;
10  import javax.xml.bind.annotation.XmlType;
11  
12  
13  /**
14   * <p>Java class for anonymous complex type.
15   * 
16   * <p>The following schema fragment specifies the expected content contained within this class.
17   * 
18   * <pre>
19   * &lt;complexType>
20   *   &lt;complexContent>
21   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
22   *       &lt;sequence>
23   *         &lt;element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
24   *         &lt;element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
25   *         &lt;element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
26   *         &lt;element name="allVersions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
27   *         &lt;element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
28   *       &lt;/sequence>
29   *     &lt;/restriction>
30   *   &lt;/complexContent>
31   * &lt;/complexType>
32   * </pre>
33   * 
34   * 
35   */
36  @XmlAccessorType(XmlAccessType.FIELD)
37  @XmlType(name = "", propOrder = {
38      "repositoryId",
39      "objectId",
40      "folderId",
41      "allVersions",
42      "extension"
43  })
44  @XmlRootElement(name = "addObjectToFolder")
45  public class AddObjectToFolder {
46  
47      @XmlElement(required = true)
48      protected String repositoryId;
49      @XmlElement(required = true)
50      protected String objectId;
51      @XmlElement(required = true)
52      protected String folderId;
53      protected Boolean allVersions;
54      @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
55      protected JAXBElement<CmisExtensionType> extension;
56  
57      /**
58       * Gets the value of the repositoryId property.
59       * 
60       * @return
61       *     possible object is
62       *     {@link String }
63       *     
64       */
65      public String getRepositoryId() {
66          return repositoryId;
67      }
68  
69      /**
70       * Sets the value of the repositoryId property.
71       * 
72       * @param value
73       *     allowed object is
74       *     {@link String }
75       *     
76       */
77      public void setRepositoryId(String value) {
78          this.repositoryId = value;
79      }
80  
81      /**
82       * Gets the value of the objectId property.
83       * 
84       * @return
85       *     possible object is
86       *     {@link String }
87       *     
88       */
89      public String getObjectId() {
90          return objectId;
91      }
92  
93      /**
94       * Sets the value of the objectId property.
95       * 
96       * @param value
97       *     allowed object is
98       *     {@link String }
99       *     
100      */
101     public void setObjectId(String value) {
102         this.objectId = value;
103     }
104 
105     /**
106      * Gets the value of the folderId property.
107      * 
108      * @return
109      *     possible object is
110      *     {@link String }
111      *     
112      */
113     public String getFolderId() {
114         return folderId;
115     }
116 
117     /**
118      * Sets the value of the folderId property.
119      * 
120      * @param value
121      *     allowed object is
122      *     {@link String }
123      *     
124      */
125     public void setFolderId(String value) {
126         this.folderId = value;
127     }
128 
129     /**
130      * Gets the value of the allVersions property.
131      * 
132      * @return
133      *     possible object is
134      *     {@link Boolean }
135      *     
136      */
137     public Boolean isAllVersions() {
138         return allVersions;
139     }
140 
141     /**
142      * Sets the value of the allVersions property.
143      * 
144      * @param value
145      *     allowed object is
146      *     {@link Boolean }
147      *     
148      */
149     public void setAllVersions(Boolean value) {
150         this.allVersions = value;
151     }
152 
153     /**
154      * Gets the value of the extension property.
155      * 
156      * @return
157      *     possible object is
158      *     {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
159      *     
160      */
161     public JAXBElement<CmisExtensionType> getExtension() {
162         return extension;
163     }
164 
165     /**
166      * Sets the value of the extension property.
167      * 
168      * @param value
169      *     allowed object is
170      *     {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
171      *     
172      */
173     public void setExtension(JAXBElement<CmisExtensionType> value) {
174         this.extension = ((JAXBElement<CmisExtensionType> ) value);
175     }
176 
177 }