public interface Comment extends Element
From package UML::CommonStructure.
The following features are supported:
UMLPackage.getComment()
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.util.EList<Element> |
getAnnotatedElements()
Returns the value of the 'Annotated Element' reference list.
|
java.lang.String |
getBody()
Returns the value of the 'Body' attribute
|
boolean |
isSetBody()
Returns whether the value of the '
Body ' attribute is set |
void |
setBody(java.lang.String value)
Sets the value of the '
Body ' attribute |
void |
unsetBody()
Unsets the value of the '
Body ' attribute |
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
getEAnnotation, getEAnnotations
java.lang.String getBody()
From package UML::CommonStructure.
isSetBody()
,
unsetBody()
,
setBody(String)
,
UMLPackage.getComment_Body()
void setBody(java.lang.String value)
Body
' attribute.
value
- the new value of the 'Body' attribute.isSetBody()
,
unsetBody()
,
getBody()
void unsetBody()
Body
' attribute.
isSetBody()
,
getBody()
,
setBody(String)
boolean isSetBody()
Body
' attribute is set.
unsetBody()
,
getBody()
,
setBody(String)
org.eclipse.emf.common.util.EList<Element> getAnnotatedElements()
Element
.
References the Element(s) being commented.
From package UML::CommonStructure.
UMLPackage.getComment_AnnotatedElement()