org.eclipse.ocl.examples.pivot
Interface Comment

All Superinterfaces:
DomainElement, Element, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, PivotObject, Visitable
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:
PivotPackage.getComment()
Generated

Method Summary
 java.util.List<Element> getAnnotatedElement()
          Returns the value of the 'Annotated Element' reference list.
 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 org.eclipse.ocl.examples.pivot.Element
allOwnedElements, getETarget, getExtension, getOwnedAnnotation, getOwnedComment, getValue
 
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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 

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), PivotPackage.getComment_Body()
Generated

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()
Generated

getAnnotatedElement

java.util.List<Element> getAnnotatedElement()
Returns the value of the 'Annotated Element' reference list. The list contents are of type Element. References the Element(s) being commented.

Returns:
the value of the 'Annotated Element' reference list.
See Also:
PivotPackage.getComment_AnnotatedElement()
Generated