org.apache.chemistry.opencmis.inmemory.types
Class InMemoryDocumentTypeDefinition
java.lang.Object
org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractExtensionData
org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractTypeDefinition
org.apache.chemistry.opencmis.commons.impl.dataobjects.DocumentTypeDefinitionImpl
org.apache.chemistry.opencmis.inmemory.types.InMemoryDocumentTypeDefinition
- All Implemented Interfaces:
- Serializable, Cloneable, ExtensionsData, DocumentTypeDefinition, TypeDefinition
public class InMemoryDocumentTypeDefinition
- extends DocumentTypeDefinitionImpl
A small convenience class simplifying document type creation
- See Also:
- Serialized Form
Methods inherited from class org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractTypeDefinition |
addPropertyDefinition, clone, getBaseTypeId, getDescription, getDisplayName, getId, getLocalName, getLocalNamespace, getParentTypeId, getPropertyDefinitions, getQueryName, initialize, isControllableAcl, isControllablePolicy, isCreatable, isFileable, isFulltextIndexed, isIncludedInSupertypeQuery, isQueryable, setBaseTypeId, setDescription, setDisplayName, setId, setIsControllableAcl, setIsControllablePolicy, setIsCreatable, setIsFileable, setIsFulltextIndexed, setIsIncludedInSupertypeQuery, setIsQueryable, setLocalName, setLocalNamespace, setParentTypeId, setPropertyDefinitions, setQueryName, toString |
Methods inherited from interface org.apache.chemistry.opencmis.commons.definitions.TypeDefinition |
getBaseTypeId, getDescription, getDisplayName, getId, getLocalName, getLocalNamespace, getParentTypeId, getPropertyDefinitions, getQueryName, isControllableAcl, isControllablePolicy, isCreatable, isFileable, isFulltextIndexed, isIncludedInSupertypeQuery, isQueryable |
InMemoryDocumentTypeDefinition
public InMemoryDocumentTypeDefinition()
InMemoryDocumentTypeDefinition
public InMemoryDocumentTypeDefinition(String id,
String displayName)
InMemoryDocumentTypeDefinition
public InMemoryDocumentTypeDefinition(String id,
String displayName,
InMemoryDocumentTypeDefinition parentType)
getRootDocumentType
public static InMemoryDocumentTypeDefinition getRootDocumentType()
addCustomPropertyDefinitions
public void addCustomPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions)
- Set the property definitions for this type. The parameter
propertyDefinitions should only contain the custom property definitions
for this type. The standard property definitions are added automatically.
- See Also:
setPropertyDefinitions(java.util.Map)
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.