com.ibm.tivoli.maximo.dbmanage.statement

Class AttributeClass

  • java.lang.Object
    • java.lang.Enum
      • com.ibm.tivoli.maximo.dbmanage.statement.AttributeClass
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable


    public final class AttributeClass
    extends java.lang.Enum
    Supported Attribute classes.
    See Also:
    Serialized Form
    • Method Detail

      • valueOf

        public static AttributeClass valueOf(java.lang.String name)
      • forMaxType

        public static AttributeClass forMaxType(java.lang.String maxType)
        Return the attribute for the given Maximo MaxType.
        Parameters:
        maxType -
        Returns:
        null is returned if a match can't be found.
      • setPreparedParam

        public void setPreparedParam(java.sql.PreparedStatement ps,
                                     int i,
                                     java.lang.Object object,
                                     boolean isDB2)
                              throws java.sql.SQLException
        Set a parameter in a prepared statement. Choose the set method according the type of the value.
        Parameters:
        ps -
        i -
        object -
        isDB2 -
        Throws:
        java.sql.SQLException