com.ibm.commerce.marketing.promotion.dependency

Interface KeyResolver

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.Number lookup(Key key)
      Using the key to find the index number.
      Key reverseLookup(java.lang.Number numericKeyValue)
      Using the numeric value to search for the corresponding Key object.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Method Detail

      • lookup

        java.lang.Number lookup(Key key)
        Using the key to find the index number.
        Parameters:
        key - is the Key for lookup.
        Returns:
        number corresponding to the Key if found.
      • reverseLookup

        Key reverseLookup(java.lang.Number numericKeyValue)
        Using the numeric value to search for the corresponding Key object.
        Parameters:
        numericKeyValue - is a number representing the key.
        Returns:
        Key object if found.