|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExtensionMechanismsFactory
The interface for the factory for ExstensionMechanisms.
| Method Summary | |
|---|---|
java.lang.Object |
buildStereotype(java.lang.Object theModelElementObject,
java.lang.Object theName,
java.lang.Object theNamespaceObject)
Build a stereotype which has the given name and a base class which matches the type of the given model element. |
java.lang.Object |
buildStereotype(java.lang.Object theModelElementObject,
java.lang.String theName,
java.lang.Object model,
java.util.Collection models)
Builds an initialized stereotype. |
java.lang.Object |
buildStereotype(java.lang.String text,
java.lang.Object ns)
Builds an initialized stereotype. |
java.lang.Object |
buildTagDefinition(java.lang.String name,
java.lang.Object stereotype,
java.lang.Object namespace)
Build an initialized instance of a TagDefinition with the default tagType of "String". |
java.lang.Object |
buildTagDefinition(java.lang.String name,
java.lang.Object stereotype,
java.lang.Object namespace,
java.lang.String tagType)
Build an initialized instance of a TagDefinition. |
java.lang.Object |
buildTaggedValue(java.lang.Object type,
java.lang.String[] values)
Build an initialized instance of a UML TaggedValue. |
java.lang.Object |
buildTaggedValue(java.lang.String tag,
java.lang.String value)
Deprecated. for 0.25.5 by tfmorris. Use buildTaggedValue(Object, String[]). |
java.lang.Object |
copyStereotype(java.lang.Object source,
java.lang.Object ns)
Copies a stereotype. |
java.lang.Object |
copyTagDefinition(java.lang.Object aTd,
java.lang.Object aNs)
Copy a TagDefinition into the given namespace or stereotype. |
void |
copyTaggedValues(java.lang.Object source,
java.lang.Object target)
Copy tagged value collection from one model element to another. |
java.lang.Object |
createStereotype()
Create an empty Stereotype element. |
java.lang.Object |
createTagDefinition()
Create a TagDefinition. |
java.lang.Object |
createTaggedValue()
Create an empty but initialized instance of a UML TaggedValue. |
| Method Detail |
|---|
java.lang.Object createTaggedValue()
java.lang.Object buildStereotype(java.lang.Object theModelElementObject,
java.lang.Object theName,
java.lang.Object theNamespaceObject)
NOTE: Most users will want to find and use an existing stereotype, often from a profile, so uses of this method should be rare.
theModelElementObject - a Model Element that the stereotype
will be applied to. The stereotype will
have its BaseClass set to an appropriate
value for this kind of Model Elements.theName - the name for the stereotypetheNamespaceObject - the namespace the stereotype will be
created within.
java.lang.IllegalArgumentException - if either argument is null.
java.lang.Object buildStereotype(java.lang.Object theModelElementObject,
java.lang.String theName,
java.lang.Object model,
java.util.Collection models)
theModelElementObject - the baseclass for the new stereotypetheName - the name for the new stereotypemodel - the current model of interestmodels - all the models
java.lang.Object buildStereotype(java.lang.String text,
java.lang.Object ns)
text - is the name of the stereotypens - namespace where the stereotype lives (is known)
@Deprecated
java.lang.Object buildTaggedValue(java.lang.String tag,
java.lang.String value)
buildTaggedValue(Object, String[]).
tag - is the tag name (a String).value - a String to use as the dataValue
java.lang.Object buildTaggedValue(java.lang.Object type,
java.lang.String[] values)
type - TagDefinition which defines the type of the TaggedValuevalues - is an array of Strings to be used as the dataValues.
void copyTaggedValues(java.lang.Object source,
java.lang.Object target)
source - ModelElement to copy fromtarget - ModelElement to copy to
java.lang.Object copyStereotype(java.lang.Object source,
java.lang.Object ns)
source - is the stereotype to copy.ns - is the namespace to put the copy in.
java.lang.Object buildTagDefinition(java.lang.String name,
java.lang.Object stereotype,
java.lang.Object namespace)
stereotype and
namespace may be specified.
name - is the name of the TagDefinitionstereotype - is the optional stereotype owning the TagDefinitionnamespace - is the namespace to put the TagDefinition.
java.lang.Object buildTagDefinition(java.lang.String name,
java.lang.Object stereotype,
java.lang.Object namespace,
java.lang.String tagType)
stereotype and namespace may be
specified.
name - is the name of the TagDefinitionstereotype - is the optional stereotype owning the TagDefinitionnamespace - is the namespace to put the TagDefinition.tagType - a string containing the name of the type for values that
may be assigned to this tag. This can either be the name
of a datatype (e.g. "String", "Integer" or "Boolean") or
the name of a metaclass for more complex types of tagged
values.
java.lang.Object createTagDefinition()
java.lang.Object createStereotype()
java.lang.Object copyTagDefinition(java.lang.Object aTd,
java.lang.Object aNs)
aTd - The TagDefinition to copyaNs - A Namespace or a stereotype into which place the copy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Cookbook |