Class CDOResourceImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
-
- org.eclipse.emf.internal.cdo.CDOObjectImpl
-
- org.eclipse.emf.cdo.eresource.impl.CDOResourceNodeImpl
-
- org.eclipse.emf.cdo.eresource.impl.CDOResourceLeafImpl
-
- org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl
-
- All Implemented Interfaces:
CDOObject,CDOWithID,CDOPackageTypeRegistry.CDOObjectMarker,CDOResource,CDOResourceLeaf,CDOResourceNode,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject,org.eclipse.emf.ecore.resource.Resource,org.eclipse.emf.ecore.resource.Resource.Internal,org.eclipse.emf.ecore.xmi.XMLResource,InternalCDOLoadable,InternalCDOObject,InternalCDOResource,org.eclipse.net4j.util.io.EncodingProvider
public class CDOResourceImpl extends CDOResourceLeafImpl implements InternalCDOResource
An implementation of the model object 'CDO Resource'.- Generated
- not
- Extends
- InternalCDOResource
- No Extend
- This interface is not intended to be extended by clients.
The following features are implemented:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classCDOResourceImpl.ContentsCDOListAn implementation of a CDO specific 'contents' list.-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
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>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.resource.Resource
org.eclipse.emf.ecore.resource.Resource.Diagnostic, org.eclipse.emf.ecore.resource.Resource.Factory, org.eclipse.emf.ecore.resource.Resource.Internal, org.eclipse.emf.ecore.resource.Resource.IOWrappedException
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.xmi.XMLResource
org.eclipse.emf.ecore.xmi.XMLResource.ElementHandler, org.eclipse.emf.ecore.xmi.XMLResource.MissingPackageHandler, org.eclipse.emf.ecore.xmi.XMLResource.ResourceEntityHandler, org.eclipse.emf.ecore.xmi.XMLResource.ResourceHandler, org.eclipse.emf.ecore.xmi.XMLResource.URIHandler, org.eclipse.emf.ecore.xmi.XMLResource.XMLInfo, org.eclipse.emf.ecore.xmi.XMLResource.XMLMap
-
-
Field Summary
-
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.cdo.eresource.CDOResource
OPTION_SAVE_BASE_URI, OPTION_SAVE_OVERRIDE_TRANSACTION, OPTION_SAVE_PROGRESS_MONITOR, PREFETCH_PARAMETER
-
Fields inherited from interface org.eclipse.emf.cdo.eresource.CDOResourceNode
ROOT_NAME, ROOT_PATH
-
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
-
Fields inherited from interface org.eclipse.emf.ecore.resource.Resource
OPTION_CIPHER, OPTION_LINE_DELIMITER, OPTION_LINE_DELIMITER_UNSPECIFIED, OPTION_SAVE_ONLY_IF_CHANGED, OPTION_SAVE_ONLY_IF_CHANGED_FILE_BUFFER, OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER, OPTION_ZIP, RESOURCE__CONTENTS, RESOURCE__ERRORS, RESOURCE__IS_LOADED, RESOURCE__IS_MODIFIED, RESOURCE__IS_TRACKING_MODIFICATION, RESOURCE__RESOURCE_SET, RESOURCE__TIME_STAMP, RESOURCE__URI, RESOURCE__WARNINGS
-
Fields inherited from interface org.eclipse.emf.ecore.xmi.XMLResource
HREF, NIL, NO_NAMESPACE_SCHEMA_LOCATION, OPTION_ANY_SIMPLE_TYPE, OPTION_ANY_TYPE, OPTION_BINARY, OPTION_CONFIGURATION_CACHE, OPTION_DECLARE_XML, OPTION_DEFER_ATTACHMENT, OPTION_DEFER_IDREF_RESOLUTION, OPTION_DISABLE_NOTIFY, OPTION_DOM_USE_NAMESPACES_IN_SCOPE, OPTION_ELEMENT_HANDLER, OPTION_ENCODING, OPTION_ESCAPE_USING_CDATA, OPTION_EXTENDED_META_DATA, OPTION_FLUSH_THRESHOLD, OPTION_FORMATTED, OPTION_KEEP_DEFAULT_CONTENT, OPTION_LAX_FEATURE_PROCESSING, OPTION_LAX_WILDCARD_PROCESSING, OPTION_LINE_WIDTH, OPTION_MISSING_PACKAGE_HANDLER, OPTION_PARSER_FEATURES, OPTION_PARSER_PROPERTIES, OPTION_PROCESS_DANGLING_HREF, OPTION_PROCESS_DANGLING_HREF_DISCARD, OPTION_PROCESS_DANGLING_HREF_RECORD, OPTION_PROCESS_DANGLING_HREF_THROW, OPTION_PROXY_ATTRIBUTES, OPTION_RECORD_ANY_TYPE_NAMESPACE_DECLARATIONS, OPTION_RECORD_UNKNOWN_FEATURE, OPTION_RESOURCE_ENTITY_HANDLER, OPTION_RESOURCE_HANDLER, OPTION_ROOT_OBJECTS, OPTION_SAVE_DOCTYPE, OPTION_SAVE_TYPE_INFORMATION, OPTION_SCHEMA_LOCATION, OPTION_SCHEMA_LOCATION_IMPLEMENTATION, OPTION_SKIP_ESCAPE, OPTION_SKIP_ESCAPE_URI, OPTION_SUPPRESS_DOCUMENT_ROOT, OPTION_URI_HANDLER, OPTION_USE_CACHED_LOOKUP_TABLE, OPTION_USE_DEPRECATED_METHODS, OPTION_USE_ENCODED_ATTRIBUTE_STYLE, OPTION_USE_FILE_BUFFER, OPTION_USE_LEXICAL_HANDLER, OPTION_USE_PACKAGE_NS_URI_AS_LOCATION, OPTION_USE_PARSER_POOL, OPTION_USE_XML_NAME_TO_FEATURE_MAP, OPTION_XML_MAP, OPTION_XML_OPTIONS, OPTION_XML_VERSION, SCHEMA_LOCATION, TYPE, XML_NS, XML_SCHEMA_URI, XSI_NS, XSI_URI
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCDOResourceImpl()CDOResourceImpl(org.eclipse.emf.common.util.URI initialURI)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidattached(org.eclipse.emf.ecore.EObject object)org.eclipse.emf.common.notify.NotificationChainbasicSetResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.emf.common.notify.NotificationChain notifications)voidcdoInternalLoading(org.eclipse.emf.ecore.EObject object)Informs the resource that anobjectcontained within it is being loaded.voidcdoInternalLoadingDone(org.eclipse.emf.ecore.EObject object)Informs the resource that anobjectcontained within it has finished being loaded.voidcdoInternalPostDetach(boolean remote, boolean top)It is really important for accessing the data to go throughCDOObjectImpl.cdoStore().voidcdoInternalPreLoad()protected org.eclipse.emf.common.util.EList<?>createList(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)voiddelete(java.util.Map<?,?> options)voiddetached(org.eclipse.emf.ecore.EObject object)inteBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)inteDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)org.eclipse.emf.ecore.resource.Resource.InternaleDirectResource()java.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)voideSet(int featureID, java.lang.Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()org.eclipse.emf.common.util.TreeIterator<org.eclipse.emf.ecore.EObject>getAllContents()protected org.eclipse.emf.common.util.TreeIterator<org.eclipse.emf.ecore.EObject>getAllProperContents(java.util.List<org.eclipse.emf.ecore.EObject> contents)org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject>getContents()java.util.Map<java.lang.Object,java.lang.Object>getDefaultLoadOptions()java.util.Map<java.lang.Object,java.lang.Object>getDefaultSaveOptions()org.eclipse.emf.ecore.xmi.DOMHelpergetDOMHelper()java.lang.StringgetEncoding()org.eclipse.emf.ecore.EObjectgetEObject(java.lang.String uriFragment)Note: URI from temporary objects are going to changed when we commit the CDOTransaction.protected org.eclipse.emf.ecore.EObjectgetEObjectByID(java.lang.String id)Returns the object based on the fragment as an ID.java.util.Map<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.xml.type.AnyType>getEObjectToExtensionMap()java.util.Map<org.eclipse.emf.ecore.EObject,java.lang.String>getEObjectToIDMap()Deprecated.org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource.Diagnostic>getErrors()java.lang.StringgetID(org.eclipse.emf.ecore.EObject eObject)java.util.Map<java.lang.String,org.eclipse.emf.ecore.EObject>getIDToEObjectMap()Deprecated.java.util.Map<java.lang.String,org.eclipse.emf.ecore.EObject>getIntrinsicIDToEObjectMap()Returns the map used to cache the EObject that is identified by thevalueof its ID feature.java.lang.StringgetPublicId()org.eclipse.emf.ecore.resource.ResourceSetgetResourceSet()java.lang.StringgetSystemId()longgetTimeStamp()org.eclipse.emf.common.util.URIgetURI()java.lang.StringgetURIFragment(org.eclipse.emf.ecore.EObject object)org.eclipse.emf.common.util.URIgetURIGen()org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource.Diagnostic>getWarnings()java.lang.StringgetXMLVersion()booleanisExisting()booleanisLoaded()booleanisLoading()booleanisModified()booleanisRoot()booleanisTrackingModification()voidload(java.io.InputStream inputStream, java.util.Map<?,?> options)voidload(java.util.Map<?,?> options)voidload(org.w3c.dom.Node node, java.util.Map<?,?> options)voidload(org.xml.sax.InputSource inputSource, java.util.Map<?,?> options)voidrecacheURIs()voidsave(java.io.OutputStream outputStream, java.util.Map<?,?> options)voidsave(java.io.Writer writer, java.util.Map<?,?> options)voidsave(java.util.Map<?,?> options)org.w3c.dom.Documentsave(org.w3c.dom.Document document, java.util.Map<?,?> options, org.eclipse.emf.ecore.xmi.DOMHandler handler)voidsetDoctypeInfo(java.lang.String publicId, java.lang.String systemId)voidsetEncoding(java.lang.String encoding)protected voidsetExisting(boolean existing)voidsetFolder(CDOResourceFolder newFolder)voidsetID(org.eclipse.emf.ecore.EObject eObject, java.lang.String id)voidsetIntrinsicIDToEObjectMap(java.util.Map<java.lang.String,org.eclipse.emf.ecore.EObject> intrinsicIDToEObjectMap)Sets the map used to cache the EObject identified by the value of its ID feature.voidsetModified(boolean newModified)voidsetName(java.lang.String newName)voidsetPath(java.lang.String newPath)voidsetResourceSet(org.eclipse.emf.ecore.resource.ResourceSet newResourceSet)voidsetRoot(boolean root)voidsetTimeStamp(long newTimeStamp)voidsetTrackingModification(boolean newTrackingModification)voidsetTrackingModificationGen(boolean newTrackingModification)voidsetURI(org.eclipse.emf.common.util.URI newURI)voidsetURIGen(org.eclipse.emf.common.util.URI newURI)voidsetUseZip(boolean useZip)voidsetXMLVersion(java.lang.String version)java.lang.StringtoString(java.lang.String string)voidunload()booleanuseZip()-
Methods inherited from class org.eclipse.emf.cdo.eresource.impl.CDOResourceNodeImpl
basicSetFolder, basicSetName, checkDuplicates, eStaticFeatureCount, getBasename, getExtension, getFolder, getName, getPath, setBasename, setExtension, setFolderGen, setNameGen, toString, trimExtension
-
Methods inherited from class org.eclipse.emf.internal.cdo.CDOObjectImpl
cdoClassInfo, cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInternalDynamicFeature, cdoInternalInstance, cdoInternalPostAttach, cdoInternalPostDetach, cdoInternalPostInvalidate, cdoInternalPostLoad, cdoInternalPostRollback, cdoInternalPreAttach, cdoInternalPreCommit, cdoInternalSetID, cdoInternalSetResource, cdoInternalSetRevision, cdoInternalSetState, cdoInternalSetView, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption, createFeatureMap, createLock, createMap, createOrderedList, createUnorderedList, dynamicGet, dynamicSet, dynamicUnset, eAdapterAdded, eAdapterRemoved, eBasicAdapterListeners, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetSettings, eBasicSettings, eClass, eContainerAdapterArray, eContainerFeatureID, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicIsSet, eHasSettings, eInternalContainer, eInternalResource, eIsCaching, emfToString, equals, eSetClass, eSetDirectResource, eSetResource, eSettings, eStore, getLockState, hashCode, instanceToRevisionFeature, revisionToInstanceFeature
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eIsProxy, eProperties, eProxyURI, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, eUnset, 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, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoState, cdoWriteLock, cdoWriteOption
-
Methods inherited from interface org.eclipse.emf.cdo.eresource.CDOResourceNode
getBasename, getExtension, getFolder, getName, getPath, setBasename, setExtension, trimExtension
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBasicRemoveFromContainer, eDerivedOperationID, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetProxyURI, eSetStore, eSetting, eUnset, eURIFragmentSegment
-
-
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClassin classCDOResourceLeafImpl- Generated
-
eDirectResource
public org.eclipse.emf.ecore.resource.Resource.Internal eDirectResource()
- Specified by:
eDirectResourcein interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eDirectResourcein classCDOObjectImpl- Since:
- 2.0
- Generated
- NOT
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)- Specified by:
eDerivedStructuralFeatureIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eDerivedStructuralFeatureIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)- Specified by:
eBaseStructuralFeatureIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eBaseStructuralFeatureIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
isRoot
public boolean isRoot()
- Specified by:
isRootin interfaceCDOResourceNode- Since:
- 2.0
-
setRoot
public void setRoot(boolean root)
- Since:
- 3.0
-
getResourceSet
public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
- Specified by:
getResourceSetin interfaceCDOResource- Specified by:
getResourceSetin interfaceorg.eclipse.emf.ecore.resource.Resource- Returns:
- the value of the 'Resource Set' attribute.
- See Also:
CDOResource.setResourceSet(ResourceSet),EresourcePackage.getCDOResource_ResourceSet()- Generated
-
setResourceSet
public void setResourceSet(org.eclipse.emf.ecore.resource.ResourceSet newResourceSet)
- Specified by:
setResourceSetin interfaceCDOResource- Parameters:
newResourceSet- the new value of the 'Resource Set' attribute.- See Also:
CDOResource.getResourceSet()- Generated
-
getURIGen
public org.eclipse.emf.common.util.URI getURIGen()
- Since:
- 2.0
- Generated
-
getURI
public org.eclipse.emf.common.util.URI getURI()
- Specified by:
getURIin interfaceCDOResource- Specified by:
getURIin interfaceCDOResourceNode- Specified by:
getURIin interfaceorg.eclipse.emf.ecore.resource.Resource- Overrides:
getURIin classCDOResourceNodeImpl- Returns:
- the value of the 'URI' attribute.
- See Also:
CDOResource.setURI(URI),EresourcePackage.getCDOResource_URI()- Generated
- NOT
-
recacheURIs
public void recacheURIs()
- Overrides:
recacheURIsin classCDOResourceNodeImpl- Since:
- 4.5
-
setURIGen
public void setURIGen(org.eclipse.emf.common.util.URI newURI)
- Since:
- 2.0
- Generated
-
setURI
public void setURI(org.eclipse.emf.common.util.URI newURI)
- Specified by:
setURIin interfaceCDOResource- Specified by:
setURIin interfaceorg.eclipse.emf.ecore.resource.Resource- Parameters:
newURI- the new value of the 'URI' attribute.- See Also:
CDOResource.getURI()- Generated
- NOT
-
setPath
public void setPath(java.lang.String newPath)
Description copied from class:CDOResourceNodeImpl- Specified by:
setPathin interfaceCDOResourceNode- Overrides:
setPathin classCDOResourceNodeImpl- Parameters:
newPath- the new value of the 'Path' attribute.- See Also:
CDOResourceNode.getPath()- Added
-
setFolder
public void setFolder(CDOResourceFolder newFolder)
Description copied from class:CDOResourceNodeImpl- Specified by:
setFolderin interfaceCDOResourceNode- Overrides:
setFolderin classCDOResourceNodeImpl- Parameters:
newFolder- the new value of the 'Folder' container reference.- See Also:
CDOResourceNode.getFolder()- Added
-
setName
public void setName(java.lang.String newName)
Description copied from class:CDOResourceNodeImpl- Specified by:
setNamein interfaceCDOResourceNode- Overrides:
setNamein classCDOResourceNodeImpl- Parameters:
newName- the new value of the 'Name' attribute.- See Also:
CDOResourceNode.getName()- Added
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classCDOResourceNodeImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classCDOResourceNodeImpl
-
getContents
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getContents()
- Specified by:
getContentsin interfaceCDOResource- Specified by:
getContentsin interfaceorg.eclipse.emf.ecore.resource.Resource- Returns:
- the value of the 'Contents' containment reference list.
- See Also:
EresourcePackage.getCDOResource_Contents()- Generated
- NOT
-
cdoInternalPostDetach
public void cdoInternalPostDetach(boolean remote, boolean top)Description copied from class:CDOObjectImplIt is really important for accessing the data to go throughCDOObjectImpl.cdoStore().CDOObjectImpl.eStore()will redirect you to the transient data.- Specified by:
cdoInternalPostDetachin interfaceInternalCDOObject- Overrides:
cdoInternalPostDetachin classCDOObjectImpl
-
isModified
public boolean isModified()
- Specified by:
isModifiedin interfaceCDOResource- Specified by:
isModifiedin interfaceorg.eclipse.emf.ecore.resource.Resource- Returns:
- the value of the 'Modified' attribute.
- See Also:
CDOResource.setModified(boolean),EresourcePackage.getCDOResource_Modified()- Generated
- NOT
-
setModified
public void setModified(boolean newModified)
- Specified by:
setModifiedin interfaceCDOResource- Specified by:
setModifiedin interfaceorg.eclipse.emf.ecore.resource.Resource- Parameters:
newModified- the new value of the 'Modified' attribute.- See Also:
CDOResource.isModified()- Generated
- NOT
-
isLoaded
public boolean isLoaded()
- Specified by:
isLoadedin interfaceCDOResource- Specified by:
isLoadedin interfaceorg.eclipse.emf.ecore.resource.Resource- Returns:
- the value of the 'Loaded' attribute.
- See Also:
EresourcePackage.getCDOResource_Loaded()- Generated
- NOT
-
isTrackingModification
public boolean isTrackingModification()
- Specified by:
isTrackingModificationin interfaceCDOResource- Specified by:
isTrackingModificationin interfaceorg.eclipse.emf.ecore.resource.Resource- Returns:
- the value of the 'Tracking Modification' attribute.
- See Also:
CDOResource.setTrackingModification(boolean),EresourcePackage.getCDOResource_TrackingModification()- Generated
-
setTrackingModificationGen
public void setTrackingModificationGen(boolean newTrackingModification)
- Since:
- 4.0
- Generated
-
setTrackingModification
public void setTrackingModification(boolean newTrackingModification)
- Specified by:
setTrackingModificationin interfaceCDOResource- Specified by:
setTrackingModificationin interfaceorg.eclipse.emf.ecore.resource.Resource- Parameters:
newTrackingModification- the new value of the 'Tracking Modification' attribute.- See Also:
CDOResource.isTrackingModification()- Generated
- NOT
-
getErrors
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource.Diagnostic> getErrors()
- Specified by:
getErrorsin interfaceCDOResource- Specified by:
getErrorsin interfaceorg.eclipse.emf.ecore.resource.Resource- Returns:
- the value of the 'Errors' attribute list.
- See Also:
EresourcePackage.getCDOResource_Errors()- Generated
- NOT
-
getWarnings
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource.Diagnostic> getWarnings()
- Specified by:
getWarningsin interfaceCDOResource- Specified by:
getWarningsin interfaceorg.eclipse.emf.ecore.resource.Resource- Returns:
- the value of the 'Warnings' attribute list.
- See Also:
EresourcePackage.getCDOResource_Warnings()- Generated
- NOT
-
getTimeStamp
public long getTimeStamp()
- Specified by:
getTimeStampin interfaceCDOResource- Specified by:
getTimeStampin interfaceorg.eclipse.emf.ecore.resource.Resource- Returns:
- the value of the 'Time Stamp' attribute.
- See Also:
CDOResource.setTimeStamp(long),EresourcePackage.getCDOResource_TimeStamp()- Generated
-
setTimeStamp
public void setTimeStamp(long newTimeStamp)
- Specified by:
setTimeStampin interfaceCDOResource- Specified by:
setTimeStampin interfaceorg.eclipse.emf.ecore.resource.Resource- Parameters:
newTimeStamp- the new value of the 'Time Stamp' attribute.- See Also:
CDOResource.getTimeStamp()- Generated
-
getAllContents
public org.eclipse.emf.common.util.TreeIterator<org.eclipse.emf.ecore.EObject> getAllContents()
- Specified by:
getAllContentsin interfaceorg.eclipse.emf.ecore.resource.Resource- See Also:
ResourceImpl.getAllContents()- Added
-
getEObject
public org.eclipse.emf.ecore.EObject getEObject(java.lang.String uriFragment)
Note: URI from temporary objects are going to changed when we commit the CDOTransaction. Objects will not be accessible from their temporary URI once CDOTransaction is committed.Note: This resource is not actually used to lookup the resulting object in CDO. Only the CDOView is used for this lookup! This means that this resource can be used to resolve any fragment with a CDOID of the associated CDOView.
- Specified by:
getEObjectin interfaceorg.eclipse.emf.ecore.resource.Resource- Added
-
getIntrinsicIDToEObjectMap
public java.util.Map<java.lang.String,org.eclipse.emf.ecore.EObject> getIntrinsicIDToEObjectMap()
Returns the map used to cache the EObject that is identified by thevalueof its ID feature.- Returns:
- the map used to cache the EObject that is identified by the value of its ID feature.
- Since:
- 4.2
- See Also:
setIntrinsicIDToEObjectMap(java.util.Map<java.lang.String, org.eclipse.emf.ecore.EObject>)- Added
-
setIntrinsicIDToEObjectMap
public void setIntrinsicIDToEObjectMap(java.util.Map<java.lang.String,org.eclipse.emf.ecore.EObject> intrinsicIDToEObjectMap)
Sets the map used to cache the EObject identified by the value of its ID feature. This cache is only activated if the map is notnull. The map will be lazily loaded by thegetEObjectByIDmethod. It is up to the client to clear the cache when it becomes invalid, e.g., when the ID of a previously mapped EObject is changed.- Parameters:
intrinsicIDToEObjectMap- the new map ornull.- Since:
- 4.2
- See Also:
getIntrinsicIDToEObjectMap()- Added
-
getEObjectByID
protected org.eclipse.emf.ecore.EObject getEObjectByID(java.lang.String id)
Returns the object based on the fragment as an ID.- Since:
- 4.2
- Added
-
getAllProperContents
protected org.eclipse.emf.common.util.TreeIterator<org.eclipse.emf.ecore.EObject> getAllProperContents(java.util.List<org.eclipse.emf.ecore.EObject> contents)
- Since:
- 4.2
- Added
-
getURIFragment
public java.lang.String getURIFragment(org.eclipse.emf.ecore.EObject object)
- Specified by:
getURIFragmentin interfaceorg.eclipse.emf.ecore.resource.Resource- Added
-
isLoading
public boolean isLoading()
- Specified by:
isLoadingin interfaceorg.eclipse.emf.ecore.resource.Resource.Internal- Added
-
cdoInternalLoading
public void cdoInternalLoading(org.eclipse.emf.ecore.EObject object)
Description copied from interface:InternalCDOResourceInforms the resource that anobjectcontained within it is being loaded.- Specified by:
cdoInternalLoadingin interfaceInternalCDOResource- Since:
- 4.2
- Added
-
cdoInternalLoadingDone
public void cdoInternalLoadingDone(org.eclipse.emf.ecore.EObject object)
Description copied from interface:InternalCDOResourceInforms the resource that anobjectcontained within it has finished being loaded.- Specified by:
cdoInternalLoadingDonein interfaceInternalCDOResource- Since:
- 4.2
- Added
-
cdoInternalPreLoad
public void cdoInternalPreLoad()
- Specified by:
cdoInternalPreLoadin interfaceInternalCDOLoadable- Overrides:
cdoInternalPreLoadin classCDOObjectImpl- Since:
- 2.0
- Added
-
load
public void load(java.io.InputStream inputStream, java.util.Map<?,?> options) throws java.io.IOException- Specified by:
loadin interfaceorg.eclipse.emf.ecore.resource.Resource- Throws:
java.io.IOException- Added
-
load
public void load(java.util.Map<?,?> options) throws java.io.IOException- Specified by:
loadin interfaceorg.eclipse.emf.ecore.resource.Resource- Throws:
java.io.IOException- Added
-
save
public void save(java.util.Map<?,?> options) throws java.io.IOException- Specified by:
savein interfaceorg.eclipse.emf.ecore.resource.Resource- Throws:
java.io.IOException- Added
-
save
public void save(java.io.OutputStream outputStream, java.util.Map<?,?> options) throws java.io.IOException- Specified by:
savein interfaceorg.eclipse.emf.ecore.resource.Resource- Throws:
java.io.IOException- Added
-
unload
public void unload()
- Specified by:
unloadin interfaceorg.eclipse.emf.ecore.resource.Resource- Added
-
delete
public void delete(java.util.Map<?,?> options) throws java.io.IOException- Specified by:
deletein interfaceCDOResourceNode- Specified by:
deletein interfaceorg.eclipse.emf.ecore.resource.Resource- Throws:
java.io.IOException- Added
-
attached
public void attached(org.eclipse.emf.ecore.EObject object)
- Specified by:
attachedin interfaceorg.eclipse.emf.ecore.resource.Resource.Internal- Added
-
detached
public void detached(org.eclipse.emf.ecore.EObject object)
- Specified by:
detachedin interfaceorg.eclipse.emf.ecore.resource.Resource.Internal- Added
-
basicSetResourceSet
public org.eclipse.emf.common.notify.NotificationChain basicSetResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.emf.common.notify.NotificationChain notifications)- Specified by:
basicSetResourceSetin interfaceorg.eclipse.emf.ecore.resource.Resource.Internal- See Also:
ResourceImpl.basicSetResourceSet(ResourceSet, NotificationChain)- Added
-
isExisting
public boolean isExisting()
- Specified by:
isExistingin interfaceCDOResource- Added
-
setExisting
protected void setExisting(boolean existing)
- Since:
- 3.0
- Added
-
createList
protected org.eclipse.emf.common.util.EList<?> createList(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
- Overrides:
createListin classCDOObjectImpl- Added
-
toString
public java.lang.String toString(java.lang.String string)
- Overrides:
toStringin classCDOResourceNodeImpl
-
getID
public java.lang.String getID(org.eclipse.emf.ecore.EObject eObject)
- Specified by:
getIDin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
setID
public void setID(org.eclipse.emf.ecore.EObject eObject, java.lang.String id)- Specified by:
setIDin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
useZip
public boolean useZip()
- Specified by:
useZipin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
setUseZip
public void setUseZip(boolean useZip)
- Specified by:
setUseZipin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
getPublicId
public java.lang.String getPublicId()
- Specified by:
getPublicIdin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
getSystemId
public java.lang.String getSystemId()
- Specified by:
getSystemIdin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
getDOMHelper
public org.eclipse.emf.ecore.xmi.DOMHelper getDOMHelper()
- Specified by:
getDOMHelperin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
getDefaultLoadOptions
public java.util.Map<java.lang.Object,java.lang.Object> getDefaultLoadOptions()
- Specified by:
getDefaultLoadOptionsin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
getDefaultSaveOptions
public java.util.Map<java.lang.Object,java.lang.Object> getDefaultSaveOptions()
- Specified by:
getDefaultSaveOptionsin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
getEObjectToExtensionMap
public java.util.Map<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.xml.type.AnyType> getEObjectToExtensionMap()
- Specified by:
getEObjectToExtensionMapin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
getEncoding
public java.lang.String getEncoding()
- Specified by:
getEncodingin interfaceorg.eclipse.net4j.util.io.EncodingProvider- Specified by:
getEncodingin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
setEncoding
public void setEncoding(java.lang.String encoding)
- Specified by:
setEncodingin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
getXMLVersion
public java.lang.String getXMLVersion()
- Specified by:
getXMLVersionin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
setXMLVersion
public void setXMLVersion(java.lang.String version)
- Specified by:
setXMLVersionin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
setDoctypeInfo
public void setDoctypeInfo(java.lang.String publicId, java.lang.String systemId)- Specified by:
setDoctypeInfoin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
load
public void load(org.w3c.dom.Node node, java.util.Map<?,?> options) throws java.io.IOException- Specified by:
loadin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Throws:
java.io.IOException- Since:
- 4.4
-
load
public void load(org.xml.sax.InputSource inputSource, java.util.Map<?,?> options) throws java.io.IOException- Specified by:
loadin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Throws:
java.io.IOException- Since:
- 4.4
-
save
public void save(java.io.Writer writer, java.util.Map<?,?> options) throws java.io.IOException- Specified by:
savein interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Throws:
java.io.IOException- Since:
- 4.4
-
save
public org.w3c.dom.Document save(org.w3c.dom.Document document, java.util.Map<?,?> options, org.eclipse.emf.ecore.xmi.DOMHandler handler)- Specified by:
savein interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
getIDToEObjectMap
@Deprecated public java.util.Map<java.lang.String,org.eclipse.emf.ecore.EObject> getIDToEObjectMap()
Deprecated.- Specified by:
getIDToEObjectMapin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
getEObjectToIDMap
@Deprecated public java.util.Map<org.eclipse.emf.ecore.EObject,java.lang.String> getEObjectToIDMap()
Deprecated.- Specified by:
getEObjectToIDMapin interfaceorg.eclipse.emf.ecore.xmi.XMLResource- Since:
- 4.4
-
-