org.optaplanner.core.impl.domain.lookup

## Class PlanningIdLookUpStrategy

- java.lang.Object
- - org.optaplanner.core.impl.domain.lookup.PlanningIdLookUpStrategy

- All Implemented Interfaces:
    LookUpStrategy

      public class PlanningIdLookUpStrategy
      extends Object
      implements LookUpStrategy

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PlanningIdLookUpStrategy(MemberAccessor planningIdMemberAccessor)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addWorkingObject(Map<Object,Object> idToWorkingObjectMap, Object workingObject)`
    `protected Object` | `extractPlanningId(Object externalObject)`
    `<E> E` | `lookUpWorkingObject(Map<Object,Object> idToWorkingObjectMap, E externalObject)`
    `<E> E` | `lookUpWorkingObjectIfExists(Map<Object,Object> idToWorkingObjectMap, E externalObject)`
    `void` | `removeWorkingObject(Map<Object,Object> idToWorkingObjectMap, Object workingObject)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PlanningIdLookUpStrategy

          public PlanningIdLookUpStrategy(MemberAccessor planningIdMemberAccessor)

  - ### Method Detail

    - #### addWorkingObject

          public void addWorkingObject(Map<Object,Object> idToWorkingObjectMap,
                                       Object workingObject)

      Specified by:
        `addWorkingObject` in interface `LookUpStrategy`

    - #### removeWorkingObject

          public void removeWorkingObject(Map<Object,Object> idToWorkingObjectMap,
                                          Object workingObject)

      Specified by:
        `removeWorkingObject` in interface `LookUpStrategy`

    - #### lookUpWorkingObject

          public <E> E lookUpWorkingObject(Map<Object,Object> idToWorkingObjectMap,
                                           E externalObject)

      Specified by:
        `lookUpWorkingObject` in interface `LookUpStrategy`

    - #### lookUpWorkingObjectIfExists

          public <E> E lookUpWorkingObjectIfExists(Map<Object,Object> idToWorkingObjectMap,
                                                   E externalObject)

      Specified by:
        `lookUpWorkingObjectIfExists` in interface `LookUpStrategy`

    - #### extractPlanningId

          protected Object extractPlanningId(Object externalObject)

Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.