public abstract class AbstractUpdatableDBObject extends AbstractDBObject implements UpdatableDBObject
Constructor and Description |
---|
AbstractUpdatableDBObject() |
Modifier and Type | Method and Description |
---|---|
DmlCommand |
dbUpdateCommand()
Gets the command for Updating an entry in the relvar named in the relvars annotation, for this DBObject.
|
DmlUpdateCommand |
dbUpdateCommand(java.lang.String relvarName)
Gets the command for Updating an entry in the named relvar, for this DBObject.
|
static DmlUpdateCommand |
dbUpdateCommand(java.lang.String relvarName,
UpdatableDBObject o)
Gets the command for Updating an entry in the named relvar (in the database the transaction is connected to), for the given object.
|
dbAddCommand, dbAddCommand, dbAddCommand, dbAddCommandAll, dbAssertCommand, dbAssertCommand, dbAssertCommand, dbAssertCommandAll, dbDeleteCommand, dbDeleteCommand, dbDeleteCommand, dbDeleteCommandAll, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommand, dbUnAssertCommandAll
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPreUpdateState, setPreUpdateState
public static DmlUpdateCommand dbUpdateCommand(java.lang.String relvarName, UpdatableDBObject o) throws NoUpdatesException
relvarName
- The name of the relvar into which a tuple is to be added for the given objecto
- The object from which the tuple to be registered in the named relvar is to be drawn.NoUpdatesException
- if no attribute value changes at all are detectedpublic final DmlUpdateCommand dbUpdateCommand(java.lang.String relvarName) throws NoUpdatesException
relvarName
- The name of the relvar into which a tuple is to be added for the given objectNoUpdatesException
- if no attribute value changes at all are detectedpublic DmlCommand dbUpdateCommand() throws NoUpdatesException
NoUpdatesException
- if no attribute value changes at all are detected