/*
* Copyright 2015 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
*/
package bpsim.impl;
import bpsim.BPSimDataType;
import bpsim.BetaDistributionType;
import bpsim.BinomialDistributionType;
import bpsim.BooleanParameterType;
import bpsim.BpsimPackage;
import bpsim.DateTimeParameterType;
import bpsim.DocumentRoot;
import bpsim.DurationParameterType;
import bpsim.EnumParameterType;
import bpsim.ErlangDistributionType;
import bpsim.ExpressionParameterType;
import bpsim.FloatingParameterType;
import bpsim.GammaDistributionType;
import bpsim.LogNormalDistributionType;
import bpsim.NegativeExponentialDistributionType;
import bpsim.NormalDistributionType;
import bpsim.NumericParameterType;
import bpsim.ParameterValue;
import bpsim.PoissonDistributionType;
import bpsim.StringParameterType;
import bpsim.TriangularDistributionType;
import bpsim.TruncatedNormalDistributionType;
import bpsim.UniformDistributionType;
import bpsim.UserDistributionDataPointType;
import bpsim.UserDistributionType;
import bpsim.WeibullDistributionType;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EMap;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.EcorePackage;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.EObjectImpl;
import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
import org.eclipse.emf.ecore.util.BasicFeatureMap;
import org.eclipse.emf.ecore.util.EcoreEMap;
import org.eclipse.emf.ecore.util.FeatureMap;
import org.eclipse.emf.ecore.util.InternalEList;
/**
*
* An implementation of the model object 'Document Root'.
*
*
* The following features are implemented:
*
* - {@link bpsim.impl.DocumentRootImpl#getMixed Mixed}
* - {@link bpsim.impl.DocumentRootImpl#getXMLNSPrefixMap XMLNS Prefix Map}
* - {@link bpsim.impl.DocumentRootImpl#getXSISchemaLocation XSI Schema Location}
* - {@link bpsim.impl.DocumentRootImpl#getBetaDistribution Beta Distribution}
* - {@link bpsim.impl.DocumentRootImpl#getParameterValue Parameter Value}
* - {@link bpsim.impl.DocumentRootImpl#getBinomialDistribution Binomial Distribution}
* - {@link bpsim.impl.DocumentRootImpl#getBooleanParameter Boolean Parameter}
* - {@link bpsim.impl.DocumentRootImpl#getBPSimData BP Sim Data}
* - {@link bpsim.impl.DocumentRootImpl#getDateTimeParameter Date Time Parameter}
* - {@link bpsim.impl.DocumentRootImpl#getDurationParameter Duration Parameter}
* - {@link bpsim.impl.DocumentRootImpl#getEnumParameter Enum Parameter}
* - {@link bpsim.impl.DocumentRootImpl#getErlangDistribution Erlang Distribution}
* - {@link bpsim.impl.DocumentRootImpl#getExpressionParameter Expression Parameter}
* - {@link bpsim.impl.DocumentRootImpl#getFloatingParameter Floating Parameter}
* - {@link bpsim.impl.DocumentRootImpl#getGammaDistribution Gamma Distribution}
* - {@link bpsim.impl.DocumentRootImpl#getLogNormalDistribution Log Normal Distribution}
* - {@link bpsim.impl.DocumentRootImpl#getNegativeExponentialDistribution Negative Exponential Distribution}
* - {@link bpsim.impl.DocumentRootImpl#getNormalDistribution Normal Distribution}
* - {@link bpsim.impl.DocumentRootImpl#getNumericParameter Numeric Parameter}
* - {@link bpsim.impl.DocumentRootImpl#getPoissonDistribution Poisson Distribution}
* - {@link bpsim.impl.DocumentRootImpl#getStringParameter String Parameter}
* - {@link bpsim.impl.DocumentRootImpl#getTriangularDistribution Triangular Distribution}
* - {@link bpsim.impl.DocumentRootImpl#getTruncatedNormalDistribution Truncated Normal Distribution}
* - {@link bpsim.impl.DocumentRootImpl#getUniformDistribution Uniform Distribution}
* - {@link bpsim.impl.DocumentRootImpl#getUserDistribution User Distribution}
* - {@link bpsim.impl.DocumentRootImpl#getUserDistributionDataPoint User Distribution Data Point}
* - {@link bpsim.impl.DocumentRootImpl#getWeibullDistribution Weibull Distribution}
*
*
*
* @generated
*/
public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
/**
* The cached value of the '{@link #getMixed() Mixed}' attribute list.
*
*
* @see #getMixed()
* @generated
* @ordered
*/
protected FeatureMap mixed;
/**
* The cached value of the '{@link #getXMLNSPrefixMap() XMLNS Prefix Map}' map.
*
*
* @see #getXMLNSPrefixMap()
* @generated
* @ordered
*/
protected EMap xMLNSPrefixMap;
/**
* The cached value of the '{@link #getXSISchemaLocation() XSI Schema Location}' map.
*
*
* @see #getXSISchemaLocation()
* @generated
* @ordered
*/
protected EMap xSISchemaLocation;
/**
*
*
* @generated
*/
protected DocumentRootImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return BpsimPackage.Literals.DOCUMENT_ROOT;
}
/**
*
*
* @generated
*/
public FeatureMap getMixed() {
if (mixed == null) {
mixed = new BasicFeatureMap(this, BpsimPackage.DOCUMENT_ROOT__MIXED);
}
return mixed;
}
/**
*
*
* @generated
*/
public EMap getXMLNSPrefixMap() {
if (xMLNSPrefixMap == null) {
xMLNSPrefixMap = new EcoreEMap(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, BpsimPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
}
return xMLNSPrefixMap;
}
/**
*
*
* @generated
*/
public EMap getXSISchemaLocation() {
if (xSISchemaLocation == null) {
xSISchemaLocation = new EcoreEMap(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, BpsimPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
}
return xSISchemaLocation;
}
/**
*
*
* @generated
*/
public BetaDistributionType getBetaDistribution() {
return (BetaDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__BETA_DISTRIBUTION, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetBetaDistribution(BetaDistributionType newBetaDistribution, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__BETA_DISTRIBUTION, newBetaDistribution, msgs);
}
/**
*
*
* @generated
*/
public void setBetaDistribution(BetaDistributionType newBetaDistribution) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__BETA_DISTRIBUTION, newBetaDistribution);
}
/**
*
*
* @generated
*/
public ParameterValue getParameterValue() {
return (ParameterValue)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__PARAMETER_VALUE, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetParameterValue(ParameterValue newParameterValue, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__PARAMETER_VALUE, newParameterValue, msgs);
}
/**
*
*
* @generated
*/
public void setParameterValue(ParameterValue newParameterValue) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__PARAMETER_VALUE, newParameterValue);
}
/**
*
*
* @generated
*/
public BinomialDistributionType getBinomialDistribution() {
return (BinomialDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetBinomialDistribution(BinomialDistributionType newBinomialDistribution, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION, newBinomialDistribution, msgs);
}
/**
*
*
* @generated
*/
public void setBinomialDistribution(BinomialDistributionType newBinomialDistribution) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION, newBinomialDistribution);
}
/**
*
*
* @generated
*/
public BooleanParameterType getBooleanParameter() {
return (BooleanParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__BOOLEAN_PARAMETER, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetBooleanParameter(BooleanParameterType newBooleanParameter, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__BOOLEAN_PARAMETER, newBooleanParameter, msgs);
}
/**
*
*
* @generated
*/
public void setBooleanParameter(BooleanParameterType newBooleanParameter) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__BOOLEAN_PARAMETER, newBooleanParameter);
}
/**
*
*
* @generated
*/
public BPSimDataType getBPSimData() {
return (BPSimDataType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__BP_SIM_DATA, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetBPSimData(BPSimDataType newBPSimData, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__BP_SIM_DATA, newBPSimData, msgs);
}
/**
*
*
* @generated
*/
public void setBPSimData(BPSimDataType newBPSimData) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__BP_SIM_DATA, newBPSimData);
}
/**
*
*
* @generated
*/
public DateTimeParameterType getDateTimeParameter() {
return (DateTimeParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__DATE_TIME_PARAMETER, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetDateTimeParameter(DateTimeParameterType newDateTimeParameter, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__DATE_TIME_PARAMETER, newDateTimeParameter, msgs);
}
/**
*
*
* @generated
*/
public void setDateTimeParameter(DateTimeParameterType newDateTimeParameter) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__DATE_TIME_PARAMETER, newDateTimeParameter);
}
/**
*
*
* @generated
*/
public DurationParameterType getDurationParameter() {
return (DurationParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__DURATION_PARAMETER, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetDurationParameter(DurationParameterType newDurationParameter, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__DURATION_PARAMETER, newDurationParameter, msgs);
}
/**
*
*
* @generated
*/
public void setDurationParameter(DurationParameterType newDurationParameter) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__DURATION_PARAMETER, newDurationParameter);
}
/**
*
*
* @generated
*/
public EnumParameterType getEnumParameter() {
return (EnumParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__ENUM_PARAMETER, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetEnumParameter(EnumParameterType newEnumParameter, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__ENUM_PARAMETER, newEnumParameter, msgs);
}
/**
*
*
* @generated
*/
public void setEnumParameter(EnumParameterType newEnumParameter) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__ENUM_PARAMETER, newEnumParameter);
}
/**
*
*
* @generated
*/
public ErlangDistributionType getErlangDistribution() {
return (ErlangDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__ERLANG_DISTRIBUTION, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetErlangDistribution(ErlangDistributionType newErlangDistribution, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__ERLANG_DISTRIBUTION, newErlangDistribution, msgs);
}
/**
*
*
* @generated
*/
public void setErlangDistribution(ErlangDistributionType newErlangDistribution) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__ERLANG_DISTRIBUTION, newErlangDistribution);
}
/**
*
*
* @generated
*/
public ExpressionParameterType getExpressionParameter() {
return (ExpressionParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__EXPRESSION_PARAMETER, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetExpressionParameter(ExpressionParameterType newExpressionParameter, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__EXPRESSION_PARAMETER, newExpressionParameter, msgs);
}
/**
*
*
* @generated
*/
public void setExpressionParameter(ExpressionParameterType newExpressionParameter) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__EXPRESSION_PARAMETER, newExpressionParameter);
}
/**
*
*
* @generated
*/
public FloatingParameterType getFloatingParameter() {
return (FloatingParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__FLOATING_PARAMETER, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetFloatingParameter(FloatingParameterType newFloatingParameter, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__FLOATING_PARAMETER, newFloatingParameter, msgs);
}
/**
*
*
* @generated
*/
public void setFloatingParameter(FloatingParameterType newFloatingParameter) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__FLOATING_PARAMETER, newFloatingParameter);
}
/**
*
*
* @generated
*/
public GammaDistributionType getGammaDistribution() {
return (GammaDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__GAMMA_DISTRIBUTION, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetGammaDistribution(GammaDistributionType newGammaDistribution, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__GAMMA_DISTRIBUTION, newGammaDistribution, msgs);
}
/**
*
*
* @generated
*/
public void setGammaDistribution(GammaDistributionType newGammaDistribution) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__GAMMA_DISTRIBUTION, newGammaDistribution);
}
/**
*
*
* @generated
*/
public LogNormalDistributionType getLogNormalDistribution() {
return (LogNormalDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetLogNormalDistribution(LogNormalDistributionType newLogNormalDistribution, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION, newLogNormalDistribution, msgs);
}
/**
*
*
* @generated
*/
public void setLogNormalDistribution(LogNormalDistributionType newLogNormalDistribution) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION, newLogNormalDistribution);
}
/**
*
*
* @generated
*/
public NegativeExponentialDistributionType getNegativeExponentialDistribution() {
return (NegativeExponentialDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetNegativeExponentialDistribution(NegativeExponentialDistributionType newNegativeExponentialDistribution, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION, newNegativeExponentialDistribution, msgs);
}
/**
*
*
* @generated
*/
public void setNegativeExponentialDistribution(NegativeExponentialDistributionType newNegativeExponentialDistribution) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION, newNegativeExponentialDistribution);
}
/**
*
*
* @generated
*/
public NormalDistributionType getNormalDistribution() {
return (NormalDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__NORMAL_DISTRIBUTION, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetNormalDistribution(NormalDistributionType newNormalDistribution, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__NORMAL_DISTRIBUTION, newNormalDistribution, msgs);
}
/**
*
*
* @generated
*/
public void setNormalDistribution(NormalDistributionType newNormalDistribution) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__NORMAL_DISTRIBUTION, newNormalDistribution);
}
/**
*
*
* @generated
*/
public NumericParameterType getNumericParameter() {
return (NumericParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__NUMERIC_PARAMETER, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetNumericParameter(NumericParameterType newNumericParameter, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__NUMERIC_PARAMETER, newNumericParameter, msgs);
}
/**
*
*
* @generated
*/
public void setNumericParameter(NumericParameterType newNumericParameter) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__NUMERIC_PARAMETER, newNumericParameter);
}
/**
*
*
* @generated
*/
public PoissonDistributionType getPoissonDistribution() {
return (PoissonDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__POISSON_DISTRIBUTION, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetPoissonDistribution(PoissonDistributionType newPoissonDistribution, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__POISSON_DISTRIBUTION, newPoissonDistribution, msgs);
}
/**
*
*
* @generated
*/
public void setPoissonDistribution(PoissonDistributionType newPoissonDistribution) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__POISSON_DISTRIBUTION, newPoissonDistribution);
}
/**
*
*
* @generated
*/
public StringParameterType getStringParameter() {
return (StringParameterType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__STRING_PARAMETER, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetStringParameter(StringParameterType newStringParameter, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__STRING_PARAMETER, newStringParameter, msgs);
}
/**
*
*
* @generated
*/
public void setStringParameter(StringParameterType newStringParameter) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__STRING_PARAMETER, newStringParameter);
}
/**
*
*
* @generated
*/
public TriangularDistributionType getTriangularDistribution() {
return (TriangularDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetTriangularDistribution(TriangularDistributionType newTriangularDistribution, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION, newTriangularDistribution, msgs);
}
/**
*
*
* @generated
*/
public void setTriangularDistribution(TriangularDistributionType newTriangularDistribution) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION, newTriangularDistribution);
}
/**
*
*
* @generated
*/
public TruncatedNormalDistributionType getTruncatedNormalDistribution() {
return (TruncatedNormalDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetTruncatedNormalDistribution(TruncatedNormalDistributionType newTruncatedNormalDistribution, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION, newTruncatedNormalDistribution, msgs);
}
/**
*
*
* @generated
*/
public void setTruncatedNormalDistribution(TruncatedNormalDistributionType newTruncatedNormalDistribution) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION, newTruncatedNormalDistribution);
}
/**
*
*
* @generated
*/
public UniformDistributionType getUniformDistribution() {
return (UniformDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetUniformDistribution(UniformDistributionType newUniformDistribution, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION, newUniformDistribution, msgs);
}
/**
*
*
* @generated
*/
public void setUniformDistribution(UniformDistributionType newUniformDistribution) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION, newUniformDistribution);
}
/**
*
*
* @generated
*/
public UserDistributionType getUserDistribution() {
return (UserDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetUserDistribution(UserDistributionType newUserDistribution, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION, newUserDistribution, msgs);
}
/**
*
*
* @generated
*/
public void setUserDistribution(UserDistributionType newUserDistribution) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION, newUserDistribution);
}
/**
*
*
* @generated
*/
public UserDistributionDataPointType getUserDistributionDataPoint() {
return (UserDistributionDataPointType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetUserDistributionDataPoint(UserDistributionDataPointType newUserDistributionDataPoint, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT, newUserDistributionDataPoint, msgs);
}
/**
*
*
* @generated
*/
public void setUserDistributionDataPoint(UserDistributionDataPointType newUserDistributionDataPoint) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT, newUserDistributionDataPoint);
}
/**
*
*
* @generated
*/
public WeibullDistributionType getWeibullDistribution() {
return (WeibullDistributionType)getMixed().get(BpsimPackage.Literals.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION, true);
}
/**
*
*
* @generated
*/
public NotificationChain basicSetWeibullDistribution(WeibullDistributionType newWeibullDistribution, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(BpsimPackage.Literals.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION, newWeibullDistribution, msgs);
}
/**
*
*
* @generated
*/
public void setWeibullDistribution(WeibullDistributionType newWeibullDistribution) {
((FeatureMap.Internal)getMixed()).set(BpsimPackage.Literals.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION, newWeibullDistribution);
}
/**
*
*
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case BpsimPackage.DOCUMENT_ROOT__MIXED:
return ((InternalEList>)getMixed()).basicRemove(otherEnd, msgs);
case BpsimPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
return ((InternalEList>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
case BpsimPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
return ((InternalEList>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
case BpsimPackage.DOCUMENT_ROOT__BETA_DISTRIBUTION:
return basicSetBetaDistribution(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__PARAMETER_VALUE:
return basicSetParameterValue(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION:
return basicSetBinomialDistribution(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__BOOLEAN_PARAMETER:
return basicSetBooleanParameter(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__BP_SIM_DATA:
return basicSetBPSimData(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__DATE_TIME_PARAMETER:
return basicSetDateTimeParameter(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__DURATION_PARAMETER:
return basicSetDurationParameter(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__ENUM_PARAMETER:
return basicSetEnumParameter(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__ERLANG_DISTRIBUTION:
return basicSetErlangDistribution(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__EXPRESSION_PARAMETER:
return basicSetExpressionParameter(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__FLOATING_PARAMETER:
return basicSetFloatingParameter(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__GAMMA_DISTRIBUTION:
return basicSetGammaDistribution(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION:
return basicSetLogNormalDistribution(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION:
return basicSetNegativeExponentialDistribution(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__NORMAL_DISTRIBUTION:
return basicSetNormalDistribution(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__NUMERIC_PARAMETER:
return basicSetNumericParameter(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__POISSON_DISTRIBUTION:
return basicSetPoissonDistribution(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__STRING_PARAMETER:
return basicSetStringParameter(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION:
return basicSetTriangularDistribution(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION:
return basicSetTruncatedNormalDistribution(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION:
return basicSetUniformDistribution(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION:
return basicSetUserDistribution(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT:
return basicSetUserDistributionDataPoint(null, msgs);
case BpsimPackage.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION:
return basicSetWeibullDistribution(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
*
*
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case BpsimPackage.DOCUMENT_ROOT__MIXED:
if (coreType) return getMixed();
return ((FeatureMap.Internal)getMixed()).getWrapper();
case BpsimPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
if (coreType) return getXMLNSPrefixMap();
else return getXMLNSPrefixMap().map();
case BpsimPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
if (coreType) return getXSISchemaLocation();
else return getXSISchemaLocation().map();
case BpsimPackage.DOCUMENT_ROOT__BETA_DISTRIBUTION:
return getBetaDistribution();
case BpsimPackage.DOCUMENT_ROOT__PARAMETER_VALUE:
return getParameterValue();
case BpsimPackage.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION:
return getBinomialDistribution();
case BpsimPackage.DOCUMENT_ROOT__BOOLEAN_PARAMETER:
return getBooleanParameter();
case BpsimPackage.DOCUMENT_ROOT__BP_SIM_DATA:
return getBPSimData();
case BpsimPackage.DOCUMENT_ROOT__DATE_TIME_PARAMETER:
return getDateTimeParameter();
case BpsimPackage.DOCUMENT_ROOT__DURATION_PARAMETER:
return getDurationParameter();
case BpsimPackage.DOCUMENT_ROOT__ENUM_PARAMETER:
return getEnumParameter();
case BpsimPackage.DOCUMENT_ROOT__ERLANG_DISTRIBUTION:
return getErlangDistribution();
case BpsimPackage.DOCUMENT_ROOT__EXPRESSION_PARAMETER:
return getExpressionParameter();
case BpsimPackage.DOCUMENT_ROOT__FLOATING_PARAMETER:
return getFloatingParameter();
case BpsimPackage.DOCUMENT_ROOT__GAMMA_DISTRIBUTION:
return getGammaDistribution();
case BpsimPackage.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION:
return getLogNormalDistribution();
case BpsimPackage.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION:
return getNegativeExponentialDistribution();
case BpsimPackage.DOCUMENT_ROOT__NORMAL_DISTRIBUTION:
return getNormalDistribution();
case BpsimPackage.DOCUMENT_ROOT__NUMERIC_PARAMETER:
return getNumericParameter();
case BpsimPackage.DOCUMENT_ROOT__POISSON_DISTRIBUTION:
return getPoissonDistribution();
case BpsimPackage.DOCUMENT_ROOT__STRING_PARAMETER:
return getStringParameter();
case BpsimPackage.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION:
return getTriangularDistribution();
case BpsimPackage.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION:
return getTruncatedNormalDistribution();
case BpsimPackage.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION:
return getUniformDistribution();
case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION:
return getUserDistribution();
case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT:
return getUserDistributionDataPoint();
case BpsimPackage.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION:
return getWeibullDistribution();
}
return super.eGet(featureID, resolve, coreType);
}
/**
*
*
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case BpsimPackage.DOCUMENT_ROOT__MIXED:
((FeatureMap.Internal)getMixed()).set(newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__BETA_DISTRIBUTION:
setBetaDistribution((BetaDistributionType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__PARAMETER_VALUE:
setParameterValue((ParameterValue)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION:
setBinomialDistribution((BinomialDistributionType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__BOOLEAN_PARAMETER:
setBooleanParameter((BooleanParameterType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__BP_SIM_DATA:
setBPSimData((BPSimDataType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__DATE_TIME_PARAMETER:
setDateTimeParameter((DateTimeParameterType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__DURATION_PARAMETER:
setDurationParameter((DurationParameterType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__ENUM_PARAMETER:
setEnumParameter((EnumParameterType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__ERLANG_DISTRIBUTION:
setErlangDistribution((ErlangDistributionType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__EXPRESSION_PARAMETER:
setExpressionParameter((ExpressionParameterType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__FLOATING_PARAMETER:
setFloatingParameter((FloatingParameterType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__GAMMA_DISTRIBUTION:
setGammaDistribution((GammaDistributionType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION:
setLogNormalDistribution((LogNormalDistributionType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION:
setNegativeExponentialDistribution((NegativeExponentialDistributionType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__NORMAL_DISTRIBUTION:
setNormalDistribution((NormalDistributionType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__NUMERIC_PARAMETER:
setNumericParameter((NumericParameterType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__POISSON_DISTRIBUTION:
setPoissonDistribution((PoissonDistributionType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__STRING_PARAMETER:
setStringParameter((StringParameterType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION:
setTriangularDistribution((TriangularDistributionType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION:
setTruncatedNormalDistribution((TruncatedNormalDistributionType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION:
setUniformDistribution((UniformDistributionType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION:
setUserDistribution((UserDistributionType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT:
setUserDistributionDataPoint((UserDistributionDataPointType)newValue);
return;
case BpsimPackage.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION:
setWeibullDistribution((WeibullDistributionType)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
*
*
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case BpsimPackage.DOCUMENT_ROOT__MIXED:
getMixed().clear();
return;
case BpsimPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
getXMLNSPrefixMap().clear();
return;
case BpsimPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
getXSISchemaLocation().clear();
return;
case BpsimPackage.DOCUMENT_ROOT__BETA_DISTRIBUTION:
setBetaDistribution((BetaDistributionType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__PARAMETER_VALUE:
setParameterValue((ParameterValue)null);
return;
case BpsimPackage.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION:
setBinomialDistribution((BinomialDistributionType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__BOOLEAN_PARAMETER:
setBooleanParameter((BooleanParameterType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__BP_SIM_DATA:
setBPSimData((BPSimDataType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__DATE_TIME_PARAMETER:
setDateTimeParameter((DateTimeParameterType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__DURATION_PARAMETER:
setDurationParameter((DurationParameterType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__ENUM_PARAMETER:
setEnumParameter((EnumParameterType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__ERLANG_DISTRIBUTION:
setErlangDistribution((ErlangDistributionType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__EXPRESSION_PARAMETER:
setExpressionParameter((ExpressionParameterType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__FLOATING_PARAMETER:
setFloatingParameter((FloatingParameterType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__GAMMA_DISTRIBUTION:
setGammaDistribution((GammaDistributionType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION:
setLogNormalDistribution((LogNormalDistributionType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION:
setNegativeExponentialDistribution((NegativeExponentialDistributionType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__NORMAL_DISTRIBUTION:
setNormalDistribution((NormalDistributionType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__NUMERIC_PARAMETER:
setNumericParameter((NumericParameterType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__POISSON_DISTRIBUTION:
setPoissonDistribution((PoissonDistributionType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__STRING_PARAMETER:
setStringParameter((StringParameterType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION:
setTriangularDistribution((TriangularDistributionType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION:
setTruncatedNormalDistribution((TruncatedNormalDistributionType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION:
setUniformDistribution((UniformDistributionType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION:
setUserDistribution((UserDistributionType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT:
setUserDistributionDataPoint((UserDistributionDataPointType)null);
return;
case BpsimPackage.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION:
setWeibullDistribution((WeibullDistributionType)null);
return;
}
super.eUnset(featureID);
}
/**
*
*
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case BpsimPackage.DOCUMENT_ROOT__MIXED:
return mixed != null && !mixed.isEmpty();
case BpsimPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
case BpsimPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
case BpsimPackage.DOCUMENT_ROOT__BETA_DISTRIBUTION:
return getBetaDistribution() != null;
case BpsimPackage.DOCUMENT_ROOT__PARAMETER_VALUE:
return getParameterValue() != null;
case BpsimPackage.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION:
return getBinomialDistribution() != null;
case BpsimPackage.DOCUMENT_ROOT__BOOLEAN_PARAMETER:
return getBooleanParameter() != null;
case BpsimPackage.DOCUMENT_ROOT__BP_SIM_DATA:
return getBPSimData() != null;
case BpsimPackage.DOCUMENT_ROOT__DATE_TIME_PARAMETER:
return getDateTimeParameter() != null;
case BpsimPackage.DOCUMENT_ROOT__DURATION_PARAMETER:
return getDurationParameter() != null;
case BpsimPackage.DOCUMENT_ROOT__ENUM_PARAMETER:
return getEnumParameter() != null;
case BpsimPackage.DOCUMENT_ROOT__ERLANG_DISTRIBUTION:
return getErlangDistribution() != null;
case BpsimPackage.DOCUMENT_ROOT__EXPRESSION_PARAMETER:
return getExpressionParameter() != null;
case BpsimPackage.DOCUMENT_ROOT__FLOATING_PARAMETER:
return getFloatingParameter() != null;
case BpsimPackage.DOCUMENT_ROOT__GAMMA_DISTRIBUTION:
return getGammaDistribution() != null;
case BpsimPackage.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION:
return getLogNormalDistribution() != null;
case BpsimPackage.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION:
return getNegativeExponentialDistribution() != null;
case BpsimPackage.DOCUMENT_ROOT__NORMAL_DISTRIBUTION:
return getNormalDistribution() != null;
case BpsimPackage.DOCUMENT_ROOT__NUMERIC_PARAMETER:
return getNumericParameter() != null;
case BpsimPackage.DOCUMENT_ROOT__POISSON_DISTRIBUTION:
return getPoissonDistribution() != null;
case BpsimPackage.DOCUMENT_ROOT__STRING_PARAMETER:
return getStringParameter() != null;
case BpsimPackage.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION:
return getTriangularDistribution() != null;
case BpsimPackage.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION:
return getTruncatedNormalDistribution() != null;
case BpsimPackage.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION:
return getUniformDistribution() != null;
case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION:
return getUserDistribution() != null;
case BpsimPackage.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT:
return getUserDistributionDataPoint() != null;
case BpsimPackage.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION:
return getWeibullDistribution() != null;
}
return super.eIsSet(featureID);
}
/**
*
*
* @generated
*/
@Override
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (mixed: ");
result.append(mixed);
result.append(')');
return result.toString();
}
} //DocumentRootImpl