org.omg.uml.foundation.core
Interface Comment

All Superinterfaces:
Element, ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject

public interface Comment
extends ModelElement

Comment object instance interface.


Method Summary
 Collection getAnnotatedElement()
          Returns the value of reference annotatedElement.
 String getBody()
          Returns the value of attribute body.
 void setBody(String newValue)
          Sets the value of body attribute.
 
Methods inherited from interface org.omg.uml.foundation.core.ModelElement
getClientDependency, getComment, getConstraint, getName, getNamespace, getSourceFlow, getStereotype, getTaggedValue, getTargetFlow, getTemplateParameter, getVisibility, isSpecification, setName, setNamespace, setSpecification, setVisibility
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getBody

public String getBody()
Returns the value of attribute body.

Returns:
Value of attribute body.

setBody

public void setBody(String newValue)
Sets the value of body attribute. See getBody() for description on the attribute.

Parameters:
newValue - New value to be set.

getAnnotatedElement

public Collection getAnnotatedElement()
Returns the value of reference annotatedElement.

Returns:
Value of reference annotatedElement.