org.argouml.model
Class InstanceChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by java.beans.PropertyChangeEvent
          extended by org.argouml.model.UmlChangeEvent
              extended by org.argouml.model.InstanceChangeEvent
All Implemented Interfaces:
java.io.Serializable

public abstract class InstanceChangeEvent
extends UmlChangeEvent

A change event due to change in the lifetime of a model element instance. That is, it is created or deleted.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
InstanceChangeEvent(java.lang.Object source, java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue, java.util.EventObject originalEvent)
          Constructor.
 
Method Summary
 
Methods inherited from class org.argouml.model.UmlChangeEvent
getOriginalEvent, toString
 
Methods inherited from class java.beans.PropertyChangeEvent
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstanceChangeEvent

public InstanceChangeEvent(java.lang.Object source,
                           java.lang.String propertyName,
                           java.lang.Object oldValue,
                           java.lang.Object newValue,
                           java.util.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.


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Cookbook