Klasse ColumnInfo

java.lang.Object
com.inet.report.database.ColumnInfo

public class ColumnInfo extends Object
Describes a single column.
Seit:
13.0
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    ColumnInfo(@Nonnull String name, int dataType)
    Create a new instance.
    ColumnInfo(@Nonnull String name, int dataType, int colType, int sqlType, int scale)
    Constructor for SP parameters
  • Methodenübersicht

    Modifikator und Typ
    Methode
    Beschreibung
    int
    A value of DatabaseMetaData.procedureColumnIn, DatabaseMetaData.procedureColumnInOut, DatabaseMetaData.procedureColumnOut, DatabaseMetaData.procedureColumnReturn or DatabaseMetaData.procedureColumnResult.
    int
    The data type of this column.
    @Nonnull String
    The name of this column.
    int
    The SQL scale of the column.
    int
    The SQL type of the column.

    Von Klasse geerbte Methoden Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • ColumnInfo

      public ColumnInfo(@Nonnull String name, int dataType)
      Create a new instance.
      Parameter:
      name - the column name
      dataType - the data type. One of #Field constants.
      Seit:
      13.0
    • ColumnInfo

      public ColumnInfo(@Nonnull String name, int dataType, int colType, int sqlType, int scale)
      Constructor for SP parameters
      Parameter:
      name - the column name
      dataType - the data type. One of #Field constants.
      colType - a value of DatabaseMetaData.procedureColumn*
      sqlType - The SQL type of the column. This is a constant from java.sql.Types.
      scale - the SQL scale of the column
      Seit:
      13.0
  • Methodendetails

    • getName

      public @Nonnull String getName()
      The name of this column. Should be never be null.
      Gibt zurück:
      the name
      Seit:
      13.0
    • getDataType

      public int getDataType()
      The data type of this column. One of #Field constants.
      Gibt zurück:
      the dataType
      Seit:
      13.0
    • getColumnType

      public int getColumnType()
      A value of DatabaseMetaData.procedureColumnIn, DatabaseMetaData.procedureColumnInOut, DatabaseMetaData.procedureColumnOut, DatabaseMetaData.procedureColumnReturn or DatabaseMetaData.procedureColumnResult.
      Gibt zurück:
      the colType
      Seit:
      13.0
    • getSqlType

      public int getSqlType()
      The SQL type of the column. This is a constant from java.sql.Types. This value need only be set for SP parameters.
      Gibt zurück:
      the sqlType
      Seit:
      13.0
    • getScale

      public int getScale()
      The SQL scale of the column. This value need only be set for SP parameters.
      Gibt zurück:
      the scale
      Seit:
      13.0