Package org.eclipse.emf.cdo.eresource
Interface CDOResource
- All Superinterfaces:
CDOObject,CDOResourceLeaf,CDOResourceNode,CDOWithID,EObject,Notifier,Resource
- All Known Subinterfaces:
InternalCDOResource
- All Known Implementing Classes:
CDOResourceImpl
A representation of the model object 'CDO Resource'.
- See Also:
- 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.Resource
Resource.Diagnostic, Resource.Factory, Resource.Internal, Resource.IOWrappedException -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.eclipse.emf.cdo.eresource.CDOResourceNode
ROOT_NAME, ROOT_PATHFields 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 -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Contents' containment reference list.Returns the value of the 'Errors' attribute list.Returns the value of the 'Resource Set' attribute.longReturns the value of the 'Time Stamp' attribute.getURI()Returns the value of the 'URI' attribute.Returns the value of the 'Warnings' attribute list.booleanbooleanisLoaded()Returns the value of the 'Loaded' attribute.booleanReturns the value of the 'Modified' attribute.booleanReturns the value of the 'Tracking Modification' attribute.voidsetModified(boolean value) Sets the value of the 'Modified' attribute.voidsetResourceSet(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.voidSets the value of the 'URI' attribute.Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOptionMethods inherited from interface org.eclipse.emf.cdo.eresource.CDOResourceNode
delete, getBasename, getExtension, getFolder, getName, getPath, isRoot, setBasename, setExtension, setFolder, setName, setPath, trimExtensionMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface org.eclipse.emf.ecore.resource.Resource
delete, getAllContents, getEObject, getURIFragment, load, load, save, save, unload
-
Field Details
-
OPTION_SAVE_PROGRESS_MONITOR
- Since:
- 2.0
- Added
-
OPTION_SAVE_OVERRIDE_TRANSACTION
- Since:
- 3.0
- Added
-
OPTION_SAVE_BASE_URI
- Since:
- 4.0
- See Also:
- Added
-
PREFETCH_PARAMETER
- Since:
- 4.1
- See Also:
- Added
-
-
Method Details
-
getResourceSet
ResourceSet getResourceSet()Returns the value of the 'Resource Set' attribute.- Specified by:
getResourceSetin interfaceResource- Returns:
- the value of the 'Resource Set' attribute.
- See Also:
- Generated
- Model
- dataType="org.eclipse.emf.cdo.eresource.ResourceSet" transient="true"
-
setResourceSet
Sets the value of the 'Resource Set' attribute.- Parameters:
value- the new value of the 'Resource Set' attribute.- See Also:
- Generated
-
getURI
URI getURI()Returns the value of the 'URI' attribute. The URI format is explained inCDOURIUtilandCDOURIData.- Specified by:
getURIin interfaceCDOResourceNode- Specified by:
getURIin interfaceResource- Returns:
- the value of the 'URI' attribute.
- See Also:
- Generated
- Model
- dataType="org.eclipse.emf.cdo.eresource.URI" transient="true" volatile="true" derived="true"
-
setURI
-
getContents
Returns the value of the 'Contents' containment reference list. The list contents are of typeEObject.- Specified by:
getContentsin interfaceResource- Returns:
- the value of the 'Contents' containment reference list.
- See Also:
- Generated
- Model
- containment="true"
-
isModified
boolean isModified()Returns the value of the 'Modified' attribute.- Specified by:
isModifiedin interfaceResource- Returns:
- the value of the 'Modified' attribute.
- See Also:
- Generated
- Model
- transient="true"
-
setModified
void setModified(boolean value) Sets the value of the 'Modified' attribute.- Specified by:
setModifiedin interfaceResource- Parameters:
value- the new value of the 'Modified' attribute.- See Also:
- Generated
-
isLoaded
boolean isLoaded()Returns the value of the 'Loaded' attribute. The default value is"true". -
isTrackingModification
boolean isTrackingModification()Returns the value of the 'Tracking Modification' attribute.- Specified by:
isTrackingModificationin interfaceResource- Returns:
- the value of the 'Tracking Modification' attribute.
- See Also:
- Generated
- Model
- transient="true"
-
setTrackingModification
void setTrackingModification(boolean value) Sets the value of the 'Tracking Modification' attribute.- Specified by:
setTrackingModificationin interfaceResource- Parameters:
value- the new value of the 'Tracking Modification' attribute.- See Also:
- Generated
-
getErrors
EList<Resource.Diagnostic> getErrors()Returns the value of the 'Errors' attribute list. The list contents are of typeResource.Diagnostic. -
getWarnings
EList<Resource.Diagnostic> getWarnings()Returns the value of the 'Warnings' attribute list. The list contents are of typeResource.Diagnostic.- Specified by:
getWarningsin interfaceResource- Returns:
- the value of the 'Warnings' attribute list.
- See Also:
- Generated
- Model
- dataType="org.eclipse.emf.cdo.eresource.Diagnostic" transient="true" changeable="false" volatile="true" derived="true"
-
getTimeStamp
long getTimeStamp()Returns the value of the 'Time Stamp' attribute.- Specified by:
getTimeStampin interfaceResource- Returns:
- the value of the 'Time Stamp' attribute.
- See Also:
- Generated
- Model
- transient="true"
-
setTimeStamp
void setTimeStamp(long value) Sets the value of the 'Time Stamp' attribute.- Specified by:
setTimeStampin interfaceResource- Parameters:
value- the new value of the 'Time Stamp' attribute.- See Also:
- Generated
-
isExisting
boolean isExisting()- Since:
- 2.0
- Added
-