/** | |
* <copyright> | |
* </copyright> | |
* | |
* $Id$ | |
*/ | |
package org.eclipse.stem.diseasemodels.vector.impl; | |
import org.eclipse.emf.common.notify.Notification; | |
import org.eclipse.emf.ecore.EClass; | |
import org.eclipse.emf.ecore.impl.ENotificationImpl; | |
import org.eclipse.stem.core.model.STEMTime; | |
import org.eclipse.stem.diseasemodels.standard.DiseaseModelLabel; | |
import org.eclipse.stem.diseasemodels.standard.DiseaseModelLabelValue; | |
import org.eclipse.stem.diseasemodels.standard.Infector; | |
import org.eclipse.stem.diseasemodels.standard.StandardDiseaseModelLabel; | |
import org.eclipse.stem.diseasemodels.standard.StandardDiseaseModelLabelValue; | |
import org.eclipse.stem.diseasemodels.vector.SimpleDengueModel; | |
import org.eclipse.stem.diseasemodels.vector.VectorFactory; | |
import org.eclipse.stem.diseasemodels.vector.VectorPackage; | |
/** | |
* <!-- begin-user-doc --> | |
* An implementation of the model object '<em><b>Simple Dengue Model</b></em>'. | |
* <!-- end-user-doc --> | |
* <p> | |
* The following features are implemented: | |
* <ul> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getBitingRate <em>Biting Rate</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getHostInfectivity1 <em>Host Infectivity1</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getHostInfectivity2 <em>Host Infectivity2</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getHostInfectivity3 <em>Host Infectivity3</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getHostInfectivity4 <em>Host Infectivity4</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getHostPrimaryIncubationRate <em>Host Primary Incubation Rate</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getHostPrimaryRecoveryRate <em>Host Primary Recovery Rate</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getHostPrimaryImmunityLossRate <em>Host Primary Immunity Loss Rate</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getHostPrimaryDeathRate <em>Host Primary Death Rate</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getHostADE1 <em>Host ADE1</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getHostADE2 <em>Host ADE2</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getHostADE3 <em>Host ADE3</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getHostADE4 <em>Host ADE4</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getHostSecondaryIncubationRate <em>Host Secondary Incubation Rate</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getHostSecondaryRecoveryRate <em>Host Secondary Recovery Rate</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getHostSecondaryDeathRate <em>Host Secondary Death Rate</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getVectorInfectivity1 <em>Vector Infectivity1</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getVectorInfectivity2 <em>Vector Infectivity2</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getVectorInfectivity3 <em>Vector Infectivity3</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getVectorInfectivity4 <em>Vector Infectivity4</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getVectorADE1 <em>Vector ADE1</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getVectorADE2 <em>Vector ADE2</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getVectorADE3 <em>Vector ADE3</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getVectorADE4 <em>Vector ADE4</em>}</li> | |
* <li>{@link org.eclipse.stem.diseasemodels.vector.impl.SimpleDengueModelImpl#getVectorIncubationRate <em>Vector Incubation Rate</em>}</li> | |
* </ul> | |
* </p> | |
* | |
* @generated | |
*/ | |
public class SimpleDengueModelImpl extends VectorDiseaseModelImpl implements SimpleDengueModel { | |
/** | |
* The default value of the '{@link #getBitingRate() <em>Biting Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getBitingRate() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double BITING_RATE_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getBitingRate() <em>Biting Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getBitingRate() | |
* @generated | |
* @ordered | |
*/ | |
protected double bitingRate = BITING_RATE_EDEFAULT; | |
/** | |
* The default value of the '{@link #getHostInfectivity1() <em>Host Infectivity1</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostInfectivity1() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double HOST_INFECTIVITY1_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getHostInfectivity1() <em>Host Infectivity1</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostInfectivity1() | |
* @generated | |
* @ordered | |
*/ | |
protected double hostInfectivity1 = HOST_INFECTIVITY1_EDEFAULT; | |
/** | |
* The default value of the '{@link #getHostInfectivity2() <em>Host Infectivity2</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostInfectivity2() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double HOST_INFECTIVITY2_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getHostInfectivity2() <em>Host Infectivity2</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostInfectivity2() | |
* @generated | |
* @ordered | |
*/ | |
protected double hostInfectivity2 = HOST_INFECTIVITY2_EDEFAULT; | |
/** | |
* The default value of the '{@link #getHostInfectivity3() <em>Host Infectivity3</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostInfectivity3() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double HOST_INFECTIVITY3_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getHostInfectivity3() <em>Host Infectivity3</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostInfectivity3() | |
* @generated | |
* @ordered | |
*/ | |
protected double hostInfectivity3 = HOST_INFECTIVITY3_EDEFAULT; | |
/** | |
* The default value of the '{@link #getHostInfectivity4() <em>Host Infectivity4</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostInfectivity4() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double HOST_INFECTIVITY4_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getHostInfectivity4() <em>Host Infectivity4</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostInfectivity4() | |
* @generated | |
* @ordered | |
*/ | |
protected double hostInfectivity4 = HOST_INFECTIVITY4_EDEFAULT; | |
/** | |
* The default value of the '{@link #getHostPrimaryIncubationRate() <em>Host Primary Incubation Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostPrimaryIncubationRate() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double HOST_PRIMARY_INCUBATION_RATE_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getHostPrimaryIncubationRate() <em>Host Primary Incubation Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostPrimaryIncubationRate() | |
* @generated | |
* @ordered | |
*/ | |
protected double hostPrimaryIncubationRate = HOST_PRIMARY_INCUBATION_RATE_EDEFAULT; | |
/** | |
* The default value of the '{@link #getHostPrimaryRecoveryRate() <em>Host Primary Recovery Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostPrimaryRecoveryRate() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double HOST_PRIMARY_RECOVERY_RATE_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getHostPrimaryRecoveryRate() <em>Host Primary Recovery Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostPrimaryRecoveryRate() | |
* @generated | |
* @ordered | |
*/ | |
protected double hostPrimaryRecoveryRate = HOST_PRIMARY_RECOVERY_RATE_EDEFAULT; | |
/** | |
* The default value of the '{@link #getHostPrimaryImmunityLossRate() <em>Host Primary Immunity Loss Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostPrimaryImmunityLossRate() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double HOST_PRIMARY_IMMUNITY_LOSS_RATE_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getHostPrimaryImmunityLossRate() <em>Host Primary Immunity Loss Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostPrimaryImmunityLossRate() | |
* @generated | |
* @ordered | |
*/ | |
protected double hostPrimaryImmunityLossRate = HOST_PRIMARY_IMMUNITY_LOSS_RATE_EDEFAULT; | |
/** | |
* The default value of the '{@link #getHostPrimaryDeathRate() <em>Host Primary Death Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostPrimaryDeathRate() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double HOST_PRIMARY_DEATH_RATE_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getHostPrimaryDeathRate() <em>Host Primary Death Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostPrimaryDeathRate() | |
* @generated | |
* @ordered | |
*/ | |
protected double hostPrimaryDeathRate = HOST_PRIMARY_DEATH_RATE_EDEFAULT; | |
/** | |
* The default value of the '{@link #getHostADE1() <em>Host ADE1</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostADE1() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double HOST_ADE1_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getHostADE1() <em>Host ADE1</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostADE1() | |
* @generated | |
* @ordered | |
*/ | |
protected double hostADE1 = HOST_ADE1_EDEFAULT; | |
/** | |
* The default value of the '{@link #getHostADE2() <em>Host ADE2</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostADE2() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double HOST_ADE2_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getHostADE2() <em>Host ADE2</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostADE2() | |
* @generated | |
* @ordered | |
*/ | |
protected double hostADE2 = HOST_ADE2_EDEFAULT; | |
/** | |
* The default value of the '{@link #getHostADE3() <em>Host ADE3</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostADE3() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double HOST_ADE3_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getHostADE3() <em>Host ADE3</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostADE3() | |
* @generated | |
* @ordered | |
*/ | |
protected double hostADE3 = HOST_ADE3_EDEFAULT; | |
/** | |
* The default value of the '{@link #getHostADE4() <em>Host ADE4</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostADE4() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double HOST_ADE4_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getHostADE4() <em>Host ADE4</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostADE4() | |
* @generated | |
* @ordered | |
*/ | |
protected double hostADE4 = HOST_ADE4_EDEFAULT; | |
/** | |
* The default value of the '{@link #getHostSecondaryIncubationRate() <em>Host Secondary Incubation Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostSecondaryIncubationRate() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double HOST_SECONDARY_INCUBATION_RATE_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getHostSecondaryIncubationRate() <em>Host Secondary Incubation Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostSecondaryIncubationRate() | |
* @generated | |
* @ordered | |
*/ | |
protected double hostSecondaryIncubationRate = HOST_SECONDARY_INCUBATION_RATE_EDEFAULT; | |
/** | |
* The default value of the '{@link #getHostSecondaryRecoveryRate() <em>Host Secondary Recovery Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostSecondaryRecoveryRate() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double HOST_SECONDARY_RECOVERY_RATE_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getHostSecondaryRecoveryRate() <em>Host Secondary Recovery Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostSecondaryRecoveryRate() | |
* @generated | |
* @ordered | |
*/ | |
protected double hostSecondaryRecoveryRate = HOST_SECONDARY_RECOVERY_RATE_EDEFAULT; | |
/** | |
* The default value of the '{@link #getHostSecondaryDeathRate() <em>Host Secondary Death Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostSecondaryDeathRate() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double HOST_SECONDARY_DEATH_RATE_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getHostSecondaryDeathRate() <em>Host Secondary Death Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getHostSecondaryDeathRate() | |
* @generated | |
* @ordered | |
*/ | |
protected double hostSecondaryDeathRate = HOST_SECONDARY_DEATH_RATE_EDEFAULT; | |
/** | |
* The default value of the '{@link #getVectorInfectivity1() <em>Vector Infectivity1</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorInfectivity1() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double VECTOR_INFECTIVITY1_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getVectorInfectivity1() <em>Vector Infectivity1</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorInfectivity1() | |
* @generated | |
* @ordered | |
*/ | |
protected double vectorInfectivity1 = VECTOR_INFECTIVITY1_EDEFAULT; | |
/** | |
* The default value of the '{@link #getVectorInfectivity2() <em>Vector Infectivity2</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorInfectivity2() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double VECTOR_INFECTIVITY2_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getVectorInfectivity2() <em>Vector Infectivity2</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorInfectivity2() | |
* @generated | |
* @ordered | |
*/ | |
protected double vectorInfectivity2 = VECTOR_INFECTIVITY2_EDEFAULT; | |
/** | |
* The default value of the '{@link #getVectorInfectivity3() <em>Vector Infectivity3</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorInfectivity3() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double VECTOR_INFECTIVITY3_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getVectorInfectivity3() <em>Vector Infectivity3</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorInfectivity3() | |
* @generated | |
* @ordered | |
*/ | |
protected double vectorInfectivity3 = VECTOR_INFECTIVITY3_EDEFAULT; | |
/** | |
* The default value of the '{@link #getVectorInfectivity4() <em>Vector Infectivity4</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorInfectivity4() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double VECTOR_INFECTIVITY4_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getVectorInfectivity4() <em>Vector Infectivity4</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorInfectivity4() | |
* @generated | |
* @ordered | |
*/ | |
protected double vectorInfectivity4 = VECTOR_INFECTIVITY4_EDEFAULT; | |
/** | |
* The default value of the '{@link #getVectorADE1() <em>Vector ADE1</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorADE1() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double VECTOR_ADE1_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getVectorADE1() <em>Vector ADE1</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorADE1() | |
* @generated | |
* @ordered | |
*/ | |
protected double vectorADE1 = VECTOR_ADE1_EDEFAULT; | |
/** | |
* The default value of the '{@link #getVectorADE2() <em>Vector ADE2</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorADE2() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double VECTOR_ADE2_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getVectorADE2() <em>Vector ADE2</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorADE2() | |
* @generated | |
* @ordered | |
*/ | |
protected double vectorADE2 = VECTOR_ADE2_EDEFAULT; | |
/** | |
* The default value of the '{@link #getVectorADE3() <em>Vector ADE3</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorADE3() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double VECTOR_ADE3_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getVectorADE3() <em>Vector ADE3</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorADE3() | |
* @generated | |
* @ordered | |
*/ | |
protected double vectorADE3 = VECTOR_ADE3_EDEFAULT; | |
/** | |
* The default value of the '{@link #getVectorADE4() <em>Vector ADE4</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorADE4() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double VECTOR_ADE4_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getVectorADE4() <em>Vector ADE4</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorADE4() | |
* @generated | |
* @ordered | |
*/ | |
protected double vectorADE4 = VECTOR_ADE4_EDEFAULT; | |
/** | |
* The default value of the '{@link #getVectorIncubationRate() <em>Vector Incubation Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorIncubationRate() | |
* @generated | |
* @ordered | |
*/ | |
protected static final double VECTOR_INCUBATION_RATE_EDEFAULT = 0.0; | |
/** | |
* The cached value of the '{@link #getVectorIncubationRate() <em>Vector Incubation Rate</em>}' attribute. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @see #getVectorIncubationRate() | |
* @generated | |
* @ordered | |
*/ | |
protected double vectorIncubationRate = VECTOR_INCUBATION_RATE_EDEFAULT; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
protected SimpleDengueModelImpl() { | |
super(); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
protected EClass eStaticClass() { | |
return VectorPackage.Literals.SIMPLE_DENGUE_MODEL; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getBitingRate() { | |
return bitingRate; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setBitingRate(double newBitingRate) { | |
double oldBitingRate = bitingRate; | |
bitingRate = newBitingRate; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__BITING_RATE, oldBitingRate, bitingRate)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getHostInfectivity1() { | |
return hostInfectivity1; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setHostInfectivity1(double newHostInfectivity1) { | |
double oldHostInfectivity1 = hostInfectivity1; | |
hostInfectivity1 = newHostInfectivity1; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY1, oldHostInfectivity1, hostInfectivity1)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getHostInfectivity2() { | |
return hostInfectivity2; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setHostInfectivity2(double newHostInfectivity2) { | |
double oldHostInfectivity2 = hostInfectivity2; | |
hostInfectivity2 = newHostInfectivity2; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY2, oldHostInfectivity2, hostInfectivity2)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getHostInfectivity3() { | |
return hostInfectivity3; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setHostInfectivity3(double newHostInfectivity3) { | |
double oldHostInfectivity3 = hostInfectivity3; | |
hostInfectivity3 = newHostInfectivity3; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY3, oldHostInfectivity3, hostInfectivity3)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getHostInfectivity4() { | |
return hostInfectivity4; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setHostInfectivity4(double newHostInfectivity4) { | |
double oldHostInfectivity4 = hostInfectivity4; | |
hostInfectivity4 = newHostInfectivity4; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY4, oldHostInfectivity4, hostInfectivity4)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getHostPrimaryIncubationRate() { | |
return hostPrimaryIncubationRate; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setHostPrimaryIncubationRate(double newHostPrimaryIncubationRate) { | |
double oldHostPrimaryIncubationRate = hostPrimaryIncubationRate; | |
hostPrimaryIncubationRate = newHostPrimaryIncubationRate; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_INCUBATION_RATE, oldHostPrimaryIncubationRate, hostPrimaryIncubationRate)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getHostPrimaryRecoveryRate() { | |
return hostPrimaryRecoveryRate; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setHostPrimaryRecoveryRate(double newHostPrimaryRecoveryRate) { | |
double oldHostPrimaryRecoveryRate = hostPrimaryRecoveryRate; | |
hostPrimaryRecoveryRate = newHostPrimaryRecoveryRate; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_RECOVERY_RATE, oldHostPrimaryRecoveryRate, hostPrimaryRecoveryRate)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getHostPrimaryImmunityLossRate() { | |
return hostPrimaryImmunityLossRate; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setHostPrimaryImmunityLossRate(double newHostPrimaryImmunityLossRate) { | |
double oldHostPrimaryImmunityLossRate = hostPrimaryImmunityLossRate; | |
hostPrimaryImmunityLossRate = newHostPrimaryImmunityLossRate; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_IMMUNITY_LOSS_RATE, oldHostPrimaryImmunityLossRate, hostPrimaryImmunityLossRate)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getHostPrimaryDeathRate() { | |
return hostPrimaryDeathRate; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setHostPrimaryDeathRate(double newHostPrimaryDeathRate) { | |
double oldHostPrimaryDeathRate = hostPrimaryDeathRate; | |
hostPrimaryDeathRate = newHostPrimaryDeathRate; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_DEATH_RATE, oldHostPrimaryDeathRate, hostPrimaryDeathRate)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getHostADE1() { | |
return hostADE1; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setHostADE1(double newHostADE1) { | |
double oldHostADE1 = hostADE1; | |
hostADE1 = newHostADE1; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE1, oldHostADE1, hostADE1)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getHostADE2() { | |
return hostADE2; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setHostADE2(double newHostADE2) { | |
double oldHostADE2 = hostADE2; | |
hostADE2 = newHostADE2; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE2, oldHostADE2, hostADE2)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getHostADE3() { | |
return hostADE3; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setHostADE3(double newHostADE3) { | |
double oldHostADE3 = hostADE3; | |
hostADE3 = newHostADE3; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE3, oldHostADE3, hostADE3)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getHostADE4() { | |
return hostADE4; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setHostADE4(double newHostADE4) { | |
double oldHostADE4 = hostADE4; | |
hostADE4 = newHostADE4; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE4, oldHostADE4, hostADE4)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getHostSecondaryIncubationRate() { | |
return hostSecondaryIncubationRate; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setHostSecondaryIncubationRate(double newHostSecondaryIncubationRate) { | |
double oldHostSecondaryIncubationRate = hostSecondaryIncubationRate; | |
hostSecondaryIncubationRate = newHostSecondaryIncubationRate; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__HOST_SECONDARY_INCUBATION_RATE, oldHostSecondaryIncubationRate, hostSecondaryIncubationRate)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getHostSecondaryRecoveryRate() { | |
return hostSecondaryRecoveryRate; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setHostSecondaryRecoveryRate(double newHostSecondaryRecoveryRate) { | |
double oldHostSecondaryRecoveryRate = hostSecondaryRecoveryRate; | |
hostSecondaryRecoveryRate = newHostSecondaryRecoveryRate; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__HOST_SECONDARY_RECOVERY_RATE, oldHostSecondaryRecoveryRate, hostSecondaryRecoveryRate)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getHostSecondaryDeathRate() { | |
return hostSecondaryDeathRate; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setHostSecondaryDeathRate(double newHostSecondaryDeathRate) { | |
double oldHostSecondaryDeathRate = hostSecondaryDeathRate; | |
hostSecondaryDeathRate = newHostSecondaryDeathRate; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__HOST_SECONDARY_DEATH_RATE, oldHostSecondaryDeathRate, hostSecondaryDeathRate)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getVectorInfectivity1() { | |
return vectorInfectivity1; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setVectorInfectivity1(double newVectorInfectivity1) { | |
double oldVectorInfectivity1 = vectorInfectivity1; | |
vectorInfectivity1 = newVectorInfectivity1; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY1, oldVectorInfectivity1, vectorInfectivity1)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getVectorInfectivity2() { | |
return vectorInfectivity2; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setVectorInfectivity2(double newVectorInfectivity2) { | |
double oldVectorInfectivity2 = vectorInfectivity2; | |
vectorInfectivity2 = newVectorInfectivity2; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY2, oldVectorInfectivity2, vectorInfectivity2)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getVectorInfectivity3() { | |
return vectorInfectivity3; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setVectorInfectivity3(double newVectorInfectivity3) { | |
double oldVectorInfectivity3 = vectorInfectivity3; | |
vectorInfectivity3 = newVectorInfectivity3; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY3, oldVectorInfectivity3, vectorInfectivity3)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getVectorInfectivity4() { | |
return vectorInfectivity4; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setVectorInfectivity4(double newVectorInfectivity4) { | |
double oldVectorInfectivity4 = vectorInfectivity4; | |
vectorInfectivity4 = newVectorInfectivity4; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY4, oldVectorInfectivity4, vectorInfectivity4)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getVectorADE1() { | |
return vectorADE1; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setVectorADE1(double newVectorADE1) { | |
double oldVectorADE1 = vectorADE1; | |
vectorADE1 = newVectorADE1; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE1, oldVectorADE1, vectorADE1)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getVectorADE2() { | |
return vectorADE2; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setVectorADE2(double newVectorADE2) { | |
double oldVectorADE2 = vectorADE2; | |
vectorADE2 = newVectorADE2; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE2, oldVectorADE2, vectorADE2)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getVectorADE3() { | |
return vectorADE3; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setVectorADE3(double newVectorADE3) { | |
double oldVectorADE3 = vectorADE3; | |
vectorADE3 = newVectorADE3; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE3, oldVectorADE3, vectorADE3)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getVectorADE4() { | |
return vectorADE4; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setVectorADE4(double newVectorADE4) { | |
double oldVectorADE4 = vectorADE4; | |
vectorADE4 = newVectorADE4; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE4, oldVectorADE4, vectorADE4)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public double getVectorIncubationRate() { | |
return vectorIncubationRate; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public void setVectorIncubationRate(double newVectorIncubationRate) { | |
double oldVectorIncubationRate = vectorIncubationRate; | |
vectorIncubationRate = newVectorIncubationRate; | |
if (eNotificationRequired()) | |
eNotify(new ENotificationImpl(this, Notification.SET, VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INCUBATION_RATE, oldVectorIncubationRate, vectorIncubationRate)); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public Object eGet(int featureID, boolean resolve, boolean coreType) { | |
switch (featureID) { | |
case VectorPackage.SIMPLE_DENGUE_MODEL__BITING_RATE: | |
return getBitingRate(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY1: | |
return getHostInfectivity1(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY2: | |
return getHostInfectivity2(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY3: | |
return getHostInfectivity3(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY4: | |
return getHostInfectivity4(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_INCUBATION_RATE: | |
return getHostPrimaryIncubationRate(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_RECOVERY_RATE: | |
return getHostPrimaryRecoveryRate(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_IMMUNITY_LOSS_RATE: | |
return getHostPrimaryImmunityLossRate(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_DEATH_RATE: | |
return getHostPrimaryDeathRate(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE1: | |
return getHostADE1(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE2: | |
return getHostADE2(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE3: | |
return getHostADE3(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE4: | |
return getHostADE4(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_SECONDARY_INCUBATION_RATE: | |
return getHostSecondaryIncubationRate(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_SECONDARY_RECOVERY_RATE: | |
return getHostSecondaryRecoveryRate(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_SECONDARY_DEATH_RATE: | |
return getHostSecondaryDeathRate(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY1: | |
return getVectorInfectivity1(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY2: | |
return getVectorInfectivity2(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY3: | |
return getVectorInfectivity3(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY4: | |
return getVectorInfectivity4(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE1: | |
return getVectorADE1(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE2: | |
return getVectorADE2(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE3: | |
return getVectorADE3(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE4: | |
return getVectorADE4(); | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INCUBATION_RATE: | |
return getVectorIncubationRate(); | |
} | |
return super.eGet(featureID, resolve, coreType); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public void eSet(int featureID, Object newValue) { | |
switch (featureID) { | |
case VectorPackage.SIMPLE_DENGUE_MODEL__BITING_RATE: | |
setBitingRate((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY1: | |
setHostInfectivity1((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY2: | |
setHostInfectivity2((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY3: | |
setHostInfectivity3((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY4: | |
setHostInfectivity4((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_INCUBATION_RATE: | |
setHostPrimaryIncubationRate((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_RECOVERY_RATE: | |
setHostPrimaryRecoveryRate((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_IMMUNITY_LOSS_RATE: | |
setHostPrimaryImmunityLossRate((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_DEATH_RATE: | |
setHostPrimaryDeathRate((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE1: | |
setHostADE1((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE2: | |
setHostADE2((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE3: | |
setHostADE3((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE4: | |
setHostADE4((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_SECONDARY_INCUBATION_RATE: | |
setHostSecondaryIncubationRate((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_SECONDARY_RECOVERY_RATE: | |
setHostSecondaryRecoveryRate((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_SECONDARY_DEATH_RATE: | |
setHostSecondaryDeathRate((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY1: | |
setVectorInfectivity1((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY2: | |
setVectorInfectivity2((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY3: | |
setVectorInfectivity3((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY4: | |
setVectorInfectivity4((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE1: | |
setVectorADE1((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE2: | |
setVectorADE2((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE3: | |
setVectorADE3((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE4: | |
setVectorADE4((Double)newValue); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INCUBATION_RATE: | |
setVectorIncubationRate((Double)newValue); | |
return; | |
} | |
super.eSet(featureID, newValue); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public void eUnset(int featureID) { | |
switch (featureID) { | |
case VectorPackage.SIMPLE_DENGUE_MODEL__BITING_RATE: | |
setBitingRate(BITING_RATE_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY1: | |
setHostInfectivity1(HOST_INFECTIVITY1_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY2: | |
setHostInfectivity2(HOST_INFECTIVITY2_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY3: | |
setHostInfectivity3(HOST_INFECTIVITY3_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY4: | |
setHostInfectivity4(HOST_INFECTIVITY4_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_INCUBATION_RATE: | |
setHostPrimaryIncubationRate(HOST_PRIMARY_INCUBATION_RATE_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_RECOVERY_RATE: | |
setHostPrimaryRecoveryRate(HOST_PRIMARY_RECOVERY_RATE_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_IMMUNITY_LOSS_RATE: | |
setHostPrimaryImmunityLossRate(HOST_PRIMARY_IMMUNITY_LOSS_RATE_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_DEATH_RATE: | |
setHostPrimaryDeathRate(HOST_PRIMARY_DEATH_RATE_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE1: | |
setHostADE1(HOST_ADE1_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE2: | |
setHostADE2(HOST_ADE2_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE3: | |
setHostADE3(HOST_ADE3_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE4: | |
setHostADE4(HOST_ADE4_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_SECONDARY_INCUBATION_RATE: | |
setHostSecondaryIncubationRate(HOST_SECONDARY_INCUBATION_RATE_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_SECONDARY_RECOVERY_RATE: | |
setHostSecondaryRecoveryRate(HOST_SECONDARY_RECOVERY_RATE_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_SECONDARY_DEATH_RATE: | |
setHostSecondaryDeathRate(HOST_SECONDARY_DEATH_RATE_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY1: | |
setVectorInfectivity1(VECTOR_INFECTIVITY1_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY2: | |
setVectorInfectivity2(VECTOR_INFECTIVITY2_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY3: | |
setVectorInfectivity3(VECTOR_INFECTIVITY3_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY4: | |
setVectorInfectivity4(VECTOR_INFECTIVITY4_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE1: | |
setVectorADE1(VECTOR_ADE1_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE2: | |
setVectorADE2(VECTOR_ADE2_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE3: | |
setVectorADE3(VECTOR_ADE3_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE4: | |
setVectorADE4(VECTOR_ADE4_EDEFAULT); | |
return; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INCUBATION_RATE: | |
setVectorIncubationRate(VECTOR_INCUBATION_RATE_EDEFAULT); | |
return; | |
} | |
super.eUnset(featureID); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
@Override | |
public boolean eIsSet(int featureID) { | |
switch (featureID) { | |
case VectorPackage.SIMPLE_DENGUE_MODEL__BITING_RATE: | |
return bitingRate != BITING_RATE_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY1: | |
return hostInfectivity1 != HOST_INFECTIVITY1_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY2: | |
return hostInfectivity2 != HOST_INFECTIVITY2_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY3: | |
return hostInfectivity3 != HOST_INFECTIVITY3_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_INFECTIVITY4: | |
return hostInfectivity4 != HOST_INFECTIVITY4_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_INCUBATION_RATE: | |
return hostPrimaryIncubationRate != HOST_PRIMARY_INCUBATION_RATE_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_RECOVERY_RATE: | |
return hostPrimaryRecoveryRate != HOST_PRIMARY_RECOVERY_RATE_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_IMMUNITY_LOSS_RATE: | |
return hostPrimaryImmunityLossRate != HOST_PRIMARY_IMMUNITY_LOSS_RATE_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_PRIMARY_DEATH_RATE: | |
return hostPrimaryDeathRate != HOST_PRIMARY_DEATH_RATE_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE1: | |
return hostADE1 != HOST_ADE1_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE2: | |
return hostADE2 != HOST_ADE2_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE3: | |
return hostADE3 != HOST_ADE3_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_ADE4: | |
return hostADE4 != HOST_ADE4_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_SECONDARY_INCUBATION_RATE: | |
return hostSecondaryIncubationRate != HOST_SECONDARY_INCUBATION_RATE_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_SECONDARY_RECOVERY_RATE: | |
return hostSecondaryRecoveryRate != HOST_SECONDARY_RECOVERY_RATE_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__HOST_SECONDARY_DEATH_RATE: | |
return hostSecondaryDeathRate != HOST_SECONDARY_DEATH_RATE_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY1: | |
return vectorInfectivity1 != VECTOR_INFECTIVITY1_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY2: | |
return vectorInfectivity2 != VECTOR_INFECTIVITY2_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY3: | |
return vectorInfectivity3 != VECTOR_INFECTIVITY3_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INFECTIVITY4: | |
return vectorInfectivity4 != VECTOR_INFECTIVITY4_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE1: | |
return vectorADE1 != VECTOR_ADE1_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE2: | |
return vectorADE2 != VECTOR_ADE2_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE3: | |
return vectorADE3 != VECTOR_ADE3_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_ADE4: | |
return vectorADE4 != VECTOR_ADE4_EDEFAULT; | |
case VectorPackage.SIMPLE_DENGUE_MODEL__VECTOR_INCUBATION_RATE: | |
return vectorIncubationRate != VECTOR_INCUBATION_RATE_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(" (bitingRate: "); | |
result.append(bitingRate); | |
result.append(", hostInfectivity1: "); | |
result.append(hostInfectivity1); | |
result.append(", hostInfectivity2: "); | |
result.append(hostInfectivity2); | |
result.append(", hostInfectivity3: "); | |
result.append(hostInfectivity3); | |
result.append(", hostInfectivity4: "); | |
result.append(hostInfectivity4); | |
result.append(", hostPrimaryIncubationRate: "); | |
result.append(hostPrimaryIncubationRate); | |
result.append(", hostPrimaryRecoveryRate: "); | |
result.append(hostPrimaryRecoveryRate); | |
result.append(", hostPrimaryImmunityLossRate: "); | |
result.append(hostPrimaryImmunityLossRate); | |
result.append(", hostPrimaryDeathRate: "); | |
result.append(hostPrimaryDeathRate); | |
result.append(", hostADE1: "); | |
result.append(hostADE1); | |
result.append(", hostADE2: "); | |
result.append(hostADE2); | |
result.append(", hostADE3: "); | |
result.append(hostADE3); | |
result.append(", hostADE4: "); | |
result.append(hostADE4); | |
result.append(", hostSecondaryIncubationRate: "); | |
result.append(hostSecondaryIncubationRate); | |
result.append(", hostSecondaryRecoveryRate: "); | |
result.append(hostSecondaryRecoveryRate); | |
result.append(", hostSecondaryDeathRate: "); | |
result.append(hostSecondaryDeathRate); | |
result.append(", vectorInfectivity1: "); | |
result.append(vectorInfectivity1); | |
result.append(", vectorInfectivity2: "); | |
result.append(vectorInfectivity2); | |
result.append(", vectorInfectivity3: "); | |
result.append(vectorInfectivity3); | |
result.append(", vectorInfectivity4: "); | |
result.append(vectorInfectivity4); | |
result.append(", vectorADE1: "); | |
result.append(vectorADE1); | |
result.append(", vectorADE2: "); | |
result.append(vectorADE2); | |
result.append(", vectorADE3: "); | |
result.append(vectorADE3); | |
result.append(", vectorADE4: "); | |
result.append(vectorADE4); | |
result.append(", vectorIncubationRate: "); | |
result.append(vectorIncubationRate); | |
result.append(')'); | |
return result.toString(); | |
} | |
@Override | |
public StandardDiseaseModelLabelValue computeDiseaseDeltas(STEMTime time, | |
StandardDiseaseModelLabelValue currentState, | |
StandardDiseaseModelLabel diseaseLabel, long timeDelta, | |
DiseaseModelLabelValue returnValue) { | |
// TODO Auto-generated method stub | |
return null; | |
} | |
@Override | |
public StandardDiseaseModelLabelValue computeDiseaseDeathsDeltas( | |
STEMTime time, StandardDiseaseModelLabel diseaseLabel, | |
StandardDiseaseModelLabelValue currentLabelValue, long timeDelta, | |
DiseaseModelLabelValue returnValue) { | |
// TODO Auto-generated method stub | |
return null; | |
} | |
@Override | |
public DiseaseModelLabel createDiseaseModelLabel(String populationIdentifier) { | |
if (populationIdentifier.equals(vectorPopulationIdentifier)) { | |
return VectorFactory.eINSTANCE.createDengueModelVectorLabel(); | |
} else { | |
return VectorFactory.eINSTANCE.createDengueModelHostLabel(); | |
} | |
} | |
@Override | |
public DiseaseModelLabelValue createDiseaseModelLabelValue( | |
String populationIdentifier) { | |
if (populationIdentifier.equals(vectorPopulationIdentifier)) { | |
return VectorFactory.eINSTANCE.createDengueModelVectorLabelValue(); | |
} else { | |
return VectorFactory.eINSTANCE.createDengueModelHostLabelValue(); | |
} | |
} | |
@Override | |
public Infector createInfector() { | |
// TODO Auto-generated method stub | |
return super.createInfector(); | |
} | |
} //SimpleDengueModelImpl |