Enum Class LookUpStrategyType
- All Implemented Interfaces:
Serializable,Comparable<LookUpStrategyType>,Constable
@Deprecated(forRemoval=true,
since="1.10.0")
public enum LookUpStrategyType
extends Enum<LookUpStrategyType>
Deprecated, for removal: This API element is subject to removal in a future version.
Determines how
ScoreDirector.lookUpWorkingObject(Object) maps
a problem fact or a planning entity
from an external copy to the internal one.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Map byequals(Object)andhashCode().Deprecated, for removal: This API element is subject to removal in a future version.There is no mapping andScoreDirector.lookUpWorkingObject(Object)must not be used.Deprecated, for removal: This API element is subject to removal in a future version.Map by the samePlanningIdfield or method.Deprecated, for removal: This API element is subject to removal in a future version.Map by the samePlanningIdfield or method. -
Method Summary
Modifier and TypeMethodDescriptionstatic LookUpStrategyTypeDeprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name.static LookUpStrategyType[]values()Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLANNING_ID_OR_NONE
Deprecated, for removal: This API element is subject to removal in a future version.Map by the samePlanningIdfield or method. If there is no such field or method, there is no mapping andScoreDirector.lookUpWorkingObject(Object)must not be used. If there is such a field or method, but it returns null, it fails fast.This is the default.
-
PLANNING_ID_OR_FAIL_FAST
Deprecated, for removal: This API element is subject to removal in a future version.Map by the samePlanningIdfield or method. If there is no such field or method, it fails fast. -
EQUALITY
Deprecated, for removal: This API element is subject to removal in a future version.Map byequals(Object)andhashCode(). If any of these two methods is not overridden by the working object's class or some of its superclasses,ScoreDirector.lookUpWorkingObject(Object)must not be used because it cannot work correctly withObject's equals and hashCode implementations. -
NONE
Deprecated, for removal: This API element is subject to removal in a future version.There is no mapping andScoreDirector.lookUpWorkingObject(Object)must not be used.
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
PlanningIdinstead.