Package com.ibm.cics.server
Class TCTUAHolder
java.lang.Object
com.ibm.cics.server.TCTUAHolder
- All Implemented Interfaces:
IHolder
This class holds an array of bytes that is a copy of the contents of the TCTUA.
The TCTUA is an optional extension to the terminal control table entry (TCTTE), each entry in the TCTUA specifying
whether the extension is present, and its length.
The actual data is an instance variable of type
byte[] controlled by setters and getters. This instance
variable can be accessed using getters getValue() and getStringValue() and setter setValue(byte[])- Since CICS TS version:
- 1.3
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aTCTUAHolderwithout a value.TCTUAHolder(byte[] initialValue) Constructs aTCTUAHolder -
Method Summary
Modifier and TypeMethodDescriptionReturns a String derived from the data in the IHolder, assuming that the data is encoded in the LOCALCCSID.byte[]getValue()Returns the raw byte array from the IHoldervoidsetStringValue(String valueToSet) Set a value into the TCTUAHolder
-
Constructor Details
-
TCTUAHolder
public TCTUAHolder()Constructs aTCTUAHolderwithout a value.- Since CICS TS version:
- 1.3
-
TCTUAHolder
public TCTUAHolder(byte[] initialValue) Constructs aTCTUAHolder- Parameters:
initialValue- the intial value- Since CICS TS version:
- 1.3
-
-
Method Details
-
getValue
public byte[] getValue()Description copied from interface:IHolderReturns the raw byte array from the IHolder -
setStringValue
Set a value into the TCTUAHolder- Parameters:
valueToSet- the value to set. The text is converted into the LOCALCCSID encoding.- Since CICS TS version:
- 6.3
-
getStringValue
Description copied from interface:IHolderReturns a String derived from the data in the IHolder, assuming that the data is encoded in the LOCALCCSID. The behavior of this method when the bytes are not valid in the LOCALCCSID encoding is unspecified.- Specified by:
getStringValuein interfaceIHolder- Returns:
- - a String representation of the byte-array in the CICS LOCALCCSID.
- See Also:
- Since CICS TS version:
- 5.1
-