org.eclipse.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.eclipse.mofscript.traceabilitymodel.impl.BlockImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Block

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.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 long getEndColumn()
           
 long getEndLine()
           
 long getEndPos()
           
 java.lang.String getID()
           
 long getStartColumn()
           
 long getStartLine()
           
 long getStartPos()
           
 org.eclipse.emf.common.util.EList getTraceablesegment()
           
 boolean isProtectedBlock()
           
 void setEndColumn(long newEndColumn)
           
 void setEndLine(long newEndLine)
           
 void setEndPos(long newEndPos)
           
 void setID(java.lang.String newID)
           
 void setProtectedBlock(boolean newProtectedBlock)
           
 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, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, 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
 

Method Detail

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()

getStartPos

public long getStartPos()

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

setStartPos

public void setStartPos(long newStartPos)

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

getEndPos

public long getEndPos()

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

setEndPos

public void setEndPos(long newEndPos)

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

isProtectedBlock

public boolean isProtectedBlock()

Specified by:
isProtectedBlock in interface Block
Returns:
the value of the 'Protected Block' attribute.
See Also:
Block.setProtectedBlock(boolean), TraceabilitymodelPackage.getBlock_ProtectedBlock()

setProtectedBlock

public void setProtectedBlock(boolean newProtectedBlock)

Specified by:
setProtectedBlock in interface Block
Parameters:
newProtectedBlock - the new value of the 'Protected Block' attribute.
See Also:
Block.isProtectedBlock()

getTraceablesegment

public org.eclipse.emf.common.util.EList getTraceablesegment()

Specified by:
getTraceablesegment in interface Block
Returns:
the value of the 'Traceablesegment' containment reference list.
See Also:
TraceabilitymodelPackage.getBlock_Traceablesegment()

getStartLine

public long getStartLine()

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

setStartLine

public void setStartLine(long newStartLine)

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

getStartColumn

public long getStartColumn()

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

setStartColumn

public void setStartColumn(long newStartColumn)

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

getEndColumn

public long getEndColumn()

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

setEndColumn

public void setEndColumn(long newEndColumn)

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

getEndLine

public long getEndLine()

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

setEndLine

public void setEndLine(long newEndLine)

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

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:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

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