| java.lang.Object org.dbunit.dataset.Column
Column | public class Column (Code) | | Represents a table column.
author: Manuel Laflamme version: $Revision: 554 $ since: Feb 17, 2002 |
Inner Class :public static class Nullable | |
Field Summary | |
final public static Nullable | NO_NULLS Indicates that the column might not allow NULL values. | final public static Nullable | NULLABLE Indicates that the column definitely allows NULL values. | final public static Nullable | NULLABLE_UNKNOWN Indicates that the nullability of columns is unknown. |
NO_NULLS | final public static Nullable NO_NULLS(Code) | | Indicates that the column might not allow NULL values.
|
NULLABLE | final public static Nullable NULLABLE(Code) | | Indicates that the column definitely allows NULL values.
|
NULLABLE_UNKNOWN | final public static Nullable NULLABLE_UNKNOWN(Code) | | Indicates that the nullability of columns is unknown.
|
Column | public Column(String columnName, DataType dataType)(Code) | | Creates a Column object. This contructor set nullable to true.
Parameters: columnName - the column name Parameters: dataType - the data type |
Column | public Column(String columnName, DataType dataType, Nullable nullable)(Code) | | Creates a Column object.
|
getColumnName | public String getColumnName()(Code) | | Returns this column name.
|
getDataType | public DataType getDataType()(Code) | | Returns this column data type.
|
getNullable | public Nullable getNullable()(Code) | | Returns true if this column is nullable.
|
getSqlTypeName | public String getSqlTypeName()(Code) | | Returns this column sql data type name.
|
hashCode | public int hashCode()(Code) | | |
nullableValue | public static Nullable nullableValue(boolean nullable)(Code) | | Returns the appropriate Nullable constant.
Parameters: nullable - true if null is allowed |
|
|