public interface CDOResource extends CDOResourceLeaf, Resource
EresourcePackage.getCDOResource()
The following features are supported:
Resource.Diagnostic, Resource.Factory, Resource.Internal, 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 |
---|---|
EList<EObject> |
getContents()
Returns the value of the 'Contents' containment reference list.
|
EList<Resource.Diagnostic> |
getErrors()
Returns the value of the 'Errors' attribute list.
|
ResourceSet |
getResourceSet()
Returns the value of the 'Resource Set' attribute.
|
long |
getTimeStamp()
Returns the value of the 'Time Stamp' attribute.
|
URI |
getURI()
Returns the value of the 'URI' attribute.
|
EList<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(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(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
eAdapters, eDeliver, eNotify, eSetDeliver
delete, getAllContents, getEObject, getURIFragment, load, load, save, save, unload
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
ResourceSet getResourceSet()
getResourceSet
in interface Resource
setResourceSet(ResourceSet)
,
EresourcePackage.getCDOResource_ResourceSet()
void setResourceSet(ResourceSet value)
Resource Set
' attribute.
value
- the new value of the 'Resource Set' attribute.getResourceSet()
URI getURI()
CDOURIUtil
and CDOURIData
.
getURI
in interface CDOResourceNode
getURI
in interface Resource
setURI(URI)
,
EresourcePackage.getCDOResource_URI()
void setURI(URI value)
EList<EObject> getContents()
EObject
.
getContents
in interface Resource
EresourcePackage.getCDOResource_Contents()
boolean isModified()
isModified
in interface Resource
setModified(boolean)
,
EresourcePackage.getCDOResource_Modified()
void setModified(boolean value)
Modified
' attribute.
setModified
in interface Resource
value
- the new value of the 'Modified' attribute.isModified()
boolean isLoaded()
"true"
.
isLoaded
in interface Resource
EresourcePackage.getCDOResource_Loaded()
boolean isTrackingModification()
isTrackingModification
in interface Resource
setTrackingModification(boolean)
,
EresourcePackage.getCDOResource_TrackingModification()
void setTrackingModification(boolean value)
Tracking Modification
' attribute.
setTrackingModification
in interface Resource
value
- the new value of the 'Tracking Modification' attribute.isTrackingModification()
EList<Resource.Diagnostic> getErrors()
Resource.Diagnostic
.
getErrors
in interface Resource
EresourcePackage.getCDOResource_Errors()
EList<Resource.Diagnostic> getWarnings()
Resource.Diagnostic
.
getWarnings
in interface Resource
EresourcePackage.getCDOResource_Warnings()
long getTimeStamp()
getTimeStamp
in interface Resource
setTimeStamp(long)
,
EresourcePackage.getCDOResource_TimeStamp()
void setTimeStamp(long value)
Time Stamp
' attribute.
setTimeStamp
in interface Resource
value
- the new value of the 'Time Stamp' attribute.getTimeStamp()
boolean isExisting()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html