uk.ac.ucl.cs.uml.jmi.Foundation.Core
Interface Comment

All Superinterfaces:
Element, ExtObject, ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject
All Known Implementing Classes:
Comment_Impl

public interface Comment
extends ModelElement

A comment is an annotation attached to a model element or a set of model elements. It has no semantic force but may contain information useful to the modeler.


Method Summary
 Collection getAnnotatedElement()
          A ModelElement or set of ModelElements described by the Comment.
 String getBody()
          A string that is the comment.
 void setBody(String body)
          Setter for atomic property body)
 
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.ModelElement
getAsArgument, getBehavior, getClientDependency, getComment, getConstraint, getContainer, getDefaultElement, getIsSpecification, getName, getNamespace, getPackage, getPresentation, getReferenceTag, getSourceFlow, getStereotype, getSupplierDependency, getTaggedValue, getTargetFlow, getTemplate, getTemplateArgument, getTemplateParameter, getVisibility, setDefaultElement, setIsSpecification, setName, setNamespace, setTemplate, setVisibility
 
Methods inherited from interface uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObject
extAddObjectListener, extDeepCopy, extDeepCopy, extEquals, extRemoveObjectListener, extValueHash, extVisit
 
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

String getBody()
               throws javax.jmi.reflect.JmiException
A string that is the comment.

Throws:
javax.jmi.reflect.JmiException

setBody

void setBody(String body)
             throws javax.jmi.reflect.JmiException
Setter for atomic property body)

Throws:
javax.jmi.reflect.JmiException

getAnnotatedElement

Collection getAnnotatedElement()
                               throws javax.jmi.reflect.JmiException
A ModelElement or set of ModelElements described by the Comment.

Throws:
javax.jmi.reflect.JmiException