public class TX extends PrimitiveDataType
This data type meant for user display (on a terminal or printer). Such data would not necessarily be left justified since leading spaces may contribute greatly to the clarity of the presentation to the user.
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 |
|---|
TX()
Constructor for TX class.
|
TX(int iMinLength,
int iMaxLength,
java.lang.String strCLength)
Constructor for TX class which takes three argument and
sets the value in the respective member variable.
|
TX(int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int iTableNo)
Constructor for TX 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 TX()
public TX(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 TX(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.