public class ST extends PrimitiveDataType
This data type is intended for short strings (e.g., less than 200 characters).
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 |
|---|
ST()
Constructor for ST class.
|
ST(int iMinLength,
int iMaxLength,
java.lang.String strCLength)
Constructor for ST class which takes three argument and
sets the value in the respective member variable.
|
ST(int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int iTableNo)
Constructor for ST class which takes four arguments and
sets the value in the respective member variable.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(IDataType objDataType)
The method checks for the equality with other ST DataType.
|
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 ST()
public ST(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 ST(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.public boolean equals(IDataType objDataType)
objDataType - conatains object of another DataType to be checked for equality.public boolean equals(java.lang.Object objObject)
equals in class java.lang.ObjectobjObject - object of Object class.