Class Hierarchy All Classes All Fields and Methods

Class com.ibm.connector2.ims.ico.IMSCCIRecord

java.lang.Object
   |
   +----DLIBaseSegment
           |
           +----com.ibm.connector2.ims.ico.IMSCCIRecord
Deprecated. IMSCCIRecord is deprecated. The functions provided by this class are now available in the development environments, WebSphere Studio Application Developer Integration Edition and Rational Application Developer. For more information, see "How to build a Java application that uses the J2EE Connector Architecture Common Client Interface" in the "IMS Examples Exchange" on the IMS web site: http://www.ibm.com/ims.

IMSCCIRecord is a helper class to enable CCI applications create the input byte array to be sent to IMS and extract the fields from the output byte array from IMS. Input and output message classes must extend this class and use the appropriate setter and getter methods.

public class IMSCCIRecord
extends DLIBaseSegment

Field Index
Field Description
allFieldsGiven  
Constructor Index
Constructor Description
IMSCCIRecord(String, DLITypeInfo[], int, String) IMSCCIRecord constructor
Method Index
Method Description
Object basicGet(String) Returns the value of fieldname as an Object.
void basicSet(String, BigDecimal) Sets fieldName to the specified BigDecimal value
void basicSet(String, boolean) Sets fieldName to the specified boolean value
void basicSet(String, double) Sets fieldName to the specified double value
void basicSet(String, float) Sets fieldName to the specified float value
void basicSet(String, int) Sets fieldName to the specified int value
void basicSet(String, long) Sets fieldName to the specified long value
void basicSet(String, short) Sets fieldName to the specified short value
void basicSet(String, String) Sets fieldName to a String value
Object clone()  
short getLL() Returns the LL value
String getRecordName() Return the name of the Record.
String getRecordShortDescription() Returns a short description string for the Record.
String getTranCode() Returns the Transaction code value
short getZZ() Returns the ZZ value
byte[] parseShortToByteArray(short)  
void read(InputStream)  
void setAllFieldsGiven(boolean)  
void setEncoding(String)  
void setLL(short) Set the value of LL to the specified value
void setRecordName(String) Sets the name of the Record to the specified value.
void setRecordShortDescription(String) Sets a short description string for the Record.
void setTranCode(String) Set the value of transaction code to the specified value
void setTranCodeLength(int)  
void setZZ(short) Set the value of ZZ to the specified value
void write(OutputStream)  

Fields

allFieldsGiven

public boolean allFieldsGiven

Constructors

IMSCCIRecord

public IMSCCIRecord(String name,
                    DLITypeInfo[] fieldInfo,
                    int length,
                    String inEncoding) 

IMSCCIRecord constructor

Methods

basicGet

public Object basicGet(String fieldName) 

Returns the value of fieldname as an Object. The returned value must be typecasted before use. Eg: strValue = (String)basicGet("name"); The allowed data types are : int, short, long, boolean, String, double, float, BigDecimal

basicSet

public void basicSet(String fieldName,
                     BigDecimal i) 

Sets fieldName to the specified BigDecimal value

basicSet

public void basicSet(String fieldName,
                     boolean i) 

Sets fieldName to the specified boolean value

basicSet

public void basicSet(String fieldName,
                     double i) 

Sets fieldName to the specified double value

basicSet

public void basicSet(String fieldName,
                     float i) 

Sets fieldName to the specified float value

basicSet

public void basicSet(String fieldName,
                     int i) 

Sets fieldName to the specified int value

basicSet

public void basicSet(String fieldName,
                     long i) 

Sets fieldName to the specified long value

basicSet

public void basicSet(String fieldName,
                     short i) 

Sets fieldName to the specified short value

basicSet

public void basicSet(String fieldName,
                     String str) 

Sets fieldName to a String value

clone

public Object clone() 

getLL

public short getLL() 

Returns the LL value

getRecordName

public String getRecordName() 

Return the name of the Record.

getRecordShortDescription

public String getRecordShortDescription() 

Returns a short description string for the Record.

getTranCode

public String getTranCode() 

Returns the Transaction code value

getZZ

public short getZZ() 

Returns the ZZ value

parseShortToByteArray

public static byte[] parseShortToByteArray(short val) 

read

public void read(InputStream istream) throws IOException

setAllFieldsGiven

public void setAllFieldsGiven(boolean inAllFieldsGiven) 

setEncoding

public void setEncoding(String inEncoding) 

setLL

public void setLL(short in_ll) 

Set the value of LL to the specified value

setRecordName

public void setRecordName(String recName) 

Sets the name of the Record to the specified value.

setRecordShortDescription

public void setRecordShortDescription(String recShortDescription) 

Sets a short description string for the Record.

setTranCode

public void setTranCode(String in_tranCode) 

Set the value of transaction code to the specified value

setTranCodeLength

public void setTranCodeLength(int inTranCodeLength) 

setZZ

public void setZZ(short in_zz) 

Set the value of ZZ to the specified value

write

public void write(OutputStream ostream) throws IOException

Class Hierarchy All Classes All Fields and Methods