com.avaje.ebean
Class RawSql.ColumnMapping.Column
java.lang.Object
com.avaje.ebean.RawSql.ColumnMapping.Column
- Enclosing class:
- RawSql.ColumnMapping
-
public static class RawSql.ColumnMapping.Column
- extends Object
-
A Column of the RawSql that is mapped to a bean property (or ignored).
Method Summary |
String |
getDbAlias()
Return the DB column alias (if it has one). |
String |
getDbColumn()
Return the DB column name including table alias (if it has one). |
int |
getIndexPos()
Return the index position of this column. |
String |
getPropertyName()
Return the bean property this column is mapped to. |
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RawSql.ColumnMapping.Column
public RawSql.ColumnMapping.Column(int indexPos,
String dbColumn,
String dbAlias)
-
Construct a Column.
toString
public String toString()
-
- Overrides:
toString
in class Object
-
getIndexPos
public int getIndexPos()
-
Return the index position of this column.
-
getDbColumn
public String getDbColumn()
-
Return the DB column name including table alias (if it has one).
-
getDbAlias
public String getDbAlias()
-
Return the DB column alias (if it has one).
-
getPropertyName
public String getPropertyName()
-
Return the bean property this column is mapped to.
-
Copyright © 2010. All Rights Reserved.