org.apache.cayenne.property
Interface CollectionProperty

All Superinterfaces:
ArcProperty, Property, PropertyAccessor, java.io.Serializable
All Known Implementing Classes:
AbstractCollectionProperty, IndexedListProperty, ListProperty, ToManyListProperty

public interface CollectionProperty
extends ArcProperty

A property representing a collection of objects.

Since:
1.2
Author:
Andrus Adamchik

Method Summary
 void addTarget(java.lang.Object source, java.lang.Object target, boolean setReverse)
           
 void removeTarget(java.lang.Object source, java.lang.Object target, boolean setReverse)
           
 
Methods inherited from interface org.apache.cayenne.property.ArcProperty
getComplimentaryReverseArc, getTargetDescriptor, isFault
 
Methods inherited from interface org.apache.cayenne.property.Property
injectValueHolder, readProperty, shallowMerge, visit, writeProperty
 
Methods inherited from interface org.apache.cayenne.property.PropertyAccessor
getName, readPropertyDirectly, writePropertyDirectly
 

Method Detail

addTarget

void addTarget(java.lang.Object source,
               java.lang.Object target,
               boolean setReverse)
               throws PropertyAccessException
Throws:
PropertyAccessException

removeTarget

void removeTarget(java.lang.Object source,
                  java.lang.Object target,
                  boolean setReverse)
                  throws PropertyAccessException
Throws:
PropertyAccessException


Copyright © 2001-2006 Apache.org All Rights Reserved.