Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/alf09/src-gen/org/eclipse/papyrus/alf/alf/impl/BOOLEAN_LITERALImpl.java')
-rw-r--r--extraplugins/alf09/src-gen/org/eclipse/papyrus/alf/alf/impl/BOOLEAN_LITERALImpl.java181
1 files changed, 0 insertions, 181 deletions
diff --git a/extraplugins/alf09/src-gen/org/eclipse/papyrus/alf/alf/impl/BOOLEAN_LITERALImpl.java b/extraplugins/alf09/src-gen/org/eclipse/papyrus/alf/alf/impl/BOOLEAN_LITERALImpl.java
deleted file mode 100644
index 51e05dc169b..00000000000
--- a/extraplugins/alf09/src-gen/org/eclipse/papyrus/alf/alf/impl/BOOLEAN_LITERALImpl.java
+++ /dev/null
@@ -1,181 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.alf.alf.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.alf.alf.AlfPackage;
-import org.eclipse.papyrus.alf.alf.BOOLEAN_LITERAL;
-import org.eclipse.papyrus.alf.alf.BooleanValue;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>BOOLEAN LITERAL</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.alf.alf.impl.BOOLEAN_LITERALImpl#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class BOOLEAN_LITERALImpl extends LITERALImpl implements BOOLEAN_LITERAL
-{
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final BooleanValue VALUE_EDEFAULT = BooleanValue.TRUE;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected BooleanValue value = VALUE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected BOOLEAN_LITERALImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return AlfPackage.Literals.BOOLEAN_LITERAL;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BooleanValue getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValue(BooleanValue newValue)
- {
- BooleanValue oldValue = value;
- value = newValue == null ? VALUE_EDEFAULT : newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AlfPackage.BOOLEAN_LITERAL__VALUE, oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case AlfPackage.BOOLEAN_LITERAL__VALUE:
- return getValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case AlfPackage.BOOLEAN_LITERAL__VALUE:
- setValue((BooleanValue)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case AlfPackage.BOOLEAN_LITERAL__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case AlfPackage.BOOLEAN_LITERAL__VALUE:
- return value != VALUE_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(" (value: ");
- result.append(value);
- result.append(')');
- return result.toString();
- }
-
-} //BOOLEAN_LITERALImpl

Back to the top