|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.jcr2spi.nodetype.EffectiveNodeTypeImpl
public class EffectiveNodeTypeImpl
An EffectiveNodeType represents one or more
NodeTypes as one 'effective' node type where inheritance
is resolved.
EffectiveNodeType are immutable.
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Name[] getInheritedNodeTypes()
getInheritedNodeTypes in interface EffectiveNodeTypeEffectiveNodeType.getInheritedNodeTypes()public Name[] getAllNodeTypes()
getAllNodeTypes in interface EffectiveNodeTypeEffectiveNodeType.getAllNodeTypes()public Name[] getMergedNodeTypes()
getMergedNodeTypes in interface EffectiveNodeTypeEffectiveNodeType.getMergedNodeTypes()public QNodeDefinition[] getAllQNodeDefinitions()
getAllQNodeDefinitions in interface EffectiveNodeTypeEffectiveNodeType.getAllQNodeDefinitions()public QPropertyDefinition[] getAllQPropertyDefinitions()
getAllQPropertyDefinitions in interface EffectiveNodeTypeEffectiveNodeType.getAllQPropertyDefinitions()public QNodeDefinition[] getAutoCreateQNodeDefinitions()
getAutoCreateQNodeDefinitions in interface EffectiveNodeTypeEffectiveNodeType.getAutoCreateQNodeDefinitions()public QPropertyDefinition[] getAutoCreateQPropertyDefinitions()
getAutoCreateQPropertyDefinitions in interface EffectiveNodeTypeEffectiveNodeType.getAutoCreateQPropertyDefinitions()public QPropertyDefinition[] getMandatoryQPropertyDefinitions()
getMandatoryQPropertyDefinitions in interface EffectiveNodeTypeEffectiveNodeType.getMandatoryQPropertyDefinitions()public QNodeDefinition[] getMandatoryQNodeDefinitions()
getMandatoryQNodeDefinitions in interface EffectiveNodeTypeEffectiveNodeType.getMandatoryQNodeDefinitions()public QNodeDefinition[] getNamedQNodeDefinitions(Name name)
getNamedQNodeDefinitions in interface EffectiveNodeTypeEffectiveNodeType.getNamedQNodeDefinitions(Name)public QNodeDefinition[] getUnnamedQNodeDefinitions()
getUnnamedQNodeDefinitions in interface EffectiveNodeTypeEffectiveNodeType.getUnnamedQNodeDefinitions()public QPropertyDefinition[] getNamedQPropertyDefinitions(Name name)
getNamedQPropertyDefinitions in interface EffectiveNodeTypeEffectiveNodeType.getNamedQPropertyDefinitions(Name)public QPropertyDefinition[] getUnnamedQPropertyDefinitions()
getUnnamedQPropertyDefinitions in interface EffectiveNodeTypeEffectiveNodeType.getUnnamedQPropertyDefinitions()public boolean includesNodeType(Name nodeTypeName)
EffectiveNodeType
includesNodeType in interface EffectiveNodeTypenodeTypeName - name of node type
true if the given node type is included, otherwise
falsepublic boolean includesNodeTypes(Name[] nodeTypeNames)
EffectiveNodeType
includesNodeTypes in interface EffectiveNodeTypenodeTypeNames - array of node type names
true if all of the given node types are included,
otherwise falsepublic boolean supportsMixin(Name mixin)
EffectiveNodeType
supportsMixin in interface EffectiveNodeTypemixin - name of mixin type
true if the mixin type is supported, otherwise
falseEffectiveNodeType.supportsMixin(Name)
public void checkAddNodeConstraints(Name name,
ItemDefinitionProvider definitionProvider)
throws ConstraintViolationException
checkAddNodeConstraints in interface EffectiveNodeTypeConstraintViolationExceptionEffectiveNodeType.checkAddNodeConstraints(Name, ItemDefinitionProvider)
public void checkAddNodeConstraints(Name name,
Name nodeTypeName,
ItemDefinitionProvider definitionProvider)
throws ConstraintViolationException,
NoSuchNodeTypeException
checkAddNodeConstraints in interface EffectiveNodeTypeConstraintViolationException
NoSuchNodeTypeExceptionEffectiveNodeType.checkAddNodeConstraints(Name, ItemDefinitionProvider)
public void checkRemoveItemConstraints(Name name)
throws ConstraintViolationException
checkRemoveItemConstraints in interface EffectiveNodeTypeConstraintViolationExceptionEffectiveNodeType.checkRemoveItemConstraints(Name)protected Object clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||