|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface QNodeTypeDefinition
QNodeTypeDefinition is the SPI representation of a
node type. It refers to Names
only and is therefore independant of session-specific namespace mappings.
NodeType| Method Summary | |
|---|---|
QNodeDefinition[] |
getChildNodeDefs()
Returns an array containing the child node definitions. |
Collection<Name> |
getDependencies()
Returns a collection of node type Names that are being
referenced by this node type definition (e.g. |
Name |
getName()
Returns the name of the node type being defined or null if not set. |
Name |
getPrimaryItemName()
Returns the name of the primary item (one of the child items of the node's of this node type) or null if not set. |
QPropertyDefinition[] |
getPropertyDefs()
Returns an array containing the property definitions. |
Name[] |
getSupertypes()
Returns an array containing the names of the supertypes. |
Name[] |
getSupportedMixinTypes()
Returns an array containing the names of additional mixin types supported on this node type. |
boolean |
hasOrderableChildNodes()
Returns the value of the orderableChildNodes flag. |
boolean |
isAbstract()
Returns true if the definition is abstract; false otherwise. |
boolean |
isMixin()
Returns the value of the mixin flag. |
boolean |
isQueryable()
Returns true if the definition is queryable; false otherwise. |
| Method Detail |
|---|
Name getName()
null if not set.
null if not set.Name[] getSupertypes()
nt:base primary type and
an array containing just nt:base for other primary types.
The returned array must not be modified by the application.
- Returns:
- an array of supertype names
Name[] getSupportedMixinTypes()
The returned array must not be modified by the application.
null
when there are no known constraints.boolean isMixin()
boolean isAbstract()
true if the definition is abstract; false otherwise.
true if the definition is abstract; false otherwise.boolean isQueryable()
true if the definition is queryable; false otherwise.
true if the definition is queryable; false otherwise.boolean hasOrderableChildNodes()
Name getPrimaryItemName()
null if not set.
null if not set.QPropertyDefinition[] getPropertyDefs()
QNodeDefinition[] getChildNodeDefs()
Collection<Name> getDependencies()
Names that are being
referenced by this node type definition (e.g. as supertypes, as
required/default primary types in child node definitions, as REFERENCE
value constraints in property definitions).
Note that self-references (e.g. a child node definition that specifies
the declaring node type as the default primary type) are not considered
dependencies.
Names
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||