public abstract class DatabaseRowWithLongPrimaryKey extends DatabaseRow
Constructor and Description |
---|
DatabaseRowWithLongPrimaryKey(DatabaseTable<? extends DatabaseRow> inTable) |
DatabaseRowWithLongPrimaryKey(DatabaseTable<? extends DatabaseRow> inTable,
ResultSet inResultSet) |
DatabaseRowWithLongPrimaryKey(XMLTag inXMLTag) |
Modifier and Type | Method and Description |
---|---|
void |
clearId() |
Long |
getId() |
static int |
interpolationSearch(List<? extends DatabaseRowWithLongPrimaryKey> inList,
Long inTargetRowId)
Searches a List of DatabaseRowWithLongPrimaryKey objects sorted in ascending order
to find the matching row with the specified id.
|
addField, allocateField, allocateField, allocateField, bless, clone, delete, getDatabaseTable, getField, getFields, getIdCol, insert, instantiate, isDirty, isDirty, postDelete, postInsert, postUpdate, preDelete, preInsert, preUpdate, save, toXMLTag, update
public DatabaseRowWithLongPrimaryKey(DatabaseTable<? extends DatabaseRow> inTable)
public DatabaseRowWithLongPrimaryKey(DatabaseTable<? extends DatabaseRow> inTable, ResultSet inResultSet)
public DatabaseRowWithLongPrimaryKey(XMLTag inXMLTag)
public void clearId()
public static int interpolationSearch(List<? extends DatabaseRowWithLongPrimaryKey> inList, Long inTargetRowId)
inList
- the sorted List to be searchedinTargetRowId
- the row id to be searched for
jataylor@hairyfatguy.com