public interface Comment extends Element
The following features are supported:
UMLPackage.getComment()| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Element> |
getAnnotatedElement()
Returns the value of the 'Annotated Element' reference list.
|
java.lang.String |
getBody()
Returns the value of the 'Body' attribute.
|
Element |
getOwningElement()
Returns the value of the 'Owning Element' container reference.
|
boolean |
hasAnnotatedElement() |
void |
setBody(java.lang.String value)
Sets the value of the '
Body' attribute. |
void |
setOwningElement(Element value)
Sets the value of the '
Owning Element' container reference. |
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElementget_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalIDgetID, getMDExtension, getMdExtensions, setIDeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliveraccept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetIDrefClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostCompositejava.util.Collection<Element> getAnnotatedElement()
Element.
It is bidirectional and its opposite is 'comment Of Annotated Element'.
References the Element(s) being commented.
UMLPackage.getComment_AnnotatedElement(),
Element.get_commentOfAnnotatedElement()java.lang.String getBody()
"".
Specifies a string that is the comment.
setBody(String),
UMLPackage.getComment_Body()void setBody(java.lang.String value)
Body' attribute.
value - the new value of the 'Body' attribute.getBody()Element getOwningElement()
Owned Comment'.
If the meaning of the 'Owning Element' container reference isn't clear, there really should be more of a description here...
setOwningElement(Element),
UMLPackage.getComment_OwningElement(),
Element.getOwnedComment()void setOwningElement(Element value)
Owning Element' container reference.
value - the new value of the 'Owning Element' container reference.getOwningElement()boolean hasAnnotatedElement()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException