public class TableData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static AttributeStorageDefinition |
MAXTYPEDEF
Used to get column data from the MaxAttribute table.
|
Constructor and Description |
---|
TableData(java.lang.String entityName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addDatabaseDefinition(java.lang.String colName,
java.lang.String typeName,
java.lang.Integer length,
java.lang.Integer scale,
java.lang.Boolean required,
java.lang.Integer attrNum)
Add a column definition as found in the database.
|
void |
addMaximoDefinition(java.lang.String colName,
java.lang.String maxType,
java.lang.Integer length,
java.lang.Integer scale,
java.lang.Boolean required,
java.lang.Integer attrNum)
Add a Maximo column definition.
|
boolean |
columnDataPaired()
Returns true if all columns are defined in the database and in Maximo.
|
java.util.Collection<ColumnData> |
getColumnData()
Returns the column data.
|
java.lang.String |
getTableName()
Get the name of the table.
|
public static final AttributeStorageDefinition MAXTYPEDEF
public TableData(java.lang.String entityName)
entityName
- The name of the table.public void addMaximoDefinition(java.lang.String colName, java.lang.String maxType, java.lang.Integer length, java.lang.Integer scale, java.lang.Boolean required, java.lang.Integer attrNum)
colName
- maxType
- length
- scale
- required
- attrNum
- This is for ordering the columns.public void addDatabaseDefinition(java.lang.String colName, java.lang.String typeName, java.lang.Integer length, java.lang.Integer scale, java.lang.Boolean required, java.lang.Integer attrNum)
colName
- maxType
- length
- scale
- required
- attrNum
- This is for ordering the columns.public boolean columnDataPaired()
public java.lang.String getTableName()
public java.util.Collection<ColumnData> getColumnData()