All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nasdanika.models.functionflow.impl.SubscriberImpl Maven / Gradle / Ivy

The newest version!
/**
 */
package org.nasdanika.models.functionflow.impl;

import org.eclipse.emf.ecore.EClass;

import org.nasdanika.models.functionflow.FunctionFlowPackage;
import org.nasdanika.models.functionflow.Subscriber;

/**
 * 
 * An implementation of the model object 'Subscriber'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.nasdanika.models.functionflow.impl.SubscriberImpl#getCondition Condition}
  • *
* * @generated */ public class SubscriberImpl extends SupplierImpl implements Subscriber { /** * The default value of the '{@link #getCondition() Condition}' attribute. * * * @see #getCondition() * @generated * @ordered */ protected static final String CONDITION_EDEFAULT = null; /** * * * @generated */ protected SubscriberImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return FunctionFlowPackage.Literals.SUBSCRIBER; } /** * * * @generated */ @Override public String getCondition() { return (String)eDynamicGet(FunctionFlowPackage.SUBSCRIBER__CONDITION, FunctionFlowPackage.Literals.SUBSCRIBER__CONDITION, true, true); } /** * * * @generated */ @Override public void setCondition(String newCondition) { eDynamicSet(FunctionFlowPackage.SUBSCRIBER__CONDITION, FunctionFlowPackage.Literals.SUBSCRIBER__CONDITION, newCondition); } /** * * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case FunctionFlowPackage.SUBSCRIBER__CONDITION: return getCondition(); } return super.eGet(featureID, resolve, coreType); } /** * * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case FunctionFlowPackage.SUBSCRIBER__CONDITION: setCondition((String)newValue); return; } super.eSet(featureID, newValue); } /** * * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case FunctionFlowPackage.SUBSCRIBER__CONDITION: setCondition(CONDITION_EDEFAULT); return; } super.eUnset(featureID); } /** * * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case FunctionFlowPackage.SUBSCRIBER__CONDITION: return CONDITION_EDEFAULT == null ? getCondition() != null : !CONDITION_EDEFAULT.equals(getCondition()); } return super.eIsSet(featureID); } } //SubscriberImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy