org.eclipse.mtl.cst.impl
Class FileBlockImpl

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.mtl.cst.impl.TemplateExpressionImpl
                  extended by org.eclipse.mtl.cst.impl.BlockImpl
                      extended by org.eclipse.mtl.cst.impl.FileBlockImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Block, CSTNode, FileBlock, TemplateExpression

public class FileBlockImpl
extends BlockImpl
implements FileBlock

An implementation of the model object 'File 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
protected  ModelExpression fileUrl
          The cached value of the 'File Url' containment reference.
protected static OpenModeKind OPEN_MODE_EDEFAULT
          The default value of the 'Open Mode' attribute.
protected  OpenModeKind openMode
          The cached value of the 'Open Mode' attribute.
protected  ModelExpression uniqId
          The cached value of the 'Uniq Id' containment reference.
 
Fields inherited from class org.eclipse.mtl.cst.impl.BlockImpl
body, init
 
Fields inherited from class org.eclipse.mtl.cst.impl.TemplateExpressionImpl
END_POSITION_EDEFAULT, endPosition, START_POSITION_EDEFAULT, startPosition
 
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 FileBlockImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetFileUrl(ModelExpression newFileUrl, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetUniqId(ModelExpression newUniqId, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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)
           
 ModelExpression getFileUrl()
           
 OpenModeKind getOpenMode()
           
 ModelExpression getUniqId()
           
 void setFileUrl(ModelExpression newFileUrl)
           
 void setOpenMode(OpenModeKind newOpenMode)
           
 void setUniqId(ModelExpression newUniqId)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.mtl.cst.impl.BlockImpl
basicSetInit, getBody, getInit, setInit
 
Methods inherited from class org.eclipse.mtl.cst.impl.TemplateExpressionImpl
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
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, 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.mtl.cst.Block
getBody, getInit, setInit
 
Methods inherited from interface org.eclipse.mtl.cst.CSTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
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

OPEN_MODE_EDEFAULT

protected static final OpenModeKind OPEN_MODE_EDEFAULT
The default value of the 'Open Mode' attribute.

See Also:
getOpenMode()

openMode

protected OpenModeKind openMode
The cached value of the 'Open Mode' attribute.

See Also:
getOpenMode()

fileUrl

protected ModelExpression fileUrl
The cached value of the 'File Url' containment reference.

See Also:
getFileUrl()

uniqId

protected ModelExpression uniqId
The cached value of the 'Uniq Id' containment reference.

See Also:
getUniqId()
Constructor Detail

FileBlockImpl

protected FileBlockImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class BlockImpl

getOpenMode

public OpenModeKind getOpenMode()

Specified by:
getOpenMode in interface FileBlock
Returns:
the value of the 'Open Mode' attribute.
See Also:
OpenModeKind, FileBlock.setOpenMode(OpenModeKind), CstPackage.getFileBlock_OpenMode()

setOpenMode

public void setOpenMode(OpenModeKind newOpenMode)

Specified by:
setOpenMode in interface FileBlock
Parameters:
newOpenMode - the new value of the 'Open Mode' attribute.
See Also:
OpenModeKind, FileBlock.getOpenMode()

getFileUrl

public ModelExpression getFileUrl()

Specified by:
getFileUrl in interface FileBlock
Returns:
the value of the 'File Url' containment reference.
See Also:
FileBlock.setFileUrl(ModelExpression), CstPackage.getFileBlock_FileUrl()

basicSetFileUrl

public org.eclipse.emf.common.notify.NotificationChain basicSetFileUrl(ModelExpression newFileUrl,
                                                                       org.eclipse.emf.common.notify.NotificationChain msgs)


setFileUrl

public void setFileUrl(ModelExpression newFileUrl)

Specified by:
setFileUrl in interface FileBlock
Parameters:
newFileUrl - the new value of the 'File Url' containment reference.
See Also:
FileBlock.getFileUrl()

getUniqId

public ModelExpression getUniqId()

Specified by:
getUniqId in interface FileBlock
Returns:
the value of the 'Uniq Id' containment reference.
See Also:
FileBlock.setUniqId(ModelExpression), CstPackage.getFileBlock_UniqId()

basicSetUniqId

public org.eclipse.emf.common.notify.NotificationChain basicSetUniqId(ModelExpression newUniqId,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)


setUniqId

public void setUniqId(ModelExpression newUniqId)

Specified by:
setUniqId in interface FileBlock
Parameters:
newUniqId - the new value of the 'Uniq Id' containment reference.
See Also:
FileBlock.getUniqId()

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 BlockImpl

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 BlockImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class BlockImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class BlockImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class BlockImpl

toString

public java.lang.String toString()

Overrides:
toString in class TemplateExpressionImpl

Copyright 2008 Obeo
All Rights Reserved.