public class PropertyDefinitionImpl extends Object implements PropertyDefinition
PropertyDefinition interface.
All method calls are delegated to the wrapped QPropertyDefinition,
performing the translation from Names to JCR names
(and vice versa) where necessary.| Constructor and Description |
|---|
PropertyDefinitionImpl(QPropertyDefinition propDef,
AbstractNodeTypeManager ntMgr,
NamePathResolver resolver,
ValueFactory valueFactory) |
PropertyDefinitionImpl(QPropertyDefinition propDef,
NamePathResolver resolver,
ValueFactory valueFactory)
Package private constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String[] |
getAvailableQueryOperators() |
NodeType |
getDeclaringNodeType() |
Value[] |
getDefaultValues() |
String |
getName() |
int |
getOnParentVersion() |
int |
getRequiredType() |
String[] |
getValueConstraints() |
int |
hashCode() |
boolean |
isAutoCreated() |
boolean |
isFullTextSearchable() |
boolean |
isMandatory() |
boolean |
isMultiple() |
boolean |
isProtected() |
boolean |
isQueryOrderable() |
QPropertyDefinition |
unwrap()
Returns the wrapped property definition.
|
getClass, notify, notifyAll, toString, wait, wait, waitgetDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtectedpublic PropertyDefinitionImpl(QPropertyDefinition propDef, NamePathResolver resolver, ValueFactory valueFactory)
propDef - property definitionresolver - the name-path resolvervalueFactory - a value factorypublic PropertyDefinitionImpl(QPropertyDefinition propDef, AbstractNodeTypeManager ntMgr, NamePathResolver resolver, ValueFactory valueFactory)
propDef - underlying propdefntMgr - nodetype managerresolver - name-path resolvervalueFactory - value factory (for default values)public QPropertyDefinition unwrap()
public Value[] getDefaultValues()
getDefaultValues in interface PropertyDefinitionpublic int getRequiredType()
getRequiredType in interface PropertyDefinitionpublic String[] getValueConstraints()
getValueConstraints in interface PropertyDefinitionpublic boolean isMultiple()
isMultiple in interface PropertyDefinitionpublic String[] getAvailableQueryOperators()
getAvailableQueryOperators in interface PropertyDefinitionPropertyDefinition.getAvailableQueryOperators()public boolean isFullTextSearchable()
isFullTextSearchable in interface PropertyDefinitionPropertyDefinition.isFullTextSearchable()public boolean isQueryOrderable()
isQueryOrderable in interface PropertyDefinitionPropertyDefinition.isQueryOrderable()public 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 ItemDefinitionCopyright © 2010 - 2020 Adobe. All Rights Reserved