com.ibm.as400.resource
Class BooleanValueMap

java.lang.Object
  extended bycom.ibm.as400.resource.AbstractValueMap
      extended bycom.ibm.as400.resource.BooleanValueMap
All Implemented Interfaces:
Serializable, ValueMap

Deprecated. Use packages com.ibm.as400.access and com.ibm.as400.access.list instead.

public class BooleanValueMap
extends AbstractValueMap
implements Serializable

The BooleanValueMap class maps between a logical Boolean value and specified physical values.

See Also:
Serialized Form

Constructor Summary
BooleanValueMap(Object[] falseValues, Object[] trueValues)
          Deprecated. Constructs a BooleanValueMap object.
BooleanValueMap(Object falseValue, Object trueValue)
          Deprecated. Constructs a BooleanValueMap object.
 
Method Summary
 Object ltop(Object logicalValue)
          Deprecated. Maps from a logical value to a physical value.
 Object ptol(Object physicalValue)
          Deprecated. Maps from a physical value to a logical value.
 
Methods inherited from class com.ibm.as400.resource.AbstractValueMap
ltop, ptol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanValueMap

public BooleanValueMap(Object falseValue,
                       Object trueValue)
Deprecated. 
Constructs a BooleanValueMap object.

Parameters:
falseValue - The physical value which represents false.
trueValue - The physical value which represents true.

BooleanValueMap

public BooleanValueMap(Object[] falseValues,
                       Object[] trueValues)
Deprecated. 
Constructs a BooleanValueMap object.

Parameters:
falseValues - The physical values which represent false.
trueValues - The physical values which represent true.
Method Detail

ltop

public Object ltop(Object logicalValue)
Deprecated. 
Maps from a logical value to a physical value.

Overrides:
ltop in class AbstractValueMap
Parameters:
logicalValue - The logical value.
Returns:
The physical value.

ptol

public Object ptol(Object physicalValue)
Deprecated. 
Maps from a physical value to a logical value.

Overrides:
ptol in class AbstractValueMap
Parameters:
physicalValue - The physical value.
Returns:
The logical value.