public abstract class DatabaseRowWithIntPrimaryKey extends DatabaseRow
Constructor and Description |
---|
DatabaseRowWithIntPrimaryKey(DatabaseTable<? extends DatabaseRow> inTable) |
DatabaseRowWithIntPrimaryKey(DatabaseTable<? extends DatabaseRow> inTable,
ResultSet inResultSet) |
DatabaseRowWithIntPrimaryKey(XMLTag inXMLTag) |
Modifier and Type | Method and Description |
---|---|
void |
clearId() |
Integer |
getId() |
static int |
interpolationSearch(List<? extends DatabaseRowWithIntPrimaryKey> inList,
Integer 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 DatabaseRowWithIntPrimaryKey(DatabaseTable<? extends DatabaseRow> inTable)
public DatabaseRowWithIntPrimaryKey(DatabaseTable<? extends DatabaseRow> inTable, ResultSet inResultSet)
public DatabaseRowWithIntPrimaryKey(XMLTag inXMLTag)
public void clearId()
public static int interpolationSearch(List<? extends DatabaseRowWithIntPrimaryKey> inList, Integer inTargetRowId)
inList
- the sorted List to be searchedinTargetRowId
- the row id to be searched for
jataylor@hairyfatguy.com