public static class RawSql.ColumnMapping.Column extends Object implements Serializable
| Constructor and Description |
|---|
Column(int indexPos,
String dbColumn,
String dbAlias)
Construct a Column.
|
| Modifier and Type | Method and Description |
|---|---|
protected static String |
derivePropertyName(String dbAlias,
String dbColumn) |
boolean |
equals(Object o) |
String |
getDbColumn()
Return the DB column name including table alias (if it has one).
|
String |
getDbColumnKey()
Return the DB column alias if specified otherwise DB column.
|
int |
getIndexPos()
Return the index position of this column.
|
String |
getPropertyName()
Return the bean property this column is mapped to.
|
int |
hashCode() |
void |
tableAliasMapping(String path)
Prepend the path to the property name.
|
String |
toString() |
protected static String derivePropertyName(String dbAlias, String dbColumn)
public int getIndexPos()
public String getDbColumnKey()
public String getDbColumn()
public String getPropertyName()
public void tableAliasMapping(String path)
Copyright © 2016. All rights reserved.