com.wrq.vhi.script.api.command
Class WriteVariableToField

java.lang.Object
  extended by com.wrq.vhi.script.api.command.Command
      extended by com.wrq.vhi.script.api.command.WriteVariableToField

public class WriteVariableToField
extends Command

A class that represents a VHI WriteVariableToField command.

See Also:
CommandList, HostSession.executeCommandList(com.wrq.vhi.script.api.command.CommandList), HostSession.writeVariableToField(java.lang.String, java.lang.String, java.lang.String)

Constructor Summary
WriteVariableToField(java.lang.String recordSet, java.lang.String field, java.lang.String variable)
          Constructs a new WriteVarToField command.
 
Method Summary
 java.lang.String getField()
          Gets the field name.
 java.lang.String getName()
          Gets the command name.
 java.lang.String getRecordSet()
          Gets the record set name.
 java.lang.String getVariable()
          Gets the variable name.
 
Methods inherited from class com.wrq.vhi.script.api.command.Command
isValidEchoType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriteVariableToField

public WriteVariableToField(java.lang.String recordSet,
                            java.lang.String field,
                            java.lang.String variable)
Constructs a new WriteVarToField command.

Parameters:
recordSet - name of recordset on current entity containing the field to be written to
field - name of field to be written to
variable - name of variable containing value to be written
Method Detail

getRecordSet

public java.lang.String getRecordSet()
Gets the record set name.

Returns:
name of recordset on current entity containing the field to be written to

getField

public java.lang.String getField()
Gets the field name.

Returns:
name of field to be written to

getVariable

public java.lang.String getVariable()
Gets the variable name.

Returns:
name of variable containing value to be written

getName

public java.lang.String getName()
Gets the command name.

Specified by:
getName in class Command
Returns:
the command name