be.SIRAPRISE.client
Class DmlDeleteCommand
java.lang.Object
be.SIRAPRISE.client.DmlCommand
be.SIRAPRISE.client.DmlAssignmentCommand
be.SIRAPRISE.client.DmlSingleAssignmentCommand
be.SIRAPRISE.client.DmlDeleteCommand
public final class DmlDeleteCommand
- extends DmlSingleAssignmentCommand
A DmlDeleteCommand is the command that will make sure that a tuple will be removed from the named relvar (in the target database to which this command will be sent) for the object passed to the constructor. The command will fail if that tuple is not present in that relvar.
- Author:
- Erwin Smout
Field Summary |
static byte |
ASSIGNMENTTYPE
The byte code identifying the 'DELETE' assignment type within the messages system |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASSIGNMENTTYPE
public static final byte ASSIGNMENTTYPE
- The byte code identifying the 'DELETE' assignment type within the messages system
- See Also:
- Constant Field Values
DmlDeleteCommand
public DmlDeleteCommand(java.lang.String relvarName,
DBObject dbObject)
- Creates the command object. See the DmlAssignmentCommand doc for an explanation of how the relvar's heading and the object's class must correspond to one another.
- Parameters:
relvarName
- The name of the relvar in which a tuple for the object is to be addeddbObject
- The object for which a tuple is to be added in the named relvar
getCommand
public java.lang.String getCommand()
- Description copied from class:
DmlCommand
- Gets the command text
- Specified by:
getCommand
in class DmlCommand
- Returns:
- the command text
getServerCommand
public ServerCommand getServerCommand()
- Description copied from class:
DmlCommand
- Gets the ServerCommand object representing this dml command
- Specified by:
getServerCommand
in class DmlCommand
- Returns:
- the ServerCommand object representing this dml command
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object