de.schwarzrot.data.access.support
Class InListConditionElement
java.lang.Object
de.schwarzrot.data.access.support.AbstractConditionElement
de.schwarzrot.data.access.support.InListConditionElement
- All Implemented Interfaces:
- ConditionElement
public class InListConditionElement
- extends AbstractConditionElement
models a condition like the sql condition: in ( a, b, c ), where the
assembling of the condition is performed by the DbUtil instance.
- Author:
- Reinhard Mantey
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPEN_OPERATOR
protected static final String OPEN_OPERATOR
- See Also:
- Constant Field Values
CLOSE_OPERATOR
protected static final String CLOSE_OPERATOR
- See Also:
- Constant Field Values
SEPARATOR
protected static final String SEPARATOR
- See Also:
- Constant Field Values
InListConditionElement
public InListConditionElement(String name,
List<?> values)
InListConditionElement
public InListConditionElement(String name,
Object[] values)
getCloseOperator
public String getCloseOperator()
- Description copied from interface:
ConditionElement
- returns the operator, that closes a condition. For simple conditions this
call will return an empty string only.
- Specified by:
getCloseOperator
in interface ConditionElement
- Overrides:
getCloseOperator
in class AbstractConditionElement
- Returns:
- an operator
- See Also:
ConditionElement.getOpenOperator()
getOpenOperator
public String getOpenOperator()
- Description copied from interface:
ConditionElement
- returns the operator, that opens this condition. Simple conditions like
'Equal' only have a single operator, so it is returned as opening
operator.
- Returns:
- an operator
- See Also:
ConditionElement.getCloseOperator()
getSeparator
public String getSeparator()
- Description copied from interface:
ConditionElement
- returns the separator used to assemble sofisticated conditions. For
simple conditions, this call will return an empty string only.
- Specified by:
getSeparator
in interface ConditionElement
- Overrides:
getSeparator
in class AbstractConditionElement
- Returns:
- a separator
Submit
a bug or request a feature
SRJRCFrames is published according to the
GNU General Public License
Copyright 2005-2012
Reinhard Mantey - some rights reserved.