be.SIRAPRISE.client
Class DmlMultipleAssignmentCommand

java.lang.Object
  extended by be.SIRAPRISE.client.DmlCommand
      extended by be.SIRAPRISE.client.DmlAssignmentCommand
          extended by be.SIRAPRISE.client.DmlMultipleAssignmentCommand

public final class DmlMultipleAssignmentCommand
extends DmlAssignmentCommand

Author:
Erwin

Constructor Summary
DmlMultipleAssignmentCommand(DmlAssignmentCommand[] individualAssignments)
          Creates the command object.
DmlMultipleAssignmentCommand(DmlSingleAssignmentCommand[] individualAssignments)
          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.DmlAssignmentCommand
getServerAssignmentCommand
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DmlMultipleAssignmentCommand

public DmlMultipleAssignmentCommand(DmlAssignmentCommand[] individualAssignments)
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:
individualAssignments - The individual assignments that make up the multiple assignment. If an individual assignment is itself a Multiple Assignment MA, the individual assignments that constitute it will take the place of MA in the Ma object being constructed.

DmlMultipleAssignmentCommand

public DmlMultipleAssignmentCommand(DmlSingleAssignmentCommand[] individualAssignments)
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:
individualAssignments - The individual assignments that make up the multiple assignment
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