Package org.apache.jackrabbit.spi
Interface QPropertyDefinition
-
- All Superinterfaces:
QItemDefinition
- All Known Implementing Classes:
QPropertyDefinitionImpl
public interface QPropertyDefinition extends QItemDefinition
QPropertyDefinitionis the SPI representation of aproperty definition. It refers toNames, SPI default values and value constraints only and is thus isolated from session-specific namespace mappings.- See Also:
PropertyDefinition
-
-
Field Summary
Fields Modifier and Type Field Description static QPropertyDefinition[]EMPTY_ARRAYEmpty array ofQPropertyDefinition.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]getAvailableQueryOperators()Returns the available query operators.QValue[]getDefaultValues()Returns the array of default values ornullif no default values are defined.intgetRequiredType()Returns the required type.QValueConstraint[]getValueConstraints()Returns the array of value constraints.booleanisFullTextSearchable()Reports whether this property definition is full text searchable.booleanisMultiple()Reports whether this property can have multiple values.booleanisQueryOrderable()Reports whether this property definition is query-orderable.-
Methods inherited from interface org.apache.jackrabbit.spi.QItemDefinition
definesNode, definesResidual, getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
-
-
-
-
Field Detail
-
EMPTY_ARRAY
static final QPropertyDefinition[] EMPTY_ARRAY
Empty array ofQPropertyDefinition.
-
-
Method Detail
-
getRequiredType
int getRequiredType()
Returns the required type.- Returns:
- the required type.
-
getValueConstraints
QValueConstraint[] getValueConstraints()
Returns the array of value constraints.- Returns:
- the array of value constraints.
-
getDefaultValues
QValue[] getDefaultValues()
Returns the array of default values ornullif no default values are defined.- Returns:
- the array of default values or
null
-
isMultiple
boolean isMultiple()
Reports whether this property can have multiple values.- Returns:
- the 'multiple' flag.
-
getAvailableQueryOperators
String[] getAvailableQueryOperators()
Returns the available query operators.- Returns:
- the available query operators.
- Since:
- JCR 2.0
-
isFullTextSearchable
boolean isFullTextSearchable()
Reports whether this property definition is full text searchable.- Returns:
trueif this property definition is full text searchable.- Since:
- JCR 2.0
-
isQueryOrderable
boolean isQueryOrderable()
Reports whether this property definition is query-orderable.- Returns:
trueif this property definition is query-orderable.- Since:
- JCR 2.0
-
-