|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectEObjectImpl
org.eclipse.emf.ecore.sdo.impl.EDataGraphImpl
An implementation of the model object 'EData Graph'.
| Nested Class Summary | |
static class |
EDataGraphImpl.EDataGraphExternalizable
|
static class |
EDataGraphImpl.EDataObjectExternalizable
|
| Nested classes inherited from class org.eclipse.emf.ecore.sdo.EDataGraph |
EDataGraph.Internal |
| 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 |
| 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(String namespaceURI,
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()
|
Object |
eGet(EStructuralFeature eFeature,
boolean resolve)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
|
boolean |
eIsSet(EStructuralFeature eFeature)
|
EObject |
eObjectForURIFragmentSegment(String uriFragmentSegment)
|
void |
eSet(EStructuralFeature eFeature,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(EStructuralFeature eFeature)
|
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(String namespaceURI,
String typeName)
|
EObject |
getERootObject()
|
EType |
getEType(String namespaceURI,
String typeName)
|
protected ExtendedMetaData |
getExtendedMetaData()
|
ResourceSet |
getResourceSet()
|
DataObject |
getRootObject()
Returns the root data object of this data graph. |
Resource |
getRootResource()
|
Notifier |
getTarget()
|
Type |
getType(String namespaceURI,
String typeName)
|
Object |
getWriteReplacement()
Returns an object to be used as a write replacement. |
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(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)
|
String |
toString()
|
Object |
writeReplace()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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()
public boolean isAdapterForType(Object type)
public void notifyChanged(Notification msg)
public Notifier getTarget()
public void setTarget(Notifier newTarget)
protected ExtendedMetaData getExtendedMetaData()
public ResourceSet getResourceSet()
getResourceSet in interface EDataGraphEDataGraph.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)
EDataGraphResource Set' attribute.
setResourceSet in interface EDataGraphnewResourceSet - the new value of the 'Resource Set' attribute.EDataGraph.getResourceSet()public Resource getRootResource()
getRootResource in interface EDataGraphSDOPackage.getEDataGraph_RootResource()public Resource getDataGraphResource()
EDataGraph
getDataGraphResource in interface EDataGraphpublic EChangeSummary getEChangeSummary()
getEChangeSummary in interface EDataGraphEDataGraph.setEChangeSummary(EChangeSummary),
SDOPackage.getEDataGraph_EChangeSummary(),
EChangeSummary.getEDataGraph()
public NotificationChain basicSetEChangeSummary(EChangeSummary newEChangeSummary,
NotificationChain msgs)
public void setEChangeSummary(EChangeSummary newEChangeSummary)
setEChangeSummary in interface EDataGraphnewEChangeSummary - the new value of the 'EChange Summary' reference.EDataGraph.getEChangeSummary()public EObject getERootObject()
getERootObject in interface EDataGraphEDataGraph.setERootObject(EObject),
SDOPackage.getEDataGraph_ERootObject()public void setERootObjectGen(EObject newERootObject)
public void setERootObject(EObject newERootObject)
EDataGraphERoot Object' reference.
setERootObject in interface EDataGraphnewERootObject - the new value of the 'ERoot Object' reference.EDataGraph.getERootObject()
public EClassifier getEClassifier(String namespaceURI,
String typeName)
getEClassifier in interface EDataGraph
public Type getType(String namespaceURI,
String typeName)
getType in interface DataGraphnamespaceURI - the namespace URI of a type or the location URI of a resource containing a type.typeName - name of a type.
public EType getEType(String namespaceURI,
String typeName)
public EObject createEObject(EClass type)
createEObject in interface EDataGraphpublic EDataObject createEDataObject(EType type)
public DataObject getRootObject()
DataGraphdata object of this data graph.
getRootObject in interface DataGraphDataObject.getDataGraph()
public DataObject createRootObject(String namespaceURI,
String typeName)
DataGraphspecified type,
replacing the existing root, if one exists.
createRootObject in interface DataGraphnamespaceURI - 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 DataGraphtype - the type of the new root.
DataGraph.createRootObject(String, String)public ChangeSummary getChangeSummary()
DataGraphchange summary associated with this data graph.
getChangeSummary in interface DataGraphChangeSummary.getDataGraph()protected EChangeSummary createEChangeSummary()
public Object getWriteReplacement()
EDataGraph.Internal
getWriteReplacement in interface EDataGraph.Internalprotected EDataGraphImpl.EDataGraphExternalizable createEDataGraphExternalizable()
public Object getWriteReplacement(EObject eObject)
EDataGraph.Internal
getWriteReplacement in interface EDataGraph.InternaleObject - the object in question.
public Object writeReplace()
public EObject eObjectForURIFragmentSegment(String uriFragmentSegment)
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
public Object eGet(EStructuralFeature eFeature,
boolean resolve)
public void eSet(EStructuralFeature eFeature,
Object newValue)
public void eUnset(EStructuralFeature eFeature)
public boolean eIsSet(EStructuralFeature eFeature)
public String toString()
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||