|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.jcr2spi.nodetype.PropertyDefinitionImpl
public class PropertyDefinitionImpl
This class implements the PropertyDefinition interface.
All method calls are delegated to the wrapped QPropertyDefinition,
performing the translation from Names to JCR names
(and vice versa) where necessary.
| Field Summary | |
|---|---|
protected static java.lang.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 |
equals(java.lang.Object o)
|
javax.jcr.nodetype.NodeType |
getDeclaringNodeType()
|
javax.jcr.Value[] |
getDefaultValues()
|
java.lang.String |
getName()
|
int |
getOnParentVersion()
|
int |
getRequiredType()
|
java.lang.String[] |
getValueConstraints()
|
int |
hashCode()
|
boolean |
isAutoCreated()
|
boolean |
isMandatory()
|
boolean |
isMultiple()
|
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 java.lang.String ANY_NAME
protected final NodeTypeManagerImpl ntMgr
protected final NamePathResolver resolver
protected final QItemDefinition itemDef
| Method Detail |
|---|
public javax.jcr.Value[] getDefaultValues()
getDefaultValues in interface javax.jcr.nodetype.PropertyDefinitionpublic int getRequiredType()
getRequiredType in interface javax.jcr.nodetype.PropertyDefinitionpublic java.lang.String[] getValueConstraints()
getValueConstraints in interface javax.jcr.nodetype.PropertyDefinitionpublic boolean isMultiple()
isMultiple in interface javax.jcr.nodetype.PropertyDefinitionpublic javax.jcr.nodetype.NodeType getDeclaringNodeType()
getDeclaringNodeType in interface javax.jcr.nodetype.ItemDefinitionpublic java.lang.String getName()
getName in interface javax.jcr.nodetype.ItemDefinitionpublic int getOnParentVersion()
getOnParentVersion in interface javax.jcr.nodetype.ItemDefinitionpublic boolean isAutoCreated()
isAutoCreated in interface javax.jcr.nodetype.ItemDefinitionpublic boolean isMandatory()
isMandatory in interface javax.jcr.nodetype.ItemDefinitionpublic boolean isProtected()
isProtected in interface javax.jcr.nodetype.ItemDefinitionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||