Class DatabaseViewFormulaEntry


  • public class DatabaseViewFormulaEntry
    extends java.lang.Object
    An entry of the database view membership formula.
    Since:
    4.2.1
    Version:
    $Revision$ $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DatabaseViewField getField()
      Returns the field this entry operates on.
      DatabaseViewGroupConfig getGroupConfig()
      Returns the group configuration this formula entry belongs to.
      java.lang.String getId()
      Returns the identifier of this entry.
      java.lang.String getLeftParentheses()
      Returns a string containing left parentheses set in this entry.
      java.lang.String getLogicalOperator()
      Returns the logical operator used between this entry and the next.
      java.lang.String getOperator()
      Returns the operator used in this entry.
      int getPosition()
      Returns the position of this entry in the formula.
      java.lang.String getRightParentheses()
      Returns a string containing right parentheses set in this entry.
      java.lang.String getValue()
      Returns the value that this entry operates on.
      void setField​(DatabaseViewField field)
      Sets the field this entry operates on.
      void setGroupConfig​(DatabaseViewGroupConfig groupConfig)
      Sets the group configuration this formula entry belongs to.
      void setLeftParentheses​(java.lang.String leftParentheses)
      Sets the left parentheses for this entry.
      void setLogicalOperator​(java.lang.String logicalOperator)
      Sets the logical operator used between this entry and the next.
      void setOperator​(java.lang.String operator)
      Sets the operator used in this entry.
      void setPosition​(int position)
      Sets the position of this entry in the formula.
      void setRightParentheses​(java.lang.String rightParentheses)
      Sets the right parentheses for this entry.
      void setValue​(java.lang.String value)
      Sets the value that this entry operates on.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DatabaseViewFormulaEntry

        public DatabaseViewFormulaEntry()
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns the identifier of this entry.
        Returns:
        the identifier.
        Since:
        4.2.1
      • getLeftParentheses

        public java.lang.String getLeftParentheses()
        Returns a string containing left parentheses set in this entry.
        Returns:
        the left parentheses string.
        Since:
        4.2.1
      • setLeftParentheses

        public void setLeftParentheses​(java.lang.String leftParentheses)
        Sets the left parentheses for this entry.
        Parameters:
        leftParentheses - the left parentheses string.
        Since:
        4.2.1
      • getField

        public DatabaseViewField getField()
        Returns the field this entry operates on.
        Returns:
        the field.
        Since:
        4.2.1
      • setField

        public void setField​(DatabaseViewField field)
        Sets the field this entry operates on.
        Parameters:
        field - the field.
        Since:
        4.2.1
      • getOperator

        public java.lang.String getOperator()
        Returns the operator used in this entry.
        Returns:
        the operator.
        Since:
        4.2.1
      • setOperator

        public void setOperator​(java.lang.String operator)
        Sets the operator used in this entry.
        Parameters:
        operator - the operator.
        Since:
        4.2.1
      • getValue

        public java.lang.String getValue()
        Returns the value that this entry operates on.
        Returns:
        the value, in string format.
        Since:
        4.2.1
      • setValue

        public void setValue​(java.lang.String value)
        Sets the value that this entry operates on.
        Parameters:
        value - the value, in string format.
        Since:
        4.2.1
      • getRightParentheses

        public java.lang.String getRightParentheses()
        Returns a string containing right parentheses set in this entry.
        Returns:
        the right parentheses string.
        Since:
        4.2.1
      • setRightParentheses

        public void setRightParentheses​(java.lang.String rightParentheses)
        Sets the right parentheses for this entry.
        Parameters:
        rightParentheses - the right parentheses string.
        Since:
        4.2.1
      • getPosition

        public int getPosition()
        Returns the position of this entry in the formula.
        Returns:
        the position.
        Since:
        4.2.1
      • setPosition

        public void setPosition​(int position)
        Sets the position of this entry in the formula.
        Parameters:
        position - the position.
        Since:
        4.2.1
      • getGroupConfig

        public DatabaseViewGroupConfig getGroupConfig()
        Returns the group configuration this formula entry belongs to.
        Returns:
        the group configuration.
        Since:
        4.2.1
      • setGroupConfig

        public void setGroupConfig​(DatabaseViewGroupConfig groupConfig)
        Sets the group configuration this formula entry belongs to.
        Parameters:
        groupConfig - the group configuration.
        Since:
        4.2.1