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

1   
2   package org.apache.chemistry.opencmis.commons.impl.jaxb;
3   
4   import javax.xml.bind.annotation.XmlAccessType;
5   import javax.xml.bind.annotation.XmlAccessorType;
6   import javax.xml.bind.annotation.XmlElement;
7   import javax.xml.bind.annotation.XmlType;
8   
9   
10  /**
11   * <p>Java class for cmisTypeDocumentDefinitionType complex type.
12   * 
13   * <p>The following schema fragment specifies the expected content contained within this class.
14   * 
15   * <pre>
16   * &lt;complexType name="cmisTypeDocumentDefinitionType">
17   *   &lt;complexContent>
18   *     &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisTypeDefinitionType">
19   *       &lt;sequence>
20   *         &lt;element name="versionable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
21   *         &lt;element name="contentStreamAllowed" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumContentStreamAllowed"/>
22   *       &lt;/sequence>
23   *       &lt;anyAttribute processContents='lax' namespace='##other'/>
24   *     &lt;/extension>
25   *   &lt;/complexContent>
26   * &lt;/complexType>
27   * </pre>
28   * 
29   * 
30   */
31  @XmlAccessorType(XmlAccessType.FIELD)
32  @XmlType(name = "cmisTypeDocumentDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
33      "versionable",
34      "contentStreamAllowed"
35  })
36  public class CmisTypeDocumentDefinitionType
37      extends CmisTypeDefinitionType
38  {
39  
40      protected boolean versionable;
41      @XmlElement(required = true)
42      protected EnumContentStreamAllowed contentStreamAllowed;
43  
44      /**
45       * Gets the value of the versionable property.
46       * 
47       */
48      public boolean isVersionable() {
49          return versionable;
50      }
51  
52      /**
53       * Sets the value of the versionable property.
54       * 
55       */
56      public void setVersionable(boolean value) {
57          this.versionable = value;
58      }
59  
60      /**
61       * Gets the value of the contentStreamAllowed property.
62       * 
63       * @return
64       *     possible object is
65       *     {@link EnumContentStreamAllowed }
66       *     
67       */
68      public EnumContentStreamAllowed getContentStreamAllowed() {
69          return contentStreamAllowed;
70      }
71  
72      /**
73       * Sets the value of the contentStreamAllowed property.
74       * 
75       * @param value
76       *     allowed object is
77       *     {@link EnumContentStreamAllowed }
78       *     
79       */
80      public void setContentStreamAllowed(EnumContentStreamAllowed value) {
81          this.contentStreamAllowed = value;
82      }
83  
84  }