public class MediatorUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static Interface |
getOrCreateColleagueInterface(java.util.List<Element> participants,
Concern concern,
Interface mediatorInterface,
Class eventOfInterest)
Gets the or create colleague interface.
|
static Class |
getOrCreateEventOfInterestClass()
Gets the or create event of interest class.
|
static Class |
getOrCreateMediatorClass(java.util.List<Element> participants,
Concern concern,
Interface mediatorInterface)
Gets the or create mediator class.
|
static Interface |
getOrCreateMediatorInterface(java.util.List<Element> participants,
Concern concern,
Class eventOfInterest)
Gets the or create mediator interface.
|
static void |
removeRelationships(java.util.List<Element> participants,
Concern concern)
Removes the relationships.
|
public static Class getOrCreateEventOfInterestClass()
public static Interface getOrCreateMediatorInterface(java.util.List<Element> participants, Concern concern, Class eventOfInterest) throws java.lang.Exception
participants - the participantsconcern - the concerneventOfInterest - the event of interestjava.lang.Exception - the exceptionpublic static Class getOrCreateMediatorClass(java.util.List<Element> participants, Concern concern, Interface mediatorInterface) throws ConcernNotFoundException
participants - the participantsconcern - the concernmediatorInterface - the mediator interfaceConcernNotFoundException - the concern not found exceptionpublic static Interface getOrCreateColleagueInterface(java.util.List<Element> participants, Concern concern, Interface mediatorInterface, Class eventOfInterest) throws ConcernNotFoundException
participants - the participantsconcern - the concernmediatorInterface - the mediator interfaceeventOfInterest - the event of interestConcernNotFoundException - the concern not found exception