Class MutableSongPropertyFilter

    • Constructor Detail

      • MutableSongPropertyFilter

        protected MutableSongPropertyFilter​(String property)
    • Method Detail

      • getName

        public abstract String getName()
      • getProperty

        public String getProperty()
      • supportsAutoCompletion

        public boolean supportsAutoCompletion()
        Indicates whether this filter supports auto completion. By default this method returns false
        Returns:
        true or false
      • installAutoCompletion

        public void installAutoCompletion​(WordListSource wordListSource)
        Lets you install an auto-completion word list for this filter.
        Parameters:
        wordListSource - word list source
        See Also:
        supportsAutoCompletion()
      • uninstallAutoCompletion

        public void uninstallAutoCompletion()
      • setFilterOperator

        public void setFilterOperator​(FilterOperator filterOperator)
      • getSupportedOperators

        public abstract FilterOperator[] getSupportedOperators()
      • getUnit

        public String getUnit()
      • getOperands

        public Object[] getOperands()
      • setOperands

        public void setOperands​(Object... operands)
      • setDefaultOperands

        public void setDefaultOperands​(Object... operands)
      • toExpression

        public String toExpression()
        Converts this filter into a HQL clause.
        Specified by:
        toExpression in interface SongFilter
        Returns:
        HQL expression
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object