UML.Semantic.Foundation.AuxiliaryElements
Class Comment

java.lang.Object
  |
  +--UML.Semantic.Foundation.Core.ModelElement
        |
        +--UML.Semantic.Foundation.AuxiliaryElements.Comment
All Implemented Interfaces:
Element, ElementAtt, LinkAtt

public class Comment
extends ModelElement

A comment is an annotation attached to a model element or a set of model elements.

In the metamodel a Comment is a subclass of ViewElement. It is associated with a set of ModelElements.


Constructor Summary
Comment()
           
 
Method Summary
 boolean check()
          Checks if well-formedness rules are respected in this mode-element.
 
Methods inherited from class UML.Semantic.Foundation.Core.ModelElement
add, add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getInfo, getIsOwned, getLabel, getLocator, getName, getNamespace, getNamespaceId, getStereotype, getTemplate, getTemplateParameterList, getTitle, getUuid, getUuidref, getVisibility, getVisibilitySymbol, getWarnings, setElementType, setErrors, setHref, setId, setIdref, setIndex, setIsOwned, setLabel, setName, setNamespace, setTemplate, setTitle, setUuid, setUuidref, setVisibility, setWarnings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Comment

public Comment()
Method Detail

check

public boolean check()
Checks if well-formedness rules are respected in this mode-element.

Overrides:
check in class ModelElement
Returns:
True if check was successful, false otherwise.