|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.cics.server.Container
public class Container
This is the Java implementation of CICS Containers.
Field Summary | |
---|---|
static int |
DATATYPE_BIT
Constant for BIT type containers |
static int |
DATATYPE_CHAR
Constant for CHAR type containers |
static int |
NOTSET
Constant for state that has yet been set |
Method Summary | |
---|---|
void |
delete()
Delete the Container in CICS, and remove it from the owning Channel. |
byte[] |
get()
Get the data from the Container. |
byte[] |
get(java.lang.String intoCodePage)
Get the data from the Container. |
int |
getCCSID()
Get the CCSID value of the data returned by getNoConvert(). |
int |
getLength()
Get the length of the data in the Container. |
int |
getLength(java.lang.String intoCodePage)
Get the length of the data in the Container. |
int |
getLengthNoConvert()
Get the length of the data in the Container without conversion. |
java.lang.String |
getName()
Get the name of the Container as known to CICS. |
byte[] |
getNoConvert()
Get the data from the Container without conversion. |
void |
put(byte[] byteArrayData)
Put some byte[] array data into the Container. |
void |
put(byte[] byteArrayData,
java.lang.String fromCodePage)
Put some byte[] array data into the Container. |
void |
put(java.lang.String stringData)
Put some String data into the Container. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NOTSET
public static final int DATATYPE_BIT
public static final int DATATYPE_CHAR
Method Detail |
---|
public java.lang.String getName()
public byte[] get() throws ContainerErrorException, ChannelErrorException, CCSIDErrorException, CodePageErrorException
ContainerErrorException
ChannelErrorException
CCSIDErrorException
CodePageErrorException
public byte[] get(java.lang.String intoCodePage) throws ContainerErrorException, ChannelErrorException, CCSIDErrorException, CodePageErrorException
intoCodePage
- is the code-page in which the container data will be returned
ContainerErrorException
ChannelErrorException
CCSIDErrorException
CodePageErrorException
public byte[] getNoConvert() throws ContainerErrorException, ChannelErrorException, CCSIDErrorException, CodePageErrorException
ContainerErrorException
ChannelErrorException
CCSIDErrorException
CodePageErrorException
public int getLength() throws ContainerErrorException, ChannelErrorException, CCSIDErrorException, CodePageErrorException
ContainerErrorException
ChannelErrorException
CCSIDErrorException
CodePageErrorException
public int getLength(java.lang.String intoCodePage) throws ContainerErrorException, ChannelErrorException, CCSIDErrorException, CodePageErrorException
intoCodePage
- is the code-page into which the container data will be converted when retrieved from the container.
ContainerErrorException
ChannelErrorException
CCSIDErrorException
CodePageErrorException
public int getLengthNoConvert() throws ContainerErrorException, ChannelErrorException, CCSIDErrorException, CodePageErrorException
ContainerErrorException
ChannelErrorException
CCSIDErrorException
CodePageErrorException
public int getCCSID()
public void put(byte[] byteArrayData) throws ContainerErrorException, ChannelErrorException, InvalidRequestException, CCSIDErrorException, CodePageErrorException
byteArrayData
- data to be put into the Container.
ContainerErrorException
ChannelErrorException
InvalidRequestException
CCSIDErrorException
CodePageErrorException
public void put(byte[] byteArrayData, java.lang.String fromCodePage) throws ContainerErrorException, ChannelErrorException, InvalidRequestException, CCSIDErrorException, CodePageErrorException
byteArrayData
- data to be put into the Container.fromCodePage
- is the code-page in which the byteArrayData is encoded.
ContainerErrorException
ChannelErrorException
InvalidRequestException
CCSIDErrorException
CodePageErrorException
public void put(java.lang.String stringData) throws ContainerErrorException, ChannelErrorException, InvalidRequestException, CCSIDErrorException, CodePageErrorException
stringData
- data to be put into the Container.
ContainerErrorException
ChannelErrorException
InvalidRequestException
CCSIDErrorException
CodePageErrorException
public void delete() throws ContainerErrorException, ChannelErrorException, InvalidRequestException
ContainerErrorException
ChannelErrorException
InvalidRequestException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |