|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.cpa.persistence.sql.query.QueryObject
org.castor.cpa.persistence.sql.query.expression.Expression
org.castor.cpa.persistence.sql.query.expression.Column
public final class Column
Class representing a column of the database table.
| Constructor Summary | |
|---|---|
Column(Qualifier qualifier,
String name)
Construct a column with given qualifier and name. |
|
Column(String name)
Construct a column that has no qualifier with given name. |
|
| Method Summary | |
|---|---|
String |
name()
Returns name of the column. |
Qualifier |
qualifier()
Returns qualifier the column belongs to. |
void |
toString(QueryContext ctx)
Append a string representation of the object to the given QueryContext. |
| Methods inherited from class org.castor.cpa.persistence.sql.query.expression.Expression |
|---|
equal, greaterEqual, greaterThan, isNotNull, isNull, lessEqual, lessThan, notEqual |
| Methods inherited from class org.castor.cpa.persistence.sql.query.QueryObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Column(String name)
name - Name of the column.
public Column(Qualifier qualifier,
String name)
qualifier - Qualifier the column belongs to.name - Name of the column.| Method Detail |
|---|
public Qualifier qualifier()
public String name()
public void toString(QueryContext ctx)
QueryObject
toString in class QueryObjectctx - QueryContext to append the string representation of the object to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||