Annotation Type PlanningId
-
@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface PlanningId
Specifies that a bean property (or a field) is the id to match whenlocating
an externalObject (often from anotherThread
or JVM). Used duringMove
rebasing and in aProblemFactChange
.It is specified on a getter of a java bean property (or directly on a field) of a
PlanningEntity
class,planning value
class or anyproblem fact
class.The return type can be any
Comparable
type which overridesObject.equals(Object)
andObject.hashCode()
, and is usuallyLong
orString
. It must never return a null instance.