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.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_POS_EDEFAULT
          The default value of the 'End Pos' attribute
protected  long endPos
          The cached value of the 'End Pos' attribute
protected static long START_POS_EDEFAULT
          The default value of the 'Start Pos' 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 interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected TraceableSegmentImpl()
           
 
Method Summary
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 long getEndPos()
           
 long getStartPos()
           
 void setEndPos(long newEndPos)
           
 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
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eURIFragmentSegment
 
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, eIsProxy, eResource
 
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()
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()

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve)

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

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)

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

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)

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

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
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