org.axonframework.saga
Interface AssociationValues

All Superinterfaces:
Collection<AssociationValue>, Iterable<AssociationValue>, Set<AssociationValue>
All Known Implementing Classes:
AssociationValuesImpl

public interface AssociationValues
extends Set<AssociationValue>

Author:
Allard Buijze

Nested Class Summary
static interface AssociationValues.ChangeListener
          Interface describing instances that listen for modification in an AssociationValues instance.
 
Method Summary
 void addChangeListener(AssociationValues.ChangeListener changeListener)
          Registers a listener that is notified when AssociationValue instances are wither added or removed from this collection.
 void removeChangeListener(AssociationValues.ChangeListener changeListener)
          Removes the registered changeListener.
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

addChangeListener

void addChangeListener(AssociationValues.ChangeListener changeListener)
Registers a listener that is notified when AssociationValue instances are wither added or removed from this collection.

Parameters:
changeListener - The listener to register

removeChangeListener

void removeChangeListener(AssociationValues.ChangeListener changeListener)
Removes the registered changeListener.

Parameters:
changeListener - The listener to remove


Copyright © 2011. All Rights Reserved.