org.eclipse.emf.cdo.defs.impl
Class CDOResourceDefImpl

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.net4j.util.defs.impl.DefImpl
                  extended by org.eclipse.emf.cdo.defs.impl.CDOResourceDefImpl
All Implemented Interfaces:
CDOResourceDef, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.net4j.util.defs.Def

public class CDOResourceDefImpl
extends org.eclipse.net4j.util.defs.impl.DefImpl
implements CDOResourceDef

An implementation of the model object 'CDO Resource Def'.

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  CDOTransactionDef cdoTransaction
          The cached value of the 'Cdo Transaction' reference.
protected  java.lang.String path
          The cached value of the 'Path' attribute.
protected static java.lang.String PATH_EDEFAULT
          The default value of the 'Path' attribute.
protected static ResourceMode RESOURCE_MODE_EDEFAULT
          The default value of the 'Resource Mode' attribute.
protected  ResourceMode resourceMode
          The cached value of the 'Resource Mode' attribute.
 
Fields inherited from class org.eclipse.net4j.util.defs.impl.DefImpl
instanceListener, touchedAdapter
 
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 CDOResourceDefImpl()
           
 
Method Summary
 CDOTransactionDef basicGetCdoTransaction()
           
protected  java.lang.Object createInstance()
           
 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)
           
 CDOTransactionDef getCdoTransaction()
           
 java.lang.String getPath()
           
 ResourceMode getResourceMode()
           
 void setCdoTransaction(CDOTransactionDef newCdoTransaction)
           
 void setPath(java.lang.String newPath)
           
 void setResourceMode(ResourceMode newResourceMode)
           
 java.lang.String toString()
           
protected  void validateDefinition()
           
 
Methods inherited from class org.eclipse.net4j.util.defs.impl.DefImpl
activateInstance, areReferencedDefsTouched, deactivateInstance, getInstance, getInternalInstance, handleDeactivation, isSetInstance, isTouched, unsetInstance, unwireInstance, wireInstance
 
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.net4j.util.defs.Def
getInstance, isTouched, unsetInstance
 
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

cdoTransaction

protected CDOTransactionDef cdoTransaction
The cached value of the 'Cdo Transaction' reference.

See Also:
getCdoTransaction()

RESOURCE_MODE_EDEFAULT

protected static final ResourceMode RESOURCE_MODE_EDEFAULT
The default value of the 'Resource Mode' attribute.

See Also:
getResourceMode()

resourceMode

protected ResourceMode resourceMode
The cached value of the 'Resource Mode' attribute.

See Also:
getResourceMode()

PATH_EDEFAULT

protected static final java.lang.String PATH_EDEFAULT
The default value of the 'Path' attribute.

See Also:
getPath()

path

protected java.lang.String path
The cached value of the 'Path' attribute.

See Also:
getPath()
Constructor Detail

CDOResourceDefImpl

protected CDOResourceDefImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class org.eclipse.net4j.util.defs.impl.DefImpl

getCdoTransaction

public CDOTransactionDef getCdoTransaction()

Specified by:
getCdoTransaction in interface CDOResourceDef
Returns:
the value of the 'Cdo Transaction' reference.
See Also:
CDOResourceDef.setCdoTransaction(CDOTransactionDef), CDODefsPackage.getCDOResourceDef_CdoTransaction()

basicGetCdoTransaction

public CDOTransactionDef basicGetCdoTransaction()


setCdoTransaction

public void setCdoTransaction(CDOTransactionDef newCdoTransaction)

Specified by:
setCdoTransaction in interface CDOResourceDef
Parameters:
newCdoTransaction - the new value of the 'Cdo Transaction' reference.
See Also:
CDOResourceDef.getCdoTransaction()

getResourceMode

public ResourceMode getResourceMode()

Specified by:
getResourceMode in interface CDOResourceDef
Returns:
the value of the 'Resource Mode' attribute.
See Also:
ResourceMode, CDOResourceDef.setResourceMode(ResourceMode), CDODefsPackage.getCDOResourceDef_ResourceMode()

setResourceMode

public void setResourceMode(ResourceMode newResourceMode)

Specified by:
setResourceMode in interface CDOResourceDef
Parameters:
newResourceMode - the new value of the 'Resource Mode' attribute.
See Also:
ResourceMode, CDOResourceDef.getResourceMode()

getPath

public java.lang.String getPath()

Specified by:
getPath in interface CDOResourceDef
Returns:
the value of the 'Path' attribute.
See Also:
CDOResourceDef.setPath(String), CDODefsPackage.getCDOResourceDef_Path()

setPath

public void setPath(java.lang.String newPath)

Specified by:
setPath in interface CDOResourceDef
Parameters:
newPath - the new value of the 'Path' attribute.
See Also:
CDOResourceDef.getPath()

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

createInstance

protected java.lang.Object createInstance()
Specified by:
createInstance in class org.eclipse.net4j.util.defs.impl.DefImpl

validateDefinition

protected void validateDefinition()
Overrides:
validateDefinition in class org.eclipse.net4j.util.defs.impl.DefImpl

Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
All Rights Reserved.