edu.cmu.sei.aadl.aadl2
Interface Comment

All Superinterfaces:
AObject, Element, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
CommentImpl

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:
Aadl2Package.getComment()

Field Summary
 
Fields inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject
copyright
 
Method Summary
 java.lang.String getBody()
          Returns the value of the 'Body' attribute
 void setBody(java.lang.String value)
          Sets the value of the 'Body' attribute
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Element
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, mustBeOwned, not_own_self
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject
getLocationReference, setLocationReference, setLocationReference
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getBody

java.lang.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:
setBody(String), Aadl2Package.getComment_Body()

setBody

void setBody(java.lang.String value)
Sets the value of the 'Body' attribute.

Parameters:
value - the new value of the 'Body' attribute.
See Also:
getBody()