|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.jcr2spi.nodetype.NodeDefinitionImpl
public class NodeDefinitionImpl
This class implements the NodeDefinition interface.
All method calls are delegated to the wrapped QNodeDefinition,
performing the translation from Names to JCR names
where necessary.
| Field Summary | |
|---|---|
protected static String |
ANY_NAME
Literal for 'any name'. |
protected QItemDefinition |
itemDef
The wrapped item definition. |
protected NodeTypeManagerImpl |
ntMgr
The node type manager of this session. |
protected NamePathResolver |
resolver
The namespace resolver used to translate qualified names to JCR names. |
| Method Summary | |
|---|---|
boolean |
allowsSameNameSiblings()
|
boolean |
equals(Object o)
|
NodeType |
getDeclaringNodeType()
|
NodeType |
getDefaultPrimaryType()
|
String |
getName()
|
int |
getOnParentVersion()
|
NodeType[] |
getRequiredPrimaryTypes()
|
int |
hashCode()
|
boolean |
isAutoCreated()
|
boolean |
isMandatory()
|
boolean |
isProtected()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.jcr.nodetype.ItemDefinition |
|---|
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected |
| Field Detail |
|---|
protected static final String ANY_NAME
protected final NodeTypeManagerImpl ntMgr
protected final NamePathResolver resolver
protected final QItemDefinition itemDef
| Method Detail |
|---|
public NodeType getDefaultPrimaryType()
getDefaultPrimaryType in interface NodeDefinitionpublic NodeType[] getRequiredPrimaryTypes()
getRequiredPrimaryTypes in interface NodeDefinitionpublic boolean allowsSameNameSiblings()
allowsSameNameSiblings in interface NodeDefinitionpublic NodeType getDeclaringNodeType()
getDeclaringNodeType in interface ItemDefinitionpublic String getName()
getName in interface ItemDefinitionpublic int getOnParentVersion()
getOnParentVersion in interface ItemDefinitionpublic boolean isAutoCreated()
isAutoCreated in interface ItemDefinitionpublic boolean isMandatory()
isMandatory in interface ItemDefinitionpublic boolean isProtected()
isProtected in interface ItemDefinitionpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||