org.sintef.mofscript.traceabilitymodel.impl
Class TraceableSegmentImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.sintef.mofscript.traceabilitymodel.impl.TraceableSegmentImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, TraceableSegment

public class TraceableSegmentImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements TraceableSegment

An implementation of the model object 'Traceable Segment'.

The following features are implemented:


Nested Class Summary
 
Nested 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.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected static long END_COLUMN_EDEFAULT
          The default value of the 'End Column' attribute
protected static long END_LINE_EDEFAULT
          The default value of the 'End Line' attribute
protected static long END_POS_EDEFAULT
          The default value of the 'End Pos' attribute
protected  long endColumn
          The cached value of the 'End Column' attribute
protected  long endLine
          The cached value of the 'End Line' attribute
protected  long endPos
          The cached value of the 'End Pos' attribute
protected static long START_COLUMN_EDEFAULT
          The default value of the 'Start Column' attribute
protected static long START_LINE_EDEFAULT
          The default value of the 'Start Line' attribute
protected static long START_POS_EDEFAULT
          The default value of the 'Start Pos' attribute
protected  long startColumn
          The cached value of the 'Start Column' attribute
protected  long startLine
          The cached value of the 'Start Line' attribute
protected  long startPos
          The cached value of the 'Start Pos' attribute
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected TraceableSegmentImpl()
           
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 long getEndColumn()
           
 long getEndLine()
           
 long getEndPos()
           
 long getStartColumn()
           
 long getStartLine()
           
 long getStartPos()
           
 void setEndColumn(long newEndColumn)
           
 void setEndLine(long newEndLine)
           
 void setEndPos(long newEndPos)
           
 void setStartColumn(long newStartColumn)
           
 void setStartLine(long newStartLine)
           
 void setStartPos(long newStartPos)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

START_POS_EDEFAULT

protected static final long START_POS_EDEFAULT
The default value of the 'Start Pos' attribute.

See Also:
getStartPos(), Constant Field Values

startPos

protected long startPos
The cached value of the 'Start Pos' attribute.

See Also:
getStartPos()

END_POS_EDEFAULT

protected static final long END_POS_EDEFAULT
The default value of the 'End Pos' attribute.

See Also:
getEndPos(), Constant Field Values

endPos

protected long endPos
The cached value of the 'End Pos' attribute.

See Also:
getEndPos()

START_LINE_EDEFAULT

protected static final long START_LINE_EDEFAULT
The default value of the 'Start Line' attribute.

See Also:
getStartLine(), Constant Field Values

startLine

protected long startLine
The cached value of the 'Start Line' attribute.

See Also:
getStartLine()

END_LINE_EDEFAULT

protected static final long END_LINE_EDEFAULT
The default value of the 'End Line' attribute.

See Also:
getEndLine(), Constant Field Values

endLine

protected long endLine
The cached value of the 'End Line' attribute.

See Also:
getEndLine()

START_COLUMN_EDEFAULT

protected static final long START_COLUMN_EDEFAULT
The default value of the 'Start Column' attribute.

See Also:
getStartColumn(), Constant Field Values

startColumn

protected long startColumn
The cached value of the 'Start Column' attribute.

See Also:
getStartColumn()

END_COLUMN_EDEFAULT

protected static final long END_COLUMN_EDEFAULT
The default value of the 'End Column' attribute.

See Also:
getEndColumn(), Constant Field Values

endColumn

protected long endColumn
The cached value of the 'End Column' attribute.

See Also:
getEndColumn()
Constructor Detail

TraceableSegmentImpl

protected TraceableSegmentImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class org.eclipse.emf.ecore.impl.EObjectImpl

getStartPos

public long getStartPos()

Specified by:
getStartPos in interface TraceableSegment
Returns:
the value of the 'Start Pos' attribute.
See Also:
TraceableSegment.setStartPos(long), TraceabilitymodelPackage.getTraceableSegment_StartPos()

setStartPos

public void setStartPos(long newStartPos)

Specified by:
setStartPos in interface TraceableSegment
Parameters:
newStartPos - the new value of the 'Start Pos' attribute.
See Also:
TraceableSegment.getStartPos()

getEndPos

public long getEndPos()

Specified by:
getEndPos in interface TraceableSegment
Returns:
the value of the 'End Pos' attribute.
See Also:
TraceableSegment.setEndPos(long), TraceabilitymodelPackage.getTraceableSegment_EndPos()

setEndPos

public void setEndPos(long newEndPos)

Specified by:
setEndPos in interface TraceableSegment
Parameters:
newEndPos - the new value of the 'End Pos' attribute.
See Also:
TraceableSegment.getEndPos()

getStartLine

public long getStartLine()

Specified by:
getStartLine in interface TraceableSegment
Returns:
the value of the 'Start Line' attribute.
See Also:
TraceableSegment.setStartLine(long), TraceabilitymodelPackage.getTraceableSegment_StartLine()

setStartLine

public void setStartLine(long newStartLine)

Specified by:
setStartLine in interface TraceableSegment
Parameters:
newStartLine - the new value of the 'Start Line' attribute.
See Also:
TraceableSegment.getStartLine()

getEndLine

public long getEndLine()

Specified by:
getEndLine in interface TraceableSegment
Returns:
the value of the 'End Line' attribute.
See Also:
TraceableSegment.setEndLine(long), TraceabilitymodelPackage.getTraceableSegment_EndLine()

setEndLine

public void setEndLine(long newEndLine)

Specified by:
setEndLine in interface TraceableSegment
Parameters:
newEndLine - the new value of the 'End Line' attribute.
See Also:
TraceableSegment.getEndLine()

getStartColumn

public long getStartColumn()

Specified by:
getStartColumn in interface TraceableSegment
Returns:
the value of the 'Start Column' attribute.
See Also:
TraceableSegment.setStartColumn(long), TraceabilitymodelPackage.getTraceableSegment_StartColumn()

setStartColumn

public void setStartColumn(long newStartColumn)

Specified by:
setStartColumn in interface TraceableSegment
Parameters:
newStartColumn - the new value of the 'Start Column' attribute.
See Also:
TraceableSegment.getStartColumn()

getEndColumn

public long getEndColumn()

Specified by:
getEndColumn in interface TraceableSegment
Returns:
the value of the 'End Column' attribute.
See Also:
TraceableSegment.setEndColumn(long), TraceabilitymodelPackage.getTraceableSegment_EndColumn()

setEndColumn

public void setEndColumn(long newEndColumn)

Specified by:
setEndColumn in interface TraceableSegment
Parameters:
newEndColumn - the new value of the 'End Column' attribute.
See Also:
TraceableSegment.getEndColumn()

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl