org.argouml.model.uml.foundation.extensionmechanisms
Class ExtensionMechanismsFactory

java.lang.Object
  extended byorg.argouml.model.uml.AbstractUmlModelFactory
      extended byorg.argouml.model.uml.foundation.extensionmechanisms.ExtensionMechanismsFactory

public class ExtensionMechanismsFactory
extends AbstractUmlModelFactory

Factory to create UML classes for the UML Foundation::ExtensionMechanisms package.

Since:
ARGO0.11.2

Method Summary
 ru.novosoft.uml.foundation.extension_mechanisms.MStereotype buildStereotype(ru.novosoft.uml.foundation.core.MModelElement m, java.lang.String text)
           
 ru.novosoft.uml.foundation.extension_mechanisms.MStereotype buildStereotype(java.lang.Object mObj, java.lang.Object textObj, java.lang.Object nsObj)
          Builds a stereotype for some kind of modelelement.
 ru.novosoft.uml.foundation.extension_mechanisms.MStereotype buildStereotype(java.lang.String text, java.lang.Object ns)
          Builds an initialized stereotype.
 ru.novosoft.uml.foundation.extension_mechanisms.MTaggedValue buildTaggedValue(java.lang.String tag, java.lang.String value)
          Build an initialized instance of a UML TaggedValue.
 ru.novosoft.uml.foundation.extension_mechanisms.MStereotype copyStereotype(ru.novosoft.uml.foundation.extension_mechanisms.MStereotype source, ru.novosoft.uml.foundation.core.MNamespace ns)
          Copies a stereotype.
 ru.novosoft.uml.foundation.extension_mechanisms.MStereotype createStereotype()
          Create an empty but initialized instance of a UML Stereotype.
 ru.novosoft.uml.foundation.extension_mechanisms.MTaggedValue createTaggedValue()
          Create an empty but initialized instance of a UML TaggedValue.
 void deleteStereotype(ru.novosoft.uml.foundation.extension_mechanisms.MStereotype elem)
           
 void deleteTaggedValue(ru.novosoft.uml.foundation.extension_mechanisms.MTaggedValue elem)
           
 void doCopyStereotype(ru.novosoft.uml.foundation.extension_mechanisms.MStereotype source, ru.novosoft.uml.foundation.extension_mechanisms.MStereotype target)
          Used by the copy functions.
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
 

Method Detail

getFactory

public static ExtensionMechanismsFactory getFactory()
Singleton instance access method.


createStereotype

public ru.novosoft.uml.foundation.extension_mechanisms.MStereotype createStereotype()
Create an empty but initialized instance of a UML Stereotype.

Returns:
an initialized UML Stereotype instance.

createTaggedValue

public ru.novosoft.uml.foundation.extension_mechanisms.MTaggedValue createTaggedValue()
Create an empty but initialized instance of a UML TaggedValue.

Returns:
an initialized UML TaggedValue instance.

buildStereotype

public ru.novosoft.uml.foundation.extension_mechanisms.MStereotype buildStereotype(java.lang.Object mObj,
                                                                                   java.lang.Object textObj,
                                                                                   java.lang.Object nsObj)
Builds a stereotype for some kind of modelelement.


buildStereotype

public ru.novosoft.uml.foundation.extension_mechanisms.MStereotype buildStereotype(java.lang.String text,
                                                                                   java.lang.Object ns)
Builds an initialized stereotype.

Parameters:
text -
Returns:
an initialized stereotype.

buildStereotype

public ru.novosoft.uml.foundation.extension_mechanisms.MStereotype buildStereotype(ru.novosoft.uml.foundation.core.MModelElement m,
                                                                                   java.lang.String text)

buildTaggedValue

public ru.novosoft.uml.foundation.extension_mechanisms.MTaggedValue buildTaggedValue(java.lang.String tag,
                                                                                     java.lang.String value)
Build an initialized instance of a UML TaggedValue.

Returns:
an initialized UML TaggedValue instance.

deleteStereotype

public void deleteStereotype(ru.novosoft.uml.foundation.extension_mechanisms.MStereotype elem)

deleteTaggedValue

public void deleteTaggedValue(ru.novosoft.uml.foundation.extension_mechanisms.MTaggedValue elem)

copyStereotype

public ru.novosoft.uml.foundation.extension_mechanisms.MStereotype copyStereotype(ru.novosoft.uml.foundation.extension_mechanisms.MStereotype source,
                                                                                  ru.novosoft.uml.foundation.core.MNamespace ns)
Copies a stereotype.

Parameters:
source - is the stereotype to copy.
ns - is the namespace to put the copy in.

doCopyStereotype

public void doCopyStereotype(ru.novosoft.uml.foundation.extension_mechanisms.MStereotype source,
                             ru.novosoft.uml.foundation.extension_mechanisms.MStereotype target)
Used by the copy functions. Do not call this function directly.



ArgoUML © 1996-2003 (20040125)ArgoUML Project HomeArgoUML Cookbook