Class SourceRegionImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.gmt.modisco.omg.kdm.source.impl.SourceRegionImpl
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject,Element,SourceRegion
public class SourceRegionImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements SourceRegion
An implementation of the model object 'Region'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.DynamicNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.emf.common.util.EList<Annotation>annotationThe cached value of the 'Annotation' containment reference list.protected org.eclipse.emf.common.util.EList<Attribute>attributeThe cached value of the 'Attribute' containment reference list.protected static IntegerEND_LINE_EDEFAULTThe default value of the 'End Line' attribute.protected static IntegerEND_POSITION_EDEFAULTThe default value of the 'End Position' attribute.protected IntegerendLineThe cached value of the 'End Line' attribute.protected IntegerendPositionThe cached value of the 'End Position' attribute.protected SourceFilefileThe cached value of the 'File' reference.protected StringlanguageThe cached value of the 'Language' attribute.protected static StringLANGUAGE_EDEFAULTThe default value of the 'Language' attribute.protected StringpathThe cached value of the 'Path' attribute.protected static StringPATH_EDEFAULTThe default value of the 'Path' attribute.protected static IntegerSTART_LINE_EDEFAULTThe default value of the 'Start Line' attribute.protected static IntegerSTART_POSITION_EDEFAULTThe default value of the 'Start Position' attribute.protected IntegerstartLineThe cached value of the 'Start Line' attribute.protected IntegerstartPositionThe cached value of the 'Start Position' attribute.Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainerFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors Modifier Constructor Description protectedSourceRegionImpl() -
Method Summary
Modifier and Type Method Description SourceFilebasicGetFile()ObjecteGet(int featureID, boolean resolve, boolean coreType)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)org.eclipse.emf.common.util.EList<Annotation>getAnnotation()org.eclipse.emf.common.util.EList<Attribute>getAttribute()IntegergetEndLine()IntegergetEndPosition()SourceFilegetFile()StringgetLanguage()StringgetPath()IntegergetStartLine()IntegergetStartPosition()voidsetEndLine(Integer newEndLine)voidsetEndPosition(Integer newEndPosition)voidsetFile(SourceFile newFile)voidsetLanguage(String newLanguage)voidsetPath(String newPath)voidsetStartLine(Integer newStartLine)voidsetStartPosition(Integer newStartPosition)StringtoString()Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainerMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettingsMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
attribute
The cached value of the 'Attribute' containment reference list.- See Also:
getAttribute()
-
annotation
The cached value of the 'Annotation' containment reference list.- See Also:
getAnnotation()
-
file
The cached value of the 'File' reference.- See Also:
getFile()
-
START_LINE_EDEFAULT
The default value of the 'Start Line' attribute.- See Also:
getStartLine()
-
startLine
The cached value of the 'Start Line' attribute.- See Also:
getStartLine()
-
START_POSITION_EDEFAULT
The default value of the 'Start Position' attribute.- See Also:
getStartPosition()
-
startPosition
The cached value of the 'Start Position' attribute.- See Also:
getStartPosition()
-
END_LINE_EDEFAULT
The default value of the 'End Line' attribute.- See Also:
getEndLine()
-
endLine
The cached value of the 'End Line' attribute.- See Also:
getEndLine()
-
END_POSITION_EDEFAULT
The default value of the 'End Position' attribute.- See Also:
getEndPosition()
-
endPosition
The cached value of the 'End Position' attribute.- See Also:
getEndPosition()
-
LANGUAGE_EDEFAULT
The default value of the 'Language' attribute.- See Also:
getLanguage()
-
language
The cached value of the 'Language' attribute.- See Also:
getLanguage()
-
PATH_EDEFAULT
The default value of the 'Path' attribute.- See Also:
getPath()
-
path
The cached value of the 'Path' attribute.- See Also:
getPath()
-
-
Constructor Details
-
SourceRegionImpl
protected SourceRegionImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClassin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getAttribute
- Specified by:
getAttributein interfaceElement- Returns:
- the value of the 'Attribute' containment reference list.
- See Also:
CorePackage.getElement_Attribute()
-
getAnnotation
- Specified by:
getAnnotationin interfaceElement- Returns:
- the value of the 'Annotation' containment reference list.
- See Also:
CorePackage.getElement_Annotation()
-
getFile
- Specified by:
getFilein interfaceSourceRegion- Returns:
- the value of the 'File' reference.
- See Also:
SourceRegion.setFile(SourceFile),SourcePackage.getSourceRegion_File()
-
basicGetFile
-
setFile
- Specified by:
setFilein interfaceSourceRegion- Parameters:
newFile- the new value of the 'File' reference.- See Also:
SourceRegion.getFile()
-
getStartLine
- Specified by:
getStartLinein interfaceSourceRegion- Returns:
- the value of the 'Start Line' attribute.
- See Also:
SourceRegion.setStartLine(Integer),SourcePackage.getSourceRegion_StartLine()
-
setStartLine
- Specified by:
setStartLinein interfaceSourceRegion- Parameters:
newStartLine- the new value of the 'Start Line' attribute.- See Also:
SourceRegion.getStartLine()
-
getStartPosition
- Specified by:
getStartPositionin interfaceSourceRegion- Returns:
- the value of the 'Start Position' attribute.
- See Also:
SourceRegion.setStartPosition(Integer),SourcePackage.getSourceRegion_StartPosition()
-
setStartPosition
- Specified by:
setStartPositionin interfaceSourceRegion- Parameters:
newStartPosition- the new value of the 'Start Position' attribute.- See Also:
SourceRegion.getStartPosition()
-
getEndLine
- Specified by:
getEndLinein interfaceSourceRegion- Returns:
- the value of the 'End Line' attribute.
- See Also:
SourceRegion.setEndLine(Integer),SourcePackage.getSourceRegion_EndLine()
-
setEndLine
- Specified by:
setEndLinein interfaceSourceRegion- Parameters:
newEndLine- the new value of the 'End Line' attribute.- See Also:
SourceRegion.getEndLine()
-
getEndPosition
- Specified by:
getEndPositionin interfaceSourceRegion- Returns:
- the value of the 'End Position' attribute.
- See Also:
SourceRegion.setEndPosition(Integer),SourcePackage.getSourceRegion_EndPosition()
-
setEndPosition
- Specified by:
setEndPositionin interfaceSourceRegion- Parameters:
newEndPosition- the new value of the 'End Position' attribute.- See Also:
SourceRegion.getEndPosition()
-
getLanguage
- Specified by:
getLanguagein interfaceSourceRegion- Returns:
- the value of the 'Language' attribute.
- See Also:
SourceRegion.setLanguage(String),SourcePackage.getSourceRegion_Language()
-
setLanguage
- Specified by:
setLanguagein interfaceSourceRegion- Parameters:
newLanguage- the new value of the 'Language' attribute.- See Also:
SourceRegion.getLanguage()
-
getPath
- Specified by:
getPathin interfaceSourceRegion- Returns:
- the value of the 'Path' attribute.
- See Also:
SourceRegion.setPath(String),SourcePackage.getSourceRegion_Path()
-
setPath
- Specified by:
setPathin interfaceSourceRegion- Parameters:
newPath- the new value of the 'Path' attribute.- See Also:
SourceRegion.getPath()
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-