Package org.apache.jackrabbit.spi
Interface QPropertyDefinition
-
- All Superinterfaces:
QItemDefinition
- All Known Implementing Classes:
QPropertyDefinitionImpl
public interface QPropertyDefinition extends QItemDefinition
QPropertyDefinition
is the SPI representation of aproperty definition
. It refers toName
s, 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_ARRAY
Empty array ofQPropertyDefinition
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]
getAvailableQueryOperators()
Returns the available query operators.QValue[]
getDefaultValues()
Returns the array of default values ornull
if no default values are defined.int
getRequiredType()
Returns the required type.QValueConstraint[]
getValueConstraints()
Returns the array of value constraints.boolean
isFullTextSearchable()
Reports whether this property definition is full text searchable.boolean
isMultiple()
Reports whether this property can have multiple values.boolean
isQueryOrderable()
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 ornull
if 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
java.lang.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:
true
if this property definition is full text searchable.- Since:
- JCR 2.0
-
isQueryOrderable
boolean isQueryOrderable()
Reports whether this property definition is query-orderable.- Returns:
true
if this property definition is query-orderable.- Since:
- JCR 2.0
-
-