com.digertech.sdk.records
Class X9Record

java.lang.Object
  extended by com.digertech.sdk.records.X9Record
All Implemented Interfaces:
RecordDefines
Direct Known Subclasses:
Type01Record, Type10Record, Type20Record, Type25Record, Type26Record, Type27Record, Type28Record, Type31Record, Type32Record, Type33Record, Type34Record, Type35Record, Type40Record, Type41Record, Type50Record, Type52Record, Type54Record, Type70Record, Type75Record, Type85Record, Type90Record, Type99Record

public abstract class X9Record
extends java.lang.Object
implements RecordDefines


Field Summary
 
Fields inherited from interface com.digertech.sdk.records.RecordDefines
MAX_FILE_LENGTH, TYPE_01, TYPE_01_STR, TYPE_10, TYPE_10_STR, TYPE_20, TYPE_20_STR, TYPE_25, TYPE_25_STR, TYPE_26, TYPE_26_STR, TYPE_27, TYPE_27_STR, TYPE_28, TYPE_28_STR, TYPE_31, TYPE_31_STR, TYPE_32, TYPE_32_STR, TYPE_33, TYPE_33_STR, TYPE_34, TYPE_34_STR, TYPE_35, TYPE_35_STR, TYPE_40, TYPE_40_STR, TYPE_41, TYPE_41_STR, TYPE_50, TYPE_50_STR, TYPE_52, TYPE_52_STR, TYPE_54, TYPE_54_STR, TYPE_55, TYPE_55_STR, TYPE_56, TYPE_56_STR, TYPE_61, TYPE_61_STR, TYPE_64, TYPE_64_STR, TYPE_68G, TYPE_68G_STR, TYPE_68T1, TYPE_68T1_STR, TYPE_68T2, TYPE_68T2_STR, TYPE_70, TYPE_70_STR, TYPE_75, TYPE_75_STR, TYPE_85, TYPE_85_STR, TYPE_90, TYPE_90_STR, TYPE_99, TYPE_99_STR, UNKOWN_STANDARD, X9100_180, X9100_180_STR, X9100_187, X9100_187_STR, X9100_TECH_STR, X9100_TECP, X937_2003, X937_2003_STR, X937_UCD, X937_UCD_STR
 
Constructor Summary
X9Record(int format, int recordType)
          Build a ICL record having no initial values.
X9Record(int format, int recordType, byte[] record)
           
 
Method Summary
 int getFormat()
          Retrieves the format of the record data.
 byte[] getRecordData()
          Retrieves the record data.
 int getRecordType()
          Retrieves the record type code.
 void setRecordType(int recordType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X9Record

public X9Record(int format,
                int recordType)
         throws RecordException
Build a ICL record having no initial values.

Parameters:
format - - Record data format code
recordType - - Record type
Throws:
RecordException

X9Record

public X9Record(int format,
                int recordType,
                byte[] record)
         throws RecordException
Parameters:
format - - Record data format code
record - - Record data
Throws:
RecordException
Method Detail

getRecordType

public int getRecordType()
Retrieves the record type code.

Returns:
Record type code

setRecordType

public void setRecordType(int recordType)

getFormat

public int getFormat()
Retrieves the format of the record data.

Returns:
Record data format code

getRecordData

public byte[] getRecordData()
Retrieves the record data.

Returns:
Record data