public abstract class DmlSingleAssignmentCommand extends DmlAssignmentCommand
| Constructor and Description |
|---|
DmlSingleAssignmentCommand(java.lang.String relvarName,
java.lang.Object o)
Creates the command object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRelationText()
Gets the relation text denoting the singleton relation holding the tuple holding the values drawn from object o for the named relvar
|
java.lang.String |
getRelvarName()
Gets The name of the relvar to which the update is targeted
|
void |
success()
If the object from which this command was created, implements UpdatableDBObject, invokes that object's setPreUpdateState() method to reflect the successfull database insert or update.
|
getServerAssignmentCommandexecDmlCommand, execDmlCommandAndEndTransaction, getCommand, getServerCommandpublic DmlSingleAssignmentCommand(java.lang.String relvarName,
java.lang.Object o)
relvarName - The name of the relvar in which a tuple for the object is to be addedo - The object for which an update operation (add/assert/delete/unassert/update) is to be performed in the named relvarjava.lang.IllegalArgumentException - If relvarName or o are null, or if relvarName is the zero-length string.public final java.lang.String getRelationText()
public final java.lang.String getRelvarName()
public final void success()
success in class DmlCommand