public class TLcdGDFDataType
extends java.lang.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 |
---|---|
java.lang.String |
getCode()
Returns the GDF code of this data type.
|
static TLcdGDFDataType |
getDataType(java.lang.String aDataTypeCode)
Returns the data type corresponding to the given data type code, as described in the GDF
specification.
|
java.lang.String |
getDescription()
Returns the textual description of this data type.
|
java.lang.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(java.lang.String aDataTypeCode)
aDataTypeCode
- the Data Type Code of the data type to be returned.java.lang.IllegalArgumentException
- if no data unit exists for the given Data Type Code.public java.lang.String getCode()
public java.lang.String getDescription()
public java.lang.String toString()
toString
in class java.lang.Object