com.ibm.as400.resource

Interface ValueMap

  • All Known Implementing Classes:
    AbstractValueMap, BooleanValueMap, IntegerValueMap

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

    public interface ValueMap
    The ValueMap interface represents a mapping between physical and logical values. While this could be used in many contexts, the most common is to consider the physical value as stored on or communicated to a system, and the logical value to be manipulated or externalized in Java.

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

    See Also:
    AbstractValueMap
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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, AS400 system)
      Deprecated. 
      Maps from a physical value to a logical value.
    • Method Detail

      • ltop

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

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