org.jSyncManager.API.Conduit.SatelliteForms

Class SFLongColumn


public class SFLongColumn
extends SFColumn

This is the concrete class for a 64-bit integer.

Field Summary

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

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

Constructor Summary

SFLongColumn(byte[] cdef, int pos)

Method Summary

byte[]
getDBItem()
Create the data column fragment from the "futureValue" of this column.
String
getValue()
Get this column's current data value as a string.

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

SFLongColumn

public SFLongColumn(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

getValue

public String getValue()
            throws SFTableException
Get this column's current data value as a string. This is an abstract method implemented by the type-specific subclass. Since this always returns a string, it makes a nice "typeless" interface. Be aware that the SFTableException may be thrown if the string value is incompatible with the underlying subclass. Note that the value returned by this method is ALWAYS the value parsed from the DLPRecord used to construct. In other words, SFColumn.setValue(String) doesn't change this value.
Overrides:
getValue in interface SFColumn