SRJRCFrames
v0.1.296

de.schwarzrot.data.access.support
Class MaxConditionElement

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.MaxConditionElement
All Implemented Interfaces:
ConditionElement

public class MaxConditionElement
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 max(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
MaxConditionElement(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

MaxConditionElement

public MaxConditionElement(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.