This project has retired. For details please refer to its Attic page.
CheckOutResponse 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="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
24   *         &lt;element name="contentCopied" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
25   *         &lt;element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
26   *       &lt;/sequence>
27   *     &lt;/restriction>
28   *   &lt;/complexContent>
29   * &lt;/complexType>
30   * </pre>
31   * 
32   * 
33   */
34  @XmlAccessorType(XmlAccessType.FIELD)
35  @XmlType(name = "", propOrder = {
36      "objectId",
37      "contentCopied",
38      "extension"
39  })
40  @XmlRootElement(name = "checkOutResponse")
41  public class CheckOutResponse {
42  
43      @XmlElement(required = true)
44      protected String objectId;
45      protected boolean contentCopied;
46      @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
47      protected JAXBElement<CmisExtensionType> extension;
48  
49      /**
50       * Gets the value of the objectId property.
51       * 
52       * @return
53       *     possible object is
54       *     {@link String }
55       *     
56       */
57      public String getObjectId() {
58          return objectId;
59      }
60  
61      /**
62       * Sets the value of the objectId property.
63       * 
64       * @param value
65       *     allowed object is
66       *     {@link String }
67       *     
68       */
69      public void setObjectId(String value) {
70          this.objectId = value;
71      }
72  
73      /**
74       * Gets the value of the contentCopied property.
75       * 
76       */
77      public boolean isContentCopied() {
78          return contentCopied;
79      }
80  
81      /**
82       * Sets the value of the contentCopied property.
83       * 
84       */
85      public void setContentCopied(boolean value) {
86          this.contentCopied = value;
87      }
88  
89      /**
90       * Gets the value of the extension property.
91       * 
92       * @return
93       *     possible object is
94       *     {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
95       *     
96       */
97      public JAXBElement<CmisExtensionType> getExtension() {
98          return extension;
99      }
100 
101     /**
102      * Sets the value of the extension property.
103      * 
104      * @param value
105      *     allowed object is
106      *     {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
107      *     
108      */
109     public void setExtension(JAXBElement<CmisExtensionType> value) {
110         this.extension = ((JAXBElement<CmisExtensionType> ) value);
111     }
112 
113 }