Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## de.uka.ipd.consensus.foundation.evolution
Class EvolutionEvent

    java.lang.Object
      java.util.EventObject
          de.uka.ipd.consensus.foundation.AbstractConsensusFoundationEvent
              de.uka.ipd.consensus.foundation.evolution.EvolutionEvent

All Implemented Interfaces:
  ConsensusFoundationManager, Serializable

public class EvolutionEvent
extends AbstractConsensusFoundationEvent

Event objects of this type are passed to EvolutionListeners.

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

Field Summary

Fields inherited from class java.util.EventObject
`source`

Constructor Summary
`EvolutionEvent(ConsensusFoundationManager cfm, Concept source, User user)`
`EvolutionEvent(ConsensusFoundationManager cfm, Concept source, User user, Topic topic)`

Method Summary
`Concept` | `getConcept()` All evolution events happen on a base concept that is returned by this method.
`Topic` | `getTopic()` If an event happens on a topic aditionally to the base concept (e.g. if two topics are merged), this method returns the additional topic.
`User` | `getUser()` Returns the user who caused the event, i.e. the user who deleted or merged topics etc.

Methods inherited from class de.uka.ipd.consensus.foundation.AbstractConsensusFoundationEvent
`getDynamicRightsManager, getEvolutionManager, getIncentiveManager, getLoggingManager, getOntologyManager, getRatingManager, getUserManager, getVersion`

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

### EvolutionEvent

    public EvolutionEvent(ConsensusFoundationManager cfm,
                          Concept source,
                          User user,
                          Topic topic)

### EvolutionEvent

    public EvolutionEvent(ConsensusFoundationManager cfm,
                          Concept source,
                          User user)

Method Detail

### getConcept

    public Concept getConcept()

  All evolution events happen on a base concept that is returned by this method.

  Returns:
    the base concept that the event happened on

### getUser

    public User getUser()

  Returns the user who caused the event, i.e. the user who deleted or merged topics etc.

  Returns:
    the user who caused the event

### getTopic

    public Topic getTopic()

  If an event happens on a topic aditionally to the base concept (e.g. if two topics are merged), this method returns the additional topic.

  Returns:
    the additional topic if the event includes a topic in addition to another base concept
  See Also:
    `getConcept()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD