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
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. |
EvolutionEvent
public EvolutionEvent(ConsensusFoundationManager cfm,
Concept source,
User user,
Topic topic)
EvolutionEvent
public EvolutionEvent(ConsensusFoundationManager cfm,
Concept source,
User user)
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()