This project has retired. For details please refer to its Attic page.
ApplyPolicy 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="policyId" type="{http://www.w3.org/2001/XMLSchema}string"/>
25   *         &lt;element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
26   *         &lt;element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
27   *       &lt;/sequence>
28   *     &lt;/restriction>
29   *   &lt;/complexContent>
30   * &lt;/complexType>
31   * </pre>
32   * 
33   * 
34   */
35  @XmlAccessorType(XmlAccessType.FIELD)
36  @XmlType(name = "", propOrder = {
37      "repositoryId",
38      "policyId",
39      "objectId",
40      "extension"
41  })
42  @XmlRootElement(name = "applyPolicy")
43  public class ApplyPolicy {
44  
45      @XmlElement(required = true)
46      protected String repositoryId;
47      @XmlElement(required = true)
48      protected String policyId;
49      @XmlElement(required = true)
50      protected String objectId;
51      @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
52      protected JAXBElement<CmisExtensionType> extension;
53  
54      /**
55       * Gets the value of the repositoryId property.
56       * 
57       * @return
58       *     possible object is
59       *     {@link String }
60       *     
61       */
62      public String getRepositoryId() {
63          return repositoryId;
64      }
65  
66      /**
67       * Sets the value of the repositoryId property.
68       * 
69       * @param value
70       *     allowed object is
71       *     {@link String }
72       *     
73       */
74      public void setRepositoryId(String value) {
75          this.repositoryId = value;
76      }
77  
78      /**
79       * Gets the value of the policyId property.
80       * 
81       * @return
82       *     possible object is
83       *     {@link String }
84       *     
85       */
86      public String getPolicyId() {
87          return policyId;
88      }
89  
90      /**
91       * Sets the value of the policyId property.
92       * 
93       * @param value
94       *     allowed object is
95       *     {@link String }
96       *     
97       */
98      public void setPolicyId(String value) {
99          this.policyId = value;
100     }
101 
102     /**
103      * Gets the value of the objectId property.
104      * 
105      * @return
106      *     possible object is
107      *     {@link String }
108      *     
109      */
110     public String getObjectId() {
111         return objectId;
112     }
113 
114     /**
115      * Sets the value of the objectId property.
116      * 
117      * @param value
118      *     allowed object is
119      *     {@link String }
120      *     
121      */
122     public void setObjectId(String value) {
123         this.objectId = value;
124     }
125 
126     /**
127      * Gets the value of the extension property.
128      * 
129      * @return
130      *     possible object is
131      *     {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
132      *     
133      */
134     public JAXBElement<CmisExtensionType> getExtension() {
135         return extension;
136     }
137 
138     /**
139      * Sets the value of the extension property.
140      * 
141      * @param value
142      *     allowed object is
143      *     {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
144      *     
145      */
146     public void setExtension(JAXBElement<CmisExtensionType> value) {
147         this.extension = ((JAXBElement<CmisExtensionType> ) value);
148     }
149 
150 }