public class FixedType extends DataType
Constructor and Description |
---|
FixedType(int length,
int precision)
Deprecated.
Constructor.
|
FixedType(java.lang.String typeName)
Deprecated.
Create a fixed type from a string.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
construct()
Deprecated.
Facility for construting objects of this type
|
java.lang.Object |
construct(java.lang.String inputString)
Deprecated.
|
int |
getCategory()
Deprecated.
|
int |
getLength()
Deprecated.
Return the length of the fixed-point type, i.e.
|
int |
getPrecision()
Deprecated.
Return the precision of the fixed-point type, i.e.
|
boolean |
isAssignable(java.lang.Object val)
Deprecated.
|
equals, getJavaClass, getName, isContainer, isScalar
public FixedType(int length, int precision)
length
- length, i.e. total number of digitsprecision,
- i.e. digits to the right of the decimal point.public FixedType(java.lang.String typeName) throws DataTypeFormatException
typeName
- string name of the typeDataTypeFormatException
- thrown if any parsing error.public int getLength()
public int getPrecision()
public boolean isAssignable(java.lang.Object val)
isAssignable
in class DataType
public java.lang.Object construct() throws MConstructionException
construct
in class DataType
MConstructionException
public java.lang.Object construct(java.lang.String inputString) throws MConstructionException
construct
in class DataType
MConstructionException
public final int getCategory()
getCategory
in class DataType