public class PropertyDefinitionImpl extends Object
PropertyDefinition
interface.
All method calls are delegated to the wrapped QPropertyDefinition
,
performing the translation from Name
s 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.
|
public 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()
public int getRequiredType()
public String[] getValueConstraints()
public boolean isMultiple()
public String[] getAvailableQueryOperators()
PropertyDefinition
public boolean isFullTextSearchable()
PropertyDefinition
public boolean isQueryOrderable()
PropertyDefinition
public NodeType getDeclaringNodeType()
public String getName()
public int getOnParentVersion()
public boolean isAutoCreated()
public boolean isMandatory()
public boolean isProtected()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"