safejdbc.holder
Class BooleanHolder

java.lang.Object
  |
  +--safejdbc.holder.BooleanHolder

public class BooleanHolder
extends java.lang.Object

This class is designed to hold a boolean. It is useful to pass a boolean into and out of a code block such as a ResultSetProcessor or a FillingCommand. For an overview see the package overview.


Constructor Summary
BooleanHolder(boolean value)
           
 
Method Summary
 void and(boolean value)
           
 boolean getValue()
           
 void not()
           
 void or(boolean value)
           
 void setValue(boolean value)
           
 void xor(boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanHolder

public BooleanHolder(boolean value)
Method Detail

getValue

public boolean getValue()

setValue

public void setValue(boolean value)

not

public void not()

or

public void or(boolean value)

and

public void and(boolean value)

xor

public void xor(boolean value)


Copyright (c) 2001, 2002 by Jan Hermanns and Arno Haase. All Rights Reserved.