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 java.lang.String |
OPTION_SAVE_BASE_URI |
static java.lang.String |
OPTION_SAVE_OVERRIDE_TRANSACTION |
static java.lang.String |
OPTION_SAVE_PROGRESS_MONITOR |
static java.lang.String |
PREFETCH_PARAMETER |
ROOT_NAME, ROOT_PATHOPTION_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, getBasename, getExtension, getFolder, getName, getPath, isRoot, setBasename, setExtension, setFolder, setName, setPath, trimExtensioncdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOptioneAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverdelete, getAllContents, getEObject, getURIFragment, load, load, save, save, unloadstatic final java.lang.String OPTION_SAVE_PROGRESS_MONITOR
static final java.lang.String OPTION_SAVE_OVERRIDE_TRANSACTION
static final java.lang.String OPTION_SAVE_BASE_URI
static final java.lang.String PREFETCH_PARAMETER
ResourceSet getResourceSet()
getResourceSet in interface ResourcesetResourceSet(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 CDOResourceNodegetURI in interface ResourcesetURI(URI),
EresourcePackage.getCDOResource_URI()void setURI(URI value)
EList<EObject> getContents()
EObject.
getContents in interface ResourceEresourcePackage.getCDOResource_Contents()boolean isModified()
isModified in interface ResourcesetModified(boolean),
EresourcePackage.getCDOResource_Modified()void setModified(boolean value)
Modified' attribute.
setModified in interface Resourcevalue - the new value of the 'Modified' attribute.isModified()boolean isLoaded()
"true".
isLoaded in interface ResourceEresourcePackage.getCDOResource_Loaded()boolean isTrackingModification()
isTrackingModification in interface ResourcesetTrackingModification(boolean),
EresourcePackage.getCDOResource_TrackingModification()void setTrackingModification(boolean value)
Tracking Modification' attribute.
setTrackingModification in interface Resourcevalue - the new value of the 'Tracking Modification' attribute.isTrackingModification()EList<Resource.Diagnostic> getErrors()
Resource.Diagnostic.
getErrors in interface ResourceEresourcePackage.getCDOResource_Errors()EList<Resource.Diagnostic> getWarnings()
Resource.Diagnostic.
getWarnings in interface ResourceEresourcePackage.getCDOResource_Warnings()long getTimeStamp()
getTimeStamp in interface ResourcesetTimeStamp(long),
EresourcePackage.getCDOResource_TimeStamp()void setTimeStamp(long value)
Time Stamp' attribute.
setTimeStamp in interface Resourcevalue - the new value of the 'Time Stamp' attribute.getTimeStamp()boolean isExisting()
Copyright (c) 2004-2019 Eike Stepper (Loehne, 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