|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Comment'. A comment gives the ability to attach various remarks to elements. A comment carries no semantic force, but may contain information that is useful to a modeler. A comment can be owned by any element.
The following features are supported:
UML2Package.getComment()
Field Summary | |
static String |
copyright
|
Method Summary | |
StringExpression |
createBodyExpression(EClass eClass)
Creates a StringExpression and sets the 'Body Expression' containment reference |
EList |
getAnnotatedElements()
Returns the value of the 'Annotated Element' reference list. |
String |
getBody()
Returns the value of the 'Body' attribute. |
StringExpression |
getBodyExpression()
Returns the value of the 'Body Expression' containment reference |
EList |
getOwnedElements()
|
void |
setBody(String value)
Sets the value of the ' Body ' attribute |
void |
setBodyExpression(StringExpression value)
Sets the value of the ' Body Expression ' containment reference |
Methods inherited from interface org.eclipse.uml2.TemplateableElement |
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwner, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, 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, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Field Detail |
public static final String copyright
Method Detail |
public String getBody()
""
.
If the meaning of the 'Body' attribute isn't clear, there really should be more of a description here...
Specifies a string that is the comment.
setBody(String)
,
UML2Package.getComment_Body()
public void setBody(String value)
Body
' attribute.
value
- the new value of the 'Body' attribute.getBody()
public EList getAnnotatedElements()
Element
.
If the meaning of the 'Annotated Element' reference list isn't clear, there really should be more of a description here...
References the Element(s) being commented.
UML2Package.getComment_AnnotatedElement()
public StringExpression getBodyExpression()
If the meaning of the 'Body Expression' containment reference isn't clear, there really should be more of a description here...
setBodyExpression(StringExpression)
,
UML2Package.getComment_BodyExpression()
public void setBodyExpression(StringExpression value)
Body Expression
' containment reference.
value
- the new value of the 'Body Expression' containment reference.getBodyExpression()
public StringExpression createBodyExpression(EClass eClass)
StringExpression
and sets the 'Body Expression' containment reference.
eClass
- The Ecore class of the StringExpression
to create.
StringExpression
.getBodyExpression()
public EList getOwnedElements()
getOwnedElements
in interface TemplateableElement
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |