public final class ConditionPart extends QueryCriteriaPart
Constructor and Description |
---|
ConditionPart(String statement,
Object... values) |
Modifier and Type | Method and Description |
---|---|
void |
collectParameterValues(List<Object> values) |
void |
collectSqlFragment(CodeWriter writer) |
int |
getConditionCount() |
boolean |
getHasValue() |
String |
getStatement() |
Object[] |
getValues() |
boolean |
isApplicable() |
add, add, addFirst, addFirst, getParts
getParameterValues, getSqlFragment, isPretty, printSqlParts, setPretty, toString
public String getStatement()
public Object[] getValues()
public boolean getHasValue()
public boolean isApplicable()
isApplicable
in class QueryCriteriaPart
public int getConditionCount()
getConditionCount
in class QueryCriteriaPart
public void collectSqlFragment(CodeWriter writer)
collectSqlFragment
in class SqlPart
public void collectParameterValues(List<Object> values)
collectParameterValues
in class QueryCriteriaPart
Copyright (c) 2006-2023 North Concepts Inc. All Rights Reserved.