|
||||||||||||
| 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 java.lang.String |
copyright
|
| Method Summary | |
|---|---|
StringExpression |
createBodyExpression()
Creates a StringExpression and sets the 'Body Expression' containment reference |
StringExpression |
createBodyExpression(EClass eClass)
Deprecated. Use #createBodyExpression() instead. |
EList |
getAnnotatedElements()
Returns the value of the 'Annotated Element' reference list. |
java.lang.String |
getBody()
Returns the value of the 'Body' attribute. |
StringExpression |
getBodyExpression()
Returns the value of the 'Body Expression' containment reference |
void |
setBody(java.lang.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, createOwnedTemplateSignature, createTemplateBinding, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature |
| Methods inherited from interface org.eclipse.uml2.Element |
|---|
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, 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 java.lang.String copyright
| Method Detail |
public java.lang.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(java.lang.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 StringExpression createBodyExpression()
StringExpression and sets the 'Body Expression' containment reference.
StringExpression.getBodyExpression()
|
Copyright 2003, 2005 IBM Corporation and others. All Rights Reserved. |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||