public interface CDOResource extends CDOResourceLeaf, org.eclipse.emf.ecore.resource.Resource
EresourcePackage.getCDOResource()
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
Modifier and Type | Field and Description |
---|---|
static String |
OPTION_SAVE_BASE_URI |
static String |
OPTION_SAVE_OVERRIDE_TRANSACTION |
static String |
OPTION_SAVE_PROGRESS_MONITOR |
static String |
PREFETCH_PARAMETER |
ROOT_NAME, ROOT_PATH
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
Modifier and Type | Method and 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.ResourceSet |
getResourceSet()
Returns the value of the 'Resource Set' attribute
|
long |
getTimeStamp()
Returns the value of the 'Time Stamp' attribute
|
org.eclipse.emf.common.util.URI |
getURI()
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.
|
boolean |
isExisting() |
boolean |
isLoaded()
Returns the value of the 'Loaded' attribute.
|
boolean |
isModified()
Returns the value of the 'Modified' attribute
|
boolean |
isTrackingModification()
Returns the value of the 'Tracking Modification' attribute
|
void |
setModified(boolean value)
Sets the value of the '
Modified ' attribute |
void |
setResourceSet(org.eclipse.emf.ecore.resource.ResourceSet value)
Sets the value of the '
Resource Set ' attribute |
void |
setTimeStamp(long value)
Sets the value of the '
Time Stamp ' attribute |
void |
setTrackingModification(boolean value)
Sets the value of the '
Tracking Modification ' attribute |
void |
setURI(org.eclipse.emf.common.util.URI value)
Sets the value of the '
URI ' attribute |
delete, getExtension, getFolder, getName, getPath, isRoot, setFolder, setName, setPath, trimExtension
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
static final String OPTION_SAVE_PROGRESS_MONITOR
static final String OPTION_SAVE_OVERRIDE_TRANSACTION
static final String OPTION_SAVE_BASE_URI
static final String PREFETCH_PARAMETER
org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
getResourceSet
in interface org.eclipse.emf.ecore.resource.Resource
setResourceSet(ResourceSet)
,
EresourcePackage.getCDOResource_ResourceSet()
void setResourceSet(org.eclipse.emf.ecore.resource.ResourceSet value)
Resource Set
' attribute.
value
- the new value of the 'Resource Set' attribute.getResourceSet()
org.eclipse.emf.common.util.URI getURI()
CDOURIUtil
and CDOURIData
.
getURI
in interface CDOResourceNode
getURI
in interface org.eclipse.emf.ecore.resource.Resource
setURI(URI)
,
EresourcePackage.getCDOResource_URI()
void setURI(org.eclipse.emf.common.util.URI value)
setURI
in interface org.eclipse.emf.ecore.resource.Resource
value
- the new value of the 'URI' attribute.getURI()
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getContents()
EObject
.
getContents
in interface org.eclipse.emf.ecore.resource.Resource
EresourcePackage.getCDOResource_Contents()
boolean isModified()
isModified
in interface org.eclipse.emf.ecore.resource.Resource
setModified(boolean)
,
EresourcePackage.getCDOResource_Modified()
void setModified(boolean value)
Modified
' attribute.
setModified
in interface org.eclipse.emf.ecore.resource.Resource
value
- the new value of the 'Modified' attribute.isModified()
boolean isLoaded()
"true"
.
isLoaded
in interface org.eclipse.emf.ecore.resource.Resource
EresourcePackage.getCDOResource_Loaded()
boolean isTrackingModification()
isTrackingModification
in interface org.eclipse.emf.ecore.resource.Resource
setTrackingModification(boolean)
,
EresourcePackage.getCDOResource_TrackingModification()
void setTrackingModification(boolean value)
Tracking Modification
' attribute.
setTrackingModification
in interface org.eclipse.emf.ecore.resource.Resource
value
- the new value of the 'Tracking Modification' attribute.isTrackingModification()
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource.Diagnostic> getErrors()
Resource.Diagnostic
.
getErrors
in interface org.eclipse.emf.ecore.resource.Resource
EresourcePackage.getCDOResource_Errors()
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource.Diagnostic> getWarnings()
Resource.Diagnostic
.
getWarnings
in interface org.eclipse.emf.ecore.resource.Resource
EresourcePackage.getCDOResource_Warnings()
long getTimeStamp()
getTimeStamp
in interface org.eclipse.emf.ecore.resource.Resource
setTimeStamp(long)
,
EresourcePackage.getCDOResource_TimeStamp()
void setTimeStamp(long value)
Time Stamp
' attribute.
setTimeStamp
in interface org.eclipse.emf.ecore.resource.Resource
value
- the new value of the 'Time Stamp' attribute.getTimeStamp()
boolean isExisting()
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.