de.uka.ipd.consensus.foundation
Class AbstractConsensusFoundationEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byde.uka.ipd.consensus.foundation.AbstractConsensusFoundationEvent
All Implemented Interfaces:
ConsensusFoundationManager, Serializable
Direct Known Subclasses:
EvolutionEvent, OntologyEvent, RatingEvent, ScoringEvent, UserEvent

public abstract class AbstractConsensusFoundationEvent
extends EventObject
implements ConsensusFoundationManager

An abstract superclass for the various event types of the ConsensusFoundation framework. It offers easy access to the seven managers (components) within each event that subclasses this class.

Version:
2006-06-14
Author:
Thomas Much
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AbstractConsensusFoundationEvent(ConsensusFoundationManager cfm, Object source)
           
 
Method Summary
 DynamicRightsManager getDynamicRightsManager()
          Returns a reference to the DynamicRightsManager.
 EvolutionManager getEvolutionManager()
          Returns a reference to the EvolutionManager.
 IncentiveManager getIncentiveManager()
          Returns a reference to the IncentiveManager.
 LoggingManager getLoggingManager()
          Returns a reference to the LoggingManager.
 OntologyManager getOntologyManager()
          Returns a reference to the OntologyManager.
 RatingManager getRatingManager()
          Returns a reference to the RatingManager.
 UserManager getUserManager()
          Returns a reference to the UserManager.
 String getVersion()
          Returns a version string of the implementation of the ConsensusFoundation framework.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractConsensusFoundationEvent

public AbstractConsensusFoundationEvent(ConsensusFoundationManager cfm,
                                        Object source)
Method Detail

getLoggingManager

public LoggingManager getLoggingManager()
Description copied from interface: ConsensusFoundationManager
Returns a reference to the LoggingManager.

Specified by:
getLoggingManager in interface ConsensusFoundationManager
Returns:
the LoggingManager instance, never null after successful startup

getUserManager

public UserManager getUserManager()
Description copied from interface: ConsensusFoundationManager
Returns a reference to the UserManager.

Specified by:
getUserManager in interface ConsensusFoundationManager
Returns:
the UserManager instance, never null after successful startup

getOntologyManager

public OntologyManager getOntologyManager()
Description copied from interface: ConsensusFoundationManager
Returns a reference to the OntologyManager.

Specified by:
getOntologyManager in interface ConsensusFoundationManager
Returns:
the OntologyManager instance, never null after successful startup

getEvolutionManager

public EvolutionManager getEvolutionManager()
Description copied from interface: ConsensusFoundationManager
Returns a reference to the EvolutionManager.

Specified by:
getEvolutionManager in interface ConsensusFoundationManager
Returns:
the EvolutionManager instance or null if an EvolutionManager is not available

getRatingManager

public RatingManager getRatingManager()
Description copied from interface: ConsensusFoundationManager
Returns a reference to the RatingManager.

Specified by:
getRatingManager in interface ConsensusFoundationManager
Returns:
the RatingManager instance or null if a RatingManager is not available

getIncentiveManager

public IncentiveManager getIncentiveManager()
Description copied from interface: ConsensusFoundationManager
Returns a reference to the IncentiveManager.

Specified by:
getIncentiveManager in interface ConsensusFoundationManager
Returns:
the IncentiveManager instance or null if an IncentiveManager is not available

getDynamicRightsManager

public DynamicRightsManager getDynamicRightsManager()
Description copied from interface: ConsensusFoundationManager
Returns a reference to the DynamicRightsManager.

Specified by:
getDynamicRightsManager in interface ConsensusFoundationManager
Returns:
the DynamicRightsManager instance or null if a DynamicRightsManager is not available

getVersion

public String getVersion()
Description copied from interface: ConsensusFoundationManager
Returns a version string of the implementation of the ConsensusFoundation framework.

Specified by:
getVersion in interface ConsensusFoundationManager
Returns:
the version of the framework's implementation
See Also:
ConsensusFoundation.getVersion()