org.faktorips.runtime
Class AssociationChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by java.beans.PropertyChangeEvent
          extended by org.faktorips.runtime.AssociationChangedEvent
All Implemented Interfaces:
Serializable

public class AssociationChangedEvent
extends PropertyChangeEvent

Extension of PropertyChangeEvent for explicitly modeling properties as associations and firing events when association targets are added or removed from the association.

Author:
Daniel Hohenberger
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AssociationChangedEvent(Object source, String associationName, Object removedAssociationTarget, Object addedAssociationTarget)
           
 
Method Summary
 Object getAddedAssociationTarget()
           
 String getAssociationName()
           
 Object getRemovedAssociationTarget()
           
 
Methods inherited from class java.beans.PropertyChangeEvent
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssociationChangedEvent

public AssociationChangedEvent(Object source,
                               String associationName,
                               Object removedAssociationTarget,
                               Object addedAssociationTarget)
Method Detail

getAddedAssociationTarget

public Object getAddedAssociationTarget()

getRemovedAssociationTarget

public Object getRemovedAssociationTarget()

getAssociationName

public String getAssociationName()


Copyright © 2015. All rights reserved.