Servoy 5.x Public API

com.servoy.j2db.dataprocessing
Class ModificationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.servoy.j2db.dataprocessing.ModificationEvent
All Implemented Interfaces:
Serializable

public class ModificationEvent
extends EventObject

This class is used to inform about modifications

Since:
Servoy 5.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ModificationEvent(String name, Object value, Object source)
           
 
Method Summary
 String getName()
          Get the dataprovider name
 IRecord getRecord()
          Get the record this notification is for and value is from
 Object getValue()
          Get the changed value
 String toString()
           
 
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

ModificationEvent

public ModificationEvent(String name,
                         Object value,
                         Object source)
Method Detail

getName

public String getName()
Get the dataprovider name

Returns:
the dataprovider

getRecord

public IRecord getRecord()
Get the record this notification is for and value is from

Returns:
the record

getValue

public Object getValue()
Get the changed value

Returns:
the value

toString

public String toString()
Overrides:
toString in class EventObject

Copyright © 2010 Servoy B.V.