|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.argouml.model.uml.AbstractUmlModelFactory | +--org.argouml.model.uml.foundation.extensionmechanisms.ExtensionMechanismsFactory
Factory to create UML classes for the UML Foundation::ExtensionMechanisms package.
Field Summary | |
---|---|
private static ExtensionMechanismsFactory |
SINGLETON
Singleton instance. |
Fields inherited from class org.argouml.model.uml.AbstractUmlModelFactory |
---|
|
Constructor Summary | |
---|---|
private |
ExtensionMechanismsFactory()
Don't allow instantiation |
Method Summary | |
---|---|
MStereotype |
buildStereotype(java.lang.Object mObj,
java.lang.Object textObj,
java.lang.Object nsObj)
Builds a stereotype for some kind of modelelement. |
MStereotype |
buildStereotype(java.lang.Object modelElement,
java.lang.String text)
|
java.lang.Object |
buildStereotype(java.lang.String text,
java.lang.Object ns)
Builds an initialized stereotype. |
MTaggedValue |
buildTaggedValue(java.lang.String tag,
java.lang.String value)
Build an initialized instance of a UML TaggedValue. |
MStereotype |
copyStereotype(MStereotype source,
MNamespace ns)
Copies a stereotype. |
java.lang.Object |
createStereotype()
Create an empty but initialized instance of a UML Stereotype. |
MTaggedValue |
createTaggedValue()
Create an empty but initialized instance of a UML TaggedValue. |
void |
deleteStereotype(MStereotype elem)
|
void |
deleteTaggedValue(MTaggedValue elem)
|
void |
doCopyStereotype(MStereotype source,
MStereotype target)
Deprecated. by Linus Tolke as of 0.15.4. Will be private. |
static ExtensionMechanismsFactory |
getFactory()
Singleton instance access method. |
Methods inherited from class org.argouml.model.uml.AbstractUmlModelFactory |
---|
addListenersToModelElement, initialize, isGuiEnabled, setGuiEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static ExtensionMechanismsFactory SINGLETON
Constructor Detail |
private ExtensionMechanismsFactory()
Method Detail |
public static ExtensionMechanismsFactory getFactory()
public java.lang.Object createStereotype()
public MTaggedValue createTaggedValue()
public MStereotype buildStereotype(java.lang.Object mObj, java.lang.Object textObj, java.lang.Object nsObj)
public java.lang.Object buildStereotype(java.lang.String text, java.lang.Object ns)
text
- is the name of the stereotypens
- namespace
public MStereotype buildStereotype(java.lang.Object modelElement, java.lang.String text)
public MTaggedValue buildTaggedValue(java.lang.String tag, java.lang.String value)
tag
- is the tag name (a String).value
- is the value (a String).
public void deleteStereotype(MStereotype elem)
public void deleteTaggedValue(MTaggedValue elem)
public MStereotype copyStereotype(MStereotype source, MNamespace ns)
source
- is the stereotype to copy.ns
- is the namespace to put the copy in.
public void doCopyStereotype(MStereotype source, MStereotype target)
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20040306) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |