Class StrategyType

java.lang.Object
com.aquima.interactions.matching.StrategyType

public final class StrategyType extends Object
The strategy enumerated type is used to indicate which multivalue strategy should be used when matching multivalue attributes.
Since:
6.2
Author:
O. Kerpershoek, F. van der Meer
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    This class contains the numeric identifiers of the strategy types.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final StrategyType
    This member defines the AVERAGE strategy type.
    static final StrategyType
    This member defines the MAXIMUM strategy type.
    static final StrategyType
    This member defines the UNIQUE strategy type.
  • Method Summary

    Modifier and Type
    Method
    Description
    static StrategyType[]
    This method returns an array containing all the strategy types that are supported.
    This method returns a display value (description) for the strategy type.
    int
    This method returns the unique ID of the strategy type.
    This method returns the unique name of the strategy type.
     
    valueOf(int strategyId)
    This method returns the strategy type for the specified ID.
    valueOf(String strategyName)
    This method returns the strategy type for the specified name.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • MAXIMUM

      public static final StrategyType MAXIMUM
      This member defines the MAXIMUM strategy type.
    • AVERAGE

      public static final StrategyType AVERAGE
      This member defines the AVERAGE strategy type.
    • UNIQUE

      public static final StrategyType UNIQUE
      This member defines the UNIQUE strategy type.
  • Method Details

    • getAll

      public static StrategyType[] getAll()
      This method returns an array containing all the strategy types that are supported.
      Returns:
      an array containing all the strategy types that are supported.
    • valueOf

      public static StrategyType valueOf(int strategyId)
      This method returns the strategy type for the specified ID.
      Parameters:
      strategyId - The ID of the requested strategy type.
      Returns:
      The strategy type for the specified ID, or null when no matching type could be found.
    • valueOf

      public static StrategyType valueOf(String strategyName)
      This method returns the strategy type for the specified name.
      Parameters:
      strategyName - The name of the requested strategy type.
      Returns:
      The strategy type for the specified name, or null when no matching type could be found.
    • getId

      public int getId()
      This method returns the unique ID of the strategy type.
      Returns:
      the unique ID of the strategy type.
    • getName

      public String getName()
      This method returns the unique name of the strategy type.
      Returns:
      the unique name of the strategy type.
    • getDisplayValue

      public String getDisplayValue()
      This method returns a display value (description) for the strategy type.
      Returns:
      a display value (description) for the strategy type.
    • toString

      public String toString()
      Overrides:
      toString in class Object