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

public IComment
extends INamedElement

Interface for Comment.


Field Summary
 
Fields inherited from class com.change_vision.jude.api.inf.model.INamedElement
PACKAGE_VISIBILITY, PRIVATE_VISIBILITY, PROTECTED_VISIBILITY, PUBLIC_VISIBILITY
 
Method Summary
abstract  IElement[] getAnnotatedElements()
          Get the elements with comments.
abstract  String getBody()
          Get Body.
 
Methods inherited from class com.change_vision.jude.api.inf.model.INamedElement
getClientDependencies, getClientRealizations, getClientUsages, getConstraints, getDefinition, getDiagrams, getFullName, getFullNamespace, getName, getSupplierDependencies, getSupplierRealizations, getSupplierUsages, isPackageVisibility, isPrivateVisibility, isProtectedVisibility, isPublicVisibility, setDefinition, setName, setVisibility
 
Methods inherited from class com.change_vision.jude.api.inf.model.IElement
addStereotype, getComments, getContainer, getContainers, getId, getOwner, getPresentations, getStereotypes, getTaggedValues, getTypeModifier, hasStereotype, hasStereotype, isReadOnly, removeStereotype, setTypeModifier
 
Methods inherited from class com.change_vision.jude.api.inf.model.IHyperlinkOwner
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinks
 

Method Detail

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