|
||||||||||
| 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
org.talend.esb.sam.server.persistence.criterias.PatternCriteria
public class PatternCriteria
Criteria for patterns.
| Field Summary |
|---|
| Fields inherited from class org.talend.esb.sam.server.persistence.criterias.Criteria |
|---|
columnName, name |
| Constructor Summary | |
|---|---|
PatternCriteria(String name,
String colunmName)
Instantiates a new pattern criteria. |
|
PatternCriteria(String name,
String columnName,
String condition)
Conditional pattern criteria. |
|
| Method Summary | |
|---|---|
StringBuilder |
getFilterClause()
Returns something like (COLUMN = :name). |
Object |
getValue()
Returns a value of the Criteria that in suitable SQL type. |
Criteria[] |
parseValue(String attribute)
Creates a copy of the given Criteria populated
with the parsed value or throws an exception. |
| Methods inherited from class org.talend.esb.sam.server.persistence.criterias.Criteria |
|---|
equals, getName, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PatternCriteria(String name,
String colunmName)
name - the namecolunmName - the column name
public PatternCriteria(String name,
String columnName,
String condition)
name - the namecolumnName - the column namecondition - condition that will be concatenated to the pattern condition| Method Detail |
|---|
public Criteria[] parseValue(String attribute)
CriteriaCriteria populated
with the parsed value or throws an exception.
parseValue in class Criteriaattribute - the attribute
public Object getValue()
Criteria
getValue in class Criteriapublic StringBuilder getFilterClause()
Criteria
getFilterClause in class Criteria
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||