public class TLcdGDFDataType extends Object
Modifier and Type | Field and Description |
---|---|
static TLcdGDFDataType |
A
Data type containing only alphabetic characters.
|
static TLcdGDFDataType |
AN
Data type containing only alphanumeric characters.
|
static TLcdGDFDataType |
G
Data type containing printable characters.
|
static TLcdGDFDataType |
I
Data type containing only digits and + or -.
|
static TLcdGDFDataType |
N
Data type containing only digits.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Returns the GDF code of this data type.
|
static TLcdGDFDataType |
getDataType(String aDataTypeCode)
Returns the data type corresponding to the given data type code, as described in the GDF
specification.
|
String |
getDescription()
Returns the textual description of this data type.
|
String |
toString()
Returns a general description of this data type.
|
public static final TLcdGDFDataType G
public static final TLcdGDFDataType A
public static final TLcdGDFDataType N
public static final TLcdGDFDataType I
public static final TLcdGDFDataType AN
public static TLcdGDFDataType getDataType(String aDataTypeCode)
aDataTypeCode
- the Data Type Code of the data type to be returned.IllegalArgumentException
- if no data unit exists for the given Data Type Code.public String getCode()
public String getDescription()