com.ibm.xtools.uml.rt.core
Class RTFactory.CapsuleFactory
java.lang.Object
com.ibm.xtools.uml.rt.core.RTFactory.CapsuleFactory
- Enclosing class:
- RTFactory
public static class RTFactory.CapsuleFactory
- extends java.lang.Object
Factory for creating Capsule objects
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RTFactory.CapsuleFactory
public RTFactory.CapsuleFactory()
isCapsule
public static boolean isCapsule(java.lang.Class uml2Class)
- Parameters:
uml2Class -
- Returns:
True if given UML2 Class represents an RT Capsule and False otherwise
getCapsule
public static RTCapsule getCapsule(java.lang.Class uml2Class)
- Parameters:
uml2Class -
- Returns:
- RTCapsule wrapper for the given UML2 Class object.
Guaranteed to succeed if the previous call to
isCapsule returned True
createCapsule
public static RTCapsule createCapsule(java.lang.Package container,
java.lang.String name)
- Parameters:
container - name -
- Returns:
- a newly created RTCapsule object in the given UML2 Package container