public class ColumnData
extends java.lang.Object
Constructor and Description |
---|
ColumnData(java.lang.String tableName,
java.lang.String colName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getColumnName()
The column's name.
|
java.lang.Integer |
getDbLength()
Return the column length as found in the database.
|
java.lang.Integer |
getDbOrdering()
Set the positional order of the column in the database.
|
java.lang.Integer |
getDbScale()
Return the column scale as found in the database.
|
java.lang.String |
getDbType()
Return the column type as found in the database.
|
java.lang.Integer |
getMaxLength()
Return the length defined in Maximo.
|
java.lang.Integer |
getMaxOrdering()
Return the ordering position as defined in Maximo.
|
java.lang.Integer |
getMaxScale()
Return the scale defined in Maximo.
|
java.lang.String |
getMaxType()
Return the MaxType for Maximo.
|
java.lang.Boolean |
getRequired()
Required according to Maximo?
|
java.lang.String |
getTableName()
The table that has the column.
|
boolean |
hasDatabaseDef()
Is this column found in the database?
|
boolean |
hasMaximoDef()
Is this column defined in the Maximo framework table MaxAttribute?
|
void |
setDbLength(java.lang.Integer length)
Set the length as found in the database.
|
void |
setDbOrdering(java.lang.Integer dbOrdering)
Set the positional order of the column in the database.
|
void |
setDbScale(java.lang.Integer scale)
Set the scale as found in the database.
|
void |
setDbType(java.lang.String typeName)
Set the type as found in the database.
|
void |
setMaxLength(java.lang.Integer length)
Set the length found in Maximo.
|
void |
setMaxOrdering(java.lang.Integer attrNum)
Set the positional order found in Maximo.
|
void |
setMaxRequired(java.lang.Boolean required)
Set the requiredness found in Maximo.
|
void |
setMaxScale(java.lang.Integer scale)
Set the scale found in Maximo.
|
void |
setMaxType(java.lang.String maxType)
Set the MaxType found in Maximo.
|
void |
setRequired(java.lang.Boolean required)
Set required according to Maximo
|
public ColumnData(java.lang.String tableName, java.lang.String colName)
public boolean hasDatabaseDef()
public boolean hasMaximoDef()
public java.lang.Boolean getRequired()
public void setRequired(java.lang.Boolean required)
public java.lang.String getColumnName()
public java.lang.String getMaxType()
public java.lang.Integer getMaxLength()
public java.lang.Integer getMaxScale()
public java.lang.Integer getMaxOrdering()
public void setMaxType(java.lang.String maxType)
public void setMaxLength(java.lang.Integer length)
public void setMaxScale(java.lang.Integer scale)
public void setMaxRequired(java.lang.Boolean required)
public void setMaxOrdering(java.lang.Integer attrNum)
public void setDbOrdering(java.lang.Integer dbOrdering)
public java.lang.Integer getDbOrdering()
public java.lang.String getDbType()
public java.lang.String getTableName()
public void setDbType(java.lang.String typeName)
public void setDbLength(java.lang.Integer length)
public void setDbScale(java.lang.Integer scale)
public java.lang.Integer getDbScale()
public java.lang.Integer getDbLength()