|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ashridgetech.jamda.uml.ModelElement | +--com.ashridgetech.jamda.uml.Stereotype
A UML Stereotype. Referenced by various other UML metamodel classes.
Nested Class Summary |
Nested classes inherited from class com.ashridgetech.jamda.uml.ModelElement |
ModelElement.DuplicateElementException, ModelElement.ElementListStore, ModelElement.ElementNameListStore, ModelElement.ElementNameStore, ModelElement.ElementStore, ModelElement.TaggedValue, ModelElement.UnknownElementException |
Field Summary |
Fields inherited from class com.ashridgetech.jamda.uml.ModelElement |
DUMMY_STORE |
Constructor Summary | |
|
Stereotype(Model model,
java.lang.String name,
Model.ElementType baseClass)
Creates new Stereotype with a new NSUML MStereotype object. |
protected |
Stereotype(ru.novosoft.uml.foundation.core.MStereotype ms,
Model model)
Creates new Stereotype from a NSUML MStereotype object. |
Method Summary | |
void |
checkValid()
Check whether this object is valid. |
Model.ElementType |
getBaseClass()
Get the base element type of this Stereotype. |
java.lang.String |
getName()
Get the name of this Stereotype, including the names of the base classes. |
protected static java.lang.String |
getName(ru.novosoft.uml.foundation.core.MStereotype nsStereotype)
Get the name of a Stereotype, including the names of the base classes. |
java.lang.String |
getShortName()
Get the name of this Stereotype, without the names of the base classes. |
protected ModelElement.ElementStore |
getSubElementStore(java.lang.Class meClass)
Overridden to return the sub-element ModelElement.ElementStore
into which an object of the class meClass should be stored. |
TagDefinition |
getTagDefinition(java.lang.String name)
Get the TagDefinition in this Model with a given name |
java.util.Collection |
getTagDefinitions()
Get all the TagDefinition s in this Stereotype . |
Methods inherited from class com.ashridgetech.jamda.uml.ModelElement |
add, addStereotype, addTaggedValue, addTaggedValue, addTaggedValues, addTaggedValuesInternal, checkInitialised, checkState, findTaggedValueCollection, getBooleanTaggedValue, getChildElements, getComment, getDescription, getDirectSource, getElement, getElementType, getFullName, getId, getModel, getNsElement, getOriginalSource, getParentElement, getProperties, getStereotypes, getStringTaggedValue, getTaggedValue, getTaggedValues, getXpathContext, hasStereotype, hasTaggedValue, init, initLoad, isInitialised, load, load, load, loadElement, logChange, logger, logger, logLoad, logLoadWarning, logNew, logWarning, removeTaggedValue, select, setComment, setDirectSource, setTaggedValue, setTaggedValue, setTaggedValue, setTaggedValues, stereotype, tag, tagError, toString, type, type, type, xpath, xpathList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Stereotype(Model model, java.lang.String name, Model.ElementType baseClass)
protected Stereotype(ru.novosoft.uml.foundation.core.MStereotype ms, Model model)
Method Detail |
protected static java.lang.String getName(ru.novosoft.uml.foundation.core.MStereotype nsStereotype)
public java.lang.String getName()
getName
in class ModelElement
getShortName()
public java.lang.String getShortName()
getName(ru.novosoft.uml.foundation.core.MStereotype)
public Model.ElementType getBaseClass()
public java.util.Collection getTagDefinitions()
TagDefinition
s in this Stereotype
.
TagDefinition
objectspublic TagDefinition getTagDefinition(java.lang.String name)
TagDefinition
in this Model with a given name
name
- the name of the required TagDefinition
TagDefinition
whose name is name
,
or null if there is no such objectpublic void checkValid() throws java.lang.IllegalStateException
Stereotype
only has one base class.
checkValid
in class ModelElement
java.lang.IllegalStateException
- if a problem is foundprotected ModelElement.ElementStore getSubElementStore(java.lang.Class meClass)
ModelElement.ElementStore
into which an object of the class meClass
should be stored.
getSubElementStore
in class ModelElement
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |