|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujoframework.orm.CriterionDecoder
public class CriterionDecoder
SQL Criterion Decoder.
| Constructor Summary | |
|---|---|
CriterionDecoder(Criterion criterion,
MetaDatabase database)
|
|
CriterionDecoder(Criterion e,
MetaTable ormTable)
|
|
| Method Summary | |
|---|---|
UjoProperty |
getBaseProperty()
Returns the first direct property. |
MetaColumn |
getColumn(int i)
Returns direct column |
int |
getColumnCount()
Returns a column count |
Criterion |
getCriterion()
Returns the criterion from costructor. |
Operator |
getOperator(int i)
Returns operator. |
protected UjoProperty[] |
getPropertyRelations()
Returns the unique direct property relations. |
MetaTable[] |
getTables(MetaTable baseTable)
Returns all participated tables include the parameter table. |
java.lang.Object |
getValue(int i)
Returns value |
java.lang.Object |
getValueExtended(int i)
Returns an extended value to the SQL statement |
java.lang.String |
getWhere()
Returns a SQL WHERE 'expression' of an empty string if no conditon is found. |
boolean |
isEmpty()
Is the SQL statement empty? |
protected void |
unpack(Criterion c)
Unpack criterion. |
protected void |
writeRelations()
Writer a relation conditions: |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CriterionDecoder(Criterion e,
MetaTable ormTable)
public CriterionDecoder(Criterion criterion,
MetaDatabase database)
| Method Detail |
|---|
protected void unpack(Criterion c)
public int getColumnCount()
public MetaColumn getColumn(int i)
public Operator getOperator(int i)
public java.lang.Object getValue(int i)
public java.lang.Object getValueExtended(int i)
public Criterion getCriterion()
public java.lang.String getWhere()
public boolean isEmpty()
public UjoProperty getBaseProperty()
protected void writeRelations()
protected UjoProperty[] getPropertyRelations()
public MetaTable[] getTables(MetaTable baseTable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||