|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttoolkit.db.api.ColumnInfo
public class ColumnInfo
Class ColumnInfo wraps all info of related columns.
| Field Summary | |
|---|---|
static int |
NON_REF_SELECT_COLUMN
Indicates that this column is a select column, but is not referenced in runtime PSQL query. |
static int |
NON_SELECT_COLUMN
Indicates that this column is not a select column. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares this ColumnInfo to the specified object. |
int |
getColumnIndex()
Get the index of where this column should appear in Select clause when creating a sql string. |
java.lang.String |
getColumnName()
Get real database name of this column. |
java.lang.String |
getExpression()
Get expression of this column. |
java.lang.String |
getMappingName()
Get mapping name of the column. |
TableInfo |
getTable()
Get TableInfo of the table that this column belongs to. |
boolean |
isCompCol()
Get whether this is a computed column. |
java.lang.String |
toString()
Returns a string representing this ColumnInfo's values. |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int NON_SELECT_COLUMN
public static final int NON_REF_SELECT_COLUMN
| Method Detail |
|---|
public java.lang.String getMappingName()
public java.lang.String getColumnName()
public java.lang.String getExpression()
public boolean isCompCol()
public TableInfo getTable()
public int getColumnIndex()
NON_SELECT_COLUMN,
NON_REF_SELECT_COLUMNpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
className@hashCode[ mappingName | columnName | correlationName | expression |
tableMappingName | isCompCol ]
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||