org.argouml.model
Class AssociationChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjava.beans.PropertyChangeEvent
          extended byorg.argouml.model.UmlChangeEvent
              extended byorg.argouml.model.AssociationChangeEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AddAssociationEvent, RemoveAssociationEvent

public class AssociationChangeEvent
extends UmlChangeEvent

A change event due to change in an association between one model element and another. TODO: Break down into subclasses AddAssociationEvent and RemoveAssociationEvent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AssociationChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, Object theChangedValue, EventObject originalEvent)
          Constructor.
 
Method Summary
 Object getChangedValue()
           
 
Methods inherited from class org.argouml.model.UmlChangeEvent
getOriginalEvent
 
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

AssociationChangeEvent

public AssociationChangeEvent(Object source,
                              String propertyName,
                              Object oldValue,
                              Object newValue,
                              Object theChangedValue,
                              EventObject originalEvent)
Constructor.

Parameters:
source - The bean that fired the event.
propertyName - The programmatic name of the property that was changed.
oldValue - The old value of the property.
newValue - The new value of the property.
originalEvent - The event that was fired internally in the Model subsystem that caused this.
theChangedValue - The object that was actually added or removed.
Method Detail

getChangedValue

public Object getChangedValue()
Returns:
The changed value.


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Cookbook