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 ToManyProperty

All Superinterfaces:
  ArcProperty, Property

All Known Subinterfaces:
  ToManyMapProperty

All Known Implementing Classes:
  BaseToManyProperty, IndexedListProperty, ListProperty

    public interface ToManyProperty

extends ArcProperty

A property representing a collection of objects.

Since:
  3.0
Author:
  Andrus Adamchik

Method Summary
`void` | `addTarget(Object source, Object target, boolean setReverse)`
`void` | `removeTarget(Object source, Object target, boolean setReverse)`

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

### addTarget

    void addTarget(Object source,
                   Object target,
                   boolean setReverse)
                   throws PropertyException

  Throws:
    `PropertyException`

### removeTarget

    void removeTarget(Object source,
                      Object target,
                      boolean setReverse)
                      throws PropertyException

  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-2008 Apache Cayenne. All Rights Reserved.