|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.nodetype.PropertyDefinitionImpl
public class PropertyDefinitionImpl
This class implements the PropertyDefinition
interface.
All method calls are delegated to the wrapped PropDef
,
performing the translation from Name
s to JCR names
(and vice versa) where necessary.
Field Summary | |
---|---|
protected static String |
ANY_NAME
Literal for 'any name'. |
protected ItemDef |
itemDef
The wrapped item definition. |
protected NodeTypeManagerImpl |
ntMgr
The node type manager of this session. |
protected NamePathResolver |
resolver
The name/path resolver used to translate qualified names to JCR names. |
Method Summary | |
---|---|
boolean |
definesResidual()
Checks whether this is a residual item definition. |
boolean |
equals(Object o)
|
NodeType |
getDeclaringNodeType()
|
Value[] |
getDefaultValues()
|
String |
getName()
|
int |
getOnParentVersion()
|
Name |
getQName()
Gets the Name of the child item. |
int |
getRequiredType()
|
String[] |
getValueConstraints()
|
int |
hashCode()
|
boolean |
isAutoCreated()
|
boolean |
isMandatory()
|
boolean |
isMultiple()
|
boolean |
isProtected()
|
PropDef |
unwrap()
Returns the wrapped property definition. |
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 ItemDef itemDef
Method Detail |
---|
public PropDef unwrap()
public Value[] getDefaultValues()
getDefaultValues
in interface PropertyDefinition
public int getRequiredType()
getRequiredType
in interface PropertyDefinition
public String[] getValueConstraints()
getValueConstraints
in interface PropertyDefinition
public boolean isMultiple()
isMultiple
in interface PropertyDefinition
public boolean definesResidual()
true
if this is a residual item definitionpublic Name getQName()
Name
of the child item. It is an error to
call this method if this is a residual item definition.
Name
of the child item.getName()
public NodeType getDeclaringNodeType()
getDeclaringNodeType
in interface ItemDefinition
public String getName()
getName
in interface ItemDefinition
public int getOnParentVersion()
getOnParentVersion
in interface ItemDefinition
public boolean isAutoCreated()
isAutoCreated
in interface ItemDefinition
public boolean isMandatory()
isMandatory
in interface ItemDefinition
public boolean isProtected()
isProtected
in interface ItemDefinition
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |