SRJRCFrames
v0.1.296

de.schwarzrot.data.access.support
Class UpperBoundConditionElement

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

public class UpperBoundConditionElement
extends AbstractConditionElement

class to model a upper limit condition

Author:
Reinhard Mantey

Field Summary
 
Fields inherited from class de.schwarzrot.data.access.support.AbstractConditionElement
cnvFactory, EMPTY_STRING
 
Constructor Summary
UpperBoundConditionElement(String name, Object value)
          constructor for manual instantiation.
UpperBoundConditionElement(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

UpperBoundConditionElement

public UpperBoundConditionElement(String name,
                                  Object value)
constructor for manual instantiation. Limit value is not included in valid resultset

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

UpperBoundConditionElement

public UpperBoundConditionElement(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 you want the limit value included in the valid 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.