|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.xtools.uml.rt.core.RTModelOperations
public class RTModelOperations
A facade class for common model operations
| Constructor Summary | |
|---|---|
RTModelOperations()
|
|
| Method Summary | |
|---|---|
static void |
changeSource(Element relationship,
Element oldSource,
Element newSource)
Changes source of given UML2 relationship element |
static void |
changeTarget(Element relationship,
Element oldTarget,
Element newTarget)
Changes target of given UML2 relationship element |
static Element |
createElement(Element container,
IElementType type)
Creates a UML2 element in the given container |
static Element |
createRelationship(Element container,
Element source,
Element target,
IElementType type)
Creates a UML2 relationship element in the given container |
static void |
destroy(Element element)
Destroys given UML2 element |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RTModelOperations()
| Method Detail |
|---|
public static Element createElement(Element container,
IElementType type)
container - type -
public static Element createRelationship(Element container,
Element source,
Element target,
IElementType type)
container - source - target - type -
public static void destroy(Element element)
element -
public static void changeSource(Element relationship,
Element oldSource,
Element newSource)
relationship - oldSource - newSource -
public static void changeTarget(Element relationship,
Element oldTarget,
Element newTarget)
relationship - oldSource - newSource -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||