|
Lines 1-7
Link Here
|
| 1 |
/** |
1 |
/** |
| 2 |
* <copyright> |
2 |
* <copyright> |
| 3 |
* |
3 |
* |
| 4 |
* Copyright (c) 2002-2007 IBM Corporation and others. |
4 |
* Copyright (c) 2002-2008 IBM Corporation, Zeligsoft Inc., and others. |
| 5 |
* All rights reserved. This program and the accompanying materials |
5 |
* All rights reserved. This program and the accompanying materials |
| 6 |
* are made available under the terms of the Eclipse Public License v1.0 |
6 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 7 |
* which accompanies this distribution, and is available at |
7 |
* which accompanies this distribution, and is available at |
|
Lines 9-14
Link Here
|
| 9 |
* |
9 |
* |
| 10 |
* Contributors: |
10 |
* Contributors: |
| 11 |
* IBM - Initial API and implementation |
11 |
* IBM - Initial API and implementation |
|
|
12 |
* Zeligsoft - 255469 Implement basic eCall support |
| 12 |
* |
13 |
* |
| 13 |
* </copyright> |
14 |
* </copyright> |
| 14 |
* |
15 |
* |
|
Lines 17-22
Link Here
|
| 17 |
package org.eclipse.emf.ecore.impl; |
18 |
package org.eclipse.emf.ecore.impl; |
| 18 |
|
19 |
|
| 19 |
|
20 |
|
|
|
21 |
import java.lang.reflect.InvocationTargetException; |
| 20 |
import java.math.BigDecimal; |
22 |
import java.math.BigDecimal; |
| 21 |
import java.math.BigInteger; |
23 |
import java.math.BigInteger; |
| 22 |
import java.util.ArrayList; |
24 |
import java.util.ArrayList; |
|
Lines 410-415
Link Here
|
| 410 |
* <!-- end-user-doc --> |
412 |
* <!-- end-user-doc --> |
| 411 |
* @generated |
413 |
* @generated |
| 412 |
*/ |
414 |
*/ |
|
|
415 |
private EDataType eInvocationTargetExceptionEDataType = null; |
| 416 |
|
| 417 |
/** |
| 418 |
* <!-- begin-user-doc --> |
| 419 |
* <!-- end-user-doc --> |
| 420 |
* @generated |
| 421 |
*/ |
| 413 |
private EDataType eFeatureMapEntryEDataType = null; |
422 |
private EDataType eFeatureMapEntryEDataType = null; |
| 414 |
|
423 |
|
| 415 |
/** |
424 |
/** |
|
Lines 1828-1833
Link Here
|
| 1828 |
* <!-- end-user-doc --> |
1837 |
* <!-- end-user-doc --> |
| 1829 |
* @generated |
1838 |
* @generated |
| 1830 |
*/ |
1839 |
*/ |
|
|
1840 |
public EDataType getEInvocationTargetException() |
| 1841 |
{ |
| 1842 |
return eInvocationTargetExceptionEDataType; |
| 1843 |
} |
| 1844 |
|
| 1845 |
/** |
| 1846 |
* <!-- begin-user-doc --> |
| 1847 |
* <!-- end-user-doc --> |
| 1848 |
* @generated |
| 1849 |
*/ |
| 1831 |
public EDataType getEFeatureMapEntry() |
1850 |
public EDataType getEFeatureMapEntry() |
| 1832 |
{ |
1851 |
{ |
| 1833 |
return eFeatureMapEntryEDataType; |
1852 |
return eFeatureMapEntryEDataType; |
|
Lines 2067-2072
Link Here
|
| 2067 |
eShortObjectEDataType = createEDataType(ESHORT_OBJECT); |
2086 |
eShortObjectEDataType = createEDataType(ESHORT_OBJECT); |
| 2068 |
eStringEDataType = createEDataType(ESTRING); |
2087 |
eStringEDataType = createEDataType(ESTRING); |
| 2069 |
eTreeIteratorEDataType = createEDataType(ETREE_ITERATOR); |
2088 |
eTreeIteratorEDataType = createEDataType(ETREE_ITERATOR); |
|
|
2089 |
eInvocationTargetExceptionEDataType = createEDataType(EINVOCATION_TARGET_EXCEPTION); |
| 2070 |
} |
2090 |
} |
| 2071 |
|
2091 |
|
| 2072 |
/** |
2092 |
/** |
|
Lines 2275-2280
Link Here
|
| 2275 |
op = addEOperation(eObjectEClass, null, "eUnset", 0, 1, IS_UNIQUE, IS_ORDERED); |
2295 |
op = addEOperation(eObjectEClass, null, "eUnset", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 2276 |
addEParameter(op, this.getEStructuralFeature(), "feature", 0, 1, IS_UNIQUE, IS_ORDERED); |
2296 |
addEParameter(op, this.getEStructuralFeature(), "feature", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 2277 |
|
2297 |
|
|
|
2298 |
op = addEOperation(eObjectEClass, this.getEJavaObject(), "eCall", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 2299 |
addEParameter(op, this.getEOperation(), "operation", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 2300 |
g1 = createEGenericType(ecorePackage.getEEList()); |
| 2301 |
g2 = createEGenericType(); |
| 2302 |
g1.getETypeArguments().add(g2); |
| 2303 |
addEParameter(op, g1, "arguments", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 2304 |
addEException(op, this.getEInvocationTargetException()); |
| 2305 |
|
| 2278 |
initEClass(eOperationEClass, EOperation.class, "EOperation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
2306 |
initEClass(eOperationEClass, EOperation.class, "EOperation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 2279 |
initEReference(getEOperation_EContainingClass(), this.getEClass(), this.getEClass_EOperations(), "eContainingClass", null, 0, 1, EOperation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
2307 |
initEReference(getEOperation_EContainingClass(), this.getEClass(), this.getEClass_EOperations(), "eContainingClass", null, 0, 1, EOperation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 2280 |
initEReference(getEOperation_ETypeParameters(), this.getETypeParameter(), null, "eTypeParameters", null, 0, -1, EOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
2308 |
initEReference(getEOperation_ETypeParameters(), this.getETypeParameter(), null, "eTypeParameters", null, 0, -1, EOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
|
Lines 2380-2385
Link Here
|
| 2380 |
initEDataType(eShortObjectEDataType, Short.class, "EShortObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); |
2408 |
initEDataType(eShortObjectEDataType, Short.class, "EShortObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); |
| 2381 |
initEDataType(eStringEDataType, String.class, "EString", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); |
2409 |
initEDataType(eStringEDataType, String.class, "EString", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); |
| 2382 |
initEDataType(eTreeIteratorEDataType, TreeIterator.class, "ETreeIterator", !IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); |
2410 |
initEDataType(eTreeIteratorEDataType, TreeIterator.class, "ETreeIterator", !IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); |
|
|
2411 |
initEDataType(eInvocationTargetExceptionEDataType, InvocationTargetException.class, "EInvocationTargetException", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); |
| 2383 |
|
2412 |
|
| 2384 |
// Create resource |
2413 |
// Create resource |
| 2385 |
createResource(eNS_URI); |
2414 |
createResource(eNS_URI); |