Package org.eclipse.emf.cdo.eresource
Interface CDOResource
- 
- All Superinterfaces:
- CDOObject,- CDOResourceLeaf,- CDOResourceNode,- CDOWithID,- org.eclipse.emf.ecore.EObject,- org.eclipse.emf.common.notify.Notifier,- org.eclipse.emf.ecore.resource.Resource
 - All Known Subinterfaces:
- InternalCDOResource
 - All Known Implementing Classes:
- CDOResourceImpl
 
 public interface CDOResource extends CDOResourceLeaf, org.eclipse.emf.ecore.resource.Resource A representation of the model object 'CDO Resource'.- See Also:
- EresourcePackage.getCDOResource()
- Generated
- Extends
- Resource
- Model
- No Implement
- This interface is not intended to be implemented by clients.
 
 The following features are supported: 
- No Extend
- This interface is not intended to be extended by clients.
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.resource.Resourceorg.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
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static java.lang.StringOPTION_SAVE_BASE_URIstatic java.lang.StringOPTION_SAVE_OVERRIDE_TRANSACTIONstatic java.lang.StringOPTION_SAVE_PROGRESS_MONITORstatic java.lang.StringPREFETCH_PARAMETER- 
Fields inherited from interface org.eclipse.emf.cdo.eresource.CDOResourceNodeROOT_NAME, ROOT_PATH
 - 
Fields inherited from interface org.eclipse.emf.ecore.resource.ResourceOPTION_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
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject>getContents()Returns the value of the 'Contents' containment reference list.org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource.Diagnostic>getErrors()Returns the value of the 'Errors' attribute list.org.eclipse.emf.ecore.resource.ResourceSetgetResourceSet()Returns the value of the 'Resource Set' attribute.longgetTimeStamp()Returns the value of the 'Time Stamp' attribute.org.eclipse.emf.common.util.URIgetURI()Returns the value of the 'URI' attribute.org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource.Diagnostic>getWarnings()Returns the value of the 'Warnings' attribute list.booleanisExisting()booleanisLoaded()Returns the value of the 'Loaded' attribute.booleanisModified()Returns the value of the 'Modified' attribute.booleanisTrackingModification()Returns the value of the 'Tracking Modification' attribute.voidsetModified(boolean value)Sets the value of the 'Modified' attribute.voidsetResourceSet(org.eclipse.emf.ecore.resource.ResourceSet value)Sets the value of the 'Resource Set' attribute.voidsetTimeStamp(long value)Sets the value of the 'Time Stamp' attribute.voidsetTrackingModification(boolean value)Sets the value of the 'Tracking Modification' attribute.voidsetURI(org.eclipse.emf.common.util.URI value)Sets the value of the 'URI' attribute.- 
Methods inherited from interface org.eclipse.emf.cdo.CDOObjectcdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
 - 
Methods inherited from interface org.eclipse.emf.cdo.eresource.CDOResourceNodedelete, getBasename, getExtension, getFolder, getName, getPath, isRoot, setBasename, setExtension, setFolder, setName, setPath, trimExtension
 - 
Methods inherited from interface org.eclipse.emf.ecore.EObjecteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
- 
 
- 
- 
- 
Field Detail- 
OPTION_SAVE_PROGRESS_MONITORstatic final java.lang.String OPTION_SAVE_PROGRESS_MONITOR - Since:
- 2.0
- Added
 
 - 
OPTION_SAVE_OVERRIDE_TRANSACTIONstatic final java.lang.String OPTION_SAVE_OVERRIDE_TRANSACTION - Since:
- 3.0
- Added
 
 - 
OPTION_SAVE_BASE_URIstatic final java.lang.String OPTION_SAVE_BASE_URI - Since:
- 4.0
- See Also:
- Constant Field Values
- Added
 
 - 
PREFETCH_PARAMETERstatic final java.lang.String PREFETCH_PARAMETER - Since:
- 4.1
- See Also:
- Constant Field Values
- Added
 
 
- 
 - 
Method Detail- 
getResourceSetorg.eclipse.emf.ecore.resource.ResourceSet getResourceSet() Returns the value of the 'Resource Set' attribute.- Specified by:
- getResourceSetin interface- org.eclipse.emf.ecore.resource.Resource
- Returns:
- the value of the 'Resource Set' attribute.
- See Also:
- setResourceSet(ResourceSet),- EresourcePackage.getCDOResource_ResourceSet()
- Generated
- Model
- dataType="org.eclipse.emf.cdo.eresource.ResourceSet" transient="true"
 
 - 
setResourceSetvoid setResourceSet(org.eclipse.emf.ecore.resource.ResourceSet value) Sets the value of the 'Resource Set' attribute.- Parameters:
- value- the new value of the 'Resource Set' attribute.
- See Also:
- getResourceSet()
- Generated
 
 - 
getURIorg.eclipse.emf.common.util.URI getURI() Returns the value of the 'URI' attribute. The URI format is explained inCDOURIUtilandCDOURIData.- Specified by:
- getURIin interface- CDOResourceNode
- Specified by:
- getURIin interface- org.eclipse.emf.ecore.resource.Resource
- Returns:
- the value of the 'URI' attribute.
- See Also:
- setURI(URI),- EresourcePackage.getCDOResource_URI()
- Generated
- Model
- dataType="org.eclipse.emf.cdo.eresource.URI" transient="true" volatile="true" derived="true"
 
 - 
setURIvoid setURI(org.eclipse.emf.common.util.URI value) - Specified by:
- setURIin interface- org.eclipse.emf.ecore.resource.Resource
- Parameters:
- value- the new value of the 'URI' attribute.
- See Also:
- getURI()
- Generated
 
 - 
getContentsorg.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getContents() Returns the value of the 'Contents' containment reference list. The list contents are of typeEObject.- Specified by:
- getContentsin interface- org.eclipse.emf.ecore.resource.Resource
- Returns:
- the value of the 'Contents' containment reference list.
- See Also:
- EresourcePackage.getCDOResource_Contents()
- Generated
- Model
- containment="true"
 
 - 
isModifiedboolean isModified() Returns the value of the 'Modified' attribute.- Specified by:
- isModifiedin interface- org.eclipse.emf.ecore.resource.Resource
- Returns:
- the value of the 'Modified' attribute.
- See Also:
- setModified(boolean),- EresourcePackage.getCDOResource_Modified()
- Generated
- Model
- transient="true"
 
 - 
setModifiedvoid setModified(boolean value) Sets the value of the 'Modified' attribute.- Specified by:
- setModifiedin interface- org.eclipse.emf.ecore.resource.Resource
- Parameters:
- value- the new value of the 'Modified' attribute.
- See Also:
- isModified()
- Generated
 
 - 
isLoadedboolean isLoaded() Returns the value of the 'Loaded' attribute. The default value is"true".- Specified by:
- isLoadedin interface- org.eclipse.emf.ecore.resource.Resource
- Returns:
- the value of the 'Loaded' attribute.
- See Also:
- EresourcePackage.getCDOResource_Loaded()
- Generated
- Model
- default="true" transient="true" changeable="false" volatile="true" derived="true"
 
 - 
isTrackingModificationboolean isTrackingModification() Returns the value of the 'Tracking Modification' attribute.- Specified by:
- isTrackingModificationin interface- org.eclipse.emf.ecore.resource.Resource
- Returns:
- the value of the 'Tracking Modification' attribute.
- See Also:
- setTrackingModification(boolean),- EresourcePackage.getCDOResource_TrackingModification()
- Generated
- Model
- transient="true"
 
 - 
setTrackingModificationvoid setTrackingModification(boolean value) Sets the value of the 'Tracking Modification' attribute.- Specified by:
- setTrackingModificationin interface- org.eclipse.emf.ecore.resource.Resource
- Parameters:
- value- the new value of the 'Tracking Modification' attribute.
- See Also:
- isTrackingModification()
- Generated
 
 - 
getErrorsorg.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource.Diagnostic> getErrors() Returns the value of the 'Errors' attribute list. The list contents are of typeResource.Diagnostic.- Specified by:
- getErrorsin interface- org.eclipse.emf.ecore.resource.Resource
- Returns:
- the value of the 'Errors' attribute list.
- See Also:
- EresourcePackage.getCDOResource_Errors()
- Generated
- Model
- dataType="org.eclipse.emf.cdo.eresource.Diagnostic" transient="true" changeable="false" volatile="true" derived="true"
 
 - 
getWarningsorg.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource.Diagnostic> getWarnings() Returns the value of the 'Warnings' attribute list. The list contents are of typeResource.Diagnostic.- Specified by:
- getWarningsin interface- org.eclipse.emf.ecore.resource.Resource
- Returns:
- the value of the 'Warnings' attribute list.
- See Also:
- EresourcePackage.getCDOResource_Warnings()
- Generated
- Model
- dataType="org.eclipse.emf.cdo.eresource.Diagnostic" transient="true" changeable="false" volatile="true" derived="true"
 
 - 
getTimeStamplong getTimeStamp() Returns the value of the 'Time Stamp' attribute.- Specified by:
- getTimeStampin interface- org.eclipse.emf.ecore.resource.Resource
- Returns:
- the value of the 'Time Stamp' attribute.
- See Also:
- setTimeStamp(long),- EresourcePackage.getCDOResource_TimeStamp()
- Generated
- Model
- transient="true"
 
 - 
setTimeStampvoid setTimeStamp(long value) Sets the value of the 'Time Stamp' attribute.- Specified by:
- setTimeStampin interface- org.eclipse.emf.ecore.resource.Resource
- Parameters:
- value- the new value of the 'Time Stamp' attribute.
- See Also:
- getTimeStamp()
- Generated
 
 - 
isExistingboolean isExisting() - Since:
- 2.0
- Added
 
 
- 
 
-