|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.talend.esb.sam.server.persistence.criterias.Criteria
public abstract class Criteria
Criterias used for searching and filtering.
| Field Summary | |
|---|---|
protected String |
columnName
|
protected String |
name
|
| Constructor Summary | |
|---|---|
Criteria(String name,
String colunmName)
Instantiates a new criteria. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
abstract StringBuilder |
getFilterClause()
Returns something like (COLUMN = :name). |
String |
getName()
Gets the name. |
abstract Object |
getValue()
Returns a value of the Criteria that in suitable SQL type. |
int |
hashCode()
|
abstract Criteria[] |
parseValue(String attribute)
Creates a copy of the given Criteria populated
with the parsed value or throws an exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final String name
protected final String columnName
| Constructor Detail |
|---|
public Criteria(String name,
String colunmName)
name - the namecolunmName - the colunm name| Method Detail |
|---|
public String getName()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic abstract Criteria[] parseValue(String attribute)
Criteria populated
with the parsed value or throws an exception.
attribute - the attribute
public abstract Object getValue()
public abstract StringBuilder getFilterClause()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||