org.apache.cayenne.access

## Class DefaultObjectMapRetainStrategy

- java.lang.Object
- - org.apache.cayenne.access.DefaultObjectMapRetainStrategy

- All Implemented Interfaces:
    ObjectMapRetainStrategy

      public class DefaultObjectMapRetainStrategy
      extends Object
      implements ObjectMapRetainStrategy

  Default implementation of `ObjectMapRetainStrategy`.
  Since:
    3.1

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected RuntimeProperties` | `runtimeProperties`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultObjectMapRetainStrategy(RuntimeProperties runtimeProperties)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<Object,Persistent>` | `createObjectMap()`

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

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

- - ### Field Detail

    - #### runtimeProperties

          protected RuntimeProperties runtimeProperties

  - ### Constructor Detail

    - #### DefaultObjectMapRetainStrategy

          public DefaultObjectMapRetainStrategy(RuntimeProperties runtimeProperties)

  - ### Method Detail

    - #### createObjectMap

          public Map<Object,Persistent> createObjectMap()

      Specified by:
        `createObjectMap` in interface `ObjectMapRetainStrategy`

Copyright © 2001–2014 Apache Cayenne. All rights reserved.