com.ibm.as400.resource

Class AbstractValueMap

  • java.lang.Object
    • com.ibm.as400.resource.AbstractValueMap
  • All Implemented Interfaces:
    ValueMap, java.io.Serializable
    Direct Known Subclasses:
    BooleanValueMap

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

    public abstract class AbstractValueMap
    extends java.lang.Object
    implements ValueMap, java.io.Serializable
    The AbstractValueMap class is a default implementation for a ValueMap. This is useful if an implementation only needs to provide a single method.

    This class is intended as a helper class for implementing subclasses of Resource.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      AbstractValueMap()
      Deprecated. 
       
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Object ltop(java.lang.Object logicalValue)
      Deprecated. 
      Maps from a logical value to a physical value.
      java.lang.Object ltop(java.lang.Object logicalValue, AS400 system)
      Deprecated. 
      Maps from a logical value to a physical value.
      java.lang.Object ptol(java.lang.Object physicalValue)
      Deprecated. 
      Maps from a physical value to a logical value.
      java.lang.Object ptol(java.lang.Object physicalValue, AS400 system)
      Deprecated. 
      Maps from a physical value to a logical value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractValueMap

        public AbstractValueMap()
        Deprecated. 
    >
    • Method Detail

      • ltop

        public java.lang.Object ltop(java.lang.Object logicalValue,
                            AS400 system)
        Deprecated. 
        Maps from a logical value to a physical value.
        Specified by:
        ltop in interface ValueMap
        Parameters:
        logicalValue - The logical value.
        system - The system.
        Returns:
        The physical value.
      • ltop

        public java.lang.Object ltop(java.lang.Object logicalValue)
        Deprecated. 
        Maps from a logical value to a physical value.
        Parameters:
        logicalValue - The logical value.
        Returns:
        The physical value.
      • ptol

        public java.lang.Object ptol(java.lang.Object physicalValue,
                            AS400 system)
        Deprecated. 
        Maps from a physical value to a logical value.
        Specified by:
        ptol in interface ValueMap
        Parameters:
        physicalValue - The physical value.
        system - The system.
        Returns:
        The logical value.
      • ptol

        public java.lang.Object ptol(java.lang.Object physicalValue)
        Deprecated. 
        Maps from a physical value to a logical value.
        Parameters:
        physicalValue - The physical value.
        Returns:
        The logical value.