Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.reflect
Interface ToManyMapProperty

All Superinterfaces:
  ArcProperty, Property, ToManyProperty

    public interface ToManyMapProperty

extends ToManyProperty

A property representing a map of objects keyed by one of the object properties.

Since:
  3.0

Method Summary
`Object` | `getMapKey(Object target)` Extracts the map key of the target object.

Methods inherited from interface org.apache.cayenne.reflect.ToManyProperty
`addTarget, addTargetDirectly, removeTarget, removeTargetDirectly`

Methods inherited from interface org.apache.cayenne.reflect.ArcProperty
`getComplimentaryReverseArc, getRelationship, getTargetDescriptor, invalidate, isFault`

Methods inherited from interface org.apache.cayenne.reflect.Property
`getName, injectValueHolder, readProperty, readPropertyDirectly, visit, writeProperty, writePropertyDirectly`

Method Detail

### getMapKey

    Object getMapKey(Object target)
                     throws PropertyException

  Extracts the map key of the target object.

  Throws:
    `PropertyException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2010 Apache Cayenne. All Rights Reserved.