org.eclipse.gmt.modisco.java
Interface Comment

All Superinterfaces:
ASTNode
All Known Subinterfaces:
BlockComment, Javadoc, LineComment

public interface Comment
extends ASTNode

A representation of the model object 'Comment'.

The following features are supported:

See Also:
JavaPackage.getComment()
Generated:
Model:
abstract="true"

Method Summary
 java.lang.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(java.lang.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.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnit
 

Method Detail

getContent

java.lang.String getContent()
Returns the value of the 'Content' attribute.

If the meaning of the 'Content' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Content' attribute.
See Also:
setContent(String), JavaPackage.getComment_Content()
Generated:
Model:
unique="false" required="true" ordered="false"

setContent

void setContent(java.lang.String value)
Sets the value of the 'Content' attribute.

Parameters:
value - the new value of the 'Content' attribute.
See Also:
getContent()
Generated:

isEnclosedByParent

boolean isEnclosedByParent()
Returns the value of the 'Enclosed By Parent' attribute.

If the meaning of the 'Enclosed By Parent' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Enclosed By Parent' attribute.
See Also:
setEnclosedByParent(boolean), JavaPackage.getComment_EnclosedByParent()
Generated:
Model:
unique="false" required="true" ordered="false"

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()
Generated:

isPrefixOfParent

boolean isPrefixOfParent()
Returns the value of the 'Prefix Of Parent' attribute.

If the meaning of the 'Prefix Of Parent' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Prefix Of Parent' attribute.
See Also:
setPrefixOfParent(boolean), JavaPackage.getComment_PrefixOfParent()
Generated:
Model:
unique="false" required="true" ordered="false"

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()
Generated: