|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cdgsoftware.icl.record.Record
public abstract class Record
The Class Record.
Constructor Summary | |
---|---|
Record()
|
Method Summary | |
---|---|
void |
dump(java.io.PrintStream p,
java.lang.String indent)
|
byte[] |
getBytes()
Gets the bytes from the record |
Field |
getFieldAtPosition(int fieldNumber)
Gets the field at position. |
java.lang.String |
getFieldDataAtPosition(int fieldNumber)
Gets the field data at position. |
java.lang.String |
getFieldNameAtPosition(int fieldNumber)
Gets the field name at position. |
java.util.ArrayList<Field> |
getFields()
Gets the fields. |
int |
getRecordLength()
Gets the record length. |
java.lang.String |
getRecordName()
Gets the record name. |
java.lang.String |
getStructureXML()
Gets the structure xml. |
void |
populateFields(byte[] data)
Populate fields. |
void |
setFieldData(int fieldNumber,
java.lang.String data)
Sets the field data. |
void |
setFields(java.util.ArrayList<Field> fields)
Sets the fields. |
void |
setRecordName(java.lang.String recordName)
Sets the record name. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Record()
Method Detail |
---|
public void setFieldData(int fieldNumber, java.lang.String data) throws ICLException
fieldNumber
- the field number FROM THE SPEC. Do not consider this a zero
based collectiondata
- the data
ICLException
- the ICL exceptionpublic java.lang.String getFieldNameAtPosition(int fieldNumber)
fieldNumber
- the field number FROM THE SPEC. Do not consider this a zero
based collection
public java.lang.String getFieldDataAtPosition(int fieldNumber)
fieldNumber
- the field number FROM THE SPEC. Do not consider this a zero
based collection
public Field getFieldAtPosition(int fieldNumber)
fieldNumber
- the field number FROM THE SPEC. Do not consider this a zero
based collection
public java.util.ArrayList<Field> getFields()
public void setFields(java.util.ArrayList<Field> fields)
fields
- the new fieldspublic java.lang.String getRecordName()
public void setRecordName(java.lang.String recordName)
recordName
- the new record namepublic void dump(java.io.PrintStream p, java.lang.String indent)
dump
in interface Loggeable
public java.lang.String getStructureXML()
public byte[] getBytes()
public java.lang.String toString()
toString
in class java.lang.Object
public void populateFields(byte[] data) throws ICLException
data
- the data
ICLException
- the ICL exceptionpublic int getRecordLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |