public class QNodeTypeDefinitionImpl extends Object implements org.apache.jackrabbit.spi.QNodeTypeDefinition, Serializable
QNodeTypeDefinitionImpl implements a serializable SPI node
type definition.| Constructor and Description |
|---|
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)
Create a a new
QNodeTypeDefinitionImpl from a JCR
NodeType definition. |
QNodeTypeDefinitionImpl(org.apache.jackrabbit.spi.QNodeTypeDefinition nt)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
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 factoryRepositoryException - if an error occurspublic 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()Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.