Interface QPropertyDefinition

All Superinterfaces:
QItemDefinition
All Known Implementing Classes:
QPropertyDefinitionImpl

public interface QPropertyDefinition extends QItemDefinition
QPropertyDefinition is the SPI representation of a property definition. It refers to Names, SPI default values and value constraints only and is thus isolated from session-specific namespace mappings.
See Also:
  • Field Details

    • EMPTY_ARRAY

      static final QPropertyDefinition[] EMPTY_ARRAY
      Empty array of QPropertyDefinition.
  • Method Details

    • 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 or null 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

      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