com.ibm.carma.model.util
Class MemberInfoListener

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterImpl
      extended by org.eclipse.emf.ecore.util.EContentAdapter
          extended by com.ibm.carma.model.util.MemberInfoListener
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal

public class MemberInfoListener
extends org.eclipse.emf.ecore.util.EContentAdapter

Listener which is notified of changes to Member Info on CARMAResource model elements.

Since:
7.1

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
org.eclipse.emf.common.notify.Adapter.Internal
 
Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
MemberInfoListener()
           
 
Method Summary
 void memberInfoUpdated(CARMAResource resource, java.lang.String key, java.lang.Object newValue, java.lang.Object oldValue, boolean isSet)
          Notification callback signaling that a piece of member info was updated
 void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
           
 void setTarget(org.eclipse.emf.common.notify.Notifier target)
           
 
Methods inherited from class org.eclipse.emf.ecore.util.EContentAdapter
unsetTarget
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget, isAdapterForType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

MemberInfoListener

public MemberInfoListener()
Method Detail

notifyChanged

public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
Specified by:
notifyChanged in interface org.eclipse.emf.common.notify.Adapter
Overrides:
notifyChanged in class org.eclipse.emf.ecore.util.EContentAdapter

setTarget

public void setTarget(org.eclipse.emf.common.notify.Notifier target)
Specified by:
setTarget in interface org.eclipse.emf.common.notify.Adapter
Overrides:
setTarget in class org.eclipse.emf.ecore.util.EContentAdapter

memberInfoUpdated

public void memberInfoUpdated(CARMAResource resource,
                              java.lang.String key,
                              java.lang.Object newValue,
                              java.lang.Object oldValue,
                              boolean isSet)
Notification callback signaling that a piece of member info was updated

Parameters:
resource - the CARMA resource whose member info was updated
key - the member info key that was updated
newValue - the old value of the member info key
oldValue - the new value of the member info key
isSet - true if the member info exists, false if the member info was removed