public interface IWFDAnnotationProfile extends IModelElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_DOCUMENTATION |
static java.lang.String |
PROP_ELEMENT_ID |
static java.lang.String |
PROP_IMAGE_FILE_PATH |
static java.lang.String |
PROP_STEREOTYPES |
static java.lang.String |
PROP_TAGGED_VALUES |
static java.lang.String |
PROP_VOICES |
MODEL_QUALITY_SCORE_IGNORE, MODEL_QUALITY_SCORE_RECALCULATE, PROP_NAME, PROP_QUALITY_REASON, PROP_QUALITY_SCORE
Modifier and Type | Method and Description |
---|---|
void |
addStereotype(IStereotype stereotype)
Add a stereotype
IStereotype into this model element. |
void |
addStereotype(java.lang.String name)
Add a stereotype into this model element.
|
void |
addStereotypes(java.lang.String name)
Deprecated.
Replaced by addStereotype
|
void |
addVoice(IVoice voice) |
java.lang.String |
getDescription() |
java.lang.String |
getElementId() |
java.lang.String |
getHTMLDescription() |
java.lang.String |
getHTMLDescription(boolean convertPlainTextToHTML) |
java.lang.String |
getImageFilePath() |
ITaggedValueContainer |
getTaggedValues() |
IVoice |
getVoiceByIndex(int index) |
boolean |
hasStereotype(java.lang.String name) |
boolean |
hasStereotypes(java.lang.String name)
Deprecated.
Replaced by hasStereotype
|
void |
removeStereotype(IStereotype stereotype)
Remove a stereotype
IStereotype from this model element. |
void |
removeStereotype(java.lang.String name)
Remove a stereotype from this model element.
|
void |
removeStereotypes(java.lang.String name)
Deprecated.
Replaced by removeStereotype
|
void |
removeVoice(IVoice voice) |
void |
removeVoiceByIndex(int index) |
void |
setDescription(java.lang.String description) |
void |
setElementId(java.lang.String elementId) |
void |
setHTMLDescription(java.lang.String description) |
void |
setImageFilePath(java.lang.String imageFilePath) |
void |
setTaggedValues(ITaggedValueContainer taggedValues) |
int |
stereotypeCount() |
java.util.Iterator |
stereotypeIterator()
Returns an iterator over the names of the stereotypes.
|
java.util.Iterator |
stereotypeModelIterator()
Returns an iterator over the model elements
IStereotype . |
int |
stereotypesCount()
Deprecated.
Replaced by stereotypeCount
|
java.util.Iterator |
stereotypesIterator()
Deprecated.
Replaced by stereotypeIterator
|
java.util.Iterator |
stereotypesModelIterator()
Deprecated.
Replaced by stereotypeModelIterator
|
java.lang.String[] |
toStereotypeArray() |
IStereotype[] |
toStereotypeModelArray() |
java.lang.String[] |
toStereotypesArray()
Deprecated.
Replaced by toStereotypeArray
|
IStereotype[] |
toStereotypesModelArray()
Deprecated.
Replaced by toStereotypeModelArray
|
IVoice[] |
toVoiceArray() |
int |
voiceCount() |
java.util.Iterator |
voiceIterator()
Returns an iterator over the model elements
IVoice . |
addChild, addPropertyChangeListener, addSubDiagram, canModify, childCount, childCount, childCount, childIterator, childIterator, childIterator, constraintsIterator, createChild, delete, disposeTransientModel, duplicate, fromChartRelationshipCount, fromChartRelationshipIterator, fromRelationshipCount, fromRelationshipEndCount, fromRelationshipEndIterator, fromRelationshipIterator, getAddress, getChildById, getChildByIndex, getChildByIndex, getChildByName, getChildByName, getDescriptionWithReferenceModels, getDiagramElements, getDisplayQualityScore, getDocumentation, getDocumentationWithReferenceModels, getHTMLDescriptionWithReferenceModels, getHTMLDescriptionWithReferenceModels, getHTMLDocumentation, getHTMLDocumentation, getHTMLDocumentationWithReferenceModels, getHTMLDocumentationWithReferenceModels, getId, getMasterView, getMirrorSource, getModelPropertyByName, getModelQualityDetails, getModelType, getName, getNickDescription, getNickDescriptionWithReferenceModels, getNickDocumentation, getNickDocumentationWithReferenceModels, getNickHTMLDescription, getNickHTMLDescription, getNickHTMLDescriptionWithReferenceModels, getNickHTMLDescriptionWithReferenceModels, getNickHTMLDocumentation, getNickHTMLDocumentation, getNickHTMLDocumentationWithReferenceModels, getNickHTMLDocumentationWithReferenceModels, getNickname, getNickPropertyValue, getParent, getProject, getQualityReason, getQualityScore, getReferencedBys, getReferencingModels, getSubDiagramAt, indexOfSubDiagram, isMirrorModelElement, isTransientModel, removeChild, removeChildByIndex, removePropertyChangeListener, removeSubDiagram, setDocumentation, setHTMLDocumentation, setName, setNickDescription, setNickDocumentation, setNickHTMLDescription, setNickHTMLDocumentation, setNickname, subDiagramCount, subDiagramIterator, toChartRelationshipCount, toChartRelationshipIterator, toChildArray, toChildArray, toChildArray, toFromChartRelationshipArray, toFromRelationshipArray, toFromRelationshipEndArray, toModelPropertyArray, toPropertiesString, toRelationshipCount, toRelationshipEndCount, toRelationshipEndIterator, toRelationshipIterator, toSubDiagramArray, toToChartRelationshipArray, toToRelationshipArray, toToRelationshipEndArray
static final java.lang.String PROP_ELEMENT_ID
static final java.lang.String PROP_DOCUMENTATION
static final java.lang.String PROP_VOICES
static final java.lang.String PROP_STEREOTYPES
static final java.lang.String PROP_TAGGED_VALUES
static final java.lang.String PROP_IMAGE_FILE_PATH
void setElementId(java.lang.String elementId)
java.lang.String getElementId()
void setDescription(java.lang.String description)
setDescription
in interface IModelElement
java.lang.String getDescription()
getDescription
in interface IModelElement
void setHTMLDescription(java.lang.String description)
setHTMLDescription
in interface IModelElement
java.lang.String getHTMLDescription()
getHTMLDescription
in interface IModelElement
java.lang.String getHTMLDescription(boolean convertPlainTextToHTML)
getHTMLDescription
in interface IModelElement
void addVoice(IVoice voice)
void removeVoice(IVoice voice)
IVoice getVoiceByIndex(int index)
void removeVoiceByIndex(int index)
int voiceCount()
java.util.Iterator voiceIterator()
IVoice
.IVoice[] toVoiceArray()
void addStereotype(java.lang.String name)
IModelElement
IStereotype
does not existing in current project. It will be auto created.addStereotype
in interface IModelElement
void removeStereotype(java.lang.String name)
IModelElement
removeStereotype
in interface IModelElement
void addStereotype(IStereotype stereotype)
IStereotype
into this model element. The IStereotype
may belong to current project or referenced project(s). Sample usage please refer to http://knowhow.visual-paradigm.com/?p=2378addStereotype
in interface IModelElement
stereotype
- the IStereotype
will be added into this model element. The baseType
of the IStereotype
is required to be matched with modelType
of this model element. If they are different, or stereotype is null, will cause an IllegalArgumentException.
java.lang.IllegalArgumentException
- if the stereotype
is null, or its baseType
does not match with modelType
of this model element.void removeStereotype(IStereotype stereotype)
IStereotype
from this model element. The IStereotype
can belong to current project or referenced project(s).removeStereotype
in interface IModelElement
stereotype
- the IStereotype
will be removed from this model element.boolean hasStereotype(java.lang.String name)
hasStereotype
in interface IModelElement
int stereotypeCount()
stereotypeCount
in interface IModelElement
java.lang.String[] toStereotypeArray()
java.util.Iterator stereotypeIterator()
java.util.Iterator stereotypeModelIterator()
IStereotype
.stereotypeModelIterator
in interface IModelElement
IStereotype[] toStereotypeModelArray()
toStereotypeModelArray
in interface IModelElement
void addStereotypes(java.lang.String name)
void removeStereotypes(java.lang.String name)
boolean hasStereotypes(java.lang.String name)
int stereotypesCount()
java.lang.String[] toStereotypesArray()
java.util.Iterator stereotypesIterator()
java.util.Iterator stereotypesModelIterator()
IStereotype[] toStereotypesModelArray()
void setTaggedValues(ITaggedValueContainer taggedValues)
setTaggedValues
in interface IModelElement
ITaggedValueContainer getTaggedValues()
getTaggedValues
in interface IModelElement
void setImageFilePath(java.lang.String imageFilePath)
java.lang.String getImageFilePath()