|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.BasicNotifierImpl org.eclipse.emf.ecore.impl.BasicEObjectImpl org.eclipse.emf.ecore.impl.EObjectImpl org.eclipse.emf.ecore.sdo.impl.EDataGraphImpl
public class EDataGraphImpl
An implementation of the model object 'EData Graph'.
Nested Class Summary | |
---|---|
static class |
EDataGraphImpl.EDataGraphExternalizable
|
static class |
EDataGraphImpl.EDataObjectExternalizable
|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.sdo.EDataGraph |
---|
EDataGraph.Internal |
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
---|
Adapter.Internal |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
InternalEObject.EStore |
Field Summary | |
---|---|
protected EChangeSummary |
eChangeSummary
The cached value of the ' EChange Summary ' reference |
protected EDataGraphImpl.EDataGraphExternalizable |
eDataGraphExternalizable
|
protected EObject |
eRootObject
The cached value of the ' ERoot Object ' reference |
protected ExtendedMetaData |
extendedMetaData
The cached extended metadata to wrap the resource set's package registry. |
protected Adapter |
modificationTracker
|
protected static ResourceSet |
RESOURCE_SET_EDEFAULT
The default value of the ' Resource Set ' attribute |
protected ResourceSet |
resourceSet
The cached value of the ' Resource Set ' attribute |
protected static Resource |
ROOT_RESOURCE_EDEFAULT
The default value of the ' Root Resource ' attribute |
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 |
EDataGraphImpl()
|
Method Summary | |
---|---|
NotificationChain |
basicSetEChangeSummary(EChangeSummary newEChangeSummary,
NotificationChain msgs)
|
protected Resource |
createChangeSummaryResource()
|
protected EChangeSummary |
createEChangeSummary()
|
protected EDataGraphImpl.EDataGraphExternalizable |
createEDataGraphExternalizable()
|
EDataObject |
createEDataObject(EType type)
|
EObject |
createEObject(EClass type)
|
protected ResourceSet |
createResourceSet()
|
DataObject |
createRootObject(java.lang.String namespaceURI,
java.lang.String typeName)
Creates a new root data object of the specified type ,
replacing the existing root, if one exists. |
DataObject |
createRootObject(Type type)
Creates a new root data object of the specified type, replacing the existing root, if one exists. |
protected Resource |
createRootResource()
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
EObject |
eObjectForURIFragmentSegment(java.lang.String uriFragmentSegment)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
ChangeSummary |
getChangeSummary()
Returns the change summary associated with this data graph. |
Resource |
getDataGraphResource()
Returns the resource of this data graph; one is created if necessary. |
EChangeSummary |
getEChangeSummary()
|
EClassifier |
getEClassifier(java.lang.String namespaceURI,
java.lang.String typeName)
|
EObject |
getERootObject()
|
EType |
getEType(java.lang.String namespaceURI,
java.lang.String typeName)
|
protected ExtendedMetaData |
getExtendedMetaData()
|
ResourceSet |
getResourceSet()
|
DataObject |
getRootObject()
Returns the root data object of this data graph. |
Resource |
getRootResource()
|
Notifier |
getTarget()
|
Type |
getType(java.lang.String namespaceURI,
java.lang.String typeName)
|
java.lang.Object |
getWriteReplacement()
Returns an object to be used as a write replacement. |
java.lang.Object |
getWriteReplacement(EObject eObject)
Returns an object to be used as a write replacement for the given object in the data graph.. |
protected void |
initializeResourceSet(ResourceSet resourceSet)
|
boolean |
isAdapterForType(java.lang.Object type)
|
void |
notifyChanged(Notification msg)
|
void |
setEChangeSummary(EChangeSummary newEChangeSummary)
|
void |
setERootObject(EObject newERootObject)
Sets the value of the ' ERoot Object ' reference |
void |
setERootObjectGen(EObject newERootObject)
|
void |
setResourceSet(ResourceSet newResourceSet)
Sets the value of the ' Resource Set ' attribute |
void |
setResourceSetGen(ResourceSet newResourceSet)
|
void |
setTarget(Notifier newTarget)
|
java.lang.String |
toString()
|
java.lang.Object |
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.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.InternalEObject |
---|
eNotificationRequired |
Field Detail |
---|
protected static final ResourceSet RESOURCE_SET_EDEFAULT
Resource Set
' attribute.
getResourceSet()
protected ResourceSet resourceSet
Resource Set
' attribute.
getResourceSet()
protected static final Resource ROOT_RESOURCE_EDEFAULT
Root Resource
' attribute.
getRootResource()
protected EChangeSummary eChangeSummary
EChange Summary
' reference.
getEChangeSummary()
protected EObject eRootObject
ERoot Object
' reference.
getERootObject()
protected ExtendedMetaData extendedMetaData
protected EDataGraphImpl.EDataGraphExternalizable eDataGraphExternalizable
protected Adapter modificationTracker
Constructor Detail |
---|
protected EDataGraphImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
public boolean isAdapterForType(java.lang.Object type)
isAdapterForType
in interface Adapter
public void notifyChanged(Notification msg)
notifyChanged
in interface Adapter
public Notifier getTarget()
getTarget
in interface Adapter
public void setTarget(Notifier newTarget)
setTarget
in interface Adapter
protected ExtendedMetaData getExtendedMetaData()
public ResourceSet getResourceSet()
getResourceSet
in interface EDataGraph
EDataGraph.setResourceSet(ResourceSet)
,
SDOPackage.getEDataGraph_ResourceSet()
protected ResourceSet createResourceSet()
protected Resource createRootResource()
protected Resource createChangeSummaryResource()
protected void initializeResourceSet(ResourceSet resourceSet)
public void setResourceSetGen(ResourceSet newResourceSet)
public void setResourceSet(ResourceSet newResourceSet)
EDataGraph
Resource Set
' attribute.
setResourceSet
in interface EDataGraph
newResourceSet
- the new value of the 'Resource Set' attribute.EDataGraph.getResourceSet()
public Resource getRootResource()
getRootResource
in interface EDataGraph
SDOPackage.getEDataGraph_RootResource()
public Resource getDataGraphResource()
EDataGraph
getDataGraphResource
in interface EDataGraph
public EChangeSummary getEChangeSummary()
getEChangeSummary
in interface EDataGraph
EDataGraph.setEChangeSummary(EChangeSummary)
,
SDOPackage.getEDataGraph_EChangeSummary()
,
EChangeSummary.getEDataGraph()
public NotificationChain basicSetEChangeSummary(EChangeSummary newEChangeSummary, NotificationChain msgs)
public void setEChangeSummary(EChangeSummary newEChangeSummary)
setEChangeSummary
in interface EDataGraph
newEChangeSummary
- the new value of the 'EChange Summary' reference.EDataGraph.getEChangeSummary()
public EObject getERootObject()
getERootObject
in interface EDataGraph
EDataGraph.setERootObject(EObject)
,
SDOPackage.getEDataGraph_ERootObject()
public void setERootObjectGen(EObject newERootObject)
public void setERootObject(EObject newERootObject)
EDataGraph
ERoot Object
' reference.
setERootObject
in interface EDataGraph
newERootObject
- the new value of the 'ERoot Object' reference.EDataGraph.getERootObject()
public EClassifier getEClassifier(java.lang.String namespaceURI, java.lang.String typeName)
getEClassifier
in interface EDataGraph
public Type getType(java.lang.String namespaceURI, java.lang.String typeName)
getType
in interface DataGraph
namespaceURI
- the namespace URI of a type or the location URI of a resource containing a type.typeName
- name of a type.
public EType getEType(java.lang.String namespaceURI, java.lang.String typeName)
public EObject createEObject(EClass type)
createEObject
in interface EDataGraph
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class BasicEObjectImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class BasicEObjectImpl
public EDataObject createEDataObject(EType type)
public DataObject getRootObject()
DataGraph
data object
of this data graph.
getRootObject
in interface DataGraph
DataObject.getDataGraph()
public DataObject createRootObject(java.lang.String namespaceURI, java.lang.String typeName)
DataGraph
specified type
,
replacing the existing root, if one exists.
createRootObject
in interface DataGraph
namespaceURI
- namespace of the type.typeName
- name of the type.
DataGraph.createRootObject(Type)
,
DataGraph.getType(String, String)
public DataObject createRootObject(Type type)
DataGraph
createRootObject
in interface DataGraph
type
- the type of the new root.
DataGraph.createRootObject(String, String)
public ChangeSummary getChangeSummary()
DataGraph
change summary
associated with this data graph.
getChangeSummary
in interface DataGraph
ChangeSummary.getDataGraph()
protected EChangeSummary createEChangeSummary()
public java.lang.Object getWriteReplacement()
EDataGraph.Internal
getWriteReplacement
in interface EDataGraph.Internal
protected EDataGraphImpl.EDataGraphExternalizable createEDataGraphExternalizable()
public java.lang.Object getWriteReplacement(EObject eObject)
EDataGraph.Internal
getWriteReplacement
in interface EDataGraph.Internal
eObject
- the object in question.
public java.lang.Object writeReplace()
public EObject eObjectForURIFragmentSegment(java.lang.String uriFragmentSegment)
eObjectForURIFragmentSegment
in interface InternalEObject
eObjectForURIFragmentSegment
in class BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
public java.lang.String toString()
toString
in class BasicEObjectImpl
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |