be.SIRAPRISE.client
Class DmlUnassertCommand

java.lang.Object
  extended by be.SIRAPRISE.client.DmlCommand
      extended by be.SIRAPRISE.client.DmlAssignmentCommand
          extended by be.SIRAPRISE.client.DmlSingleAssignmentCommand
              extended by be.SIRAPRISE.client.DmlUnassertCommand

public final class DmlUnassertCommand
extends DmlSingleAssignmentCommand

A DmlUnassertCommand is the command that will make sure that a tuple will not exist in the named relvar (in the target database to which this command will be sent) for the object passed to the constructor. The command will not fail if that tuple is not present in that relvar.

Author:
Erwin Smout

Field Summary
static byte ASSIGNMENTTYPE
          The byte code identifying the 'ASSERT' assignment type within the messages system
 
Constructor Summary
DmlUnassertCommand(java.lang.String relvarName, DBObject dbObject)
          Creates the command object.
 
Method Summary
 java.lang.String getCommand()
          Gets the command text
 ServerCommand getServerCommand()
          Gets the ServerCommand object representing this dml command
 java.lang.String toString()
           
 
Methods inherited from class be.SIRAPRISE.client.DmlSingleAssignmentCommand
getRelationText, getRelvarName
 
Methods inherited from class be.SIRAPRISE.client.DmlAssignmentCommand
getServerAssignmentCommand
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ASSIGNMENTTYPE

public static final byte ASSIGNMENTTYPE
The byte code identifying the 'ASSERT' assignment type within the messages system

See Also:
Constant Field Values
Constructor Detail

DmlUnassertCommand

public DmlUnassertCommand(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 added
dbObject - The object for which a tuple is to be added in the named relvar
Method Detail

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