org.eclipse.corona.model.container.impl
Class ContextContainerImpl

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.emf.ecore.sdo.impl.EDataObjectImpl
                  extended by org.eclipse.corona.model.container.impl.ContextContainerImpl
All Implemented Interfaces:
commonj.sdo.DataObject, java.io.Serializable, Contribution, IManagedResource, ContextContainer, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.ecore.sdo.EDataObject, org.eclipse.emf.ecore.sdo.InternalEDataObject
Direct Known Subclasses:
ProjectContextContainerImpl

public class ContextContainerImpl
extends org.eclipse.emf.ecore.sdo.impl.EDataObjectImpl
implements ContextContainer, IManagedResource

An implementation of the model object 'Context Container'.

The following features are implemented:

See Also:
Serialized Form

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
(package private)  java.util.List collaborationEventHandlerList
           
protected static java.lang.String CONTAINER_DESCRIPTION_EDEFAULT
          The default value of the 'Container Description' attribute
protected static java.lang.String CONTAINER_TYPE_EDEFAULT
          The default value of the 'Container Type' attribute
protected static java.lang.String CONTAINER_URI_EDEFAULT
          The default value of the 'Container Uri' attribute
protected  java.lang.String containerDescription
          The cached value of the 'Container Description' attribute
protected  ContainerPathElement containerPath
          The cached value of the 'Container Path' containment reference
protected  ContainerProperties containerProperties
          The cached value of the 'Container Properties' containment reference
protected  java.lang.String containerType
          The cached value of the 'Container Type' attribute
protected  java.lang.String containerUri
          The cached value of the 'Container Uri' attribute
protected  java.lang.String name
          The cached value of the 'Name' attribute
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute
protected  RelatedContainers relatedContainers
          The cached value of the 'Related Containers' containment reference
protected  RelationshipResourceSet relationshipResourceSet
          The cached value of the 'Relationship Resource Set' containment reference
