public interface PropertyUpdatedEvent extends PropertyEvent
PropertyUpdatedEvent
is fired whenever an existing property (as
of Keys.containsKey(Object)
) is updated in the related
ObservableProperties
instance (as of
Keys.MutableValues.put(Object, Object)
or the like). A
PropertyUpdatedEvent
represents a Property
with a key and a
value (as of KeyAccessor.getKey()
and ValueAccessor.getValue()
) of
the updated property and the previous value of the property, accessible via
getPreviousValue()
.org.refcodes.mixin.SourceAccessor.SourceMutator<SRC>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC>
org.refcodes.structure.Property.PropertyBuilder
org.refcodes.structure.Relation.RelationBuilder<K,V>
Modifier and Type | Method and Description |
---|---|
String |
getPreviousValue()
Returns the value of the property which has been replaced by the value as
of
ValueAccessor.getValue() . |
String getPreviousValue()
ValueAccessor.getValue()
.Copyright © 2017. All rights reserved.