public class PropertyDefinitionImpl
extends java.lang.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(java.lang.Object o) |
java.lang.String[] |
getAvailableQueryOperators() |
NodeType |
getDeclaringNodeType() |
Value[] |
getDefaultValues() |
java.lang.String |
getName() |
int |
getOnParentVersion() |
int |
getRequiredType() |
java.lang.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 java.lang.String[] getValueConstraints()
public boolean isMultiple()
public java.lang.String[] getAvailableQueryOperators()
javax.jcr.nodetype.PropertyDefinition#getAvailableQueryOperators()
public boolean isFullTextSearchable()
javax.jcr.nodetype.PropertyDefinition#isFullTextSearchable()
public boolean isQueryOrderable()
javax.jcr.nodetype.PropertyDefinition#isQueryOrderable()
public NodeType getDeclaringNodeType()
public java.lang.String getName()
public int getOnParentVersion()
public boolean isAutoCreated()
public boolean isMandatory()
public boolean isProtected()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"