public final class DmlUpdateCommand extends DmlSingleAssignmentCommand
| Constructor and Description |
|---|
DmlUpdateCommand(java.lang.String relvarName,
UpdatableDBObject o)
Creates the command object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommand()
Gets the command text
|
ServerUpdateCommand |
getServerCommand()
Gets the ServerCommand object representing this dml command
|
java.lang.String |
toString() |
getRelationText, getRelvarName, successgetServerAssignmentCommandexecDmlCommand, execDmlCommandAndEndTransactionpublic DmlUpdateCommand(java.lang.String relvarName,
UpdatableDBObject o)
throws NoUpdatesException
relvarName - The name of the relvar in which a tuple for the object is to be added.o - The object for which a tuple is to be added in the named relvarNoUpdatesException - if no attribute value changes at all are detectedjava.lang.IllegalArgumentException - If relvarName or o are null, or if relvarName is the zero-length string, or the getPreUpdateState() method of o returns either null or an object that is not of the same class as o.public java.lang.String getCommand()
DmlCommandgetCommand in class DmlCommandpublic ServerUpdateCommand getServerCommand()
DmlCommandgetServerCommand in class DmlCommandpublic java.lang.String toString()
toString in class java.lang.Object