|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.sqltools.sqlbuilder.views.criteria.CriteriaElement
public class CriteriaElement
CritieriaElement provides the IElement for the critera grid view. It is applicable for select, update, and delete statements
Constructor Summary | |
---|---|
CriteriaElement(SQLDomainModel domainModel,
java.lang.Object target,
java.lang.Object clause,
Predicate predicate,
boolean isHaving,
boolean firstClause)
|
Method Summary | |
---|---|
java.lang.String |
getAndOr()
If the current predicate is contained in a SearchConditionCombined, get the group operator. |
QueryValueExpression |
getColumn()
Return the "column" from the grid This corresponds to the left hand side of the predicate |
java.lang.String |
getColumnText(int columnIndex)
Get the mof value and return it |
java.lang.ref.WeakReference |
getCriteriaElementVectorRef()
|
Predicate |
getCurrentPredicate()
Return the lists of SQLPredicates that made up the search conditon |
boolean |
getFirstClause()
|
java.lang.String |
getOperator()
Return the comparison operator |
QuerySearchCondition |
getSearchCondition()
Return the Search Condition for the current statement |
SearchConditionHelper |
getSearchConditionHelper()
Return the lists of SQLPredicates that made up the search conditon |
SQLQueryObject |
getSQLStatement()
Return the current statement (either select, update, or delete) |
java.lang.String |
getValue()
Return the "value" from the grid This corresponds to the right hand side of the predicate |
boolean |
setAndOr(java.lang.String andOrString)
|
void |
setCriteriaElementVectorRef(java.lang.ref.WeakReference criteriaElementVectorRef)
|
void |
setElementProperty(java.lang.Object key,
java.lang.Object propValue)
Set the mof object from the grid value |
QueryValueExpression |
showExpressionBuilder(boolean isColumn,
java.lang.String sProperty)
Launch the expression builder |
QueryValueExpression |
showExpressionBuilder(java.lang.Object key,
boolean isColumn,
java.lang.String sProperty)
Launch the expression builder |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CriteriaElement(SQLDomainModel domainModel, java.lang.Object target, java.lang.Object clause, Predicate predicate, boolean isHaving, boolean firstClause)
target
- - a select, update or delete SQL statementwhereClause
- - the where clause part of the above statementpredicate
- - the predicate the made up the table rowprovide
- - the content provider that creates this elementMethod Detail |
---|
public boolean getFirstClause()
public Predicate getCurrentPredicate()
public SearchConditionHelper getSearchConditionHelper()
public SQLQueryObject getSQLStatement()
public QuerySearchCondition getSearchCondition()
public void setElementProperty(java.lang.Object key, java.lang.Object propValue)
public java.lang.String getColumnText(int columnIndex)
public QueryValueExpression getColumn()
public java.lang.String getValue()
public java.lang.String getOperator()
public java.lang.String getAndOr()
public boolean setAndOr(java.lang.String andOrString)
public QueryValueExpression showExpressionBuilder(boolean isColumn, java.lang.String sProperty)
public QueryValueExpression showExpressionBuilder(java.lang.Object key, boolean isColumn, java.lang.String sProperty)
public java.lang.ref.WeakReference getCriteriaElementVectorRef()
public void setCriteriaElementVectorRef(java.lang.ref.WeakReference criteriaElementVectorRef)
criteriaElementVectorRef
- The criteriaElementVectorRef to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |