org.eclipse.mofscript.MOFScriptModel
Interface MOFScriptComment

All Superinterfaces:
org.eclipse.emf.ecore.EObject, MOFScriptObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
MOFScriptCommentImpl

public interface MOFScriptComment
extends MOFScriptObject

A representation of the model object 'MOF Script Comment'.

The following features are supported:

See Also:
MOFScriptModelPackage.getMOFScriptComment()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.lang.String getCommentText()
          Returns the value of the 'Comment Text' attribute.
 boolean isDocStyle()
          Returns the value of the 'Doc Style' attribute
 boolean isSingleLine()
          Returns the value of the 'Single Line' attribute
 void setCommentText(java.lang.String value)
          Sets the value of the 'Comment Text' attribute
 void setDocStyle(boolean value)
          Sets the value of the 'Doc Style' attribute
 void setSingleLine(boolean value)
          Sets the value of the 'Single Line' attribute
 
Methods inherited from interface org.eclipse.mofscript.MOFScriptModel.MOFScriptObject
getColumn, getComment, getLine, setColumn, setLine
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getCommentText

java.lang.String getCommentText()
Returns the value of the 'Comment Text' attribute. The default value is "".

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

Returns:
the value of the 'Comment Text' attribute.
See Also:
setCommentText(String), MOFScriptModelPackage.getMOFScriptComment_CommentText()

setCommentText

void setCommentText(java.lang.String value)
Sets the value of the 'Comment Text' attribute.

Parameters:
value - the new value of the 'Comment Text' attribute.
See Also:
getCommentText()

isSingleLine

boolean isSingleLine()
Returns the value of the 'Single Line' attribute.

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

Returns:
the value of the 'Single Line' attribute.
See Also:
setSingleLine(boolean), MOFScriptModelPackage.getMOFScriptComment_SingleLine()

setSingleLine

void setSingleLine(boolean value)
Sets the value of the 'Single Line' attribute.

Parameters:
value - the new value of the 'Single Line' attribute.
See Also:
isSingleLine()

isDocStyle

boolean isDocStyle()
Returns the value of the 'Doc Style' attribute.

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

Returns:
the value of the 'Doc Style' attribute.
See Also:
setDocStyle(boolean), MOFScriptModelPackage.getMOFScriptComment_DocStyle()

setDocStyle

void setDocStyle(boolean value)
Sets the value of the 'Doc Style' attribute.

Parameters:
value - the new value of the 'Doc Style' attribute.
See Also:
isDocStyle()