Interface SourceRegion
- All Superinterfaces:
Element,org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
SourceRegionImpl
public interface SourceRegion extends Element
A representation of the model object 'Region'.
The following features are supported:
- See Also:
SourcePackage.getSourceRegion()
-
Method Summary
Modifier and Type Method Description IntegergetEndLine()Returns the value of the 'End Line' attribute.IntegergetEndPosition()Returns the value of the 'End Position' attribute.SourceFilegetFile()Returns the value of the 'File' reference.StringgetLanguage()Returns the value of the 'Language' attribute.StringgetPath()Returns the value of the 'Path' attribute.IntegergetStartLine()Returns the value of the 'Start Line' attribute.IntegergetStartPosition()Returns the value of the 'Start Position' attribute.voidsetEndLine(Integer value)Sets the value of the 'End Line' attribute.voidsetEndPosition(Integer value)Sets the value of the 'End Position' attribute.voidsetFile(SourceFile value)Sets the value of the 'File' reference.voidsetLanguage(String value)Sets the value of the 'Language' attribute.voidsetPath(String value)Sets the value of the 'Path' attribute.voidsetStartLine(Integer value)Sets the value of the 'Start Line' attribute.voidsetStartPosition(Integer value)Sets the value of the 'Start Position' attribute.Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.Element
getAnnotation, getAttributeMethods 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
-
getFile
SourceFile getFile()Returns the value of the 'File' reference.- Returns:
- the value of the 'File' reference.
- See Also:
setFile(SourceFile),SourcePackage.getSourceRegion_File()
-
setFile
Sets the value of the 'File' reference.- Parameters:
value- the new value of the 'File' reference.- See Also:
getFile()
-
getStartLine
Integer getStartLine()Returns the value of the 'Start Line' attribute.- Returns:
- the value of the 'Start Line' attribute.
- See Also:
setStartLine(Integer),SourcePackage.getSourceRegion_StartLine()
-
setStartLine
Sets the value of the 'Start Line' attribute.- Parameters:
value- the new value of the 'Start Line' attribute.- See Also:
getStartLine()
-
getStartPosition
Integer getStartPosition()Returns the value of the 'Start Position' attribute.- Returns:
- the value of the 'Start Position' attribute.
- See Also:
setStartPosition(Integer),SourcePackage.getSourceRegion_StartPosition()
-
setStartPosition
Sets the value of the 'Start Position' attribute.- Parameters:
value- the new value of the 'Start Position' attribute.- See Also:
getStartPosition()
-
getEndLine
Integer getEndLine()Returns the value of the 'End Line' attribute.- Returns:
- the value of the 'End Line' attribute.
- See Also:
setEndLine(Integer),SourcePackage.getSourceRegion_EndLine()
-
setEndLine
Sets the value of the 'End Line' attribute.- Parameters:
value- the new value of the 'End Line' attribute.- See Also:
getEndLine()
-
getEndPosition
Integer getEndPosition()Returns the value of the 'End Position' attribute.- Returns:
- the value of the 'End Position' attribute.
- See Also:
setEndPosition(Integer),SourcePackage.getSourceRegion_EndPosition()
-
setEndPosition
Sets the value of the 'End Position' attribute.- Parameters:
value- the new value of the 'End Position' attribute.- See Also:
getEndPosition()
-
getLanguage
String getLanguage()Returns the value of the 'Language' attribute.- Returns:
- the value of the 'Language' attribute.
- See Also:
setLanguage(String),SourcePackage.getSourceRegion_Language()
-
setLanguage
Sets the value of the 'Language' attribute.- Parameters:
value- the new value of the 'Language' attribute.- See Also:
getLanguage()
-
getPath
String getPath()Returns the value of the 'Path' attribute.- Returns:
- the value of the 'Path' attribute.
- See Also:
setPath(String),SourcePackage.getSourceRegion_Path()
-
setPath
Sets the value of the 'Path' attribute.- Parameters:
value- the new value of the 'Path' attribute.- See Also:
getPath()
-