|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.argouml.model.AbstractExtensionMechanismsHelperDecorator
An abstract Decorator for the ExtensionMechanismsHelper.
| Method Summary | |
void |
addBaseClass(Object handle,
Object baseClass)
Add a baseclass to some stereotype. |
void |
addCopyStereotype(Object modelElement,
Object stereotype)
Sets the stereotype of some modelelement. |
void |
addExtendedElement(Object handle,
Object extendedElement)
Add an extended element to a stereotype. |
void |
addTaggedValue(Object handle,
Object taggedValue)
Add a tagged value. |
Collection |
getAllPossibleStereotypes(Collection models,
Object modelElement)
Returns all possible stereotypes for some modelelement. |
protected ExtensionMechanismsHelper |
getComponent()
The component we are decorating. |
String |
getMetaModelName(Object m)
|
Object |
getStereotype(Collection models,
Object stereo)
Searches for a stereotype just like the given stereotype in all given models. |
Object |
getStereotype(Object ns,
Object stereo)
Finds a stereotype in some namespace, but not in its subnamespaces. |
Collection |
getStereotypes(Collection models)
Get all stereotypes from all Models in the list. |
Collection |
getStereotypes(Object ns)
Returns all stereotypes in a namespace, but not those in a subnamespace. |
boolean |
hasStereoType(Object handle,
String name)
Returns true if the given object has a stereotype with the given name. |
boolean |
isStereotype(Object object,
String name,
String base)
Tests if a stereotype is a stereotype with some name and base class. |
boolean |
isStereotypeInh(Object object,
String name,
String base)
Tests if a stereotype is or inherits from a stereotype with some name and base class. |
boolean |
isValidStereoType(Object theModelElement,
Object theStereotype)
Returns true if the given stereotype has a baseclass that equals the baseclass of the given modelelement or one of the superclasses of the given modelelement. |
void |
removeBaseClass(Object handle,
Object baseClass)
Remove baseclass from some stereotype. |
void |
removeTaggedValue(Object handle,
Object taggedValue)
Remove a tagged value. |
void |
setIcon(Object handle,
Object icon)
Set the icon for a stereotype. |
void |
setTag(Object handle,
Object tag)
Set the Tag of a TaggedValue. |
void |
setTaggedValue(Object handle,
Collection taggedValues)
Se the list of tagged values for a model element. |
void |
setType(Object handle,
Object type)
Set the type of a taggedvalue. |
void |
setValueOfTag(Object handle,
String value)
Sets a value of some taggedValue. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
protected ExtensionMechanismsHelper getComponent()
public Collection getStereotypes(Object ns)
ExtensionMechanismsHelper
getStereotypes in interface ExtensionMechanismsHelperns - is the namespace.
public Object getStereotype(Object ns,
Object stereo)
ExtensionMechanismsHelper
getStereotype in interface ExtensionMechanismsHelperns - is the namespace.stereo - is the stereotype.
public Object getStereotype(Collection models,
Object stereo)
ExtensionMechanismsHelper
getStereotype in interface ExtensionMechanismsHelpermodels - a collection of modelsstereo - is the given stereotype
public String getMetaModelName(Object m)
getMetaModelName in interface ExtensionMechanismsHelperm - the ModelElement
public Collection getAllPossibleStereotypes(Collection models,
Object modelElement)
ExtensionMechanismsHelper
getAllPossibleStereotypes in interface ExtensionMechanismsHelpermodelElement - is the model elementmodels - the models to search in
public boolean isValidStereoType(Object theModelElement,
Object theStereotype)
ExtensionMechanismsHelper
isValidStereoType in interface ExtensionMechanismsHelpertheModelElement - is the model elementtheStereotype - is the stereotype
public Collection getStereotypes(Collection models)
ExtensionMechanismsHelper
getStereotypes in interface ExtensionMechanismsHelpermodels - the models to search
public void addCopyStereotype(Object modelElement,
Object stereotype)
ExtensionMechanismsHelper
addCopyStereotype in interface ExtensionMechanismsHelpermodelElement - is the model elementstereotype - is the stereotype
public boolean isStereotype(Object object,
String name,
String base)
ExtensionMechanismsHelper
isStereotype in interface ExtensionMechanismsHelperobject - is the stereotype.name - is the name of the stereotype.base - is the base class of the stereotype.
public boolean isStereotypeInh(Object object,
String name,
String base)
ExtensionMechanismsHelper
isStereotypeInh in interface ExtensionMechanismsHelperobject - is the stereotype.name - is the name of the stereotype.base - is the base class of the stereotype.
public void addExtendedElement(Object handle,
Object extendedElement)
ExtensionMechanismsHelper
addExtendedElement in interface ExtensionMechanismsHelperhandle - StereotypeextendedElement - ExtensionPoint
public void addBaseClass(Object handle,
Object baseClass)
ExtensionMechanismsHelper
addBaseClass in interface ExtensionMechanismsHelperhandle - the stereotypebaseClass - the baseclass to add
public void removeBaseClass(Object handle,
Object baseClass)
ExtensionMechanismsHelper
removeBaseClass in interface ExtensionMechanismsHelperhandle - the stereotypebaseClass - the baseclass to remove
public void setIcon(Object handle,
Object icon)
ExtensionMechanismsHelper
setIcon in interface ExtensionMechanismsHelperhandle - Stereotypeicon - String
public void setTag(Object handle,
Object tag)
ExtensionMechanismsHelper
setTag in interface ExtensionMechanismsHelperhandle - TaggedValuetag - String
public void setType(Object handle,
Object type)
ExtensionMechanismsHelper
setType in interface ExtensionMechanismsHelperhandle - the taggedValuetype - the tagDefinition
public void setValueOfTag(Object handle,
String value)
ExtensionMechanismsHelper
setValueOfTag in interface ExtensionMechanismsHelperhandle - is the tagged valuevalue - is the value
public void addTaggedValue(Object handle,
Object taggedValue)
ExtensionMechanismsHelper
addTaggedValue in interface ExtensionMechanismsHelperhandle - The model element to add to.taggedValue - The tagged value to add.
public void removeTaggedValue(Object handle,
Object taggedValue)
ExtensionMechanismsHelper
removeTaggedValue in interface ExtensionMechanismsHelperhandle - The model element to remove from.taggedValue - The tagged value to remove.
public void setTaggedValue(Object handle,
Collection taggedValues)
ExtensionMechanismsHelper
setTaggedValue in interface ExtensionMechanismsHelperhandle - The model element to set for.taggedValues - A Collection of tagged values.
public boolean hasStereoType(Object handle,
String name)
ExtensionMechanismsHelper
hasStereoType in interface ExtensionMechanismsHelperhandle - the given objectname - the given name
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |