|
||||||||||
| 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(org.apache.jackrabbit.spi.Name name,
org.apache.jackrabbit.spi.Name[] supertypes,
org.apache.jackrabbit.spi.Name[] supportedMixins,
boolean isMixin,
boolean isAbstract,
boolean isQueryable,
boolean hasOrderableChildNodes,
org.apache.jackrabbit.spi.Name primaryItemName,
org.apache.jackrabbit.spi.QPropertyDefinition[] declaredPropDefs,
org.apache.jackrabbit.spi.QNodeDefinition[] declaredNodeDefs)
Creates a new serializable SPI node type definition. |
|
QNodeTypeDefinitionImpl(NodeTypeDefinition def,
NamePathResolver resolver,
org.apache.jackrabbit.spi.QValueFactory qValueFactory)
Createa a new QNodeTypeDefinitionImpl from a JCR
NodeType definition. |
|
QNodeTypeDefinitionImpl(org.apache.jackrabbit.spi.QNodeTypeDefinition nt)
Copy constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
org.apache.jackrabbit.spi.QNodeDefinition[] |
getChildNodeDefs()
|
Collection<org.apache.jackrabbit.spi.Name> |
getDependencies()
|
org.apache.jackrabbit.spi.Name |
getName()
|
org.apache.jackrabbit.spi.Name |
getPrimaryItemName()
|
org.apache.jackrabbit.spi.QPropertyDefinition[] |
getPropertyDefs()
|
org.apache.jackrabbit.spi.Name[] |
getSupertypes()
|
org.apache.jackrabbit.spi.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(org.apache.jackrabbit.spi.QNodeTypeDefinition nt)
nt - the node type definition.
public QNodeTypeDefinitionImpl(org.apache.jackrabbit.spi.Name name,
org.apache.jackrabbit.spi.Name[] supertypes,
org.apache.jackrabbit.spi.Name[] supportedMixins,
boolean isMixin,
boolean isAbstract,
boolean isQueryable,
boolean hasOrderableChildNodes,
org.apache.jackrabbit.spi.Name primaryItemName,
org.apache.jackrabbit.spi.QPropertyDefinition[] declaredPropDefs,
org.apache.jackrabbit.spi.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,
org.apache.jackrabbit.spi.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 org.apache.jackrabbit.spi.Name getName()
getName in interface org.apache.jackrabbit.spi.QNodeTypeDefinitionpublic org.apache.jackrabbit.spi.Name[] getSupertypes()
getSupertypes in interface org.apache.jackrabbit.spi.QNodeTypeDefinitionpublic boolean isMixin()
isMixin in interface org.apache.jackrabbit.spi.QNodeTypeDefinitionpublic boolean isAbstract()
isAbstract in interface org.apache.jackrabbit.spi.QNodeTypeDefinitionpublic boolean isQueryable()
isQueryable in interface org.apache.jackrabbit.spi.QNodeTypeDefinitionpublic boolean hasOrderableChildNodes()
hasOrderableChildNodes in interface org.apache.jackrabbit.spi.QNodeTypeDefinitionpublic org.apache.jackrabbit.spi.Name getPrimaryItemName()
getPrimaryItemName in interface org.apache.jackrabbit.spi.QNodeTypeDefinitionpublic org.apache.jackrabbit.spi.QPropertyDefinition[] getPropertyDefs()
getPropertyDefs in interface org.apache.jackrabbit.spi.QNodeTypeDefinitionpublic org.apache.jackrabbit.spi.QNodeDefinition[] getChildNodeDefs()
getChildNodeDefs in interface org.apache.jackrabbit.spi.QNodeTypeDefinitionpublic Collection<org.apache.jackrabbit.spi.Name> getDependencies()
getDependencies in interface org.apache.jackrabbit.spi.QNodeTypeDefinitionpublic org.apache.jackrabbit.spi.Name[] getSupportedMixinTypes()
getSupportedMixinTypes in interface org.apache.jackrabbit.spi.QNodeTypeDefinitionpublic boolean equals(Object obj)
equals in class ObjectObject.equals(Object)public int hashCode()
hashCode in class ObjectObject.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||