org.alfresco.cmis.dictionary
Class CMISDocumentTypeDefinition

java.lang.Object
  extended by org.alfresco.cmis.dictionary.CMISAbstractTypeDefinition
      extended by org.alfresco.cmis.dictionary.CMISDocumentTypeDefinition
All Implemented Interfaces:
java.io.Serializable, CMISTypeDefinition

public class CMISDocumentTypeDefinition
extends CMISAbstractTypeDefinition

CMIS Document Type Definition

See Also:
Serialized Form

Field Summary
protected  CMISContentStreamAllowedEnum contentStreamAllowed
           
protected  boolean fileable
           
 
Fields inherited from class org.alfresco.cmis.dictionary.CMISAbstractTypeDefinition
actionEvaluators, cmisClassDef, controllableACL, controllablePolicy, creatable, description, displayName, fullTextIndexed, includedInSuperTypeQuery, inheritedProperties, internalParentType, isPublic, logger, objectTypeId, objectTypeQueryName, ownedProperties, parentType, parentTypeId, properties, queryable, rootType, subTypeIds, subTypes
 
Constructor Summary
CMISDocumentTypeDefinition(CMISMapping cmisMapping, CMISTypeId typeId, org.alfresco.service.cmr.dictionary.ClassDefinition cmisClassDef)
          Construct
 
Method Summary
 CMISContentStreamAllowedEnum getContentStreamAllowed()
          Is a content stream allowed for this type? It may be disallowed, optional or mandatory.
 boolean isFileable()
          Are objects of this type fileable?
 boolean isVersionable()
          Is this type versionable? If true this implies all instances of the type are versionable.
 java.lang.String toString()
           
 
Methods inherited from class org.alfresco.cmis.dictionary.CMISAbstractTypeDefinition
equals, getActionEvaluators, getAllowedSourceTypes, getAllowedTargetTypes, getBaseType, getDescription, getDisplayName, getInternalParentType, getOwnedPropertyDefinitions, getParentType, getPropertyDefinitions, getQueryName, getSubTypes, getTypeId, hashCode, isControllableACL, isControllablePolicy, isCreatable, isFullTextIndexed, isIncludedInSuperTypeQuery, isPublic, isQueryable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

fileable

protected boolean fileable

contentStreamAllowed

protected CMISContentStreamAllowedEnum contentStreamAllowed
Constructor Detail

CMISDocumentTypeDefinition

public CMISDocumentTypeDefinition(CMISMapping cmisMapping,
                                  CMISTypeId typeId,
                                  org.alfresco.service.cmr.dictionary.ClassDefinition cmisClassDef)
Construct

Parameters:
cmisMapping -
typeId -
cmisClassDef -
Method Detail

isFileable

public boolean isFileable()
Are objects of this type fileable?

Specified by:
isFileable in interface CMISTypeDefinition
Overrides:
isFileable in class CMISAbstractTypeDefinition
Returns:

isVersionable

public boolean isVersionable()
Is this type versionable? If true this implies all instances of the type are versionable.

Specified by:
isVersionable in interface CMISTypeDefinition
Overrides:
isVersionable in class CMISAbstractTypeDefinition
Returns:
true if versionable

getContentStreamAllowed

public CMISContentStreamAllowedEnum getContentStreamAllowed()
Is a content stream allowed for this type? It may be disallowed, optional or mandatory.

Specified by:
getContentStreamAllowed in interface CMISTypeDefinition
Overrides:
getContentStreamAllowed in class CMISAbstractTypeDefinition
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.