Package org.eclipse.gmt.modisco.java
Interface Comment
- All Superinterfaces:
ASTNode,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 StringgetContent()Returns the value of the 'Content' attribute.booleanisEnclosedByParent()Returns the value of the 'Enclosed By Parent' attribute.booleanisPrefixOfParent()Returns the value of the 'Prefix Of Parent' attribute.voidsetContent(String value)Sets the value of the 'Content' attribute.voidsetEnclosedByParent(boolean value)Sets the value of the 'Enclosed By Parent' attribute.voidsetPrefixOfParent(boolean value)Sets the value of the 'Prefix Of Parent' attribute.Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getContent
String getContent()Returns the value of the 'Content' attribute.- Returns:
- the value of the 'Content' attribute.
- See Also:
setContent(String),JavaPackage.getComment_Content()
-
setContent
Sets the value of the 'Content' attribute.- Parameters:
value- the new value of the 'Content' attribute.- See Also:
getContent()
-
isEnclosedByParent
boolean isEnclosedByParent()Returns the value of the 'Enclosed By Parent' attribute.- Returns:
- the value of the 'Enclosed By Parent' attribute.
- See Also:
setEnclosedByParent(boolean),JavaPackage.getComment_EnclosedByParent()
-
setEnclosedByParent
void setEnclosedByParent(boolean value)Sets the value of the 'Enclosed By Parent' attribute.- Parameters:
value- the new value of the 'Enclosed By Parent' attribute.- See Also:
isEnclosedByParent()
-
isPrefixOfParent
boolean isPrefixOfParent()Returns the value of the 'Prefix Of Parent' attribute.- Returns:
- the value of the 'Prefix Of Parent' attribute.
- See Also:
setPrefixOfParent(boolean),JavaPackage.getComment_PrefixOfParent()
-
setPrefixOfParent
void setPrefixOfParent(boolean value)Sets the value of the 'Prefix Of Parent' attribute.- Parameters:
value- the new value of the 'Prefix Of Parent' attribute.- See Also:
isPrefixOfParent()
-