com.ibm.tivoli.maximo.integrity.check

Class TableData

  • java.lang.Object
    • com.ibm.tivoli.maximo.integrity.check.TableData


  • public class TableData
    extends java.lang.Object
    This stores data about columns found for a table in a Maximo database.
    • Constructor Summary

      Constructors 
      Constructor and Description
      TableData(java.lang.String entityName)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 getColumnData()
      Returns the column data.
      ColumnData getColumnData(java.lang.String colName)
      Get column data
      java.lang.String getTableName()
      Get the name of the table.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TableData

        public TableData(java.lang.String entityName)
        Constructor
        Parameters:
        entityName - The name of the table.
    • Method Detail

      • addMaximoDefinition

        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)
        Add a Maximo column definition.
        Parameters:
        colName -
        maxType -
        length -
        scale -
        required -
        attrNum - This is for ordering the columns.
      • addDatabaseDefinition

        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)
        Add a column definition as found in the database.
        Parameters:
        colName -
        maxType -
        length -
        scale -
        required -
        attrNum - This is for ordering the columns.
      • columnDataPaired

        public boolean columnDataPaired()
        Returns true if all columns are defined in the database and in Maximo.
      • getTableName

        public java.lang.String getTableName()
        Get the name of the table.
      • getColumnData

        public java.util.Collection getColumnData()
        Returns the column data.
      • getColumnData

        public ColumnData getColumnData(java.lang.String colName)
        Get column data