SRJRCFrames
v0.1.296

de.schwarzrot.data.access.support
Class MinConditionElement

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

public class MinConditionElement
extends AbstractFunctionCondtion

create the condition string for queries, that want the max. value of given attribute. Such queries look like: select * from XXX where name = ( select min(name) from XXX )

Author:
Reinhard Mantey

Field Summary
 
Fields inherited from class de.schwarzrot.data.access.support.AbstractFunctionCondtion
CLOSE_OPERATOR, OPEN_OPERATOR
 
Fields inherited from class de.schwarzrot.data.access.support.AbstractConditionElement
cnvFactory, EMPTY_STRING
 
Constructor Summary
MinConditionElement(String name)
           
 
Method Summary
protected  String getFunction()
           
 
Methods inherited from class de.schwarzrot.data.access.support.AbstractFunctionCondtion
format, getCloseOperator, getOpenOperator
 
Methods inherited from class de.schwarzrot.data.access.support.AbstractConditionElement
format, 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

MinConditionElement

public MinConditionElement(String name)
Method Detail

getFunction

protected String getFunction()
Specified by:
getFunction in class AbstractFunctionCondtion

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.