Class DatabaseViewFormulaEntry
- java.lang.Object
-
- lumis.portal.group.databaseviewmembership.DatabaseViewFormulaEntry
-
public class DatabaseViewFormulaEntry extends Object
An entry of the database view membership formula.- Since:
- 4.2.1
- Version:
- $Revision: 10458 $ $Date: 2009-06-02 15:49:09 -0300 (Tue, 02 Jun 2009) $
-
-
Constructor Summary
Constructors Constructor Description DatabaseViewFormulaEntry()
-
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.String
getId()
Returns the identifier of this entry.String
getLeftParentheses()
Returns a string containing left parentheses set in this entry.String
getLogicalOperator()
Returns the logical operator used between this entry and the next.String
getOperator()
Returns the operator used in this entry.int
getPosition()
Returns the position of this entry in the formula.String
getRightParentheses()
Returns a string containing right parentheses set in this entry.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(String leftParentheses)
Sets the left parentheses for this entry.void
setLogicalOperator(String logicalOperator)
Sets the logical operator used between this entry and the next.void
setOperator(String operator)
Sets the operator used in this entry.void
setPosition(int position)
Sets the position of this entry in the formula.void
setRightParentheses(String rightParentheses)
Sets the right parentheses for this entry.void
setValue(String value)
Sets the value that this entry operates on.
-
-
-
Method Detail
-
getId
public String getId()
Returns the identifier of this entry.- Returns:
- the identifier.
- Since:
- 4.2.1
-
getLeftParentheses
public 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(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 String getOperator()
Returns the operator used in this entry.- Returns:
- the operator.
- Since:
- 4.2.1
-
setOperator
public void setOperator(String operator)
Sets the operator used in this entry.- Parameters:
operator
- the operator.- Since:
- 4.2.1
-
getValue
public String getValue()
Returns the value that this entry operates on.- Returns:
- the value, in string format.
- Since:
- 4.2.1
-
setValue
public void setValue(String value)
Sets the value that this entry operates on.- Parameters:
value
- the value, in string format.- Since:
- 4.2.1
-
getRightParentheses
public 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(String rightParentheses)
Sets the right parentheses for this entry.- Parameters:
rightParentheses
- the right parentheses string.- Since:
- 4.2.1
-
getLogicalOperator
public String getLogicalOperator()
Returns the logical operator used between this entry and the next.- Returns:
IQueryFilter.FILTER_CONCATENATION_AND
orIQueryFilter.FILTER_CONCATENATION_OR
.- Since:
- 4.2.1
-
setLogicalOperator
public void setLogicalOperator(String logicalOperator)
Sets the logical operator used between this entry and the next.- Parameters:
logicalOperator
-IQueryFilter.FILTER_CONCATENATION_AND
orIQueryFilter.FILTER_CONCATENATION_OR
.- 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
-
-