public class SI extends PrimitiveDataType
This data type is a non-negative integer in the form of a NM field This allows for a number between 0 and 9999 to be specified.
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 |
|---|
SI()
Constructor for SI class.
|
SI(int iMinLength,
int iMaxLength,
java.lang.String strCLength)
Constructor for SI class which takes three argument and
sets the value in the respective member variable.
|
SI(int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int iTableNo)
Constructor for SI 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 SI()
public SI(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 SI(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.