/** * Copyright (c) 2004 - 2011 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 * * Contributors: * Eike Stepper - initial API and implementation */ package org.eclipse.emf.cdo.eresource; import org.eclipse.emf.cdo.transaction.CDOTransaction; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.common.util.URI; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.emf.ecore.resource.ResourceSet; import org.eclipse.core.runtime.IProgressMonitor; /** * A representation of the model object 'CDO Resource'. * * @extends Resource * @noextend This interface is not intended to be extended by clients. * @noimplement This interface is not intended to be implemented by clients. * @apiviz.landmark *
* The following features are supported: *
* If the meaning of the 'Resource Set' attribute isn't clear, there really should be more of a description * here... *
* * * @return the value of the 'Resource Set' attribute. * @see #setResourceSet(ResourceSet) * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_ResourceSet() * @model dataType="org.eclipse.emf.cdo.eresource.ResourceSet" transient="true" * @generated */ ResourceSet getResourceSet(); /** * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResource#getResourceSet Resource Set}' * attribute. * * @param value * the new value of the 'Resource Set' attribute. * @see #getResourceSet() * @generated */ void setResourceSet(ResourceSet value); /** * Returns the value of the 'URI' attribute. ** If the meaning of the 'URI' attribute isn't clear, there really should be more of a description here... *
* * * @return the value of the 'URI' attribute. * @see #setURI(URI) * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_URI() * @model dataType="org.eclipse.emf.cdo.eresource.URI" transient="true" volatile="true" derived="true" * @generated */ URI getURI(); /** * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResource#getURI URI}' attribute. * * @param value * the new value of the 'URI' attribute. * @see #getURI() * @generated */ void setURI(URI value); /** * Returns the value of the 'Contents' containment reference list. The list contents are of type * {@link org.eclipse.emf.ecore.EObject}. ** If the meaning of the 'Contents' containment reference list isn't clear, there really should be more of a * description here... *
* * * @return the value of the 'Contents' containment reference list. * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_Contents() * @model containment="true" * @generated */ EList* If the meaning of the 'Modified' attribute isn't clear, there really should be more of a description * here... *
* * * @return the value of the 'Modified' attribute. * @see #setModified(boolean) * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_Modified() * @model transient="true" * @generated */ boolean isModified(); /** * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResource#isModified Modified}' attribute. * * * @param value * the new value of the 'Modified' attribute. * @see #isModified() * @generated */ void setModified(boolean value); /** * Returns the value of the 'Loaded' attribute. The default value is"true"
.
* * If the meaning of the 'Loaded' attribute isn't clear, there really should be more of a description here... *
* * * @return the value of the 'Loaded' attribute. * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_Loaded() * @model default="true" transient="true" suppressedSetVisibility="true" * @generated */ boolean isLoaded(); /** * Returns the value of the 'Tracking Modification' attribute. ** If the meaning of the 'Tracking Modification' attribute isn't clear, there really should be more of a * description here... *
* * * @return the value of the 'Tracking Modification' attribute. * @see #setTrackingModification(boolean) * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_TrackingModification() * @model transient="true" * @generated */ boolean isTrackingModification(); /** * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResource#isTrackingModification * Tracking Modification}' attribute. * * @param value * the new value of the 'Tracking Modification' attribute. * @see #isTrackingModification() * @generated */ void setTrackingModification(boolean value); /** * Returns the value of the 'Errors' attribute list. The list contents are of type * {@link org.eclipse.emf.ecore.resource.Resource.Diagnostic}. ** If the meaning of the 'Errors' attribute list isn't clear, there really should be more of a description * here... *
* * * @return the value of the 'Errors' attribute list. * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_Errors() * @model dataType="org.eclipse.emf.cdo.eresource.Diagnostic" transient="true" changeable="false" volatile="true" * derived="true" * @generated */ EList* If the meaning of the 'Warnings' attribute list isn't clear, there really should be more of a description * here... *
* * * @return the value of the 'Warnings' attribute list. * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_Warnings() * @model dataType="org.eclipse.emf.cdo.eresource.Diagnostic" transient="true" changeable="false" volatile="true" * derived="true" * @generated */ EList* If the meaning of the 'Time Stamp' attribute isn't clear, there really should be more of a description * here... *
* * * @return the value of the 'Time Stamp' attribute. * @see #setTimeStamp(long) * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOResource_TimeStamp() * @model transient="true" * @generated */ long getTimeStamp(); /** * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOResource#getTimeStamp Time Stamp}' * attribute. * * @param value * the new value of the 'Time Stamp' attribute. * @see #getTimeStamp() * @generated */ void setTimeStamp(long value); /** * @ADDED * @since 2.0 */ public boolean isExisting(); } // CDOResource