public class PropertyDefinitionImpl
extends java.lang.Object
implements javax.jcr.nodetype.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,
javax.jcr.ValueFactory valueFactory) |
PropertyDefinitionImpl(QPropertyDefinition propDef,
NamePathResolver resolver,
javax.jcr.ValueFactory valueFactory)
Package private constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String[] |
getAvailableQueryOperators() |
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 |
isFullTextSearchable() |
boolean |
isMandatory() |
boolean |
isMultiple() |
boolean |
isProtected() |
boolean |
isQueryOrderable() |
QPropertyDefinition |
unwrap()
Returns the wrapped property definition.
|
public PropertyDefinitionImpl(QPropertyDefinition propDef, NamePathResolver resolver, javax.jcr.ValueFactory valueFactory)
propDef - property definitionresolver - the name-path resolvervalueFactory - a value factorypublic PropertyDefinitionImpl(QPropertyDefinition propDef, AbstractNodeTypeManager ntMgr, NamePathResolver resolver, javax.jcr.ValueFactory valueFactory)
propDef - underlying propdefntMgr - nodetype managerresolver - name-path resolvervalueFactory - value factory (for default values)public QPropertyDefinition unwrap()
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 java.lang.String[] getAvailableQueryOperators()
getAvailableQueryOperators in interface javax.jcr.nodetype.PropertyDefinitionPropertyDefinition.getAvailableQueryOperators()public boolean isFullTextSearchable()
isFullTextSearchable in interface javax.jcr.nodetype.PropertyDefinitionPropertyDefinition.isFullTextSearchable()public boolean isQueryOrderable()
isQueryOrderable in interface javax.jcr.nodetype.PropertyDefinitionPropertyDefinition.isQueryOrderable()public 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.ObjectCopyright © 2010 - 2025 Adobe. All Rights Reserved