public class RDBMSColumnDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
private String |
attributeName
Name of the attribute to map the column to.
|
private String |
columnName
Name of the database column.
|
private RDBMSDataConnector.DATA_TYPES |
dataType
Java data type to express the database value as.
|
Constructor and Description |
---|
RDBMSColumnDescriptor(String column,
String attribute,
RDBMSDataConnector.DATA_TYPES type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAttributeID()
Gets the name of the attribute to map the column to.
|
String |
getColumnName()
Gets the name of the database column.
|
RDBMSDataConnector.DATA_TYPES |
getDataType()
Gets the Java data type to express the database value as.
|
String |
toString() |
private String columnName
private String attributeName
private RDBMSDataConnector.DATA_TYPES dataType
public RDBMSColumnDescriptor(String column, String attribute, RDBMSDataConnector.DATA_TYPES type)
column
- name of the database columnattribute
- name of the attribute to map the column totype
- Java data type to express the database value aspublic String getColumnName()
public String getAttributeID()
public RDBMSDataConnector.DATA_TYPES getDataType()
Copyright © 1999-2012. All Rights Reserved.