org.fishbolt.common.listener
Interface IEvent<S,T>

Type Parameters:
S - type of changed object.
T - type that describes that change
All Known Implementing Classes:
Event

public interface IEvent<S,T>

An event in the system is described using the parameterized interface. The first event parameter indicates the system object, under which the action produced some change in the system has been provided. The second event parameter is its type that describes that change


Method Summary
 S getSource()
          Changed object
 T getType()
          Type of the change
 

Method Detail

getSource

S getSource()
Changed object

Returns:
changed object

getType

T getType()
Type of the change

Returns:
type of the change