Package com.sodius.mdw.metamodel.uml21
Interface Comment
-
- All Superinterfaces:
Comparable<Object>
,Element
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,org.eclipse.emf.common.notify.Notifier
public interface Comment extends Element
A representation of the model object 'Comment'. A comment is a textual annotation that can be attached to a set of elements.The following features are supported:
- See Also:
UMLPackage.getComment()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MDWEList<Element>
getAnnotatedElements()
Returns the value of the 'Annotated Element' reference list.String
getBody()
Returns the value of the 'Body' attribute.boolean
isSetBody()
Returns whether the value of the 'Body
' attribute is set.void
setBody(String value)
Sets the value of the 'Body
' attribute.void
unsetBody()
Unsets the value of the 'Body
' attribute.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Element
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
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
-
-
-
Method Detail
-
getBody
String getBody()
Returns the value of the 'Body' attribute. Specifies a string that is the comment.- Returns:
- the value of the 'Body' attribute.
- See Also:
isSetBody()
,unsetBody()
,setBody(String)
,UMLPackage.getComment_Body()
-
setBody
void setBody(String value)
Sets the value of the 'Body
' attribute.- Parameters:
value
- the new value of the 'Body' attribute.- See Also:
isSetBody()
,unsetBody()
,getBody()
-
unsetBody
void unsetBody()
Unsets the value of the 'Body
' attribute.- See Also:
isSetBody()
,getBody()
,setBody(String)
-
isSetBody
boolean isSetBody()
Returns whether the value of the 'Body
' attribute is set.- Returns:
- whether the value of the 'Body' attribute is set.
- See Also:
unsetBody()
,getBody()
,setBody(String)
-
getAnnotatedElements
MDWEList<Element> getAnnotatedElements()
Returns the value of the 'Annotated Element' reference list. The list contents are of typeElement
. References the Element(s) being commented.- Returns:
- the value of the 'Annotated Element' reference list.
- See Also:
UMLPackage.getComment_AnnotatedElement()
-
-