com.ibm.xtools.uml.rt.core
Class RTFactory.CapsuleFactory

java.lang.Object
  extended by 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


Constructor Summary
RTFactory.CapsuleFactory()
           
 
Method Summary
static RTCapsule createCapsule(java.lang.Package container, java.lang.String name)
           
static RTCapsule getCapsule(java.lang.Class uml2Class)
           
static boolean isCapsule(java.lang.Class uml2Class)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTFactory.CapsuleFactory

public RTFactory.CapsuleFactory()
Method Detail

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