|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.acmsl.queryj.Field
Represents SQL fields.
Constructor Summary | |
Field(java.lang.String name,
Table table)
Creates a field using given information. |
Method Summary | |
VariableCondition |
equals()
Retrieves the variable condition to be able to filter for equality. |
java.lang.String |
getName()
Retrieves the field name. |
Table |
getTable()
Retrieves the field table. |
VariableCondition |
greaterThan()
Retrieves the variable condition to be able to filter for lower values. |
VariableCondition |
in(SelectQuery query)
Retrieves the variable condition to be able to filter for values using belongs-to relationships. |
Condition |
isNull()
Retrieves the variable condition to be able to filter for null values. |
VariableCondition |
lessThan()
Retrieves the variable condition to be able to filter for greater values. |
VariableCondition |
notEquals()
Retrieves the variable condition to be able to filter for non-equality. |
VariableCondition |
notIn(SelectQuery query)
Retrieves the variable condition to be able to filter for values using not-belongs-to relationships. |
protected void |
setName(java.lang.String name)
Specifies the field name. |
protected void |
setTable(Table table)
Specifies the field table. |
java.lang.String |
toString()
Outputs a text version of the field. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Field(java.lang.String name, Table table)
name
- the field name.table
- the table.Method Detail |
protected void setName(java.lang.String name)
name
- the name.public java.lang.String getName()
protected void setTable(Table table)
table
- the table.public Table getTable()
public VariableCondition equals()
public VariableCondition notEquals()
public VariableCondition greaterThan()
public VariableCondition lessThan()
public VariableCondition in(SelectQuery query)
public VariableCondition notIn(SelectQuery query)
public Condition isNull()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |