org.objectweb.speedo.genclass.api
Interface SpeedoGenClassCoherence

All Known Subinterfaces:
SpeedoGenClassProxy
All Known Implementing Classes:
ArrayListImpl, GenClass, GenClassAccessor, HashMapImpl, HashSetImpl, HashtableImpl, LinkedListImpl, PropertiesImpl, TreeMapImpl, VectorImpl

public interface SpeedoGenClassCoherence

An interface use to manage the consistency of relations.


Method Summary
 boolean speedoAdd(java.lang.Object elemToAdd, java.lang.Object hints)
          Askes the adding of an element into a generic class.
 boolean speedoRemove(java.lang.Object elemToRemove, java.lang.Object hints)
          Askes the removing of an element from a generic class.
 

Method Detail

speedoAdd

public boolean speedoAdd(java.lang.Object elemToAdd,
                         java.lang.Object hints)
Askes the adding of an element into a generic class. The consistency of relations must not be managed: this is done by the caller of this method.

Parameters:
elemToAdd - is the element to add

speedoRemove

public boolean speedoRemove(java.lang.Object elemToRemove,
                            java.lang.Object hints)
Askes the removing of an element from a generic class. The consistency of relations must not be managed: this is done by the caller of this method.

Parameters:
elemToRemove - is the element to remove