Skip to content

Package: ErrorFactory

ErrorFactory

nameinstructionbranchcomplexitylinemethod
static {...}
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%

Coverage

1: /**
2: * Copyright (c) 2011-2015 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Johannes Faltermeier - initial API and implementation
13: */
14: package org.eclipse.emfforms.spi.spreadsheet.core.error.model;
15:
16: import org.eclipse.emf.ecore.EFactory;
17: import org.eclipse.emf.ecore.EObject;
18: import org.eclipse.emf.ecore.EStructuralFeature;
19: import org.eclipse.emf.ecp.view.spi.model.VDomainModelReference;
20:
21: /**
22: * <!-- begin-user-doc -->
23: * The <b>Factory</b> for the model.
24: * It provides a create method for each non-abstract class of the model.
25: * <!-- end-user-doc -->
26: *
27: * @see org.eclipse.emfforms.spi.spreadsheet.core.error.model.ErrorPackage
28: * @generated
29: */
30: public interface ErrorFactory extends EFactory {
31:         /**
32:          * The singleton instance of the factory.
33:          * <!-- begin-user-doc -->
34:          * <!-- end-user-doc -->
35:          *
36:          * @generated
37:          */
38:         ErrorFactory eINSTANCE = org.eclipse.emfforms.spi.spreadsheet.core.error.model.impl.ErrorFactoryImpl.init();
39:
40:         /**
41:          * Returns a new object of class '<em>Spreadsheet Import Result</em>'.
42:          * <!-- begin-user-doc -->
43:          * <!-- end-user-doc -->
44:          *
45:          * @return a new object of class '<em>Spreadsheet Import Result</em>'.
46:          * @generated
47:          */
48:         SpreadsheetImportResult createSpreadsheetImportResult();
49:
50:         /**
51:          * Returns a new object of class '<em>Report</em>'.
52:          * <!-- begin-user-doc -->
53:          * <!-- end-user-doc -->
54:          *
55:          * @return a new object of class '<em>Report</em>'.
56:          * @generated
57:          */
58:         ErrorReport createErrorReport();
59:
60:         /**
61:          * Returns a new object of class '<em>EMF Location</em>'.
62:          * <!-- begin-user-doc -->
63:          * <!-- end-user-doc -->
64:          *
65:          * @return a new object of class '<em>EMF Location</em>'.
66:          * @generated
67:          */
68:         EMFLocation createEMFLocation();
69:
70:         /**
71:          * Creates a new {@link EMFLocation}.
72:          *
73:          * @param root the root EObject
74:          * @return the location
75:          */
76:         EMFLocation createEMFLocation(EObject root);
77:
78:         /**
79:          * Creates a new {@link EMFLocation}.
80:          *
81:          * @param root the root EObject
82:          * @param settingLocation the {@link SettingLocation}
83:          * @param dmrLocation the {@link DMRLocation}
84:          * @return the location
85:          */
86:         EMFLocation createEMFLocation(EObject root, SettingLocation settingLocation, DMRLocation dmrLocation);
87:
88:         /**
89:          * Creates a new {@link EMFLocation}.
90:          *
91:          * @param root the root EObject
92:          * @param dmrLocation the {@link DMRLocation}
93:          * @return the location
94:          */
95:         EMFLocation createEMFLocation(EObject root, DMRLocation dmrLocation);
96:
97:         /**
98:          * Creates a new {@link EMFLocation}.
99:          *
100:          * @param root the root EObject
101:          * @param settingLocation the {@link SettingLocation}
102:          * @return the location
103:          */
104:         EMFLocation createEMFLocation(EObject root, SettingLocation settingLocation);
105:
106:         /**
107:          * Returns a new object of class '<em>Setting Location</em>'.
108:          * <!-- begin-user-doc -->
109:          * <!-- end-user-doc -->
110:          *
111:          * @return a new object of class '<em>Setting Location</em>'.
112:          * @generated
113:          */
114:         SettingLocation createSettingLocation();
115:
116:         /**
117:          * Creates a new {@link SettingLocation}.
118:          *
119:          * @param eObject the EObject of the Setting
120:          * @param feature the Feature of the Setting
121:          * @return the location
122:          */
123:         SettingLocation createSettingLocation(EObject eObject, EStructuralFeature feature);
124:
125:         /**
126:          * Returns a new object of class '<em>DMR Location</em>'.
127:          * <!-- begin-user-doc -->
128:          * <!-- end-user-doc -->
129:          *
130:          * @return a new object of class '<em>DMR Location</em>'.
131:          * @generated
132:          */
133:         DMRLocation createDMRLocation();
134:
135:         /**
136:          * Returns a new object of class '<em>Setting To Sheet Mapping</em>'.
137:          * <!-- begin-user-doc -->
138:          * <!-- end-user-doc -->
139:          *
140:          * @return a new object of class '<em>Setting To Sheet Mapping</em>'.
141:          * @generated
142:          */
143:         SettingToSheetMapping createSettingToSheetMapping();
144:
145:         /**
146:          * Creates a SettingToSheetMapping based on the combination of the {@link SettingLocation} and the
147:          * {@link SheetLocation}.
148:          *
149:          * @param settingLocation The {@link SettingLocation}
150:          * @param sheetLocation The {@link SheetLocation}
151:          *
152:          * @return the created {@link SettingToSheetMapping}
153:          */
154:         SettingToSheetMapping createSettingToSheetMapping(SettingLocation settingLocation, SheetLocation sheetLocation);
155:
156:         /**
157:          * Creates a new {@link DMRLocation}.
158:          *
159:          * @param dmr the domain model reference
160:          * @return the location
161:          */
162:         DMRLocation createDMRLocation(VDomainModelReference dmr);
163:
164:         /**
165:          * Returns a new object of class '<em>Sheet Location</em>'.
166:          * <!-- begin-user-doc -->
167:          * <!-- end-user-doc -->
168:          *
169:          * @return a new object of class '<em>Sheet Location</em>'.
170:          * @generated
171:          */
172:         SheetLocation createSheetLocation();
173:
174:         /**
175:          * Creates a new object which identifies the affected cell in the spreadsheet.
176:          *
177:          * @param sheet the sheet id
178:          * @param column the column id
179:          * @param row the row id
180:          * @param columnName the column name
181:          * @return the {@link SheetLocation location}
182:          */
183:         SheetLocation createSheetLocation(String sheet, int column, int row, String columnName);
184:
185:         /**
186:          * Creates a new object which creates an invalid SheetLocation.
187:          *
188:          * @param columnName the column name
189:          * @return the {@link SheetLocation location}
190:          */
191:         SheetLocation createInvalidSheetLocation(String columnName);
192:
193:         /**
194:          * Returns the package supported by this factory.
195:          * <!-- begin-user-doc -->
196:          * <!-- end-user-doc -->
197:          *
198:          * @return the package supported by this factory.
199:          * @generated
200:          */
201:         ErrorPackage getErrorPackage();
202:
203: } // ErrorFactory