org.apache.chemistry.opencmis.commons.impl.jaxb
Class CmisTypeDefinitionType

java.lang.Object
  extended by org.apache.chemistry.opencmis.commons.impl.jaxb.CmisTypeDefinitionType
Direct Known Subclasses:
CmisTypeDocumentDefinitionType, CmisTypeFolderDefinitionType, CmisTypePolicyDefinitionType, CmisTypeRelationshipDefinitionType

public class CmisTypeDefinitionType
extends Object

Java class for cmisTypeDefinitionType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="cmisTypeDefinitionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="localName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="localNamespace" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="queryName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="baseId" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumBaseObjectTypeIds"/>
         <element name="parentId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="creatable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="fileable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="queryable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="fulltextIndexed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="includedInSupertypeQuery" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="controllablePolicy" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="controllableACL" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="propertyBooleanDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyBooleanDefinitionType"/>
           <element name="propertyDateTimeDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDateTimeDefinitionType"/>
           <element name="propertyDecimalDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDecimalDefinitionType"/>
           <element name="propertyIdDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyIdDefinitionType"/>
           <element name="propertyIntegerDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyIntegerDefinitionType"/>
           <element name="propertyHtmlDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyHtmlDefinitionType"/>
           <element name="propertyStringDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyStringDefinitionType"/>
           <element name="propertyUriDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyUriDefinitionType"/>
         </choice>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> any
           
protected  EnumBaseObjectTypeIds baseId
           
protected  boolean controllableACL
           
protected  boolean controllablePolicy
           
protected  boolean creatable
           
protected  String description
           
protected  String displayName
           
protected  boolean fileable
           
protected  boolean fulltextIndexed
           
protected  String id
           
protected  boolean includedInSupertypeQuery
           
protected  String localName
           
protected  String localNamespace
           
protected  String parentId
           
protected  List<CmisPropertyDefinitionType> propertyDefinition
           
protected  boolean queryable
           
protected  String queryName
           
 
Constructor Summary
CmisTypeDefinitionType()
           
 
Method Summary
 List<Object> getAny()
          Gets the value of the any property.
 EnumBaseObjectTypeIds getBaseId()
          Gets the value of the baseId property.
 String getDescription()
          Gets the value of the description property.
 String getDisplayName()
          Gets the value of the displayName property.
 String getId()
          Gets the value of the id property.
 String getLocalName()
          Gets the value of the localName property.
 String getLocalNamespace()
          Gets the value of the localNamespace property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 String getParentId()
          Gets the value of the parentId property.
 List<CmisPropertyDefinitionType> getPropertyDefinition()
          Gets the value of the propertyDefinition property.
 String getQueryName()
          Gets the value of the queryName property.
 boolean isControllableACL()
          Gets the value of the controllableACL property.
 boolean isControllablePolicy()
          Gets the value of the controllablePolicy property.
 boolean isCreatable()
          Gets the value of the creatable property.
 boolean isFileable()
          Gets the value of the fileable property.
 boolean isFulltextIndexed()
          Gets the value of the fulltextIndexed property.
 boolean isIncludedInSupertypeQuery()
          Gets the value of the includedInSupertypeQuery property.
 boolean isQueryable()
          Gets the value of the queryable property.
 void setBaseId(EnumBaseObjectTypeIds value)
          Sets the value of the baseId property.
 void setControllableACL(boolean value)
          Sets the value of the controllableACL property.
 void setControllablePolicy(boolean value)
          Sets the value of the controllablePolicy property.
 void setCreatable(boolean value)
          Sets the value of the creatable property.
 void setDescription(String value)
          Sets the value of the description property.
 void setDisplayName(String value)
          Sets the value of the displayName property.
 void setFileable(boolean value)
          Sets the value of the fileable property.
 void setFulltextIndexed(boolean value)
          Sets the value of the fulltextIndexed property.
 void setId(String value)
          Sets the value of the id property.
 void setIncludedInSupertypeQuery(boolean value)
          Sets the value of the includedInSupertypeQuery property.
 void setLocalName(String value)
          Sets the value of the localName property.
 void setLocalNamespace(String value)
          Sets the value of the localNamespace property.
 void setParentId(String value)
          Sets the value of the parentId property.
 void setQueryable(boolean value)
          Sets the value of the queryable property.
 void setQueryName(String value)
          Sets the value of the queryName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

localName

protected String localName

localNamespace

protected String localNamespace

displayName

protected String displayName

queryName

protected String queryName

description

protected String description

baseId

protected EnumBaseObjectTypeIds baseId

parentId

protected String parentId

creatable

protected boolean creatable

fileable

protected boolean fileable

queryable

protected boolean queryable

fulltextIndexed

protected boolean fulltextIndexed

includedInSupertypeQuery

protected boolean includedInSupertypeQuery

controllablePolicy

protected boolean controllablePolicy

controllableACL

protected boolean controllableACL

propertyDefinition

protected List<CmisPropertyDefinitionType> propertyDefinition

any

protected List<Object> any
Constructor Detail

CmisTypeDefinitionType

public CmisTypeDefinitionType()
Method Detail

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getLocalName

public String getLocalName()
Gets the value of the localName property.

Returns:
possible object is String

setLocalName

public void setLocalName(String value)
Sets the value of the localName property.

Parameters:
value - allowed object is String

getLocalNamespace

public String getLocalNamespace()
Gets the value of the localNamespace property.

Returns:
possible object is String

setLocalNamespace

public void setLocalNamespace(String value)
Sets the value of the localNamespace property.

Parameters:
value - allowed object is String

getDisplayName

public String getDisplayName()
Gets the value of the displayName property.

Returns:
possible object is String

setDisplayName

public void setDisplayName(String value)
Sets the value of the displayName property.

Parameters:
value - allowed object is String

getQueryName

public String getQueryName()
Gets the value of the queryName property.

Returns:
possible object is String

setQueryName

public void setQueryName(String value)
Sets the value of the queryName property.

Parameters:
value - allowed object is String

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getBaseId

public EnumBaseObjectTypeIds getBaseId()
Gets the value of the baseId property.

Returns:
possible object is EnumBaseObjectTypeIds

setBaseId

public void setBaseId(EnumBaseObjectTypeIds value)
Sets the value of the baseId property.

Parameters:
value - allowed object is EnumBaseObjectTypeIds

getParentId

public String getParentId()
Gets the value of the parentId property.

Returns:
possible object is String

setParentId

public void setParentId(String value)
Sets the value of the parentId property.

Parameters:
value - allowed object is String

isCreatable

public boolean isCreatable()
Gets the value of the creatable property.


setCreatable

public void setCreatable(boolean value)
Sets the value of the creatable property.


isFileable

public boolean isFileable()
Gets the value of the fileable property.


setFileable

public void setFileable(boolean value)
Sets the value of the fileable property.


isQueryable

public boolean isQueryable()
Gets the value of the queryable property.


setQueryable

public void setQueryable(boolean value)
Sets the value of the queryable property.


isFulltextIndexed

public boolean isFulltextIndexed()
Gets the value of the fulltextIndexed property.


setFulltextIndexed

public void setFulltextIndexed(boolean value)
Sets the value of the fulltextIndexed property.


isIncludedInSupertypeQuery

public boolean isIncludedInSupertypeQuery()
Gets the value of the includedInSupertypeQuery property.


setIncludedInSupertypeQuery

public void setIncludedInSupertypeQuery(boolean value)
Sets the value of the includedInSupertypeQuery property.


isControllablePolicy

public boolean isControllablePolicy()
Gets the value of the controllablePolicy property.


setControllablePolicy

public void setControllablePolicy(boolean value)
Sets the value of the controllablePolicy property.


isControllableACL

public boolean isControllableACL()
Gets the value of the controllableACL property.


setControllableACL

public void setControllableACL(boolean value)
Sets the value of the controllableACL property.


getPropertyDefinition

public List<CmisPropertyDefinitionType> getPropertyDefinition()
Gets the value of the propertyDefinition property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the propertyDefinition property.

For example, to add a new item, do as follows:

    getPropertyDefinition().add(newItem);
 

Objects of the following type(s) are allowed in the list CmisPropertyUriDefinitionType CmisPropertyStringDefinitionType CmisPropertyDecimalDefinitionType CmisPropertyIdDefinitionType CmisPropertyHtmlDefinitionType CmisPropertyIntegerDefinitionType CmisPropertyBooleanDefinitionType CmisPropertyDateTimeDefinitionType


getAny

public List<Object> getAny()
Gets the value of the any property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Element Object


getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.