Interface Comment

All Superinterfaces:
ASTNode, org.eclipse.emf.cdo.CDOObject, org.eclipse.emf.cdo.common.id.CDOWithID, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
BlockComment, Javadoc, LineComment
All Known Implementing Classes:
BlockCommentImpl, CommentImpl, JavadocImpl, LineCommentImpl

public interface Comment
extends ASTNode
A representation of the model object 'Comment'.

The following features are supported:

See Also:
JavaPackage.getComment()
  • Method Summary

    Modifier and Type Method Description
    String getContent()
    Returns the value of the 'Content' attribute.
    boolean isEnclosedByParent()
    Returns the value of the 'Enclosed By Parent' attribute.
    boolean isPrefixOfParent()
    Returns the value of the 'Prefix Of Parent' attribute.
    void setContent​(String value)
    Sets the value of the 'Content' attribute.
    void setEnclosedByParent​(boolean value)
    Sets the value of the 'Enclosed By Parent' attribute.
    void setPrefixOfParent​(boolean value)
    Sets the value of the 'Prefix Of Parent' attribute.

    Methods inherited from interface org.eclipse.emf.cdo.CDOObject

    cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption

    Methods inherited from interface org.eclipse.emf.ecore.EObject

    eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver