org.sintef.mofscript.traceabilitymodel.impl
Class BlockImpl

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.BlockImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Block
Direct Known Subclasses:
ProtectedBlockImpl

public class BlockImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements Block

An implementation of the model object 'Block'.

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  Position endPosition
          The cached value of the 'End Position' reference
protected  java.lang.String id
          The cached value of the 'ID' attribute
protected static java.lang.String ID_EDEFAULT
          The default value of the 'ID' attribute
protected  Position startPosition
          The cached value of the 'Start Position' reference
 
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 BlockImpl()
           
 
Method Summary
 Position basicGetEndPosition()
           
 Position basicGetStartPosition()
           
 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)
           
 Position getEndPosition()
           
 java.lang.String getID()
           
 Position getStartPosition()
           
 void setEndPosition(Position newEndPosition)
           
 void setID(java.lang.String newID)
           
 void setStartPosition(Position newStartPosition)
           
 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

ID_EDEFAULT

protected static final java.lang.String ID_EDEFAULT
The default value of the 'ID' attribute.

See Also:
getID()

id

protected java.lang.String id
The cached value of the 'ID' attribute.

See Also:
getID()

startPosition

protected Position startPosition
The cached value of the 'Start Position' reference.

See Also:
getStartPosition()

endPosition

protected Position endPosition
The cached value of the 'End Position' reference.

See Also:
getEndPosition()
Constructor Detail

BlockImpl

protected BlockImpl()

Method Detail

eStaticClass

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

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

getID

public java.lang.String getID()

Specified by:
getID in interface Block
Returns:
the value of the 'ID' attribute.
See Also:
Block.setID(String), traceabilitymodelPackage.getBlock_ID()

setID

public void setID(java.lang.String newID)

Specified by:
setID in interface Block
Parameters:
newID - the new value of the 'ID' attribute.
See Also:
Block.getID()

getStartPosition

public Position getStartPosition()

Specified by:
getStartPosition in interface Block
Returns:
the value of the 'Start Position' reference.
See Also:
Block.setStartPosition(Position), traceabilitymodelPackage.getBlock_StartPosition()

basicGetStartPosition

public Position basicGetStartPosition()


setStartPosition

public void setStartPosition(Position newStartPosition)

Specified by:
setStartPosition in interface Block
Parameters:
newStartPosition - the new value of the 'Start Position' reference.
See Also:
Block.getStartPosition()

getEndPosition

public Position getEndPosition()

Specified by:
getEndPosition in interface Block
Returns:
the value of the 'End Position' reference.
See Also:
Block.setEndPosition(Position), traceabilitymodelPackage.getBlock_EndPosition()

basicGetEndPosition

public Position basicGetEndPosition()


setEndPosition

public void setEndPosition(Position newEndPosition)

Specified by:
setEndPosition in interface Block
Parameters:
newEndPosition - the new value of the 'End Position' reference.
See Also:
Block.getEndPosition()

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