|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jminor.common.db.criteria.SimpleCriteria<T>
public final class SimpleCriteria<T>
Encapsulates a simple free-form query criteria.
Constructor Summary | |
---|---|
SimpleCriteria(String criteriaString)
Instantiates a new SimpleCriteria |
|
SimpleCriteria(String criteriaString,
List<Object> values,
List<T> keys)
Instantiates a new SimpleCriteria |
Method Summary | |
---|---|
String |
asString()
|
List<T> |
getValueKeys()
|
List<Object> |
getValues()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleCriteria(String criteriaString)
criteriaString
- the criteria stringpublic SimpleCriteria(String criteriaString, List<Object> values, List<T> keys)
criteriaString
- the criteria stringvalues
- the values required by this criteria stringkeys
- the keys required by this criteria string, in the same order as their respective valuesMethod Detail |
---|
public String asString()
asString
in interface Criteria<T>
public List<Object> getValues()
getValues
in interface Criteria<T>
public List<T> getValueKeys()
getValueKeys
in interface Criteria<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |