Package org.apache.jackrabbit.spi
Interface QNodeDefinition
-
- All Superinterfaces:
QItemDefinition
- All Known Implementing Classes:
QNodeDefinitionImpl
public interface QNodeDefinition extends QItemDefinition
QNodeDefinition
is the SPI representation of anode definition
. It refers toName
s only and is thus isolated from session-specific namespace mappings.- See Also:
NodeDefinition
-
-
Field Summary
Fields Modifier and Type Field Description static QNodeDefinition[]
EMPTY_ARRAY
Empty array ofQNodeDefinition
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
allowsSameNameSiblings()
Reports whether this node can have same-name siblings.Name
getDefaultPrimaryType()
Returns the name of the default primary type.Name[]
getRequiredPrimaryTypes()
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 Detail
-
EMPTY_ARRAY
static final QNodeDefinition[] EMPTY_ARRAY
Empty array ofQNodeDefinition
.
-
-
Method Detail
-
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.
-
-