KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > ecore > change > ResourceChange


1 /**
2  * <copyright>
3  * </copyright>
4  *
5  * $Id: ResourceChange.java,v 1.3 2004/12/16 21:51:46 emerks Exp $
6  */

7 package org.eclipse.emf.ecore.change;
8
9 import org.eclipse.emf.common.util.EList;
10 import org.eclipse.emf.ecore.EObject;
11 import org.eclipse.emf.ecore.resource.Resource;
12
13 /**
14  * <!-- begin-user-doc -->
15  * A representation of the model object '<em><b>Resource Change</b></em>'.
16  * <!-- end-user-doc -->
17  *
18  * <p>
19  * The following features are supported:
20  * <ul>
21  * <li>{@link org.eclipse.emf.ecore.change.ResourceChange#getResourceURI <em>Resource URI</em>}</li>
22  * <li>{@link org.eclipse.emf.ecore.change.ResourceChange#getResource <em>Resource</em>}</li>
23  * <li>{@link org.eclipse.emf.ecore.change.ResourceChange#getValue <em>Value</em>}</li>
24  * <li>{@link org.eclipse.emf.ecore.change.ResourceChange#getListChanges <em>List Changes</em>}</li>
25  * </ul>
26  * </p>
27  *
28  * @see org.eclipse.emf.ecore.change.ChangePackage#getResourceChange()
29  * @model
30  * @generated
31  */

32 public interface ResourceChange extends EObject
33 {
34   /**
35    * Returns the value of the '<em><b>Resource URI</b></em>' attribute.
36    * <!-- begin-user-doc -->
37    * <p>
38    * If the meaning of the '<em>Resource URI</em>' attribute isn't clear,
39    * there really should be more of a description here...
40    * </p>
41    * <!-- end-user-doc -->
42    * @return the value of the '<em>Resource URI</em>' attribute.
43    * @see #setResourceURI(String)
44    * @see org.eclipse.emf.ecore.change.ChangePackage#getResourceChange_ResourceURI()
45    * @model
46    * @generated
47    */

48   String JavaDoc getResourceURI();
49
50   /**
51    * Sets the value of the '{@link org.eclipse.emf.ecore.change.ResourceChange#getResourceURI <em>Resource URI</em>}' attribute.
52    * <!-- begin-user-doc -->
53    * <!-- end-user-doc -->
54    * @param value the new value of the '<em>Resource URI</em>' attribute.
55    * @see #getResourceURI()
56    * @generated
57    */

58   void setResourceURI(String JavaDoc value);
59
60   /**
61    * Returns the value of the '<em><b>Resource</b></em>' attribute.
62    * <!-- begin-user-doc -->
63    * <p>
64    * If the meaning of the '<em>Resource</em>' attribute isn't clear,
65    * there really should be more of a description here...
66    * </p>
67    * <!-- end-user-doc -->
68    * @return the value of the '<em>Resource</em>' attribute.
69    * @see #setResource(Resource)
70    * @see org.eclipse.emf.ecore.change.ChangePackage#getResourceChange_Resource()
71    * @model transient="true" derived="true"
72    * @generated
73    */

74   Resource getResource();
75
76   /**
77    * Sets the value of the '{@link org.eclipse.emf.ecore.change.ResourceChange#getResource <em>Resource</em>}' attribute.
78    * <!-- begin-user-doc -->
79    * <!-- end-user-doc -->
80    * @param value the new value of the '<em>Resource</em>' attribute.
81    * @see #getResource()
82    * @generated
83    */

84   void setResource(Resource value);
85
86   /**
87    * Returns the value of the '<em><b>Value</b></em>' attribute.
88    * <!-- begin-user-doc -->
89    * <p>
90    * If the meaning of the '<em>Value</em>' attribute isn't clear,
91    * there really should be more of a description here...
92    * </p>
93    * <!-- end-user-doc -->
94    * @return the value of the '<em>Value</em>' attribute.
95    * @see org.eclipse.emf.ecore.change.ChangePackage#getResourceChange_Value()
96    * @model many="false" transient="true" changeable="false" volatile="true" derived="true"
97    * @generated
98    */

99   EList getValue();
100
101   /**
102    * Returns the value of the '<em><b>List Changes</b></em>' containment reference list.
103    * The list contents are of type {@link org.eclipse.emf.ecore.change.ListChange}.
104    * <!-- begin-user-doc -->
105    * <p>
106    * If the meaning of the '<em>List Changes</em>' containment reference list isn't clear,
107    * there really should be more of a description here...
108    * </p>
109    * <!-- end-user-doc -->
110    * @return the value of the '<em>List Changes</em>' containment reference list.
111    * @see org.eclipse.emf.ecore.change.ChangePackage#getResourceChange_ListChanges()
112    * @model type="org.eclipse.emf.ecore.change.ListChange" containment="true"
113    * @generated
114    */

115   EList getListChanges();
116
117   /**
118    * <!-- begin-user-doc -->
119    * <!-- end-user-doc -->
120    * @model
121    * @generated
122    */

123   void apply();
124
125   /**
126    * <!-- begin-user-doc -->
127    * <!-- end-user-doc -->
128    * @model
129    * @generated
130    */

131   void applyAndReverse();
132
133 } // ResourceChange
134
Popular Tags