|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.gps.device.jdbc.mapping.AbstractColumnMapping
public class AbstractColumnMapping
A helper base class for columns base mappings.
| Constructor Summary | |
|---|---|
AbstractColumnMapping()
|
|
AbstractColumnMapping(int columnIndex)
|
|
AbstractColumnMapping(String columnName)
|
|
| Method Summary | |
|---|---|
int |
getColumnIndex()
Returns the column index. |
String |
getColumnName()
Returns the column name. |
boolean |
isUsingColumnIndex()
Returns true if using the column index to map the column,
false if using the column name. |
void |
setColumnIndex(int columnIndex)
|
void |
setColumnName(String column)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractColumnMapping()
public AbstractColumnMapping(String columnName)
public AbstractColumnMapping(int columnIndex)
| Method Detail |
|---|
public String getColumnName()
ColumnMapping
getColumnName in interface ColumnMappingpublic void setColumnName(String column)
public int getColumnIndex()
ColumnMapping
getColumnIndex in interface ColumnMappingpublic void setColumnIndex(int columnIndex)
public boolean isUsingColumnIndex()
ColumnMappingtrue if using the column index to map the column,
false if using the column name.
isUsingColumnIndex in interface ColumnMappingpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||