com.softwareag.ino.sxs
Class BooleanRef

java.lang.Object
  extended by com.softwareag.ino.sxs.BooleanRef

public class BooleanRef
extends java.lang.Object

Auxiliary class to represent references to boolean values. It is used for booleans as output parameters.


Constructor Summary
BooleanRef()
          Default constructor initializes the BooleanRef with false.
BooleanRef(boolean initVal)
          Constructor to initialize the BooleanRef with the given value.
 
Method Summary
 boolean getVal()
          Gets the current value of the BooleanRef.
 void setVal(boolean newVal)
          Sets the value of the BooleanRef to a given value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanRef

public BooleanRef()
Default constructor initializes the BooleanRef with false.


BooleanRef

public BooleanRef(boolean initVal)
Constructor to initialize the BooleanRef with the given value.

Parameters:
initVal - the initial value
Method Detail

getVal

public boolean getVal()
Gets the current value of the BooleanRef.

Returns:
the current value

setVal

public void setVal(boolean newVal)
Sets the value of the BooleanRef to a given value.

Parameters:
newVal - the new value