protected  RepositoryDescriptors repositoryDescriptors
          The cached value of the 'Repository Descriptors' containment reference
 
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 ContextContainerImpl()
           
 
Method Summary
 void addCollaborationEventHandler(CollaborationEventHandler collaborationEventHandler)
           
 void addRelatedContainerUri(java.lang.String relatedContainerUri)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetContainerPath(ContainerPathElement newContainerPath, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetContainerProperties(ContainerProperties newContainerProperties, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetRelatedContainers(RelatedContainers newRelatedContainers, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetRelationshipResourceSet(RelationshipResourceSet newRelationshipResourceSet, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetRepositoryDescriptors(RepositoryDescriptors newRepositoryDescriptors, org.eclipse.emf.common.notify.NotificationChain msgs)
           
static ContextContainer deserialize(java.io.InputStream xmlStream)
           
static ContextContainer deserialize(java.lang.String xmlString)
           
 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)
           
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 java.lang.String getContainerDescription()
           
 ContainerPathElement getContainerPath()
           
 ContainerProperties getContainerProperties()
           
 java.lang.String getContainerType()
           
 java.lang.String getContainerUri()
           
 java.lang.String getIdentifier()
           
 java.lang.String getName()
           
 RelatedContainers getRelatedContainers()
           
 RelationshipResourceSet getRelationshipResourceSet()
           
 RepositoryDescriptor getRepositoryDescriptor(java.lang.String repositoryDescriptorName)
           
 RepositoryDescriptors getRepositoryDescriptors()
           
 java.util.List listRelatedContainerUris()
           
 java.util.List listRepositoryDescriptorNames()
           
 void notifyListeners(CollaborationEvent event)
           
 void removeRelatedContainerUri(java.lang.String relatedContainerUri)
           
 java.lang.String serialize()
           
 void serialize(java.io.OutputStream outputStream)
           
 void setContainerDescription(java.lang.String newContainerDescription)
           
 void setContainerPath(ContainerPathElement newContainerPath)
           
 void setContainerProperties(ContainerProperties newContainerProperties)
           
 void setContainerType(java.lang.String newContainerType)
           
 void setContainerUri(java.lang.String newContainerUri)
           
 void setName(java.lang.String newName)
           
 void setRelatedContainers(RelatedContainers newRelatedContainers)
           
 void setRelationshipResourceSet(RelationshipResourceSet newRelationshipResourceSet)
           
 void setRepositoryDescriptors(RepositoryDescriptors newRepositoryDescriptors)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.sdo.impl.EDataObjectImpl
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChar, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInstanceProperties, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, set, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setList, setList, setList, setLong, setLong, setLong, setShort, setShort, setShort, setString, setString, setString, unset, unset, unset, writeReplace
 
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.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
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedStructuralFeatureID, eDirectResource, eGet, eInternalContainer, eInternalResource, eInverseAdd, eInverseRemove, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment
 
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
 

Field Detail

collaborationEventHandlerList

java.util.List collaborationEventHandlerList

CONTAINER_URI_EDEFAULT

protected static final java.lang.String CONTAINER_URI_EDEFAULT
The default value of the 'Container Uri' attribute.

See Also:
getContainerUri()

containerUri

protected java.lang.String containerUri
The cached value of the 'Container Uri' attribute.

See Also:
getContainerUri()

containerPath

protected ContainerPathElement containerPath
The cached value of the 'Container Path' containment reference.

See Also:
getContainerPath()

CONTAINER_TYPE_EDEFAULT

protected static final java.lang.String CONTAINER_TYPE_EDEFAULT
The default value of the 'Container Type' attribute.

See Also:
getContainerType()

containerType

protected java.lang.String containerType
The cached value of the 'Container Type' attribute.

See Also:
getContainerType()

CONTAINER_DESCRIPTION_EDEFAULT

protected static final java.lang.String CONTAINER_DESCRIPTION_EDEFAULT
The default value of the 'Container Description' attribute.

See Also:
getContainerDescription()

containerDescription

protected java.lang.String containerDescription
The cached value of the 'Container Description' attribute.

See Also:
getContainerDescription()

repositoryDescriptors

protected RepositoryDescriptors repositoryDescriptors
The cached value of the 'Repository Descriptors' containment reference.

See Also:
getRepositoryDescriptors()

relatedContainers

protected RelatedContainers relatedContainers
The cached value of the 'Related Containers' containment reference.

See Also:
getRelatedContainers()

containerProperties

protected ContainerProperties containerProperties
The cached value of the 'Container Properties' containment reference.

See Also:
getContainerProperties()

relationshipResourceSet

protected RelationshipResourceSet relationshipResourceSet
The cached value of the 'Relationship Resource Set' containment reference.

See Also:
getRelationshipResourceSet()

NAME_EDEFAULT

protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()

name

protected java.lang.String name
The cached value of the 'Name' attribute.

See Also:
getName()
Constructor Detail

ContextContainerImpl

protected ContextContainerImpl()

Method Detail

getAdapter

public java.lang.Object getAdapter(java.lang.Class adapter)

getIdentifier

public java.lang.String getIdentifier()
Specified by:
getIdentifier in interface Contribution

addRelatedContainerUri

public void addRelatedContainerUri(java.lang.String relatedContainerUri)
Specified by:
addRelatedContainerUri in interface ContextContainer

removeRelatedContainerUri

public void removeRelatedContainerUri(java.lang.String relatedContainerUri)
Specified by:
removeRelatedContainerUri in interface ContextContainer

listRelatedContainerUris

public java.util.List listRelatedContainerUris()
Specified by:
listRelatedContainerUris in interface ContextContainer

listRepositoryDescriptorNames

public java.util.List listRepositoryDescriptorNames()
Specified by:
listRepositoryDescriptorNames in interface ContextContainer

getRepositoryDescriptor

public RepositoryDescriptor getRepositoryDescriptor(java.lang.String repositoryDescriptorName)
Specified by:
getRepositoryDescriptor in interface ContextContainer

deserialize

public static ContextContainer deserialize(java.lang.String xmlString)

deserialize

public static ContextContainer deserialize(java.io.InputStream xmlStream)

serialize

public java.lang.String serialize()
Specified by:
serialize in interface ContextContainer

serialize

public void serialize(java.io.OutputStream outputStream)
Specified by:
serialize in interface ContextContainer

addCollaborationEventHandler

public void addCollaborationEventHandler(CollaborationEventHandler collaborationEventHandler)

notifyListeners

public void notifyListeners(CollaborationEvent event)

eStaticClass

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

Overrides:
eStaticClass in class org.eclipse.emf.ecore.sdo.impl.EDataObjectImpl

getContainerUri

public java.lang.String getContainerUri()

Specified by:
getContainerUri in interface ContextContainer
Returns:
the value of the 'Container Uri' attribute.
See Also:
ContextContainer.setContainerUri(String)

setContainerUri

public void setContainerUri(java.lang.String newContainerUri)

Specified by:
setContainerUri in interface ContextContainer
Parameters:
newContainerUri - the new value of the 'Container Uri' attribute.
See Also:
ContextContainer.getContainerUri()

getContainerPath

public ContainerPathElement getContainerPath()

Specified by:
getContainerPath in interface ContextContainer
Returns:
the value of the 'Container Path' containment reference.
See Also:
ContextContainer.setContainerPath(ContainerPathElement)

basicSetContainerPath

public org.eclipse.emf.common.notify.NotificationChain basicSetContainerPath(ContainerPathElement newContainerPath,
                                                                             org.eclipse.emf.common.notify.NotificationChain msgs)


setContainerPath

public void setContainerPath(ContainerPathElement newContainerPath)

Specified by:
setContainerPath in interface ContextContainer
Parameters:
newContainerPath - the new value of the 'Container Path' containment reference.
See Also:
ContextContainer.getContainerPath()

getContainerType

public java.lang.String getContainerType()

Specified by:
getContainerType in interface ContextContainer
Returns:
the value of the 'Container Type' attribute.
See Also:
ContextContainer.setContainerType(String)

setContainerType

public void setContainerType(java.lang.String newContainerType)

Specified by:
setContainerType in interface ContextContainer
Parameters:
newContainerType - the new value of the 'Container Type' attribute.
See Also:
ContextContainer.getContainerType()

getContainerDescription

public java.lang.String getContainerDescription()

Specified by:
getContainerDescription in interface ContextContainer
Returns:
the value of the 'Container Description' attribute.
See Also:
ContextContainer.setContainerDescription(String)

setContainerDescription

public void setContainerDescription(java.lang.String newContainerDescription)

Specified by:
setContainerDescription in interface ContextContainer
Parameters:
newContainerDescription - the new value of the 'Container Description' attribute.
See Also:
ContextContainer.getContainerDescription()

getRepositoryDescriptors

public RepositoryDescriptors getRepositoryDescriptors()

Specified by:
getRepositoryDescriptors in interface ContextContainer
Returns:
the value of the 'Repository Descriptors' containment reference.
See Also:
ContextContainer.setRepositoryDescriptors(RepositoryDescriptors)

basicSetRepositoryDescriptors

public org.eclipse.emf.common.notify.NotificationChain basicSetRepositoryDescriptors(RepositoryDescriptors newRepositoryDescriptors,
                                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)


setRepositoryDescriptors

public void setRepositoryDescriptors(RepositoryDescriptors newRepositoryDescriptors)

Specified by:
setRepositoryDescriptors in interface ContextContainer
Parameters:
newRepositoryDescriptors - the new value of the 'Repository Descriptors' containment reference.
See Also:
ContextContainer.getRepositoryDescriptors()

getRelatedContainers

public RelatedContainers getRelatedContainers()

Specified by:
getRelatedContainers in interface ContextContainer
Returns:
the value of the 'Related Containers' containment reference.
See Also:
ContextContainer.setRelatedContainers(RelatedContainers)

basicSetRelatedContainers

public org.eclipse.emf.common.notify.NotificationChain basicSetRelatedContainers(RelatedContainers newRelatedContainers,
                                                                                 org.eclipse.emf.common.notify.NotificationChain msgs)


setRelatedContainers

public void setRelatedContainers(RelatedContainers newRelatedContainers)

Specified by:
setRelatedContainers in interface ContextContainer
Parameters:
newRelatedContainers - the new value of the 'Related Containers' containment reference.
See Also:
ContextContainer.getRelatedContainers()

getContainerProperties

public ContainerProperties getContainerProperties()

Specified by:
getContainerProperties in interface ContextContainer
Returns:
the value of the 'Container Properties' containment reference.
See Also:
ContextContainer.setContainerProperties(ContainerProperties)

basicSetContainerProperties

public org.eclipse.emf.common.notify.NotificationChain basicSetContainerProperties(ContainerProperties newContainerProperties,
                                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)


setContainerProperties

public void setContainerProperties(ContainerProperties newContainerProperties)

Specified by:
setContainerProperties in interface ContextContainer
Parameters:
newContainerProperties - the new value of the 'Container Properties' containment reference.
See Also:
ContextContainer.getContainerProperties()

getRelationshipResourceSet

public RelationshipResourceSet getRelationshipResourceSet()

Specified by:
getRelationshipResourceSet in interface ContextContainer
Returns:
the value of the 'Relationship Resource Set' containment reference.
See Also:
ContextContainer.setRelationshipResourceSet(RelationshipResourceSet)

basicSetRelationshipResourceSet

public org.eclipse.emf.common.notify.NotificationChain basicSetRelationshipResourceSet(RelationshipResourceSet newRelationshipResourceSet,
                                                                                       org.eclipse.emf.common.notify.NotificationChain msgs)


setRelationshipResourceSet

public void setRelationshipResourceSet(RelationshipResourceSet newRelationshipResourceSet)

Specified by:
setRelationshipResourceSet in interface ContextContainer
Parameters:
newRelationshipResourceSet - the new value of the 'Relationship Resource Set' containment reference.
See Also:
ContextContainer.getRelationshipResourceSet()

getName

public java.lang.String getName()

Specified by:
getName in interface ContextContainer
Returns:
the value of the 'Name' attribute.
See Also:
ContextContainer.setName(String)

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface ContextContainer
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
ContextContainer.getName()

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

Copyright 2006 IBM Corporation and others.
All Rights Reserved.