org.jSyncManager.API.Conduit.SatelliteForms
Class SFIntColumn
Subclass of
SFColumnto handle integer SF data.
SFIntColumn(byte[] cdef, int pos)- Construct a SFColumnDef from an array slice.
|
byte[] | getDBItem()- Create the data column fragment from the "futureValue" of this
column.
|
String | getValue()- The getValue for integer columns never returns null.
|
getColSize, getDBItem, getDataArray, getDataOffset, getDataSize, getDecimals, getName, getType, getValue, main, setCurRec, setValue, toString |
SFIntColumn
public SFIntColumn(byte[] cdef,
int pos) Construct a SFColumnDef from an array slice. The byte array "cdef" should
contain one entry from the fields array of the AppBlock. The methods of
SFColumn allow you to get and set the value of the column in a
DLPRecordobject passed to the
SFColumn.getValue()or
SFColumn.setValue(String)calls. SFColumn is an abstract class. There are
specific concrete implementation classes for each SatelliteForms column
type.
cdef - The byte array of the field descriptorpos - The position (relative to the start of data) of the field in
the data record.
getDBItem
public byte[] getDBItem()
throws SFTableException Create the data column fragment from the "futureValue" of this
column. This takes the value set for the column and
converts it to a byte array compatible with a SatelliteForms
table.
- getDBItem in interface SFColumn
org.jSyncManager.API.Conduit.SatelliteForms.SFColumn.setValue(org.jSyncManager.API.Protocol.Util.DLPRecord,
java.lang.String)
getValue
public String getValue()
throws SFTableException The getValue for integer columns never returns null. A Null is a zero.
- getValue in interface SFColumn
org.jSyncManager.API.Conduit.SatelliteForms.SFColumn.getValue(org.jSyncManager.API.Protocol.Util.DLPRecord)