public interface Stereotype extends ModelElement
Through Stereotypes, the end user can create new icons and new adaptations of ModelElements. Stereotypes cannot be created with the Java / Jython language. They are defined at meta level, and do not belong to a ModelElement at model level.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MNAME
The metaclass simple name.
|
static java.lang.String |
MQNAME
The metaclass qualified name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseClassName()
Getter for attribute 'Stereotype.BaseClassName'
Metamodel description:
|
<any> |
getChild()
Getter for relation 'Stereotype->Child'
Metamodel description:
Stereotypes inheriting from this one.
|
<T extends Stereotype> |
getChild(java.lang.Class<T> filterClass)
Filtered Getter for relation 'Stereotype->Child'
Metamodel description:
Stereotypes inheriting from this one.
|
<any> |
getDefinedNoteType()
Getter for relation 'Stereotype->DefinedNoteType'
Metamodel description:
|
<T extends NoteType> |
getDefinedNoteType(java.lang.Class<T> filterClass)
Filtered Getter for relation 'Stereotype->DefinedNoteType'
Metamodel description:
|
<any> |
getDefinedResourceType()
Getter for relation 'Stereotype->DefinedResourceType'
Metamodel description:
null
|
<T extends ResourceType> |
getDefinedResourceType(java.lang.Class<T> filterClass)
Filtered Getter for relation 'Stereotype->DefinedResourceType'
Metamodel description:
null
|
PropertyTableDefinition |
getDefinedTable()
Getter for relation 'Stereotype->DefinedTable'
Metamodel description:
null
|
<any> |
getDefinedTagType()
Getter for relation 'Stereotype->DefinedTagType'
Metamodel description:
|
<T extends TagType> |
getDefinedTagType(java.lang.Class<T> filterClass)
Filtered Getter for relation 'Stereotype->DefinedTagType'
Metamodel description:
|
<any> |
getExtendedElement()
Getter for relation 'Stereotype->ExtendedElement'
Metamodel description:
|
<T extends ModelElement> |
getExtendedElement(java.lang.Class<T> filterClass)
Filtered Getter for relation 'Stereotype->ExtendedElement'
Metamodel description:
|
java.lang.String |
getIcon()
Getter for attribute 'Stereotype.Icon'
Metamodel description:
Icon that can represent the stereotyped ModelElement.
|
java.lang.String |
getImage()
Getter for attribute 'Stereotype.Image'
Metamodel description:
Image that represents the stereotype in diagrams for elements in image mode.
|
java.lang.String |
getLabelKey()
Getter for attribute 'Stereotype.LabelKey'
Metamodel description:
|
ModuleComponent |
getModule() |
Profile |
getOwner()
Getter for relation 'Stereotype->Owner'
Metamodel description:
null
|
Stereotype |
getParent()
Getter for relation 'Stereotype->Parent'
Metamodel description:
null
|
boolean |
hasBase(Stereotype parent)
Check that
this stereotype is a sub-stereotype of parent stereotype. |
boolean |
isIsAbstract()
Getter for attribute 'Stereotype.IsAbstract'
Metamodel description:
|
boolean |
isIsHidden()
Getter for attribute 'Stereotype.IsHidden'
Metamodel description:
|
void |
setBaseClassName(java.lang.String value)
Setter for attribute 'Stereotype.BaseClassName'
Metamodel description:
|
void |
setDefinedTable(PropertyTableDefinition value)
Setter for relation 'Stereotype->DefinedTable'
Metamodel description:
null
|
void |
setIcon(java.lang.String value)
Setter for attribute 'Stereotype.Icon'
Metamodel description:
Icon that can represent the stereotyped ModelElement.
|
void |
setImage(java.lang.String value)
Setter for attribute 'Stereotype.Image'
Metamodel description:
Image that represents the stereotype in diagrams for elements in image mode.
|
void |
setIsAbstract(boolean value)
Setter for attribute 'Stereotype.IsAbstract'
Metamodel description:
|
void |
setIsHidden(boolean value)
Setter for attribute 'Stereotype.IsHidden'
Metamodel description:
|
void |
setLabelKey(java.lang.String value)
Setter for attribute 'Stereotype.LabelKey'
Metamodel description:
|
void |
setOwner(Profile value)
Setter for relation 'Stereotype->Owner'
Metamodel description:
null
|
void |
setParent(Stereotype value)
Setter for relation 'Stereotype->Parent'
Metamodel description:
null
|
addStereotype, getAttached, getAttached, getDependsOnDependency, getDependsOnDependency, getDescriptor, getDescriptor, getExtension, getExtension, getImpactDependsOn, getImpactDependsOn, getImpactedDependency, getImpactedDependency, getImpactImpacted, getImpactImpacted, getLocalProperties, getLocalProperty, getMatrix, getMatrix, getName, getNote, getNote, getNote, getNoteContent, getNoteContent, getNoteContent, getProduct, getProduct, getProperties, getProperties, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getProperty, getStereotype, getTag, getTag, getTag, getTag, getTag, getTagValue, getTagValue, getTagValue, getTagValues, getTagValues, getTagValues, isStereotyped, isStereotyped, isTagged, isTagged, isTagged, putNoteContent, putNoteContent, putNoteContent, putTagValue, putTagValue, putTagValue, putTagValues, putTagValues, putTagValues, removeNotes, removeNotes, removeNotes, removeStereotypes, removeTags, removeTags, removeTags, setLocalProperties, setLocalProperty, setName, setProperty, setProperty, setProperty, setProperty
getAddedToQuery, getAddedToQuery, getCausedImpact, getCausedImpact, getDiagramElement, getDiagramElement
accept, delete, getCompositionChildren, getCompositionOwner, getMClass, getStatus, getUuid, isDeleted, isModifiable, isShell, isValid, mGet, mGet, mSet
static final java.lang.String MNAME
static final java.lang.String MQNAME
ModuleComponent getModule()
boolean hasBase(Stereotype parent)
this
stereotype is a sub-stereotype of parent
stereotype.parent
- a stereotypetrue
if this
stereotype inherits from the given stereotype. false
otherwise.java.lang.String getImage()
void setImage(java.lang.String value)
java.lang.String getIcon()
void setIcon(java.lang.String value)
boolean isIsHidden()
Indicates whether or not this stereotype will be visible for manual addition/suppression by the user.
void setIsHidden(boolean value)
Indicates whether or not this stereotype will be visible for manual addition/suppression by the user.
boolean isIsAbstract()
Tells the stereotype is abstract.
Abstract stereotypes may not be applied to elements and must serve only as base stereotype for child ones.
void setIsAbstract(boolean value)
Tells the stereotype is abstract.
Abstract stereotypes may not be applied to elements and must serve only as base stereotype for child ones.
java.lang.String getLabelKey()
The stereotype label key used to look into module resources for the translated stereotype label.
void setLabelKey(java.lang.String value)
The stereotype label key used to look into module resources for the translated stereotype label.
java.lang.String getBaseClassName()
MetaClass whose instances can be annotated by this Stereotype.
void setBaseClassName(java.lang.String value)
MetaClass whose instances can be annotated by this Stereotype.
PropertyTableDefinition getDefinedTable()
void setDefinedTable(PropertyTableDefinition value)
<any> getDefinedResourceType()
<T extends ResourceType> java.util.List<T> getDefinedResourceType(java.lang.Class<T> filterClass)
Profile getOwner()
void setOwner(Profile value)
Stereotype getParent()
void setParent(Stereotype value)
<any> getDefinedTagType()
<T extends TagType> java.util.List<T> getDefinedTagType(java.lang.Class<T> filterClass)
<any> getChild()
<T extends Stereotype> java.util.List<T> getChild(java.lang.Class<T> filterClass)
<any> getDefinedNoteType()
<T extends NoteType> java.util.List<T> getDefinedNoteType(java.lang.Class<T> filterClass)
<any> getExtendedElement()
All elements in the project this stereotype is applied on.
Beware: this list can be huge and take many seconds to compute!
<T extends ModelElement> java.util.List<T> getExtendedElement(java.lang.Class<T> filterClass)
All elements in the project this stereotype is applied on.
Beware: this list can be huge and take many seconds to compute!