org.jSyncManager.API.Conduit.SatelliteForms

Class SFBinaryColumn


public class SFBinaryColumn
extends SFColumn

This class is the concrete implementation of SFColumnthat handles binary large objects from SatelliteForms. The INK control is the most common of these, and in fact this class has special methods for handling ink controls.

Field Summary

Fields inherited from class org.jSyncManager.API.Conduit.SatelliteForms.SFColumn

colDec, colName, colPos, colSize, colType, d, dbItemSize, futureValue

Constructor Summary

SFBinaryColumn(byte[] cdef, int pos)
Constructor.

Method Summary

byte[]
getDBItem()
Create the data column fragment from the "futureValue" of this column.
String
getValue()

Methods inherited from class org.jSyncManager.API.Conduit.SatelliteForms.SFColumn

getColSize, getDBItem, getDataArray, getDataOffset, getDataSize, getDecimals, getName, getType, getValue, main, setCurRec, setValue, toString

Constructor Details

SFBinaryColumn

public SFBinaryColumn(byte[] cdef,
                      int pos)
Parameters:
cdef -
pos -

Method Details

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.
Overrides:
getDBItem in interface SFColumn
See Also:
org.jSyncManager.API.Conduit.SatelliteForms.SFColumn.setValue(org.jSyncManager.API.Protocol.Util.DLPRecord, java.lang.String)

getValue

public String getValue()
            throws SFTableException
Overrides:
getValue in interface SFColumn