org.apache.cayenne.reflect
Interface ToManyProperty
- All Superinterfaces:
- ArcProperty, Property
- All Known Subinterfaces:
- ToManyMapProperty
- All Known Implementing Classes:
- BaseToManyProperty
public interface ToManyProperty
- extends ArcProperty
A property representing a collection of objects.
- Since:
- 3.0
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
addTargetDirectly
void addTargetDirectly(Object source,
Object target)
throws PropertyException
- Adds value to collection, without triggering changing events
This method is mostly for internal use
- Throws:
PropertyException
- Since:
- 3.1
removeTargetDirectly
void removeTargetDirectly(Object source,
Object target)
throws PropertyException
- Removes value from collection, without triggering changing events
This method is mostly for internal use
- Throws:
PropertyException
- Since:
- 3.1
Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.