Package jslx.tabularfiles
Class ColumnType
- java.lang.Object
-
- jslx.tabularfiles.ColumnType
-
public class ColumnType extends java.lang.Object
Describes a type of column within the tabular file. There are only two types: numeric and text The numeric type should be used for numeric data (float, double, long, int, etc.). In addition, use the numeric type for boolean values, which are stored 1.0 = true, 0.0 = false). The text type should be used for strings and date/time data. Date/time data is saved as ISO8601 strings ("YYYY-MM-DD HH:MM:SS.SSS"). If you need more type complexity, you should use a database.
-
-
Constructor Summary
Constructors Constructor Description ColumnType(java.lang.String name, DataType dataType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
DataType
getDataType()
java.lang.String
getName()
int
hashCode()
-
-
-
Constructor Detail
-
ColumnType
public ColumnType(java.lang.String name, DataType dataType)
-
-
Method Detail
-
getName
public final java.lang.String getName()
-
getDataType
public final DataType getDataType()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-