com.softwareag.tamino.db.api.command
Class TCommandParameterValue

java.lang.Object
  extended by com.softwareag.tamino.db.api.command.TCommandItem
      extended by com.softwareag.tamino.db.api.command.TCommandParameterValue

public class TCommandParameterValue
extends TCommandItem

TCommandParameterValue represents the value type of TCommandParameter. As a consequence a TCommandParameter object offen occurrs in pair with a TCommandParameterValue that represents its value state.

Version:
$Revision: 1.12 $
Author:
Marcus Schreyer

Field Summary
static TCommandParameterValue CHEAP
          Constant that represents the "cheap" command value for the _count parameetr.
static TCommandParameterValue SCROLL_NO
          Constant that represents the "no" command parameter value for the SCROLL command parameter.
static TCommandParameterValue SCROLL_YES
          Constant that represents the "yes" command parameter value for the SCROLL command parameter.
static TCommandParameterValue TEST
          Constant that represents the "test" command parameter value for the mode command parameter.
static TCommandParameterValue TESTANDVALIDATE
          Constant that represents the "test and validate" command parameter value for the mode command parameter.
static TCommandParameterValue VALIDATE
          Constant that represents the "validate" command parameter value for the mode command parameter.
 
Constructor Summary
TCommandParameterValue(int value)
          Instantiates the TCommandParameterValue with an int.
TCommandParameterValue(long value)
          Instantiates the TCommandParameterValue with a long.
TCommandParameterValue(java.lang.String value)
          Instantiates the TCommandParameterValue with a string.
 
Method Summary
 void takeVisitor(TCommandItemVisitor visitor)
          Takes a TCommandItemVisitor and tells it that it wants to be visited.
 
Methods inherited from class com.softwareag.tamino.db.api.command.TCommandItem
getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TEST

public static final TCommandParameterValue TEST
Constant that represents the "test" command parameter value for the mode command parameter.


CHEAP

public static final TCommandParameterValue CHEAP
Constant that represents the "cheap" command value for the _count parameetr.


VALIDATE

public static final TCommandParameterValue VALIDATE
Constant that represents the "validate" command parameter value for the mode command parameter.


TESTANDVALIDATE

public static final TCommandParameterValue TESTANDVALIDATE
Constant that represents the "test and validate" command parameter value for the mode command parameter.


SCROLL_YES

public static final TCommandParameterValue SCROLL_YES
Constant that represents the "yes" command parameter value for the SCROLL command parameter.


SCROLL_NO

public static final TCommandParameterValue SCROLL_NO
Constant that represents the "no" command parameter value for the SCROLL command parameter.

Constructor Detail

TCommandParameterValue

public TCommandParameterValue(java.lang.String value)
Instantiates the TCommandParameterValue with a string.


TCommandParameterValue

public TCommandParameterValue(int value)
Instantiates the TCommandParameterValue with an int.


TCommandParameterValue

public TCommandParameterValue(long value)
Instantiates the TCommandParameterValue with a long.

Method Detail

takeVisitor

public void takeVisitor(TCommandItemVisitor visitor)
Takes a TCommandItemVisitor and tells it that it wants to be visited.

Specified by:
takeVisitor in class TCommandItem
Parameters:
the - TCommandItemVisitor that shall visit this instance.


Copyright (c) 2013 Software AG. All Rights Reserved.