KickJava   Java API By Example, From Geeks To Geeks.

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


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2003-2004 IBM Corporation and others.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * IBM - Initial API and implementation
12  *
13  * </copyright>
14  *
15  * $Id: ChangeFactory.java,v 1.3 2005/06/08 06:16:16 nickb Exp $
16  */

17 package org.eclipse.emf.ecore.change;
18
19
20 import java.util.Map JavaDoc;
21
22 import org.eclipse.emf.common.util.EList;
23 import org.eclipse.emf.ecore.EFactory;
24 import org.eclipse.emf.ecore.EObject;
25 import org.eclipse.emf.ecore.EStructuralFeature;
26 import org.eclipse.emf.ecore.resource.Resource;
27
28
29 /**
30  * <!-- begin-user-doc -->
31  * The <b>Factory</b> for the model.
32  * It provides a create method for each non-abstract class of the model.
33  * <!-- end-user-doc -->
34  * @see org.eclipse.emf.ecore.change.ChangePackage
35  * @generated
36  */

37 public interface ChangeFactory extends EFactory
38 {
39   /**
40    * The singleton instance of the factory.
41    * <!-- begin-user-doc -->
42    * <!-- end-user-doc -->
43    * @generated
44    */

45   ChangeFactory eINSTANCE = new org.eclipse.emf.ecore.change.impl.ChangeFactoryImpl();
46
47   /**
48    * Returns a new object of class '<em>Description</em>'.
49    * <!-- begin-user-doc -->
50    * <!-- end-user-doc -->
51    * @return a new object of class '<em>Description</em>'.
52    * @generated
53    */

54   ChangeDescription createChangeDescription();
55
56   /**
57    * Returns a new object of class '<em>Feature Change</em>'.
58    * <!-- begin-user-doc -->
59    * <!-- end-user-doc -->
60    * @return a new object of class '<em>Feature Change</em>'.
61    * @generated
62    */

63   FeatureChange createFeatureChange();
64
65   FeatureChange createFeatureChange(EStructuralFeature feature, Object JavaDoc oldValue, boolean oldIsSet);
66
67   /**
68    * Returns a new object of class '<em>List Change</em>'.
69    * <!-- begin-user-doc -->
70    * <!-- end-user-doc -->
71    * @return a new object of class '<em>List Change</em>'.
72    * @generated
73    */

74   ListChange createListChange();
75
76   /**
77    * Returns a new object of class '<em>Resource Change</em>'.
78    * <!-- begin-user-doc -->
79    * <!-- end-user-doc -->
80    * @return a new object of class '<em>Resource Change</em>'.
81    * @generated
82    */

83   ResourceChange createResourceChange();
84
85   ResourceChange createResourceChange(Resource resource, EList oldValue);
86
87   /**
88    * Returns a new object of class '<em>Feature Map Entry</em>'.
89    * <!-- begin-user-doc -->
90    * <!-- end-user-doc -->
91    * @return a new object of class '<em>Feature Map Entry</em>'.
92    * @generated
93    */

94   FeatureMapEntry createFeatureMapEntry();
95
96   FeatureMapEntry createFeatureMapEntry(EStructuralFeature feature, Object JavaDoc value);
97
98   /**
99    * Returns the package supported by this factory.
100    * <!-- begin-user-doc -->
101    * <!-- end-user-doc -->
102    * @return the package supported by this factory.
103    * @generated
104    */

105   ChangePackage getChangePackage();
106
107   Map.Entry JavaDoc createEObjectToChangesMapEntry(EObject eObject);
108
109 } //ChangeFactory
110
Popular Tags