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

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.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  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 static boolean PROTECTED_BLOCK_EDEFAULT
          The default value of the 'Protected Block' attribute
protected  boolean protectedBlock
          The cached value of the 'Protected Block' 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
protected  org.eclipse.emf.common.util.EList traceablesegment
          The cached value of the 'Traceablesegment' containment reference list
 
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 BlockImpl()
           
 
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)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 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, 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, 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

ID_EDEFAULT

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

See Also:
getID(), Constant Field Values

id

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

See Also:
getID()

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

PROTECTED_BLOCK_EDEFAULT

protected static final boolean PROTECTED_BLOCK_EDEFAULT
The default value of the 'Protected Block' attribute.

See Also:
isProtectedBlock(), Constant Field Values

protectedBlock

protected boolean protectedBlock
The cached value of the 'Protected Block' attribute.

See Also:
isProtectedBlock()

traceablesegment

protected org.eclipse.emf.common.util.EList traceablesegment
The cached value of the 'Traceablesegment' containment reference list.

See Also:
getTraceablesegment()

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

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

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

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