public class NM extends PrimitiveDataType
This data type specifies a number represented as a series of ASCII numeric characters consisting of an optional * leading sign (+ or -), the digits and an optional decimal point. In the absence of a sign, the number is assumed to be positive. If there is no decimal point the number is assumed to be an integer.
This class provides accessors & mutators for the elements mentioned above. This class override the equal method, to check whether some other object is "equal to" this one.
User can also create Data Type through DataElementFactory
| Constructor and Description |
|---|
NM()
Constructor for NM class.
|
NM(int iMinLength,
int iMaxLength,
java.lang.String strCLength)
Constructor for DT class which takes three argument and
sets the value in the respective member variable.
|
NM(int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int iTableNo)
Constructor for DT class which takes four arguments and
sets the value in the respective member variable.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object objObject)
This method checks the equality of Object.
|
copy, getDataTypeName, getICLength, getIMaxLength, getIMinLength, getLength, getValue, isPrimitive, read, setICLength, setIMaxLength, setIMinLength, setValue, toString, validate, writepublic NM()
public NM(int iMinLength, int iMaxLength, java.lang.String strCLength)
iMinLength - The Minimum length the DataType can have.iMaxLength - The Maximum length the DataType can have.iCLength - The Conformance length the DataType can have.public NM(int iMinLength, int iMaxLength, java.lang.String strCLength, int iTableNo)
iMinLength - The Minimum length the DataType can have.iMaxLength - The Maximum length the DataType can have.iCLength - The Conformance length the DataType can have.iTableNo - The Table number to which the value for the component is specified.