org.apache.cayenne.access

## Class ToManyMapFault

- java.lang.Object
- - org.apache.cayenne.Fault
  - - org.apache.cayenne.access.ToManyMapFault

- All Implemented Interfaces:
    Serializable

      public class ToManyMapFault
      extends Fault

  Since:
    3.0
  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Accessor` | `mapKeyAccessor`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ToManyMapFault(Accessor mapKeyAccessor)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `resolveFault(Persistent sourceObject, String relationshipName)` Returns an object for a given source object and relationship.

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

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

- - ### Field Detail

    - #### mapKeyAccessor

          protected Accessor mapKeyAccessor

  - ### Constructor Detail

    - #### ToManyMapFault

          public ToManyMapFault(Accessor mapKeyAccessor)

  - ### Method Detail

    - #### resolveFault

          public Object resolveFault(Persistent sourceObject,
                                     String relationshipName)

      Description copied from class: `Fault`
      Returns an object for a given source object and relationship.
      Specified by:
        `resolveFault` in class `Fault`

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