Package org.apache.jackrabbit.spi
Interface QNodeDefinition
- All Superinterfaces:
QItemDefinition
- All Known Implementing Classes:
QNodeDefinitionImpl
QNodeDefinition is the SPI representation of
a node definition. It refers to Names only
and is thus isolated from session-specific namespace mappings.- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanReports whether this node can have same-name siblings.Returns the name of the default primary type.Name[]Returns the array of names of the required primary types.Methods inherited from interface org.apache.jackrabbit.spi.QItemDefinition
definesNode, definesResidual, getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
-
Field Details
-
EMPTY_ARRAY
Empty array ofQNodeDefinition.
-
-
Method Details
-
getDefaultPrimaryType
Name getDefaultPrimaryType()Returns the name of the default primary type.- Returns:
- the name of the default primary type.
-
getRequiredPrimaryTypes
Name[] getRequiredPrimaryTypes()Returns the array of names of the required primary types.- Returns:
- the array of names of the required primary types.
-
allowsSameNameSiblings
boolean allowsSameNameSiblings()Reports whether this node can have same-name siblings.- Returns:
- the 'allowsSameNameSiblings' flag.
-