Package org.apache.jackrabbit.spi
Interface QNodeDefinition
- 
- All Superinterfaces:
 QItemDefinition
- All Known Implementing Classes:
 QNodeDefinitionImpl
public interface QNodeDefinition extends QItemDefinition
QNodeDefinitionis the SPI representation of anode definition. It refers toNames only and is thus isolated from session-specific namespace mappings.- See Also:
 NodeDefinition
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static QNodeDefinition[]EMPTY_ARRAYEmpty array ofQNodeDefinition. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanallowsSameNameSiblings()Reports whether this node can have same-name siblings.NamegetDefaultPrimaryType()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.
 
 
 - 
 
 -