org.simantics.databoard.accessor.event
Class MapEntryAdded

java.lang.Object
  extended by org.simantics.databoard.accessor.event.Event
      extended by org.simantics.databoard.accessor.event.ModificationEvent
          extended by org.simantics.databoard.accessor.event.MapEntryAdded

public class MapEntryAdded
extends ModificationEvent


Field Summary
 Variant key
          The key of the new entry.
 Variant value
          The value of the new enry.
 
Fields inherited from class org.simantics.databoard.accessor.event.Event
reference
 
Constructor Summary
MapEntryAdded(Variant key)
           
MapEntryAdded(Variant key, Variant value)
           
 
Method Summary
 MapEntryAdded clone(AccessorReference newReference)
          Create a clone with new reference
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

public Variant key
The key of the new entry.


value

public Variant value
The value of the new enry. Value is added if the entry was in interest Set

Constructor Detail

MapEntryAdded

public MapEntryAdded(Variant key)

MapEntryAdded

public MapEntryAdded(Variant key,
                     Variant value)
Method Detail

clone

public MapEntryAdded clone(AccessorReference newReference)
Description copied from class: Event
Create a clone with new reference

Specified by:
clone in class Event
Returns:
clone with a new reference

toString

public java.lang.String toString()
Overrides:
toString in class Event