org.eclipse.mofscript.MOFScriptModel.impl
Class StatementBlockImpl

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.MOFScriptModel.impl.StatementBlockImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, StatementBlock

public class StatementBlockImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements StatementBlock

An implementation of the model object 'Statement 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<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
static java.lang.String copyright
           
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  boolean protected_
          The cached value of the 'Protected' attribute
protected static boolean PROTECTED_EDEFAULT
          The default value of the 'Protected' attribute
protected  java.lang.String reference
          The cached value of the 'Reference' attribute
protected static java.lang.String REFERENCE_EDEFAULT
          The default value of the 'Reference' attribute
protected  org.eclipse.emf.common.util.EList<MOFScriptStatement> statements
          The cached value of the 'Statements' 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 StatementBlockImpl()
           
 
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)
           
 java.lang.String getId()
           
 java.lang.String getReference()
           
 org.eclipse.emf.common.util.EList<MOFScriptStatement> getStatements()
           
 boolean isProtected()
           
 void setId(java.lang.String newId)
           
 void setProtected(boolean newProtected)
           
 void setReference(java.lang.String newReference)
           
 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, eContainerAdapterArray, 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
eBasicAdapterArray, eBasicHasAdapters, 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

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values

statements

protected org.eclipse.emf.common.util.EList<MOFScriptStatement> statements
The cached value of the 'Statements' reference list.

See Also:
getStatements()

PROTECTED_EDEFAULT

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

See Also:
isProtected(), Constant Field Values

protected_

protected boolean protected_
The cached value of the 'Protected' attribute.

See Also:
isProtected()

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

REFERENCE_EDEFAULT

protected static final java.lang.String REFERENCE_EDEFAULT
The default value of the 'Reference' attribute.

See Also:
getReference()

reference

protected java.lang.String reference
The cached value of the 'Reference' attribute.

See Also:
getReference()
Constructor Detail

StatementBlockImpl

protected StatementBlockImpl()

Method Detail

eStaticClass

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

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

getStatements

public org.eclipse.emf.common.util.EList<MOFScriptStatement> getStatements()

Specified by:
getStatements in interface StatementBlock
Returns:
the value of the 'Statements' reference list.
See Also:
MOFScriptModelPackage.getStatementBlock_Statements()

isProtected

public boolean isProtected()

Specified by:
isProtected in interface StatementBlock
Returns:
the value of the 'Protected' attribute.
See Also:
StatementBlock.setProtected(boolean), MOFScriptModelPackage.getStatementBlock_Protected()

setProtected

public void setProtected(boolean newProtected)

Specified by:
setProtected in interface StatementBlock
Parameters:
newProtected - the new value of the 'Protected' attribute.
See Also:
StatementBlock.isProtected()

getId

public java.lang.String getId()

Specified by:
getId in interface StatementBlock
Returns:
the value of the 'Id' attribute.
See Also:
StatementBlock.setId(String), MOFScriptModelPackage.getStatementBlock_Id()

setId

public void setId(java.lang.String newId)

Specified by:
setId in interface StatementBlock
Parameters:
newId - the new value of the 'Id' attribute.
See Also:
StatementBlock.getId()

getReference

public java.lang.String getReference()

Specified by:
getReference in interface StatementBlock
Returns:
the value of the 'Reference' attribute.
See Also:
StatementBlock.setReference(String), MOFScriptModelPackage.getStatementBlock_Reference()

setReference

public void setReference(java.lang.String newReference)

Specified by:
setReference in interface StatementBlock
Parameters:
newReference - the new value of the 'Reference' attribute.
See Also:
StatementBlock.getReference()

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