|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.spi.commons.QNodeTypeDefinitionImpl
public class QNodeTypeDefinitionImpl
QNodeTypeDefinitionImpl implements a serializable SPI node
type definition.
| Constructor Summary | |
|---|---|
QNodeTypeDefinitionImpl()
Default constructor. |
|
QNodeTypeDefinitionImpl(Name name,
Name[] supertypes,
Name[] supportedMixins,
boolean isMixin,
boolean isAbstract,
boolean isQueryable,
boolean hasOrderableChildNodes,
Name primaryItemName,
QPropertyDefinition[] declaredPropDefs,
QNodeDefinition[] declaredNodeDefs)
Creates a new serializable SPI node type definition. |
|
QNodeTypeDefinitionImpl(NodeTypeDefinition def,
NamePathResolver resolver,
QValueFactory qValueFactory)
Createa a new QNodeTypeDefinitionImpl from a JCR
NodeType definition. |
|
QNodeTypeDefinitionImpl(QNodeTypeDefinition nt)
Copy constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
QNodeDefinition[] |
getChildNodeDefs()
|
Collection<Name> |
getDependencies()
|
Name |
getName()
|
Name |
getPrimaryItemName()
|
QPropertyDefinition[] |
getPropertyDefs()
|
Name[] |
getSupertypes()
|
Name[] |
getSupportedMixinTypes()
|
int |
hashCode()
Returns zero to satisfy the Object equals/hashCode contract. |
boolean |
hasOrderableChildNodes()
|
boolean |
isAbstract()
|
boolean |
isMixin()
|
boolean |
isQueryable()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QNodeTypeDefinitionImpl()
public QNodeTypeDefinitionImpl(QNodeTypeDefinition nt)
nt - the node type definition.
public QNodeTypeDefinitionImpl(Name name,
Name[] supertypes,
Name[] supportedMixins,
boolean isMixin,
boolean isAbstract,
boolean isQueryable,
boolean hasOrderableChildNodes,
Name primaryItemName,
QPropertyDefinition[] declaredPropDefs,
QNodeDefinition[] declaredNodeDefs)
name - the name of the node typesupertypes - the names of the supertypessupportedMixins - the names of supported mixins (or null)isMixin - if this is a mixin node typeisAbstract - if this is an abstract node type definition.isQueryable - if this is a queryable node type definition.hasOrderableChildNodes - if this node type has orderable child
nodes.primaryItemName - the name of the primary item, or
null.declaredPropDefs - the declared property definitions.declaredNodeDefs - the declared child node definitions.
public QNodeTypeDefinitionImpl(NodeTypeDefinition def,
NamePathResolver resolver,
QValueFactory qValueFactory)
throws RepositoryException
QNodeTypeDefinitionImpl from a JCR
NodeType definition.
def - node type definitionresolver - resolverqValueFactory - value factory
RepositoryException - if an error occurs| Method Detail |
|---|
public Name getName()
getName in interface QNodeTypeDefinitionpublic Name[] getSupertypes()
getSupertypes in interface QNodeTypeDefinitionpublic boolean isMixin()
isMixin in interface QNodeTypeDefinitionpublic boolean isAbstract()
isAbstract in interface QNodeTypeDefinitionpublic boolean isQueryable()
isQueryable in interface QNodeTypeDefinitionpublic boolean hasOrderableChildNodes()
hasOrderableChildNodes in interface QNodeTypeDefinitionpublic Name getPrimaryItemName()
getPrimaryItemName in interface QNodeTypeDefinitionpublic QPropertyDefinition[] getPropertyDefs()
getPropertyDefs in interface QNodeTypeDefinitionpublic QNodeDefinition[] getChildNodeDefs()
getChildNodeDefs in interface QNodeTypeDefinitionpublic Collection<Name> getDependencies()
getDependencies in interface QNodeTypeDefinitionpublic Name[] getSupportedMixinTypes()
getSupportedMixinTypes in interface QNodeTypeDefinitionpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class ObjectObject.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||