psdi.mbo

Class TableColumnInfoBase

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class TableColumnInfoBase
    extends CachedObject
    A class to represents information about a MAXIMO table column used by a business object. The column information is obtained from the maxattribute table.
    See Also:
    Serialized Form
    • Method Detail

      • getColumnName

        public java.lang.String getColumnName()
        Returns the column name.
        Returns:
        column name
      • setColumnName

        public void setColumnName(java.lang.String string)
        Sets the name of the column.
        Parameters:
        string - name of the column
      • getLength

        public int getLength()
        Returns maximum number of bytes allowed for the value stored in this column.
        Returns:
        maximum number of bytes allowed for the value stored in this column.
      • setLength

        public void setLength(int length)
        Sets maximum number of bytes allowed for the value stored in this column.
        Parameters:
        length - maximum number of bytes allowed for the value stored in this column.
      • getMaxType

        public java.lang.String getMaxType()
        Returns MAXIMO datatype of the column.
        Returns:
        MAXIMO datatype of the column.
      • setMaxType

        public void setMaxType(java.lang.String datatype)
        Sets the MAXIMO datatype of the column.
        Parameters:
        datatype - MAXIMO datatype of the column.
      • isNullAllowed

        public boolean isNullAllowed()
        Returns whether nulls are allowed or not.
        Returns:
        true, if nulls are allowed, otherwise false.
      • setNullAllowed

        public void setNullAllowed(boolean nullAllowed)
        Sets whether nulls are allowed or not.
        Parameters:
        nullAllowed - pass true, if nulls are allowed, otherwise false.
      • getPrimaryKeyColSequence

        public int getPrimaryKeyColSequence()
        Returns the primary key column sequence number. A return value greater than 0 indicates that this column participates in the primary key of the table and the number indicates the sequence order in which the index is created on the table.
        Returns:
        primary key column sequence number.
      • setPrimaryKeyColSequence

        public void setPrimaryKeyColSequence(int sequenceNumber)
        Sets the primary key column sequence number.
        Parameters:
        sequenceNumber - the primary key column sequence number.
      • getScale

        public int getScale()
        Returns the maximum number of decimal values allowed for the value stored in this column.
        Returns:
        maximum number of decimal values allowed for the value stored in this column.
      • setScale

        public void setScale(int scale)
        Sets the maximum number of decimal values allowed for the value stored in this column.
        Parameters:
        scale - the maximum number of decimal values allowed for the value stored in this column.
      • getTableName

        public java.lang.String getTableName()
        Returns the name of the table that has this column information.
        Returns:
        name of the table that has this column information.
      • setTableName

        public void setTableName(java.lang.String tableName)
        Sets the table name that has this column information.
        Parameters:
        tableName - the table name that has this column information.
      • getCacheName

        public java.lang.String getCacheName()
        Description copied from class: CachedObject
        Return the identifier of the repository name for this cached object
        Specified by:
        getCacheName in class CachedObject
        Returns: