com.ibm.xtools.uml.rt.core
Class RTFactory.EventFactory
java.lang.Object
com.ibm.xtools.uml.rt.core.RTFactory.EventFactory
- Enclosing class:
- RTFactory
public static class RTFactory.EventFactory
- extends java.lang.Object
Factory for making Events with UMLRT traits
The UML2 Event objects can be created using RTModelOperations API
This factory only adds UMLRT traits such as "IN", "OUT" flags to existing UML2 Event elements.
|
Method Summary |
static boolean |
isInEvent(Event event)
|
static boolean |
isOutEvent(Event event)
|
static void |
makeInEvent(Event event)
Flags given UML2 Event element as UMLRT "IN" Event |
static void |
makeOutEvent(Event event)
Flags given UML2 Event element as UMLRT "OUT" Event |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RTFactory.EventFactory
public RTFactory.EventFactory()
isInEvent
public static boolean isInEvent(Event event)
- Parameters:
event -
- Returns:
True if given UML2 Event element is UMLRT "IN" Event
makeInEvent
public static void makeInEvent(Event event)
- Flags given UML2 Event element as UMLRT "IN" Event
- Parameters:
event -
isOutEvent
public static boolean isOutEvent(Event event)
- Parameters:
event -
- Returns:
True if given UML2 Event element is UMLRT "OUT" Event
makeOutEvent
public static void makeOutEvent(Event event)
- Flags given UML2 Event element as UMLRT "OUT" Event
- Parameters:
event -