public interface ObjectType extends TypeDefinition
Modifier and Type | Field and Description |
---|---|
static String |
DOCUMENT_BASETYPE_ID |
static String |
FOLDER_BASETYPE_ID |
static String |
POLICY_BASETYPE_ID |
static String |
RELATIONSHIP_BASETYPE_ID |
Modifier and Type | Method and Description |
---|---|
ObjectType |
getBaseType()
Get the type's base type, if the type is a derived (non-base) type.
|
ItemIterable<ObjectType> |
getChildren()
Get the list of types directly derived from this type (which will return
this type on
getParent() ). |
List<Tree<ObjectType>> |
getDescendants(int depth)
Get the list of all types somehow derived from this type.
|
ObjectType |
getParentType()
Get the type's parent type, if the type is a derived (non-base) type.
|
boolean |
isBaseType()
Indicates if this is base object type (i.e.
|
getBaseTypeId, getDescription, getDisplayName, getId, getLocalName, getLocalNamespace, getParentTypeId, getPropertyDefinitions, getQueryName, getTypeMutability, isControllableAcl, isControllablePolicy, isCreatable, isFileable, isFulltextIndexed, isIncludedInSupertypeQuery, isQueryable
getExtensions, setExtensions
static final String DOCUMENT_BASETYPE_ID
static final String FOLDER_BASETYPE_ID
static final String RELATIONSHIP_BASETYPE_ID
static final String POLICY_BASETYPE_ID
boolean isBaseType()
getId()
returns
..._BASETYPE_ID
.true
if this type is a base type, false
if this
type is a derived type.ObjectType getBaseType()
null
if it is
a base type (isBase()==true
).CmisRuntimeException
ObjectType getParentType()
null
if it is a base type ( isBase()==true
).CmisRuntimeException
ItemIterable<ObjectType> getChildren()
getParent()
).List
of types which are directly derived from this
type.List<Tree<ObjectType>> getDescendants(int depth)
depth
- the depth to which the derived types should be resolved.Tree
of types which are derived from this type (direct
and via their parents).Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.