Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterNodeImpl.java')
-rw-r--r--plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterNodeImpl.java90
1 files changed, 45 insertions, 45 deletions
diff --git a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterNodeImpl.java b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterNodeImpl.java
index db60870e..7451ee59 100644
--- a/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterNodeImpl.java
+++ b/plugins/org.eclipse.xpand3.parser/emf-gen/org/eclipse/xpand3/internal/parser/xpand3node/impl/DeclaredParameterNodeImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: DeclaredParameterNodeImpl.java,v 1.4 2008/03/07 11:11:15 jkohnlein Exp $
+ * $Id: DeclaredParameterNodeImpl.java,v 1.5 2008/03/13 08:40:01 jkohnlein Exp $
*/
package org.eclipse.xpand3.internal.parser.xpand3node.impl;
@@ -27,8 +27,8 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DeclaredParameterNodeImpl#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DeclaredParameterNodeImpl#getPtype <em>Ptype</em>}</li>
+ * <li>{@link org.eclipse.xpand3.internal.parser.xpand3node.impl.DeclaredParameterNodeImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
*
@@ -36,24 +36,24 @@ import org.eclipse.xpand3.internal.parser.xpand3node.Xpand3nodePackage;
*/
public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements DeclaredParameterNode {
/**
- * The cached value of the '{@link #getName() <em>Name</em>}' reference.
+ * The cached value of the '{@link #getPtype() <em>Ptype</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getName()
+ * @see #getPtype()
* @generated
* @ordered
*/
- protected CompositeNode name;
+ protected CompositeNode ptype;
/**
- * The cached value of the '{@link #getPtype() <em>Ptype</em>}' reference.
+ * The cached value of the '{@link #getName() <em>Name</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getPtype()
+ * @see #getName()
* @generated
* @ordered
*/
- protected CompositeNode ptype;
+ protected CompositeNode name;
/**
* <!-- begin-user-doc -->
@@ -79,16 +79,16 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getName() {
- if (name != null && name.eIsProxy()) {
- InternalEObject oldName = (InternalEObject)name;
- name = (CompositeNode)eResolveProxy(oldName);
- if (name != oldName) {
+ public CompositeNode getPtype() {
+ if (ptype != null && ptype.eIsProxy()) {
+ InternalEObject oldPtype = (InternalEObject)ptype;
+ ptype = (CompositeNode)eResolveProxy(oldPtype);
+ if (ptype != oldPtype) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME, oldName, name));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.DECLARED_PARAMETER_NODE__PTYPE, oldPtype, ptype));
}
}
- return name;
+ return ptype;
}
/**
@@ -96,8 +96,8 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetName() {
- return name;
+ public CompositeNode basicGetPtype() {
+ return ptype;
}
/**
@@ -105,11 +105,11 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
* <!-- end-user-doc -->
* @generated
*/
- public void setName(CompositeNode newName) {
- CompositeNode oldName = name;
- name = newName;
+ public void setPtype(CompositeNode newPtype) {
+ CompositeNode oldPtype = ptype;
+ ptype = newPtype;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME, oldName, name));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.DECLARED_PARAMETER_NODE__PTYPE, oldPtype, ptype));
}
/**
@@ -117,16 +117,16 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode getPtype() {
- if (ptype != null && ptype.eIsProxy()) {
- InternalEObject oldPtype = (InternalEObject)ptype;
- ptype = (CompositeNode)eResolveProxy(oldPtype);
- if (ptype != oldPtype) {
+ public CompositeNode getName() {
+ if (name != null && name.eIsProxy()) {
+ InternalEObject oldName = (InternalEObject)name;
+ name = (CompositeNode)eResolveProxy(oldName);
+ if (name != oldName) {
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.DECLARED_PARAMETER_NODE__PTYPE, oldPtype, ptype));
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME, oldName, name));
}
}
- return ptype;
+ return name;
}
/**
@@ -134,8 +134,8 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
* <!-- end-user-doc -->
* @generated
*/
- public CompositeNode basicGetPtype() {
- return ptype;
+ public CompositeNode basicGetName() {
+ return name;
}
/**
@@ -143,11 +143,11 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
* <!-- end-user-doc -->
* @generated
*/
- public void setPtype(CompositeNode newPtype) {
- CompositeNode oldPtype = ptype;
- ptype = newPtype;
+ public void setName(CompositeNode newName) {
+ CompositeNode oldName = name;
+ name = newName;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.DECLARED_PARAMETER_NODE__PTYPE, oldPtype, ptype));
+ eNotify(new ENotificationImpl(this, Notification.SET, Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME, oldName, name));
}
/**
@@ -158,12 +158,12 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME:
- if (resolve) return getName();
- return basicGetName();
case Xpand3nodePackage.DECLARED_PARAMETER_NODE__PTYPE:
if (resolve) return getPtype();
return basicGetPtype();
+ case Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME:
+ if (resolve) return getName();
+ return basicGetName();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -176,12 +176,12 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME:
- setName((CompositeNode)newValue);
- return;
case Xpand3nodePackage.DECLARED_PARAMETER_NODE__PTYPE:
setPtype((CompositeNode)newValue);
return;
+ case Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME:
+ setName((CompositeNode)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -194,12 +194,12 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME:
- setName((CompositeNode)null);
- return;
case Xpand3nodePackage.DECLARED_PARAMETER_NODE__PTYPE:
setPtype((CompositeNode)null);
return;
+ case Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME:
+ setName((CompositeNode)null);
+ return;
}
super.eUnset(featureID);
}
@@ -212,10 +212,10 @@ public class DeclaredParameterNodeImpl extends CompositeNodeImpl implements Decl
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME:
- return name != null;
case Xpand3nodePackage.DECLARED_PARAMETER_NODE__PTYPE:
return ptype != null;
+ case Xpand3nodePackage.DECLARED_PARAMETER_NODE__NAME:
+ return name != null;
}
return super.eIsSet(featureID);
}

Back to the top