Klasse ColumnInfo
java.lang.Object
com.inet.report.database.ColumnInfo
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungColumnInfo(@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 TypMethodeBeschreibungintA value of DatabaseMetaData.procedureColumnIn, DatabaseMetaData.procedureColumnInOut, DatabaseMetaData.procedureColumnOut, DatabaseMetaData.procedureColumnReturn or DatabaseMetaData.procedureColumnResult.intThe data type of this column.@Nonnull StringgetName()The name of this column.intgetScale()The SQL scale of the column.intThe SQL type of the column.
-
Konstruktordetails
-
ColumnInfo
Create a new instance.- Parameter:
name- the column namedataType- the data type. One of#Fieldconstants.- Seit:
- 13.0
-
ColumnInfo
Constructor for SP parameters- Parameter:
name- the column namedataType- the data type. One of#Fieldconstants.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
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#Fieldconstants.- 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
-