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 * <complexType name="cmisTypeDocumentDefinitionType"> 17 * <complexContent> 18 * <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisTypeDefinitionType"> 19 * <sequence> 20 * <element name="versionable" type="{http://www.w3.org/2001/XMLSchema}boolean"/> 21 * <element name="contentStreamAllowed" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumContentStreamAllowed"/> 22 * </sequence> 23 * <anyAttribute processContents='lax' namespace='##other'/> 24 * </extension> 25 * </complexContent> 26 * </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 }