org.argouml.model
Class AssociationChangeEvent
java.lang.Object
java.util.EventObject
java.beans.PropertyChangeEvent
org.argouml.model.UmlChangeEvent
org.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
changedValue
private Object changedValue
- The value that was changed.
serialVersionUID
private static final long serialVersionUID
- The UID.
- See Also:
- Constant Field Values
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.
getChangedValue
public Object getChangedValue()
- Returns:
- The changed value.