This project has retired. For details please refer to its Attic page.
MoveObject 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="targetFolderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
26   *         &lt;element name="sourceFolderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
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      "targetFolderId",
41      "sourceFolderId",
42      "extension"
43  })
44  @XmlRootElement(name = "moveObject")
45  public class MoveObject {
46  
47      @XmlElement(required = true)
48      protected String repositoryId;
49      @XmlElement(required = true)
50      protected String objectId;
51      @XmlElement(required = true)
52      protected String targetFolderId;
53      @XmlElement(required = true)
54      protected String sourceFolderId;
55      @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
56      protected JAXBElement<CmisExtensionType> extension;
57  
58      /**
59       * Gets the value of the repositoryId property.
60       * 
61       * @return
62       *     possible object is
63       *     {@link String }
64       *     
65       */
66      public String getRepositoryId() {
67          return repositoryId;
68      }
69  
70      /**
71       * Sets the value of the repositoryId property.
72       * 
73       * @param value
74       *     allowed object is
75       *     {@link String }
76       *     
77       */
78      public void setRepositoryId(String value) {
79          this.repositoryId = value;
80      }
81  
82      /**
83       * Gets the value of the objectId property.
84       * 
85       * @return
86       *     possible object is
87       *     {@link String }
88       *     
89       */
90      public String getObjectId() {
91          return objectId;
92      }
93  
94      /**
95       * Sets the value of the objectId property.
96       * 
97       * @param value
98       *     allowed object is
99       *     {@link String }
100      *     
101      */
102     public void setObjectId(String value) {
103         this.objectId = value;
104     }
105 
106     /**
107      * Gets the value of the targetFolderId property.
108      * 
109      * @return
110      *     possible object is
111      *     {@link String }
112      *     
113      */
114     public String getTargetFolderId() {
115         return targetFolderId;
116     }
117 
118     /**
119      * Sets the value of the targetFolderId property.
120      * 
121      * @param value
122      *     allowed object is
123      *     {@link String }
124      *     
125      */
126     public void setTargetFolderId(String value) {
127         this.targetFolderId = value;
128     }
129 
130     /**
131      * Gets the value of the sourceFolderId property.
132      * 
133      * @return
134      *     possible object is
135      *     {@link String }
136      *     
137      */
138     public String getSourceFolderId() {
139         return sourceFolderId;
140     }
141 
142     /**
143      * Sets the value of the sourceFolderId property.
144      * 
145      * @param value
146      *     allowed object is
147      *     {@link String }
148      *     
149      */
150     public void setSourceFolderId(String value) {
151         this.sourceFolderId = value;
152     }
153 
154     /**
155      * Gets the value of the extension property.
156      * 
157      * @return
158      *     possible object is
159      *     {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
160      *     
161      */
162     public JAXBElement<CmisExtensionType> getExtension() {
163         return extension;
164     }
165 
166     /**
167      * Sets the value of the extension property.
168      * 
169      * @param value
170      *     allowed object is
171      *     {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
172      *     
173      */
174     public void setExtension(JAXBElement<CmisExtensionType> value) {
175         this.extension = ((JAXBElement<CmisExtensionType> ) value);
176     }
177 
178 }