SRJRCFrames
v0.1.296

de.schwarzrot.data.access.support
Class LowerBoundConditionElement

java.lang.Object
  extended by de.schwarzrot.data.access.support.AbstractConditionElement
      extended by de.schwarzrot.data.access.support.LowerBoundConditionElement
All Implemented Interfaces:
ConditionElement

public class LowerBoundConditionElement
extends AbstractConditionElement

class to model a lower limit for a condition

Author:
Reinhard Mantey

Field Summary
 
Fields inherited from class de.schwarzrot.data.access.support.AbstractConditionElement
cnvFactory, EMPTY_STRING
 
Constructor Summary
LowerBoundConditionElement(String name, Object value)
          constructor for manual instantiation, lower limit is not included in possible resultset
LowerBoundConditionElement(String name, Object value, boolean includeBoundary)
          constructor for manual instantiation.
 
Method Summary
 String getOpenOperator()
          returns the operator, that opens this condition.
 boolean isIncludeBoundary()
           
 void setIncludeBoundary(boolean includeBoundary)
           
 
Methods inherited from class de.schwarzrot.data.access.support.AbstractConditionElement
format, format, getCloseOperator, getName, getSeparator, getValue, setName, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LowerBoundConditionElement

public LowerBoundConditionElement(String name,
                                  Object value)
constructor for manual instantiation, lower limit is not included in possible resultset

Parameters:
name - - the name of the attribute
value - - the value of the attribute

LowerBoundConditionElement

public LowerBoundConditionElement(String name,
                                  Object value,
                                  boolean includeBoundary)
constructor for manual instantiation.

Parameters:
name - - the name of the attribute
value - - the value of the attribute
includeBoundary - - set to true, if the lower limit should be included into the resultset
Method Detail

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()

isIncludeBoundary

public final boolean isIncludeBoundary()

setIncludeBoundary

public final void setIncludeBoundary(boolean includeBoundary)

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
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.