public class DocumentTypeImpl extends DocumentTypeDefinitionImpl implements DocumentType, Serializable
| Constructor and Description |
|---|
DocumentTypeImpl(Session session,
DocumentTypeDefinition typeDefinition) |
| Modifier and Type | Method and Description |
|---|---|
ObjectType |
getBaseType()
Gets the types base type, if the type is a derived (non-base) type.
|
ItemIterable<ObjectType> |
getChildren()
Gets the list of types directly derived from this type (which will return
this type on
getParent()). |
List<Tree<ObjectType>> |
getDescendants(int depth)
Gets the list of all types somehow derived from this type.
|
ObjectType |
getParentType()
Gets the types parent type, if the type is a derived (non-base) type.
|
boolean |
isBaseType()
Indicates whether this is base object type or not.
|
getContentStreamAllowed, isVersionable, setContentStreamAllowed, setIsVersionableaddPropertyDefinition, getBaseTypeId, getDescription, getDisplayName, getId, getLocalName, getLocalNamespace, getParentTypeId, getPropertyDefinitions, getQueryName, getTypeMutability, initialize, isControllableAcl, isControllablePolicy, isCreatable, isFileable, isFulltextIndexed, isIncludedInSupertypeQuery, isQueryable, removeAllPropertyDefinitions, removePropertyDefinition, setBaseTypeId, setDescription, setDisplayName, setId, setIsControllableAcl, setIsControllablePolicy, setIsCreatable, setIsFileable, setIsFulltextIndexed, setIsIncludedInSupertypeQuery, setIsQueryable, setLocalName, setLocalNamespace, setParentTypeId, setPropertyDefinitions, setQueryName, setTypeMutability, toStringgetExtensions, setExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContentStreamAllowed, isVersionablegetBaseTypeId, getDescription, getDisplayName, getId, getLocalName, getLocalNamespace, getParentTypeId, getPropertyDefinitions, getQueryName, getTypeMutability, isControllableAcl, isControllablePolicy, isCreatable, isFileable, isFulltextIndexed, isIncludedInSupertypeQuery, isQueryablegetExtensions, setExtensionsaddPropertyDefinition, removeAllPropertyDefinitions, removePropertyDefinition, setBaseTypeId, setDescription, setDisplayName, setId, setIsControllableAcl, setIsControllablePolicy, setIsCreatable, setIsFileable, setIsFulltextIndexed, setIsIncludedInSupertypeQuery, setIsQueryable, setLocalName, setLocalNamespace, setParentTypeId, setQueryName, setTypeMutabilitypublic DocumentTypeImpl(Session session, DocumentTypeDefinition typeDefinition)
public ObjectType getBaseType()
ObjectTypegetBaseType in interface ObjectTypenull if it is
a base typepublic ItemIterable<ObjectType> getChildren()
ObjectTypegetParent()).getChildren in interface ObjectTypepublic List<Tree<ObjectType>> getDescendants(int depth)
ObjectTypegetDescendants in interface ObjectTypedepth - the tree depth, must be greater than 0 or -1 for infinite
depthpublic ObjectType getParentType()
ObjectTypegetParentType in interface ObjectTypenull
if it is a base typepublic boolean isBaseType()
ObjectTypeisBaseType in interface ObjectTypetrue if this type is a base type, false if this
type is a derived typeCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.