com.change_vision.jude.api.inf.model
Interface IComment

com.change_vision.jude.api.inf.model.IComment
All Implemented Interfaces:
IElement, 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
getAlias1, getAlias2, getClientDependencies, getConstraints, getDefinition, getDiagrams, getName, getSupplierDependencies, isPackageVisibility, isPrivateVisibility, isProtectedVisibility, isPublicVisibility, setAlias1, setAlias2, setDefinition, setName, setVisibility
 
Methods inherited from class com.change_vision.jude.api.inf.model.IElement
addStereotype, getComments, getId, getOwner, getStereotypes, getTaggedValues, getTypeModifier, isReadOnly, removeStereotype, setTypeModifier
 
Methods inherited from class com.change_vision.jude.api.inf.model.IHyperlinkOwner
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinks
 

Method Detail

getAnnotatedElements

public 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

public abstract String getBody()
Get Body.

Returns:
Comment body