Class PropertyEventImpl
- java.lang.Object
-
- org.refcodes.observer.AbstractEvent<SRC>
-
- org.refcodes.observer.AbstractActionEvent<PropertyAction,ObservableProperties>
-
- org.refcodes.configuration.ext.observer.PropertyEventImpl
-
- All Implemented Interfaces:
PropertyEvent
,org.refcodes.mixin.ActionAccessor<PropertyAction>
,org.refcodes.mixin.KeyAccessor<PropertyAction>
,org.refcodes.mixin.SourceAccessor<PropertyAction>
,org.refcodes.mixin.ValueAccessor<PropertyAction>
,org.refcodes.observer.GenericActionEvent<PropertyAction,ObservableProperties>
,org.refcodes.observer.GenericEvent<PropertyAction>
,org.refcodes.structure.Property
,org.refcodes.structure.Relation<PropertyAction,ObservableProperties>
- Direct Known Subclasses:
PropertyCreatedEventImpl
,PropertyDeletedEventImpl
,PropertyUpdatedEventImpl
public class PropertyEventImpl extends org.refcodes.observer.AbstractActionEvent<PropertyAction,ObservableProperties> implements PropertyEvent
Implementation of thePropertyEvent
interface.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.ActionAccessor
org.refcodes.mixin.ActionAccessor.ActionBuilder<A extends java.lang.Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends java.lang.Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor
org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends java.lang.Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends java.lang.Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Property
org.refcodes.structure.Property.PropertyBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Relation
org.refcodes.structure.Relation.RelationBuilder<K extends java.lang.Object,V extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor
org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends java.lang.Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.ValueAccessor
org.refcodes.mixin.ValueAccessor.ValueBuilder<V extends java.lang.Object,B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V,B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V extends java.lang.Object>, org.refcodes.mixin.ValueAccessor.ValueProperty<V extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description PropertyEventImpl(java.lang.String aKey, java.lang.String aValue, PropertyAction aAction, ObservableProperties aSource)
Constructs aPropertyEventImpl
with the given key and value representing the affectedProperty
.PropertyEventImpl(org.refcodes.structure.Property aProperty, PropertyAction aAction, ObservableProperties aSource)
Constructs aPropertyEventImpl
with the given key and value representing the affectedProperty
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
java.lang.String
getValue()
-
-
-
Constructor Detail
-
PropertyEventImpl
public PropertyEventImpl(java.lang.String aKey, java.lang.String aValue, PropertyAction aAction, ObservableProperties aSource)
Constructs aPropertyEventImpl
with the given key and value representing the affectedProperty
.- Parameters:
aKey
- The key of theProperty
being involved in the event.aValue
- The value of theProperty
being involved in the event.aAction
- The action which thePropertyEvent
represents.aSource
- The source from which this event originated.
-
PropertyEventImpl
public PropertyEventImpl(org.refcodes.structure.Property aProperty, PropertyAction aAction, ObservableProperties aSource)
Constructs aPropertyEventImpl
with the given key and value representing the affectedProperty
.- Parameters:
aProperty
- The key and value pair of theProperty
being involved in the event.aAction
- The action which thePropertyEvent
represents.aSource
- The source from which this event originated.
-
-
Method Detail
-
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interfaceorg.refcodes.mixin.KeyAccessor<PropertyAction>
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interfaceorg.refcodes.mixin.ValueAccessor<PropertyAction>
-
-