Package com.aquima.interactions.matching
Class StrategyType
java.lang.Object
com.aquima.interactions.matching.StrategyType
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 ClassesModifier and TypeClassDescriptionstatic final class
This class contains the numeric identifiers of the strategy types. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptionstatic StrategyType[]
getAll()
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
getId()
This method returns the unique ID of the strategy type.getName()
This method returns the unique name of the strategy type.toString()
static StrategyType
valueOf
(int strategyId) This method returns the strategy type for the specified ID.static StrategyType
This method returns the strategy type for the specified name.
-
Field Details
-
MAXIMUM
This member defines the MAXIMUM strategy type. -
AVERAGE
This member defines the AVERAGE strategy type. -
UNIQUE
This member defines the UNIQUE strategy type.
-
-
Method Details
-
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
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
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
This method returns the unique name of the strategy type.- Returns:
- the unique name of the strategy type.
-
getDisplayValue
This method returns a display value (description) for the strategy type.- Returns:
- a display value (description) for the strategy type.
-
toString
-