![JAR search and dependency download from the Maven repository](/logo.png)
org.nasdanika.models.functionflow.impl.PublisherImpl Maven / Gradle / Ivy
/**
*/
package org.nasdanika.models.functionflow.impl;
import org.eclipse.emf.ecore.EClass;
import org.nasdanika.models.functionflow.FunctionFlowPackage;
import org.nasdanika.models.functionflow.Publisher;
/**
*
* An implementation of the model object 'Publisher'.
*
*
* The following features are implemented:
*
*
* - {@link org.nasdanika.models.functionflow.impl.PublisherImpl#getCondition Condition}
*
*
* @generated
*/
public class PublisherImpl extends ConsumerImpl implements Publisher {
/**
* The default value of the '{@link #getCondition() Condition}' attribute.
*
*
* @see #getCondition()
* @generated
* @ordered
*/
protected static final String CONDITION_EDEFAULT = null;
/**
*
*
* @generated
*/
protected PublisherImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return FunctionFlowPackage.Literals.PUBLISHER;
}
/**
*
*
* @generated
*/
@Override
public String getCondition() {
return (String)eDynamicGet(FunctionFlowPackage.PUBLISHER__CONDITION, FunctionFlowPackage.Literals.PUBLISHER__CONDITION, true, true);
}
/**
*
*
* @generated
*/
@Override
public void setCondition(String newCondition) {
eDynamicSet(FunctionFlowPackage.PUBLISHER__CONDITION, FunctionFlowPackage.Literals.PUBLISHER__CONDITION, newCondition);
}
/**
*
*
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case FunctionFlowPackage.PUBLISHER__CONDITION:
return getCondition();
}
return super.eGet(featureID, resolve, coreType);
}
/**
*
*
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case FunctionFlowPackage.PUBLISHER__CONDITION:
setCondition((String)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
*
*
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case FunctionFlowPackage.PUBLISHER__CONDITION:
setCondition(CONDITION_EDEFAULT);
return;
}
super.eUnset(featureID);
}
/**
*
*
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case FunctionFlowPackage.PUBLISHER__CONDITION:
return CONDITION_EDEFAULT == null ? getCondition() != null : !CONDITION_EDEFAULT.equals(getCondition());
}
return super.eIsSet(featureID);
}
} //PublisherImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy