org.eclipse.gmt.modisco.omg.kdm.source
Interface SourceRegion

All Superinterfaces:
Element

public interface SourceRegion
extends Element

A representation of the model object 'Region'.

The following features are supported:

See Also:
SourcePackage.getSourceRegion()
Generated:
Model:

Method Summary
 java.lang.Integer getEndLine()
          Returns the value of the 'End Line' attribute.
 java.lang.Integer getEndPosition()
          Returns the value of the 'End Position' attribute.
 SourceFile getFile()
          Returns the value of the 'File' reference.
 java.lang.String getLanguage()
          Returns the value of the 'Language' attribute.
 java.lang.String getPath()
          Returns the value of the 'Path' attribute.
 java.lang.Integer getStartLine()
          Returns the value of the 'Start Line' attribute.
 java.lang.Integer getStartPosition()
          Returns the value of the 'Start Position' attribute.
 void setEndLine(java.lang.Integer value)
          Sets the value of the 'End Line' attribute.
 void setEndPosition(java.lang.Integer value)
          Sets the value of the 'End Position' attribute.
 void setFile(SourceFile value)
          Sets the value of the 'File' reference.
 void setLanguage(java.lang.String value)
          Sets the value of the 'Language' attribute.
 void setPath(java.lang.String value)
          Sets the value of the 'Path' attribute.
 void setStartLine(java.lang.Integer value)
          Sets the value of the 'Start Line' attribute.
 void setStartPosition(java.lang.Integer value)
          Sets the value of the 'Start Position' attribute.
 
Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.Element
getAnnotation, getAttribute
 

Method Detail

getFile

SourceFile getFile()
Returns the value of the 'File' reference.

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

Returns:
the value of the 'File' reference.
See Also:
setFile(SourceFile), SourcePackage.getSourceRegion_File()
Generated:
Model:
ordered="false"

setFile

void setFile(SourceFile value)
Sets the value of the 'File' reference.

Parameters:
value - the new value of the 'File' reference.
See Also:
getFile()
Generated:

getStartLine

java.lang.Integer getStartLine()
Returns the value of the 'Start Line' attribute.

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

Returns:
the value of the 'Start Line' attribute.
See Also:
setStartLine(Integer), SourcePackage.getSourceRegion_StartLine()
Generated:
Model:
dataType="org.eclipse.gmt.modisco.omg.kdm.core.Integer"

setStartLine

void setStartLine(java.lang.Integer value)
Sets the value of the 'Start Line' attribute.

Parameters:
value - the new value of the 'Start Line' attribute.
See Also:
getStartLine()
Generated:

getStartPosition

java.lang.Integer getStartPosition()
Returns the value of the 'Start Position' attribute.

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

Returns:
the value of the 'Start Position' attribute.
See Also:
setStartPosition(Integer), SourcePackage.getSourceRegion_StartPosition()
Generated:
Model:
dataType="org.eclipse.gmt.modisco.omg.kdm.core.Integer"

setStartPosition

void setStartPosition(java.lang.Integer value)
Sets the value of the 'Start Position' attribute.

Parameters:
value - the new value of the 'Start Position' attribute.
See Also:
getStartPosition()
Generated:

getEndLine

java.lang.Integer getEndLine()
Returns the value of the 'End Line' attribute.

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

Returns:
the value of the 'End Line' attribute.
See Also:
setEndLine(Integer), SourcePackage.getSourceRegion_EndLine()
Generated:
Model:
dataType="org.eclipse.gmt.modisco.omg.kdm.core.Integer"

setEndLine

void setEndLine(java.lang.Integer value)
Sets the value of the 'End Line' attribute.

Parameters:
value - the new value of the 'End Line' attribute.
See Also:
getEndLine()
Generated:

getEndPosition

java.lang.Integer getEndPosition()
Returns the value of the 'End Position' attribute.

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

Returns:
the value of the 'End Position' attribute.
See Also:
setEndPosition(Integer), SourcePackage.getSourceRegion_EndPosition()
Generated:
Model:
dataType="org.eclipse.gmt.modisco.omg.kdm.core.Integer"

setEndPosition

void setEndPosition(java.lang.Integer value)
Sets the value of the 'End Position' attribute.

Parameters:
value - the new value of the 'End Position' attribute.
See Also:
getEndPosition()
Generated:

getLanguage

java.lang.String getLanguage()
Returns the value of the 'Language' attribute.

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

Returns:
the value of the 'Language' attribute.
See Also:
setLanguage(String), SourcePackage.getSourceRegion_Language()
Generated:
Model:
dataType="org.eclipse.gmt.modisco.omg.kdm.core.String"

setLanguage

void setLanguage(java.lang.String value)
Sets the value of the 'Language' attribute.

Parameters:
value - the new value of the 'Language' attribute.
See Also:
getLanguage()
Generated:

getPath

java.lang.String getPath()
Returns the value of the 'Path' attribute.

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

Returns:
the value of the 'Path' attribute.
See Also:
setPath(String), SourcePackage.getSourceRegion_Path()
Generated:
Model:
dataType="org.eclipse.gmt.modisco.omg.kdm.core.String"

setPath

void setPath(java.lang.String value)
Sets the value of the 'Path' attribute.

Parameters:
value - the new value of the 'Path' attribute.
See Also:
getPath()
Generated: