com.change_vision.jude.api.inf.model
Interface IComment
com.change_vision.jude.api.inf.model.IComment
- All Superinterfaces:
- IElement, IEntity, IHyperlinkOwner, INamedElement
- All Implemented Interfaces:
- IElement, IEntity, IHyperlinkOwner, INamedElement
- All Known Implementing Classes:
- IStampComment
public abstract IComment
- extends INamedElement
Interface for Comment.
Methods inherited from class com.change_vision.jude.api.inf.model.INamedElement |
getAlias1, getAlias2, getClientDependencies, getClientRealizations, getClientUsages, getConstraints, getDefinition, getDiagrams, getFullName, getFullNamespace, getName, getSupplierDependencies, getSupplierRealizations, getSupplierUsages, isPackageVisibility, isPrivateVisibility, isProtectedVisibility, isPublicVisibility, setAlias1, setAlias2, setDefinition, setName, setVisibility |
Methods inherited from class com.change_vision.jude.api.inf.model.IElement |
addStereotype, getComments, getContainer, getContainers, getId, getOwner, getPresentations, getStereotypes, getTaggedValue, getTaggedValues, getTypeModifier, hasStereotype, isReadOnly, removeStereotype, setTypeModifier |
getAnnotatedElements
abstract IElement[] getAnnotatedElements()
- Get the elements with comments.
Return annotated elements and parent elements of Diagrams with comments.
- Returns:
- the array of elements. Return the empty array if there is none.
getBody
abstract String getBody()
- Get Body.
- Returns:
- Comment body
setBody
abstract void setBody(String body)
- Set Body.
- Parameters:
body
- Comment body
- Throws:
InvalidEditingException
- InvalidEditingException occurs.