|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.businessobjects.customds.common.ColumnSpec
public class ColumnSpec
The ColumnSpec class is used to identify details such as name and data type of the data provider object (column)
used in the data provider.
| Constructor Summary | |
|---|---|
ColumnSpec()
Class Constructor - When using this constructor, by default, the column name will be an empty string and type ObjectTypes.STRING. |
|
ColumnSpec(java.lang.String columnName)
Class Constructor - Defaults object (column) data type to ObjectTypes.STRING. |
|
ColumnSpec(java.lang.String columnName,
int columnType)
Class Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Internal Use Only |
java.lang.String |
getColumnName()
Returns the name of the object (column). |
int |
getColumnType()
Returns the data type of the object (column). |
int |
hashCode()
Internal Use Only |
void |
setColumnName(java.lang.String columnName)
Sets the name of the object (column). |
void |
setColumnType(int columnType)
Sets the data type of the object (column). |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnSpec()
When using this constructor, by default, the column name will be an empty string and type ObjectTypes.STRING.
Use setter methods to set the column names and object types explicitly.
public ColumnSpec(java.lang.String columnName)
throws DataSourceException
ObjectTypes.STRING.
columnName - Name of the object (column).
DataSourceException - if columnName is null.ObjectTypes
public ColumnSpec(java.lang.String columnName,
int columnType)
throws DataSourceException
columnName - Name of the object (column)columnType - Data type of the object (column)
DataSourceException - if columnName is null or if columnType
is not one of the data types defined in ObjectTypes.ObjectTypes| Method Detail |
|---|
public java.lang.String getColumnName()
public void setColumnName(java.lang.String columnName)
throws DataSourceException
columnName - The name of the object (column).
DataSourceException - if columnName is null.public int getColumnType()
int value corresponding to the data type of the object (column).
public void setColumnType(int columnType)
throws DataSourceException
columnType - The int value corresponding to the column type.
DataSourceException - if columnType is not one of the data types defined in ObjectTypes.ObjectTypespublic int hashCode()
Internal Use Only
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
Internal Use Only
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||