org.objectweb.dsrg.sofa.repository.model.impl
Class CodeBundleImpl

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.objectweb.dsrg.sofa.repository.model.impl.NamedEntityImpl
                  extended by org.objectweb.dsrg.sofa.repository.model.impl.VersionedEntityImpl
                      extended by org.objectweb.dsrg.sofa.repository.model.impl.CodeBundleImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, CodeBundle, NamedEntity, VersionedEntity

public class CodeBundleImpl
extends VersionedEntityImpl
implements CodeBundle

An implementation of the model object 'Code Bundle'.

The following features are implemented:

Generated from the meta-model

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  org.eclipse.emf.common.util.EList dependencies
          The cached value of the 'Dependencies' reference list.
 
Fields inherited from class org.objectweb.dsrg.sofa.repository.model.impl.VersionedEntityImpl
info, locked, LOCKED_EDEFAULT, version
 
Fields inherited from class org.objectweb.dsrg.sofa.repository.model.impl.NamedEntityImpl
name, NAME_EDEFAULT
 
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 CodeBundleImpl()
           
 
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.io.InputStream getDataInputStream(DataStreamType dataStreamType)
          Opens data input stream into specified stream of CodeBundle.
 java.io.InputStream getDataInputStream(DataStreamType dataStreamType, java.lang.String jarEntryName)
          Opens data output stream into specified stream of CodeBundle and specified JAR entry only.
 java.io.InputStream getDataInputStream(DataStreamType dataStreamType, java.lang.String jarEntryName, boolean recursiveSearch)
          Opens data output stream into specified stream of CodeBundle and specified JAR entry only.
 java.io.OutputStream getDataOutputStream(DataStreamType dataStream)
          Opens data output stream into specified stream of CodeBundle.
 org.eclipse.emf.common.util.EList getDependencies()
           
 java.util.jar.Manifest getJarManifest(DataStreamType dataStream)
          Get Manifest object for JAR file stored in this Codebundle.
 
Methods inherited from class org.objectweb.dsrg.sofa.repository.model.impl.VersionedEntityImpl
addInfo, basicGetVersion, basicSetVersion, eInverseAdd, eInverseRemove, getInfo, getVersion, isLocked, setLocked, setVersion, toString
 
Methods inherited from class org.objectweb.dsrg.sofa.repository.model.impl.NamedEntityImpl
getName, setName
 
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, 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.objectweb.dsrg.sofa.repository.model.VersionedEntity
addInfo, getInfo, getVersion, isLocked, setLocked, setVersion
 
Methods inherited from interface org.objectweb.dsrg.sofa.repository.model.NamedEntity
getName, setName
 
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

dependencies

protected org.eclipse.emf.common.util.EList dependencies
The cached value of the 'Dependencies' reference list.

See Also:
getDependencies()
Generated from the meta-model
Ordered (meta-model)
Constructor Detail

CodeBundleImpl

protected CodeBundleImpl()

Generated from the meta-model
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class VersionedEntityImpl
Generated from the meta-model

getDependencies

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

Specified by:
getDependencies in interface CodeBundle
Returns:
the value of the 'Dependencies' reference list.
See Also:
ModelPackage.getCodeBundle_Dependencies()
Generated from the meta-model

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 VersionedEntityImpl
Generated from the meta-model

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class VersionedEntityImpl
Generated from the meta-model

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class VersionedEntityImpl
Generated from the meta-model

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class VersionedEntityImpl
Generated from the meta-model

getDataOutputStream

public java.io.OutputStream getDataOutputStream(DataStreamType dataStream)
                                         throws java.io.IOException
Description copied from interface: CodeBundle
Opens data output stream into specified stream of CodeBundle.

Specified by:
getDataOutputStream in interface CodeBundle
Parameters:
dataStream -
Returns:
Throws:
java.io.IOException
Modified by hand

getJarManifest

public java.util.jar.Manifest getJarManifest(DataStreamType dataStream)
                                      throws java.io.IOException
Description copied from interface: CodeBundle
Get Manifest object for JAR file stored in this Codebundle.

Specified by:
getJarManifest in interface CodeBundle
Parameters:
dataStream -
Returns:
Throws:
java.io.IOException
Modified by hand

getDataInputStream

public java.io.InputStream getDataInputStream(DataStreamType dataStreamType)
                                       throws java.io.IOException
Description copied from interface: CodeBundle
Opens data input stream into specified stream of CodeBundle.

Specified by:
getDataInputStream in interface CodeBundle
Parameters:
dataStreamType -
Returns:
Throws:
java.io.IOException
Modified by hand

getDataInputStream

public java.io.InputStream getDataInputStream(DataStreamType dataStreamType,
                                              java.lang.String jarEntryName)
                                       throws java.io.IOException
Description copied from interface: CodeBundle
Opens data output stream into specified stream of CodeBundle and specified JAR entry only. Intended to be used by ClassLoader to load only specified Class from CodeBundle. Default value of recursive searching is implementation dependent.

Specified by:
getDataInputStream in interface CodeBundle
Parameters:
dataStreamType -
jarEntryName -
Returns:
Throws:
java.io.IOException
Modified by hand

getDataInputStream

public java.io.InputStream getDataInputStream(DataStreamType dataStreamType,
                                              java.lang.String jarEntryName,
                                              boolean recursiveSearch)
                                       throws java.io.IOException
Description copied from interface: CodeBundle
Opens data output stream into specified stream of CodeBundle and specified JAR entry only. Intended to be used by ClassLoader to load only specified Class from CodeBundle.

Specified by:
getDataInputStream in interface CodeBundle
Parameters:
dataStreamType -
jarEntryName -
recursiveSearch -
Returns:
Throws:
java.io.IOException
Modified by hand