summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsefftinge2008-03-13 07:37:06 (EDT)
committer sefftinge2008-03-13 07:37:06 (EDT)
commit799a7cd3858de67575e72f6c58a4d67ed601a5d7 (patch)
tree05e2ed2ab9d95e7b6affd31af67526cd6de1eb6d
parent61a9cf578d60d9b79d862d495554705536c05da7 (diff)
downloadorg.eclipse.xpand-799a7cd3858de67575e72f6c58a4d67ed601a5d7.zip
org.eclipse.xpand-799a7cd3858de67575e72f6c58a4d67ed601a5d7.tar.gz
org.eclipse.xpand-799a7cd3858de67575e72f6c58a4d67ed601a5d7.tar.bz2
uniqueID introduced
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/DeclaredStaticProperty.java29
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/DeclaredType.java56
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/Model.java19
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/StaticTypesystemPackage.java120
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/DeclaredStaticPropertyImpl.java69
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/DeclaredTypeImpl.java124
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/ModelImpl.java39
-rw-r--r--plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/StaticTypesystemPackageImpl.java46
8 files changed, 491 insertions, 11 deletions
diff --git a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/DeclaredStaticProperty.java b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/DeclaredStaticProperty.java
index ae922e0..aab30ae 100644
--- a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/DeclaredStaticProperty.java
+++ b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/DeclaredStaticProperty.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: DeclaredStaticProperty.java,v 1.4 2008/03/07 14:21:08 sefftinge Exp $
+ * $Id: DeclaredStaticProperty.java,v 1.5 2008/03/13 11:37:06 sefftinge Exp $
*/
package org.eclipse.xpand3.staticTypesystem;
@@ -16,6 +16,7 @@ package org.eclipse.xpand3.staticTypesystem;
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.xpand3.staticTypesystem.DeclaredStaticProperty#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.xpand3.staticTypesystem.DeclaredStaticProperty#isReadOnly <em>Read Only</em>}</li>
* </ul>
* </p>
*
@@ -50,4 +51,30 @@ public interface DeclaredStaticProperty extends AbstractNamedElement {
*/
void setType(Type value);
+ /**
+ * Returns the value of the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Read Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Read Only</em>' attribute.
+ * @see #setReadOnly(boolean)
+ * @see org.eclipse.xpand3.staticTypesystem.StaticTypesystemPackage#getDeclaredStaticProperty_ReadOnly()
+ * @model
+ * @generated
+ */
+ boolean isReadOnly();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.staticTypesystem.DeclaredStaticProperty#isReadOnly <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Read Only</em>' attribute.
+ * @see #isReadOnly()
+ * @generated
+ */
+ void setReadOnly(boolean value);
+
} // DeclaredStaticProperty
diff --git a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/DeclaredType.java b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/DeclaredType.java
index 1d59e02..e1b1852 100644
--- a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/DeclaredType.java
+++ b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/DeclaredType.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: DeclaredType.java,v 1.5 2008/03/07 14:21:08 sefftinge Exp $
+ * $Id: DeclaredType.java,v 1.6 2008/03/13 11:37:06 sefftinge Exp $
*/
package org.eclipse.xpand3.staticTypesystem;
@@ -22,6 +22,8 @@ import org.eclipse.xtend.backend.common.BackendType;
* <li>{@link org.eclipse.xpand3.staticTypesystem.DeclaredType#getProperties <em>Properties</em>}</li>
* <li>{@link org.eclipse.xpand3.staticTypesystem.DeclaredType#getDeclaredTypeParameters <em>Declared Type Parameters</em>}</li>
* <li>{@link org.eclipse.xpand3.staticTypesystem.DeclaredType#getSuperTypes <em>Super Types</em>}</li>
+ * <li>{@link org.eclipse.xpand3.staticTypesystem.DeclaredType#getUniqueID <em>Unique ID</em>}</li>
+ * <li>{@link org.eclipse.xpand3.staticTypesystem.DeclaredType#isIsAbstract <em>Is Abstract</em>}</li>
* </ul>
* </p>
*
@@ -94,4 +96,56 @@ public interface DeclaredType extends AbstractNamedElement {
*/
EList<AbstractTypeReference> getSuperTypes();
+ /**
+ * Returns the value of the '<em><b>Unique ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unique ID</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Unique ID</em>' attribute.
+ * @see #setUniqueID(String)
+ * @see org.eclipse.xpand3.staticTypesystem.StaticTypesystemPackage#getDeclaredType_UniqueID()
+ * @model
+ * @generated
+ */
+ String getUniqueID();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.staticTypesystem.DeclaredType#getUniqueID <em>Unique ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Unique ID</em>' attribute.
+ * @see #getUniqueID()
+ * @generated
+ */
+ void setUniqueID(String value);
+
+ /**
+ * Returns the value of the '<em><b>Is Abstract</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Abstract</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Abstract</em>' attribute.
+ * @see #setIsAbstract(boolean)
+ * @see org.eclipse.xpand3.staticTypesystem.StaticTypesystemPackage#getDeclaredType_IsAbstract()
+ * @model
+ * @generated
+ */
+ boolean isIsAbstract();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.xpand3.staticTypesystem.DeclaredType#isIsAbstract <em>Is Abstract</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Abstract</em>' attribute.
+ * @see #isIsAbstract()
+ * @generated
+ */
+ void setIsAbstract(boolean value);
+
} // DeclaredType
diff --git a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/Model.java b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/Model.java
index fd4c050..66ba7f7 100644
--- a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/Model.java
+++ b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/Model.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: Model.java,v 1.1 2008/03/07 14:21:08 sefftinge Exp $
+ * $Id: Model.java,v 1.2 2008/03/13 11:37:06 sefftinge Exp $
*/
package org.eclipse.xpand3.staticTypesystem;
@@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EObject;
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.xpand3.staticTypesystem.Model#getDeclarations <em>Declarations</em>}</li>
+ * <li>{@link org.eclipse.xpand3.staticTypesystem.Model#getFunctionDeclarations <em>Function Declarations</em>}</li>
* </ul>
* </p>
*
@@ -43,4 +44,20 @@ public interface Model extends EObject {
*/
EList<DeclaredType> getDeclarations();
+ /**
+ * Returns the value of the '<em><b>Function Declarations</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.xpand3.staticTypesystem.DeclaredFunction}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Function Declarations</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Function Declarations</em>' containment reference list.
+ * @see org.eclipse.xpand3.staticTypesystem.StaticTypesystemPackage#getModel_FunctionDeclarations()
+ * @model containment="true"
+ * @generated
+ */
+ EList<DeclaredFunction> getFunctionDeclarations();
+
} // Model
diff --git a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/StaticTypesystemPackage.java b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/StaticTypesystemPackage.java
index a9c1911..d405ee0 100644
--- a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/StaticTypesystemPackage.java
+++ b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/StaticTypesystemPackage.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: StaticTypesystemPackage.java,v 1.7 2008/03/07 14:21:08 sefftinge Exp $
+ * $Id: StaticTypesystemPackage.java,v 1.8 2008/03/13 11:37:06 sefftinge Exp $
*/
package org.eclipse.xpand3.staticTypesystem;
@@ -321,13 +321,31 @@ public interface StaticTypesystemPackage extends EPackage {
int DECLARED_TYPE__SUPER_TYPES = ABSTRACT_NAMED_ELEMENT_FEATURE_COUNT + 3;
/**
+ * The feature id for the '<em><b>Unique ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DECLARED_TYPE__UNIQUE_ID = ABSTRACT_NAMED_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Is Abstract</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DECLARED_TYPE__IS_ABSTRACT = ABSTRACT_NAMED_ELEMENT_FEATURE_COUNT + 5;
+
+ /**
* The number of structural features of the '<em>Declared Type</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int DECLARED_TYPE_FEATURE_COUNT = ABSTRACT_NAMED_ELEMENT_FEATURE_COUNT + 4;
+ int DECLARED_TYPE_FEATURE_COUNT = ABSTRACT_NAMED_ELEMENT_FEATURE_COUNT + 6;
/**
* The meta object id for the '{@link org.eclipse.xpand3.staticTypesystem.impl.DeclaredFunctionImpl <em>Declared Function</em>}' class.
@@ -459,13 +477,22 @@ public interface StaticTypesystemPackage extends EPackage {
int DECLARED_STATIC_PROPERTY__TYPE = ABSTRACT_NAMED_ELEMENT_FEATURE_COUNT + 0;
/**
+ * The feature id for the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DECLARED_STATIC_PROPERTY__READ_ONLY = ABSTRACT_NAMED_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
* The number of structural features of the '<em>Declared Static Property</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int DECLARED_STATIC_PROPERTY_FEATURE_COUNT = ABSTRACT_NAMED_ELEMENT_FEATURE_COUNT + 1;
+ int DECLARED_STATIC_PROPERTY_FEATURE_COUNT = ABSTRACT_NAMED_ELEMENT_FEATURE_COUNT + 2;
/**
* The meta object id for the '{@link org.eclipse.xpand3.staticTypesystem.impl.DeclaredTypeParameterImpl <em>Declared Type Parameter</em>}' class.
@@ -561,13 +588,22 @@ public interface StaticTypesystemPackage extends EPackage {
int MODEL__DECLARATIONS = 0;
/**
+ * The feature id for the '<em><b>Function Declarations</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MODEL__FUNCTION_DECLARATIONS = 1;
+
+ /**
* The number of structural features of the '<em>Model</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int MODEL_FEATURE_COUNT = 1;
+ int MODEL_FEATURE_COUNT = 2;
/**
* Returns the meta object for class '{@link org.eclipse.xpand3.staticTypesystem.AbstractNamedElement <em>Abstract Named Element</em>}'.
@@ -782,6 +818,28 @@ public interface StaticTypesystemPackage extends EPackage {
EReference getDeclaredType_SuperTypes();
/**
+ * Returns the meta object for the attribute '{@link org.eclipse.xpand3.staticTypesystem.DeclaredType#getUniqueID <em>Unique ID</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Unique ID</em>'.
+ * @see org.eclipse.xpand3.staticTypesystem.DeclaredType#getUniqueID()
+ * @see #getDeclaredType()
+ * @generated
+ */
+ EAttribute getDeclaredType_UniqueID();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.xpand3.staticTypesystem.DeclaredType#isIsAbstract <em>Is Abstract</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Abstract</em>'.
+ * @see org.eclipse.xpand3.staticTypesystem.DeclaredType#isIsAbstract()
+ * @see #getDeclaredType()
+ * @generated
+ */
+ EAttribute getDeclaredType_IsAbstract();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.staticTypesystem.DeclaredFunction <em>Declared Function</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -878,6 +936,17 @@ public interface StaticTypesystemPackage extends EPackage {
EReference getDeclaredStaticProperty_Type();
/**
+ * Returns the meta object for the attribute '{@link org.eclipse.xpand3.staticTypesystem.DeclaredStaticProperty#isReadOnly <em>Read Only</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Read Only</em>'.
+ * @see org.eclipse.xpand3.staticTypesystem.DeclaredStaticProperty#isReadOnly()
+ * @see #getDeclaredStaticProperty()
+ * @generated
+ */
+ EAttribute getDeclaredStaticProperty_ReadOnly();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.xpand3.staticTypesystem.DeclaredTypeParameter <em>Declared Type Parameter</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -941,6 +1010,17 @@ public interface StaticTypesystemPackage extends EPackage {
EReference getModel_Declarations();
/**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.xpand3.staticTypesystem.Model#getFunctionDeclarations <em>Function Declarations</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Function Declarations</em>'.
+ * @see org.eclipse.xpand3.staticTypesystem.Model#getFunctionDeclarations()
+ * @see #getModel()
+ * @generated
+ */
+ EReference getModel_FunctionDeclarations();
+
+ /**
* Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1139,6 +1219,22 @@ public interface StaticTypesystemPackage extends EPackage {
EReference DECLARED_TYPE__SUPER_TYPES = eINSTANCE.getDeclaredType_SuperTypes();
/**
+ * The meta object literal for the '<em><b>Unique ID</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DECLARED_TYPE__UNIQUE_ID = eINSTANCE.getDeclaredType_UniqueID();
+
+ /**
+ * The meta object literal for the '<em><b>Is Abstract</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DECLARED_TYPE__IS_ABSTRACT = eINSTANCE.getDeclaredType_IsAbstract();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.staticTypesystem.impl.DeclaredFunctionImpl <em>Declared Function</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1217,6 +1313,14 @@ public interface StaticTypesystemPackage extends EPackage {
EReference DECLARED_STATIC_PROPERTY__TYPE = eINSTANCE.getDeclaredStaticProperty_Type();
/**
+ * The meta object literal for the '<em><b>Read Only</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DECLARED_STATIC_PROPERTY__READ_ONLY = eINSTANCE.getDeclaredStaticProperty_ReadOnly();
+
+ /**
* The meta object literal for the '{@link org.eclipse.xpand3.staticTypesystem.impl.DeclaredTypeParameterImpl <em>Declared Type Parameter</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1270,6 +1374,14 @@ public interface StaticTypesystemPackage extends EPackage {
*/
EReference MODEL__DECLARATIONS = eINSTANCE.getModel_Declarations();
+ /**
+ * The meta object literal for the '<em><b>Function Declarations</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MODEL__FUNCTION_DECLARATIONS = eINSTANCE.getModel_FunctionDeclarations();
+
}
} //StaticTypesystemPackage
diff --git a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/DeclaredStaticPropertyImpl.java b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/DeclaredStaticPropertyImpl.java
index d9c31c1..1a03709 100644
--- a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/DeclaredStaticPropertyImpl.java
+++ b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/DeclaredStaticPropertyImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: DeclaredStaticPropertyImpl.java,v 1.4 2008/03/07 14:21:07 sefftinge Exp $
+ * $Id: DeclaredStaticPropertyImpl.java,v 1.5 2008/03/13 11:37:06 sefftinge Exp $
*/
package org.eclipse.xpand3.staticTypesystem.impl;
@@ -26,6 +26,7 @@ import org.eclipse.xpand3.staticTypesystem.Type;
* The following features are implemented:
* <ul>
* <li>{@link org.eclipse.xpand3.staticTypesystem.impl.DeclaredStaticPropertyImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.xpand3.staticTypesystem.impl.DeclaredStaticPropertyImpl#isReadOnly <em>Read Only</em>}</li>
* </ul>
* </p>
*
@@ -43,6 +44,25 @@ public class DeclaredStaticPropertyImpl extends AbstractNamedElementImpl impleme
protected Type type;
/**
+ * The default value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean READ_ONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean readOnly = READ_ONLY_EDEFAULT;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -109,6 +129,27 @@ public class DeclaredStaticPropertyImpl extends AbstractNamedElementImpl impleme
* <!-- end-user-doc -->
* @generated
*/
+ public boolean isReadOnly() {
+ return readOnly;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setReadOnly(boolean newReadOnly) {
+ boolean oldReadOnly = readOnly;
+ readOnly = newReadOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, StaticTypesystemPackage.DECLARED_STATIC_PROPERTY__READ_ONLY, oldReadOnly, readOnly));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
@@ -128,6 +169,8 @@ public class DeclaredStaticPropertyImpl extends AbstractNamedElementImpl impleme
switch (featureID) {
case StaticTypesystemPackage.DECLARED_STATIC_PROPERTY__TYPE:
return getType();
+ case StaticTypesystemPackage.DECLARED_STATIC_PROPERTY__READ_ONLY:
+ return isReadOnly() ? Boolean.TRUE : Boolean.FALSE;
}
return super.eGet(featureID, resolve, coreType);
}
@@ -143,6 +186,9 @@ public class DeclaredStaticPropertyImpl extends AbstractNamedElementImpl impleme
case StaticTypesystemPackage.DECLARED_STATIC_PROPERTY__TYPE:
setType((Type)newValue);
return;
+ case StaticTypesystemPackage.DECLARED_STATIC_PROPERTY__READ_ONLY:
+ setReadOnly(((Boolean)newValue).booleanValue());
+ return;
}
super.eSet(featureID, newValue);
}
@@ -158,6 +204,9 @@ public class DeclaredStaticPropertyImpl extends AbstractNamedElementImpl impleme
case StaticTypesystemPackage.DECLARED_STATIC_PROPERTY__TYPE:
setType((Type)null);
return;
+ case StaticTypesystemPackage.DECLARED_STATIC_PROPERTY__READ_ONLY:
+ setReadOnly(READ_ONLY_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -172,8 +221,26 @@ public class DeclaredStaticPropertyImpl extends AbstractNamedElementImpl impleme
switch (featureID) {
case StaticTypesystemPackage.DECLARED_STATIC_PROPERTY__TYPE:
return type != null;
+ case StaticTypesystemPackage.DECLARED_STATIC_PROPERTY__READ_ONLY:
+ return readOnly != READ_ONLY_EDEFAULT;
}
return super.eIsSet(featureID);
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (readOnly: ");
+ result.append(readOnly);
+ result.append(')');
+ return result.toString();
+ }
+
} //DeclaredStaticPropertyImpl
diff --git a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/DeclaredTypeImpl.java b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/DeclaredTypeImpl.java
index 9f42672..cb00bf3 100644
--- a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/DeclaredTypeImpl.java
+++ b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/DeclaredTypeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: DeclaredTypeImpl.java,v 1.5 2008/03/07 14:21:07 sefftinge Exp $
+ * $Id: DeclaredTypeImpl.java,v 1.6 2008/03/13 11:37:06 sefftinge Exp $
*/
package org.eclipse.xpand3.staticTypesystem.impl;
@@ -41,6 +41,8 @@ import org.eclipse.xtend.backend.common.BackendType;
* <li>{@link org.eclipse.xpand3.staticTypesystem.impl.DeclaredTypeImpl#getProperties <em>Properties</em>}</li>
* <li>{@link org.eclipse.xpand3.staticTypesystem.impl.DeclaredTypeImpl#getDeclaredTypeParameters <em>Declared Type Parameters</em>}</li>
* <li>{@link org.eclipse.xpand3.staticTypesystem.impl.DeclaredTypeImpl#getSuperTypes <em>Super Types</em>}</li>
+ * <li>{@link org.eclipse.xpand3.staticTypesystem.impl.DeclaredTypeImpl#getUniqueID <em>Unique ID</em>}</li>
+ * <li>{@link org.eclipse.xpand3.staticTypesystem.impl.DeclaredTypeImpl#isIsAbstract <em>Is Abstract</em>}</li>
* </ul>
* </p>
*
@@ -88,6 +90,46 @@ public class DeclaredTypeImpl extends AbstractNamedElementImpl implements Declar
protected EList<AbstractTypeReference> superTypes;
/**
+ * The default value of the '{@link #getUniqueID() <em>Unique ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUniqueID()
+ * @generated
+ * @ordered
+ */
+ protected static final String UNIQUE_ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getUniqueID() <em>Unique ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUniqueID()
+ * @generated
+ * @ordered
+ */
+ protected String uniqueID = UNIQUE_ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isIsAbstract() <em>Is Abstract</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsAbstract()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_ABSTRACT_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsAbstract() <em>Is Abstract</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsAbstract()
+ * @generated
+ * @ordered
+ */
+ protected boolean isAbstract = IS_ABSTRACT_EDEFAULT;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -159,6 +201,48 @@ public class DeclaredTypeImpl extends AbstractNamedElementImpl implements Declar
* <!-- end-user-doc -->
* @generated
*/
+ public String getUniqueID() {
+ return uniqueID;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUniqueID(String newUniqueID) {
+ String oldUniqueID = uniqueID;
+ uniqueID = newUniqueID;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, StaticTypesystemPackage.DECLARED_TYPE__UNIQUE_ID, oldUniqueID, uniqueID));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsAbstract() {
+ return isAbstract;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsAbstract(boolean newIsAbstract) {
+ boolean oldIsAbstract = isAbstract;
+ isAbstract = newIsAbstract;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, StaticTypesystemPackage.DECLARED_TYPE__IS_ABSTRACT, oldIsAbstract, isAbstract));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
@@ -190,6 +274,10 @@ public class DeclaredTypeImpl extends AbstractNamedElementImpl implements Declar
return getDeclaredTypeParameters();
case StaticTypesystemPackage.DECLARED_TYPE__SUPER_TYPES:
return getSuperTypes();
+ case StaticTypesystemPackage.DECLARED_TYPE__UNIQUE_ID:
+ return getUniqueID();
+ case StaticTypesystemPackage.DECLARED_TYPE__IS_ABSTRACT:
+ return isIsAbstract() ? Boolean.TRUE : Boolean.FALSE;
}
return super.eGet(featureID, resolve, coreType);
}
@@ -219,6 +307,12 @@ public class DeclaredTypeImpl extends AbstractNamedElementImpl implements Declar
getSuperTypes().clear();
getSuperTypes().addAll((Collection<? extends AbstractTypeReference>)newValue);
return;
+ case StaticTypesystemPackage.DECLARED_TYPE__UNIQUE_ID:
+ setUniqueID((String)newValue);
+ return;
+ case StaticTypesystemPackage.DECLARED_TYPE__IS_ABSTRACT:
+ setIsAbstract(((Boolean)newValue).booleanValue());
+ return;
}
super.eSet(featureID, newValue);
}
@@ -243,6 +337,12 @@ public class DeclaredTypeImpl extends AbstractNamedElementImpl implements Declar
case StaticTypesystemPackage.DECLARED_TYPE__SUPER_TYPES:
getSuperTypes().clear();
return;
+ case StaticTypesystemPackage.DECLARED_TYPE__UNIQUE_ID:
+ setUniqueID(UNIQUE_ID_EDEFAULT);
+ return;
+ case StaticTypesystemPackage.DECLARED_TYPE__IS_ABSTRACT:
+ setIsAbstract(IS_ABSTRACT_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -263,8 +363,30 @@ public class DeclaredTypeImpl extends AbstractNamedElementImpl implements Declar
return declaredTypeParameters != null && !declaredTypeParameters.isEmpty();
case StaticTypesystemPackage.DECLARED_TYPE__SUPER_TYPES:
return superTypes != null && !superTypes.isEmpty();
+ case StaticTypesystemPackage.DECLARED_TYPE__UNIQUE_ID:
+ return UNIQUE_ID_EDEFAULT == null ? uniqueID != null : !UNIQUE_ID_EDEFAULT.equals(uniqueID);
+ case StaticTypesystemPackage.DECLARED_TYPE__IS_ABSTRACT:
+ return isAbstract != IS_ABSTRACT_EDEFAULT;
}
return super.eIsSet(featureID);
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (uniqueID: ");
+ result.append(uniqueID);
+ result.append(", isAbstract: ");
+ result.append(isAbstract);
+ result.append(')');
+ return result.toString();
+ }
+
} //DeclaredTypeImpl
diff --git a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/ModelImpl.java b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/ModelImpl.java
index cd89eee..76b9c7b 100644
--- a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/ModelImpl.java
+++ b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/ModelImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ModelImpl.java,v 1.1 2008/03/07 14:21:07 sefftinge Exp $
+ * $Id: ModelImpl.java,v 1.2 2008/03/13 11:37:06 sefftinge Exp $
*/
package org.eclipse.xpand3.staticTypesystem.impl;
@@ -20,6 +20,7 @@ import org.eclipse.emf.ecore.impl.EObjectImpl;
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
+import org.eclipse.xpand3.staticTypesystem.DeclaredFunction;
import org.eclipse.xpand3.staticTypesystem.DeclaredType;
import org.eclipse.xpand3.staticTypesystem.Model;
import org.eclipse.xpand3.staticTypesystem.StaticTypesystemPackage;
@@ -32,6 +33,7 @@ import org.eclipse.xpand3.staticTypesystem.StaticTypesystemPackage;
* The following features are implemented:
* <ul>
* <li>{@link org.eclipse.xpand3.staticTypesystem.impl.ModelImpl#getDeclarations <em>Declarations</em>}</li>
+ * <li>{@link org.eclipse.xpand3.staticTypesystem.impl.ModelImpl#getFunctionDeclarations <em>Function Declarations</em>}</li>
* </ul>
* </p>
*
@@ -49,6 +51,16 @@ public class ModelImpl extends EObjectImpl implements Model {
protected EList<DeclaredType> declarations;
/**
+ * The cached value of the '{@link #getFunctionDeclarations() <em>Function Declarations</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFunctionDeclarations()
+ * @generated
+ * @ordered
+ */
+ protected EList<DeclaredFunction> functionDeclarations;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -84,11 +96,25 @@ public class ModelImpl extends EObjectImpl implements Model {
* <!-- end-user-doc -->
* @generated
*/
+ public EList<DeclaredFunction> getFunctionDeclarations() {
+ if (functionDeclarations == null) {
+ functionDeclarations = new EObjectContainmentEList<DeclaredFunction>(DeclaredFunction.class, this, StaticTypesystemPackage.MODEL__FUNCTION_DECLARATIONS);
+ }
+ return functionDeclarations;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case StaticTypesystemPackage.MODEL__DECLARATIONS:
return ((InternalEList<?>)getDeclarations()).basicRemove(otherEnd, msgs);
+ case StaticTypesystemPackage.MODEL__FUNCTION_DECLARATIONS:
+ return ((InternalEList<?>)getFunctionDeclarations()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -103,6 +129,8 @@ public class ModelImpl extends EObjectImpl implements Model {
switch (featureID) {
case StaticTypesystemPackage.MODEL__DECLARATIONS:
return getDeclarations();
+ case StaticTypesystemPackage.MODEL__FUNCTION_DECLARATIONS:
+ return getFunctionDeclarations();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -120,6 +148,10 @@ public class ModelImpl extends EObjectImpl implements Model {
getDeclarations().clear();
getDeclarations().addAll((Collection<? extends DeclaredType>)newValue);
return;
+ case StaticTypesystemPackage.MODEL__FUNCTION_DECLARATIONS:
+ getFunctionDeclarations().clear();
+ getFunctionDeclarations().addAll((Collection<? extends DeclaredFunction>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -135,6 +167,9 @@ public class ModelImpl extends EObjectImpl implements Model {
case StaticTypesystemPackage.MODEL__DECLARATIONS:
getDeclarations().clear();
return;
+ case StaticTypesystemPackage.MODEL__FUNCTION_DECLARATIONS:
+ getFunctionDeclarations().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -149,6 +184,8 @@ public class ModelImpl extends EObjectImpl implements Model {
switch (featureID) {
case StaticTypesystemPackage.MODEL__DECLARATIONS:
return declarations != null && !declarations.isEmpty();
+ case StaticTypesystemPackage.MODEL__FUNCTION_DECLARATIONS:
+ return functionDeclarations != null && !functionDeclarations.isEmpty();
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/StaticTypesystemPackageImpl.java b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/StaticTypesystemPackageImpl.java
index 2d959a8..18e4a12 100644
--- a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/StaticTypesystemPackageImpl.java
+++ b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/staticTypesystem/impl/StaticTypesystemPackageImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: StaticTypesystemPackageImpl.java,v 1.7 2008/03/07 14:21:07 sefftinge Exp $
+ * $Id: StaticTypesystemPackageImpl.java,v 1.8 2008/03/13 11:37:06 sefftinge Exp $
*/
package org.eclipse.xpand3.staticTypesystem.impl;
@@ -391,6 +391,24 @@ public class StaticTypesystemPackageImpl extends EPackageImpl implements StaticT
* <!-- end-user-doc -->
* @generated
*/
+ public EAttribute getDeclaredType_UniqueID() {
+ return (EAttribute)declaredTypeEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDeclaredType_IsAbstract() {
+ return (EAttribute)declaredTypeEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getDeclaredFunction() {
return declaredFunctionEClass;
}
@@ -472,6 +490,15 @@ public class StaticTypesystemPackageImpl extends EPackageImpl implements StaticT
* <!-- end-user-doc -->
* @generated
*/
+ public EAttribute getDeclaredStaticProperty_ReadOnly() {
+ return (EAttribute)declaredStaticPropertyEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getDeclaredTypeParameter() {
return declaredTypeParameterEClass;
}
@@ -526,6 +553,15 @@ public class StaticTypesystemPackageImpl extends EPackageImpl implements StaticT
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getModel_FunctionDeclarations() {
+ return (EReference)modelEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public StaticTypesystemFactory getStaticTypesystemFactory() {
return (StaticTypesystemFactory)getEFactoryInstance();
}
@@ -576,6 +612,8 @@ public class StaticTypesystemPackageImpl extends EPackageImpl implements StaticT
createEReference(declaredTypeEClass, DECLARED_TYPE__PROPERTIES);
createEReference(declaredTypeEClass, DECLARED_TYPE__DECLARED_TYPE_PARAMETERS);
createEReference(declaredTypeEClass, DECLARED_TYPE__SUPER_TYPES);
+ createEAttribute(declaredTypeEClass, DECLARED_TYPE__UNIQUE_ID);
+ createEAttribute(declaredTypeEClass, DECLARED_TYPE__IS_ABSTRACT);
declaredFunctionEClass = createEClass(DECLARED_FUNCTION);
createEReference(declaredFunctionEClass, DECLARED_FUNCTION__DECLARED_PARAMETERS);
@@ -588,6 +626,7 @@ public class StaticTypesystemPackageImpl extends EPackageImpl implements StaticT
declaredStaticPropertyEClass = createEClass(DECLARED_STATIC_PROPERTY);
createEReference(declaredStaticPropertyEClass, DECLARED_STATIC_PROPERTY__TYPE);
+ createEAttribute(declaredStaticPropertyEClass, DECLARED_STATIC_PROPERTY__READ_ONLY);
declaredTypeParameterEClass = createEClass(DECLARED_TYPE_PARAMETER);
createEReference(declaredTypeParameterEClass, DECLARED_TYPE_PARAMETER__UPPER_BOUNDS);
@@ -597,6 +636,7 @@ public class StaticTypesystemPackageImpl extends EPackageImpl implements StaticT
modelEClass = createEClass(MODEL);
createEReference(modelEClass, MODEL__DECLARATIONS);
+ createEReference(modelEClass, MODEL__FUNCTION_DECLARATIONS);
}
/**
@@ -667,6 +707,8 @@ public class StaticTypesystemPackageImpl extends EPackageImpl implements StaticT
initEReference(getDeclaredType_Properties(), this.getDeclaredProperty(), null, "properties", null, 0, -1, DeclaredType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getDeclaredType_DeclaredTypeParameters(), this.getDeclaredTypeParameter(), null, "declaredTypeParameters", null, 0, -1, DeclaredType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getDeclaredType_SuperTypes(), this.getAbstractTypeReference(), null, "superTypes", null, 0, -1, DeclaredType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDeclaredType_UniqueID(), ecorePackage.getEString(), "uniqueID", null, 0, 1, DeclaredType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDeclaredType_IsAbstract(), ecorePackage.getEBoolean(), "isAbstract", null, 0, 1, DeclaredType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(declaredFunctionEClass, DeclaredFunction.class, "DeclaredFunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getDeclaredFunction_DeclaredParameters(), this.getDeclaredParameter(), null, "declaredParameters", null, 0, -1, DeclaredFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -679,6 +721,7 @@ public class StaticTypesystemPackageImpl extends EPackageImpl implements StaticT
initEClass(declaredStaticPropertyEClass, DeclaredStaticProperty.class, "DeclaredStaticProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getDeclaredStaticProperty_Type(), this.getType(), null, "type", null, 1, 1, DeclaredStaticProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDeclaredStaticProperty_ReadOnly(), ecorePackage.getEBoolean(), "readOnly", null, 0, 1, DeclaredStaticProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(declaredTypeParameterEClass, DeclaredTypeParameter.class, "DeclaredTypeParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getDeclaredTypeParameter_UpperBounds(), this.getAbstractTypeReference(), null, "upperBounds", null, 0, -1, DeclaredTypeParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -688,6 +731,7 @@ public class StaticTypesystemPackageImpl extends EPackageImpl implements StaticT
initEClass(modelEClass, Model.class, "Model", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getModel_Declarations(), this.getDeclaredType(), null, "declarations", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getModel_FunctionDeclarations(), this.getDeclaredFunction(), null, "functionDeclarations", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Create resource
createResource(eNS_URI);