org.apache.cayenne.util
Interface PersistentObjectCollection

All Superinterfaces:
java.util.Collection, java.lang.Iterable
All Known Implementing Classes:
PersistentObjectList, PersistentObjectSet, ToManyList

public interface PersistentObjectCollection
extends java.util.Collection

Simple interface to unify PersistentObject* collections in way of setting properties directly

Since:
3.1
See Also:
ToManyMapProperty

Method Summary
 void addDirectly(java.lang.Object target)
          Adds an object without triggering an event
 void removeDirectly(java.lang.Object target)
          Removes an object without triggering an event
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

addDirectly

void addDirectly(java.lang.Object target)
Adds an object without triggering an event


removeDirectly

void removeDirectly(java.lang.Object target)
Removes an object without triggering an event



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