org.apache.tuscany.sdo.impl
Class EventImpl

java.lang.Object
  extended by org.apache.tuscany.sdo.impl.EventImpl
All Implemented Interfaces:
Event

public class EventImpl
extends Object
implements Event


Field Summary
protected  org.eclipse.emf.common.notify.Notification emfEvent
           
protected  Object notifier
           
 
Fields inherited from interface org.apache.tuscany.sdo.api.Event
ADD, ADD_MANY, MOVE, NO_INDEX, REMOVE, REMOVE_LISTENER, REMOVE_MANY, SET, UNSET
 
Constructor Summary
EventImpl(org.eclipse.emf.common.notify.Notification notification)
           
 
Method Summary
 int getEventType()
           
 Object getNewValue()
           
 Object getNotifier()
           
 Object getOldValue()
           
 int getPosition()
           
 Property getProperty()
          get the Property for which the value changed
 boolean isTouch()
           
 boolean wasSet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

emfEvent

protected org.eclipse.emf.common.notify.Notification emfEvent

notifier

protected Object notifier
Constructor Detail

EventImpl

public EventImpl(org.eclipse.emf.common.notify.Notification notification)
Method Detail

getNotifier

public Object getNotifier()
Specified by:
getNotifier in interface Event

getEventType

public int getEventType()
Specified by:
getEventType in interface Event

getProperty

public Property getProperty()
Description copied from interface: Event
get the Property for which the value changed

Specified by:
getProperty in interface Event

getOldValue

public Object getOldValue()
Specified by:
getOldValue in interface Event

getNewValue

public Object getNewValue()
Specified by:
getNewValue in interface Event

wasSet

public boolean wasSet()
Specified by:
wasSet in interface Event

isTouch

public boolean isTouch()
Specified by:
isTouch in interface Event

getPosition

public int getPosition()
Specified by:
getPosition in interface Event


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.