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

org.jboss.drools.impl.DocumentRootImpl Maven / Gradle / Ivy

There is a newer version: 7.74.1.Final
Show newest version
/**
 */
package org.jboss.drools.impl;

import java.math.BigInteger;

import org.eclipse.emf.common.notify.Notification;
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.ENotificationImpl;
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;

import org.jboss.drools.BetaDistributionType;
import org.jboss.drools.BinomialDistributionType;
import org.jboss.drools.BooleanParameterType;
import org.jboss.drools.DateTimeParameterType;
import org.jboss.drools.DecimalParameterType;
import org.jboss.drools.DocumentRoot;
import org.jboss.drools.DroolsPackage;
import org.jboss.drools.DurationParameterType;
import org.jboss.drools.EnumParameterType;
import org.jboss.drools.ErlangDistributionType;
import org.jboss.drools.ExpressionParameterType;
import org.jboss.drools.FloatingParameterType;
import org.jboss.drools.GammaDistributionType;
import org.jboss.drools.GlobalType;
import org.jboss.drools.ImportType;
import org.jboss.drools.LogNormalDistributionType;
import org.jboss.drools.MetadataType;
import org.jboss.drools.MetaentryType;
import org.jboss.drools.NegativeExponentialDistributionType;
import org.jboss.drools.NormalDistributionType;
import org.jboss.drools.NumericParameterType;
import org.jboss.drools.OnEntryScriptType;
import org.jboss.drools.OnExitScriptType;
import org.jboss.drools.ParameterValue;
import org.jboss.drools.PoissonDistributionType;
import org.jboss.drools.ProcessAnalysisDataType;
import org.jboss.drools.RandomDistributionType;
import org.jboss.drools.StringParameterType;
import org.jboss.drools.TriangularDistributionType;
import org.jboss.drools.TruncatedNormalDistributionType;
import org.jboss.drools.UniformDistributionType;
import org.jboss.drools.UserDistributionDataPointType;
import org.jboss.drools.UserDistributionType;
import org.jboss.drools.WeibullDistributionType;

/**
 * 
 * An implementation of the model object 'Document Root'.
 * 
 * 

* The following features are implemented: *

    *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getMixed Mixed}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getXMLNSPrefixMap XMLNS Prefix Map}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getXSISchemaLocation XSI Schema Location}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getBetaDistribution Beta Distribution}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getParameterValue Parameter Value}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getBinomialDistribution Binomial Distribution}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getBooleanParameter Boolean Parameter}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getDateTimeParameter Date Time Parameter}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getDecimalParameter Decimal Parameter}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getDurationParameter Duration Parameter}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getEnumParameter Enum Parameter}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getErlangDistribution Erlang Distribution}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getExpressionParameter Expression Parameter}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getFloatingParameter Floating Parameter}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getGammaDistribution Gamma Distribution}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getGlobal Global}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getImport Import}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getLogNormalDistribution Log Normal Distribution}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getMetadata Metadata}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getMetaentry Metaentry}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getNegativeExponentialDistribution Negative Exponential Distribution}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getNormalDistribution Normal Distribution}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getNumericParameter Numeric Parameter}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getOnEntryScript On Entry Script}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getOnExitScript On Exit Script}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getPoissonDistribution Poisson Distribution}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getProcessAnalysisData Process Analysis Data}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getRandomDistribution Random Distribution}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getStringParameter String Parameter}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getTriangularDistribution Triangular Distribution}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getTruncatedNormalDistribution Truncated Normal Distribution}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getUniformDistribution Uniform Distribution}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getUserDistribution User Distribution}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getUserDistributionDataPoint User Distribution Data Point}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getWeibullDistribution Weibull Distribution}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getPackageName Package Name}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getPriority Priority}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getRuleFlowGroup Rule Flow Group}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getTaskName Task Name}
  • *
  • {@link org.jboss.drools.impl.DocumentRootImpl#getVersion Version}
  • *
*

* * @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; /** * The default value of the '{@link #getPackageName() Package Name}' attribute. * * * @see #getPackageName() * @generated * @ordered */ protected static final String PACKAGE_NAME_EDEFAULT = null; /** * The cached value of the '{@link #getPackageName() Package Name}' attribute. * * * @see #getPackageName() * @generated * @ordered */ protected String packageName = PACKAGE_NAME_EDEFAULT; /** * The default value of the '{@link #getPriority() Priority}' attribute. * * * @see #getPriority() * @generated * @ordered */ protected static final BigInteger PRIORITY_EDEFAULT = null; /** * The cached value of the '{@link #getPriority() Priority}' attribute. * * * @see #getPriority() * @generated * @ordered */ protected BigInteger priority = PRIORITY_EDEFAULT; /** * The default value of the '{@link #getRuleFlowGroup() Rule Flow Group}' attribute. * * * @see #getRuleFlowGroup() * @generated * @ordered */ protected static final String RULE_FLOW_GROUP_EDEFAULT = null; /** * The cached value of the '{@link #getRuleFlowGroup() Rule Flow Group}' attribute. * * * @see #getRuleFlowGroup() * @generated * @ordered */ protected String ruleFlowGroup = RULE_FLOW_GROUP_EDEFAULT; /** * The default value of the '{@link #getTaskName() Task Name}' attribute. * * * @see #getTaskName() * @generated * @ordered */ protected static final String TASK_NAME_EDEFAULT = null; /** * The cached value of the '{@link #getTaskName() Task Name}' attribute. * * * @see #getTaskName() * @generated * @ordered */ protected String taskName = TASK_NAME_EDEFAULT; /** * The default value of the '{@link #getVersion() Version}' attribute. * * * @see #getVersion() * @generated * @ordered */ protected static final String VERSION_EDEFAULT = null; /** * The cached value of the '{@link #getVersion() Version}' attribute. * * * @see #getVersion() * @generated * @ordered */ protected String version = VERSION_EDEFAULT; /** * * * @generated */ protected DocumentRootImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return DroolsPackage.Literals.DOCUMENT_ROOT; } /** * * * @generated */ public FeatureMap getMixed() { if (mixed == null) { mixed = new BasicFeatureMap(this, DroolsPackage.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, DroolsPackage.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, DroolsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION); } return xSISchemaLocation; } /** * * * @generated */ public BetaDistributionType getBetaDistribution() { return (BetaDistributionType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__BETA_DISTRIBUTION, true); } /** * * * @generated */ public NotificationChain basicSetBetaDistribution(BetaDistributionType newBetaDistribution, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__BETA_DISTRIBUTION, newBetaDistribution, msgs); } /** * * * @generated */ public void setBetaDistribution(BetaDistributionType newBetaDistribution) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__BETA_DISTRIBUTION, newBetaDistribution); } /** * * * @generated */ public ParameterValue getParameterValue() { return (ParameterValue)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__PARAMETER_VALUE, true); } /** * * * @generated */ public NotificationChain basicSetParameterValue(ParameterValue newParameterValue, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__PARAMETER_VALUE, newParameterValue, msgs); } /** * * * @generated */ public void setParameterValue(ParameterValue newParameterValue) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__PARAMETER_VALUE, newParameterValue); } /** * * * @generated */ public BinomialDistributionType getBinomialDistribution() { return (BinomialDistributionType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION, true); } /** * * * @generated */ public NotificationChain basicSetBinomialDistribution(BinomialDistributionType newBinomialDistribution, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION, newBinomialDistribution, msgs); } /** * * * @generated */ public void setBinomialDistribution(BinomialDistributionType newBinomialDistribution) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION, newBinomialDistribution); } /** * * * @generated */ public BooleanParameterType getBooleanParameter() { return (BooleanParameterType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__BOOLEAN_PARAMETER, true); } /** * * * @generated */ public NotificationChain basicSetBooleanParameter(BooleanParameterType newBooleanParameter, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__BOOLEAN_PARAMETER, newBooleanParameter, msgs); } /** * * * @generated */ public void setBooleanParameter(BooleanParameterType newBooleanParameter) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__BOOLEAN_PARAMETER, newBooleanParameter); } /** * * * @generated */ public DateTimeParameterType getDateTimeParameter() { return (DateTimeParameterType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__DATE_TIME_PARAMETER, true); } /** * * * @generated */ public NotificationChain basicSetDateTimeParameter(DateTimeParameterType newDateTimeParameter, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__DATE_TIME_PARAMETER, newDateTimeParameter, msgs); } /** * * * @generated */ public void setDateTimeParameter(DateTimeParameterType newDateTimeParameter) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__DATE_TIME_PARAMETER, newDateTimeParameter); } /** * * * @generated */ public DecimalParameterType getDecimalParameter() { return (DecimalParameterType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__DECIMAL_PARAMETER, true); } /** * * * @generated */ public NotificationChain basicSetDecimalParameter(DecimalParameterType newDecimalParameter, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__DECIMAL_PARAMETER, newDecimalParameter, msgs); } /** * * * @generated */ public void setDecimalParameter(DecimalParameterType newDecimalParameter) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__DECIMAL_PARAMETER, newDecimalParameter); } /** * * * @generated */ public DurationParameterType getDurationParameter() { return (DurationParameterType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__DURATION_PARAMETER, true); } /** * * * @generated */ public NotificationChain basicSetDurationParameter(DurationParameterType newDurationParameter, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__DURATION_PARAMETER, newDurationParameter, msgs); } /** * * * @generated */ public void setDurationParameter(DurationParameterType newDurationParameter) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__DURATION_PARAMETER, newDurationParameter); } /** * * * @generated */ public EnumParameterType getEnumParameter() { return (EnumParameterType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__ENUM_PARAMETER, true); } /** * * * @generated */ public NotificationChain basicSetEnumParameter(EnumParameterType newEnumParameter, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__ENUM_PARAMETER, newEnumParameter, msgs); } /** * * * @generated */ public void setEnumParameter(EnumParameterType newEnumParameter) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__ENUM_PARAMETER, newEnumParameter); } /** * * * @generated */ public ErlangDistributionType getErlangDistribution() { return (ErlangDistributionType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__ERLANG_DISTRIBUTION, true); } /** * * * @generated */ public NotificationChain basicSetErlangDistribution(ErlangDistributionType newErlangDistribution, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__ERLANG_DISTRIBUTION, newErlangDistribution, msgs); } /** * * * @generated */ public void setErlangDistribution(ErlangDistributionType newErlangDistribution) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__ERLANG_DISTRIBUTION, newErlangDistribution); } /** * * * @generated */ public ExpressionParameterType getExpressionParameter() { return (ExpressionParameterType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__EXPRESSION_PARAMETER, true); } /** * * * @generated */ public NotificationChain basicSetExpressionParameter(ExpressionParameterType newExpressionParameter, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__EXPRESSION_PARAMETER, newExpressionParameter, msgs); } /** * * * @generated */ public void setExpressionParameter(ExpressionParameterType newExpressionParameter) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__EXPRESSION_PARAMETER, newExpressionParameter); } /** * * * @generated */ public FloatingParameterType getFloatingParameter() { return (FloatingParameterType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__FLOATING_PARAMETER, true); } /** * * * @generated */ public NotificationChain basicSetFloatingParameter(FloatingParameterType newFloatingParameter, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__FLOATING_PARAMETER, newFloatingParameter, msgs); } /** * * * @generated */ public void setFloatingParameter(FloatingParameterType newFloatingParameter) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__FLOATING_PARAMETER, newFloatingParameter); } /** * * * @generated */ public GammaDistributionType getGammaDistribution() { return (GammaDistributionType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__GAMMA_DISTRIBUTION, true); } /** * * * @generated */ public NotificationChain basicSetGammaDistribution(GammaDistributionType newGammaDistribution, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__GAMMA_DISTRIBUTION, newGammaDistribution, msgs); } /** * * * @generated */ public void setGammaDistribution(GammaDistributionType newGammaDistribution) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__GAMMA_DISTRIBUTION, newGammaDistribution); } /** * * * @generated */ public GlobalType getGlobal() { return (GlobalType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__GLOBAL, true); } /** * * * @generated */ public NotificationChain basicSetGlobal(GlobalType newGlobal, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__GLOBAL, newGlobal, msgs); } /** * * * @generated */ public void setGlobal(GlobalType newGlobal) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__GLOBAL, newGlobal); } /** * * * @generated */ public ImportType getImport() { return (ImportType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__IMPORT, true); } /** * * * @generated */ public NotificationChain basicSetImport(ImportType newImport, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__IMPORT, newImport, msgs); } /** * * * @generated */ public void setImport(ImportType newImport) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__IMPORT, newImport); } /** * * * @generated */ public LogNormalDistributionType getLogNormalDistribution() { return (LogNormalDistributionType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION, true); } /** * * * @generated */ public NotificationChain basicSetLogNormalDistribution(LogNormalDistributionType newLogNormalDistribution, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION, newLogNormalDistribution, msgs); } /** * * * @generated */ public void setLogNormalDistribution(LogNormalDistributionType newLogNormalDistribution) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION, newLogNormalDistribution); } /** * * * @generated */ public MetadataType getMetadata() { return (MetadataType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__METADATA, true); } /** * * * @generated */ public NotificationChain basicSetMetadata(MetadataType newMetadata, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__METADATA, newMetadata, msgs); } /** * * * @generated */ public void setMetadata(MetadataType newMetadata) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__METADATA, newMetadata); } /** * * * @generated */ public MetaentryType getMetaentry() { return (MetaentryType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__METAENTRY, true); } /** * * * @generated */ public NotificationChain basicSetMetaentry(MetaentryType newMetaentry, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__METAENTRY, newMetaentry, msgs); } /** * * * @generated */ public void setMetaentry(MetaentryType newMetaentry) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__METAENTRY, newMetaentry); } /** * * * @generated */ public NegativeExponentialDistributionType getNegativeExponentialDistribution() { return (NegativeExponentialDistributionType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION, true); } /** * * * @generated */ public NotificationChain basicSetNegativeExponentialDistribution(NegativeExponentialDistributionType newNegativeExponentialDistribution, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION, newNegativeExponentialDistribution, msgs); } /** * * * @generated */ public void setNegativeExponentialDistribution(NegativeExponentialDistributionType newNegativeExponentialDistribution) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION, newNegativeExponentialDistribution); } /** * * * @generated */ public NormalDistributionType getNormalDistribution() { return (NormalDistributionType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__NORMAL_DISTRIBUTION, true); } /** * * * @generated */ public NotificationChain basicSetNormalDistribution(NormalDistributionType newNormalDistribution, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__NORMAL_DISTRIBUTION, newNormalDistribution, msgs); } /** * * * @generated */ public void setNormalDistribution(NormalDistributionType newNormalDistribution) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__NORMAL_DISTRIBUTION, newNormalDistribution); } /** * * * @generated */ public NumericParameterType getNumericParameter() { return (NumericParameterType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__NUMERIC_PARAMETER, true); } /** * * * @generated */ public NotificationChain basicSetNumericParameter(NumericParameterType newNumericParameter, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__NUMERIC_PARAMETER, newNumericParameter, msgs); } /** * * * @generated */ public void setNumericParameter(NumericParameterType newNumericParameter) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__NUMERIC_PARAMETER, newNumericParameter); } /** * * * @generated */ public OnEntryScriptType getOnEntryScript() { return (OnEntryScriptType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__ON_ENTRY_SCRIPT, true); } /** * * * @generated */ public NotificationChain basicSetOnEntryScript(OnEntryScriptType newOnEntryScript, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__ON_ENTRY_SCRIPT, newOnEntryScript, msgs); } /** * * * @generated */ public void setOnEntryScript(OnEntryScriptType newOnEntryScript) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__ON_ENTRY_SCRIPT, newOnEntryScript); } /** * * * @generated */ public OnExitScriptType getOnExitScript() { return (OnExitScriptType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__ON_EXIT_SCRIPT, true); } /** * * * @generated */ public NotificationChain basicSetOnExitScript(OnExitScriptType newOnExitScript, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__ON_EXIT_SCRIPT, newOnExitScript, msgs); } /** * * * @generated */ public void setOnExitScript(OnExitScriptType newOnExitScript) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__ON_EXIT_SCRIPT, newOnExitScript); } /** * * * @generated */ public PoissonDistributionType getPoissonDistribution() { return (PoissonDistributionType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__POISSON_DISTRIBUTION, true); } /** * * * @generated */ public NotificationChain basicSetPoissonDistribution(PoissonDistributionType newPoissonDistribution, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__POISSON_DISTRIBUTION, newPoissonDistribution, msgs); } /** * * * @generated */ public void setPoissonDistribution(PoissonDistributionType newPoissonDistribution) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__POISSON_DISTRIBUTION, newPoissonDistribution); } /** * * * @generated */ public ProcessAnalysisDataType getProcessAnalysisData() { return (ProcessAnalysisDataType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__PROCESS_ANALYSIS_DATA, true); } /** * * * @generated */ public NotificationChain basicSetProcessAnalysisData(ProcessAnalysisDataType newProcessAnalysisData, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__PROCESS_ANALYSIS_DATA, newProcessAnalysisData, msgs); } /** * * * @generated */ public void setProcessAnalysisData(ProcessAnalysisDataType newProcessAnalysisData) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__PROCESS_ANALYSIS_DATA, newProcessAnalysisData); } /** * * * @generated */ public RandomDistributionType getRandomDistribution() { return (RandomDistributionType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__RANDOM_DISTRIBUTION, true); } /** * * * @generated */ public NotificationChain basicSetRandomDistribution(RandomDistributionType newRandomDistribution, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__RANDOM_DISTRIBUTION, newRandomDistribution, msgs); } /** * * * @generated */ public void setRandomDistribution(RandomDistributionType newRandomDistribution) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__RANDOM_DISTRIBUTION, newRandomDistribution); } /** * * * @generated */ public StringParameterType getStringParameter() { return (StringParameterType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__STRING_PARAMETER, true); } /** * * * @generated */ public NotificationChain basicSetStringParameter(StringParameterType newStringParameter, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__STRING_PARAMETER, newStringParameter, msgs); } /** * * * @generated */ public void setStringParameter(StringParameterType newStringParameter) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__STRING_PARAMETER, newStringParameter); } /** * * * @generated */ public TriangularDistributionType getTriangularDistribution() { return (TriangularDistributionType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION, true); } /** * * * @generated */ public NotificationChain basicSetTriangularDistribution(TriangularDistributionType newTriangularDistribution, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION, newTriangularDistribution, msgs); } /** * * * @generated */ public void setTriangularDistribution(TriangularDistributionType newTriangularDistribution) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION, newTriangularDistribution); } /** * * * @generated */ public TruncatedNormalDistributionType getTruncatedNormalDistribution() { return (TruncatedNormalDistributionType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION, true); } /** * * * @generated */ public NotificationChain basicSetTruncatedNormalDistribution(TruncatedNormalDistributionType newTruncatedNormalDistribution, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION, newTruncatedNormalDistribution, msgs); } /** * * * @generated */ public void setTruncatedNormalDistribution(TruncatedNormalDistributionType newTruncatedNormalDistribution) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION, newTruncatedNormalDistribution); } /** * * * @generated */ public UniformDistributionType getUniformDistribution() { return (UniformDistributionType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION, true); } /** * * * @generated */ public NotificationChain basicSetUniformDistribution(UniformDistributionType newUniformDistribution, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION, newUniformDistribution, msgs); } /** * * * @generated */ public void setUniformDistribution(UniformDistributionType newUniformDistribution) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION, newUniformDistribution); } /** * * * @generated */ public UserDistributionType getUserDistribution() { return (UserDistributionType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION, true); } /** * * * @generated */ public NotificationChain basicSetUserDistribution(UserDistributionType newUserDistribution, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION, newUserDistribution, msgs); } /** * * * @generated */ public void setUserDistribution(UserDistributionType newUserDistribution) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION, newUserDistribution); } /** * * * @generated */ public UserDistributionDataPointType getUserDistributionDataPoint() { return (UserDistributionDataPointType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT, true); } /** * * * @generated */ public NotificationChain basicSetUserDistributionDataPoint(UserDistributionDataPointType newUserDistributionDataPoint, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT, newUserDistributionDataPoint, msgs); } /** * * * @generated */ public void setUserDistributionDataPoint(UserDistributionDataPointType newUserDistributionDataPoint) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT, newUserDistributionDataPoint); } /** * * * @generated */ public WeibullDistributionType getWeibullDistribution() { return (WeibullDistributionType)getMixed().get(DroolsPackage.Literals.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION, true); } /** * * * @generated */ public NotificationChain basicSetWeibullDistribution(WeibullDistributionType newWeibullDistribution, NotificationChain msgs) { return ((FeatureMap.Internal)getMixed()).basicAdd(DroolsPackage.Literals.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION, newWeibullDistribution, msgs); } /** * * * @generated */ public void setWeibullDistribution(WeibullDistributionType newWeibullDistribution) { ((FeatureMap.Internal)getMixed()).set(DroolsPackage.Literals.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION, newWeibullDistribution); } /** * * * @generated */ public String getPackageName() { return packageName; } /** * * * @generated */ public void setPackageName(String newPackageName) { String oldPackageName = packageName; packageName = newPackageName; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.DOCUMENT_ROOT__PACKAGE_NAME, oldPackageName, packageName)); } /** * * * @generated */ public BigInteger getPriority() { return priority; } /** * * * @generated */ public void setPriority(BigInteger newPriority) { BigInteger oldPriority = priority; priority = newPriority; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.DOCUMENT_ROOT__PRIORITY, oldPriority, priority)); } /** * * * @generated */ public String getRuleFlowGroup() { return ruleFlowGroup; } /** * * * @generated */ public void setRuleFlowGroup(String newRuleFlowGroup) { String oldRuleFlowGroup = ruleFlowGroup; ruleFlowGroup = newRuleFlowGroup; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.DOCUMENT_ROOT__RULE_FLOW_GROUP, oldRuleFlowGroup, ruleFlowGroup)); } /** * * * @generated */ public String getTaskName() { return taskName; } /** * * * @generated */ public void setTaskName(String newTaskName) { String oldTaskName = taskName; taskName = newTaskName; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.DOCUMENT_ROOT__TASK_NAME, oldTaskName, taskName)); } /** * * * @generated */ public String getVersion() { return version; } /** * * * @generated */ public void setVersion(String newVersion) { String oldVersion = version; version = newVersion; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, DroolsPackage.DOCUMENT_ROOT__VERSION, oldVersion, version)); } /** * * * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case DroolsPackage.DOCUMENT_ROOT__MIXED: return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs); case DroolsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: return ((InternalEList)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs); case DroolsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: return ((InternalEList)getXSISchemaLocation()).basicRemove(otherEnd, msgs); case DroolsPackage.DOCUMENT_ROOT__BETA_DISTRIBUTION: return basicSetBetaDistribution(null, msgs); case DroolsPackage.DOCUMENT_ROOT__PARAMETER_VALUE: return basicSetParameterValue(null, msgs); case DroolsPackage.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION: return basicSetBinomialDistribution(null, msgs); case DroolsPackage.DOCUMENT_ROOT__BOOLEAN_PARAMETER: return basicSetBooleanParameter(null, msgs); case DroolsPackage.DOCUMENT_ROOT__DATE_TIME_PARAMETER: return basicSetDateTimeParameter(null, msgs); case DroolsPackage.DOCUMENT_ROOT__DECIMAL_PARAMETER: return basicSetDecimalParameter(null, msgs); case DroolsPackage.DOCUMENT_ROOT__DURATION_PARAMETER: return basicSetDurationParameter(null, msgs); case DroolsPackage.DOCUMENT_ROOT__ENUM_PARAMETER: return basicSetEnumParameter(null, msgs); case DroolsPackage.DOCUMENT_ROOT__ERLANG_DISTRIBUTION: return basicSetErlangDistribution(null, msgs); case DroolsPackage.DOCUMENT_ROOT__EXPRESSION_PARAMETER: return basicSetExpressionParameter(null, msgs); case DroolsPackage.DOCUMENT_ROOT__FLOATING_PARAMETER: return basicSetFloatingParameter(null, msgs); case DroolsPackage.DOCUMENT_ROOT__GAMMA_DISTRIBUTION: return basicSetGammaDistribution(null, msgs); case DroolsPackage.DOCUMENT_ROOT__GLOBAL: return basicSetGlobal(null, msgs); case DroolsPackage.DOCUMENT_ROOT__IMPORT: return basicSetImport(null, msgs); case DroolsPackage.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION: return basicSetLogNormalDistribution(null, msgs); case DroolsPackage.DOCUMENT_ROOT__METADATA: return basicSetMetadata(null, msgs); case DroolsPackage.DOCUMENT_ROOT__METAENTRY: return basicSetMetaentry(null, msgs); case DroolsPackage.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION: return basicSetNegativeExponentialDistribution(null, msgs); case DroolsPackage.DOCUMENT_ROOT__NORMAL_DISTRIBUTION: return basicSetNormalDistribution(null, msgs); case DroolsPackage.DOCUMENT_ROOT__NUMERIC_PARAMETER: return basicSetNumericParameter(null, msgs); case DroolsPackage.DOCUMENT_ROOT__ON_ENTRY_SCRIPT: return basicSetOnEntryScript(null, msgs); case DroolsPackage.DOCUMENT_ROOT__ON_EXIT_SCRIPT: return basicSetOnExitScript(null, msgs); case DroolsPackage.DOCUMENT_ROOT__POISSON_DISTRIBUTION: return basicSetPoissonDistribution(null, msgs); case DroolsPackage.DOCUMENT_ROOT__PROCESS_ANALYSIS_DATA: return basicSetProcessAnalysisData(null, msgs); case DroolsPackage.DOCUMENT_ROOT__RANDOM_DISTRIBUTION: return basicSetRandomDistribution(null, msgs); case DroolsPackage.DOCUMENT_ROOT__STRING_PARAMETER: return basicSetStringParameter(null, msgs); case DroolsPackage.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION: return basicSetTriangularDistribution(null, msgs); case DroolsPackage.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION: return basicSetTruncatedNormalDistribution(null, msgs); case DroolsPackage.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION: return basicSetUniformDistribution(null, msgs); case DroolsPackage.DOCUMENT_ROOT__USER_DISTRIBUTION: return basicSetUserDistribution(null, msgs); case DroolsPackage.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT: return basicSetUserDistributionDataPoint(null, msgs); case DroolsPackage.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 DroolsPackage.DOCUMENT_ROOT__MIXED: if (coreType) return getMixed(); return ((FeatureMap.Internal)getMixed()).getWrapper(); case DroolsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: if (coreType) return getXMLNSPrefixMap(); else return getXMLNSPrefixMap().map(); case DroolsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: if (coreType) return getXSISchemaLocation(); else return getXSISchemaLocation().map(); case DroolsPackage.DOCUMENT_ROOT__BETA_DISTRIBUTION: return getBetaDistribution(); case DroolsPackage.DOCUMENT_ROOT__PARAMETER_VALUE: return getParameterValue(); case DroolsPackage.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION: return getBinomialDistribution(); case DroolsPackage.DOCUMENT_ROOT__BOOLEAN_PARAMETER: return getBooleanParameter(); case DroolsPackage.DOCUMENT_ROOT__DATE_TIME_PARAMETER: return getDateTimeParameter(); case DroolsPackage.DOCUMENT_ROOT__DECIMAL_PARAMETER: return getDecimalParameter(); case DroolsPackage.DOCUMENT_ROOT__DURATION_PARAMETER: return getDurationParameter(); case DroolsPackage.DOCUMENT_ROOT__ENUM_PARAMETER: return getEnumParameter(); case DroolsPackage.DOCUMENT_ROOT__ERLANG_DISTRIBUTION: return getErlangDistribution(); case DroolsPackage.DOCUMENT_ROOT__EXPRESSION_PARAMETER: return getExpressionParameter(); case DroolsPackage.DOCUMENT_ROOT__FLOATING_PARAMETER: return getFloatingParameter(); case DroolsPackage.DOCUMENT_ROOT__GAMMA_DISTRIBUTION: return getGammaDistribution(); case DroolsPackage.DOCUMENT_ROOT__GLOBAL: return getGlobal(); case DroolsPackage.DOCUMENT_ROOT__IMPORT: return getImport(); case DroolsPackage.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION: return getLogNormalDistribution(); case DroolsPackage.DOCUMENT_ROOT__METADATA: return getMetadata(); case DroolsPackage.DOCUMENT_ROOT__METAENTRY: return getMetaentry(); case DroolsPackage.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION: return getNegativeExponentialDistribution(); case DroolsPackage.DOCUMENT_ROOT__NORMAL_DISTRIBUTION: return getNormalDistribution(); case DroolsPackage.DOCUMENT_ROOT__NUMERIC_PARAMETER: return getNumericParameter(); case DroolsPackage.DOCUMENT_ROOT__ON_ENTRY_SCRIPT: return getOnEntryScript(); case DroolsPackage.DOCUMENT_ROOT__ON_EXIT_SCRIPT: return getOnExitScript(); case DroolsPackage.DOCUMENT_ROOT__POISSON_DISTRIBUTION: return getPoissonDistribution(); case DroolsPackage.DOCUMENT_ROOT__PROCESS_ANALYSIS_DATA: return getProcessAnalysisData(); case DroolsPackage.DOCUMENT_ROOT__RANDOM_DISTRIBUTION: return getRandomDistribution(); case DroolsPackage.DOCUMENT_ROOT__STRING_PARAMETER: return getStringParameter(); case DroolsPackage.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION: return getTriangularDistribution(); case DroolsPackage.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION: return getTruncatedNormalDistribution(); case DroolsPackage.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION: return getUniformDistribution(); case DroolsPackage.DOCUMENT_ROOT__USER_DISTRIBUTION: return getUserDistribution(); case DroolsPackage.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT: return getUserDistributionDataPoint(); case DroolsPackage.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION: return getWeibullDistribution(); case DroolsPackage.DOCUMENT_ROOT__PACKAGE_NAME: return getPackageName(); case DroolsPackage.DOCUMENT_ROOT__PRIORITY: return getPriority(); case DroolsPackage.DOCUMENT_ROOT__RULE_FLOW_GROUP: return getRuleFlowGroup(); case DroolsPackage.DOCUMENT_ROOT__TASK_NAME: return getTaskName(); case DroolsPackage.DOCUMENT_ROOT__VERSION: return getVersion(); } return super.eGet(featureID, resolve, coreType); } /** * * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case DroolsPackage.DOCUMENT_ROOT__MIXED: ((FeatureMap.Internal)getMixed()).set(newValue); return; case DroolsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue); return; case DroolsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue); return; case DroolsPackage.DOCUMENT_ROOT__BETA_DISTRIBUTION: setBetaDistribution((BetaDistributionType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__PARAMETER_VALUE: setParameterValue((ParameterValue)newValue); return; case DroolsPackage.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION: setBinomialDistribution((BinomialDistributionType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__BOOLEAN_PARAMETER: setBooleanParameter((BooleanParameterType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__DATE_TIME_PARAMETER: setDateTimeParameter((DateTimeParameterType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__DECIMAL_PARAMETER: setDecimalParameter((DecimalParameterType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__DURATION_PARAMETER: setDurationParameter((DurationParameterType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__ENUM_PARAMETER: setEnumParameter((EnumParameterType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__ERLANG_DISTRIBUTION: setErlangDistribution((ErlangDistributionType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__EXPRESSION_PARAMETER: setExpressionParameter((ExpressionParameterType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__FLOATING_PARAMETER: setFloatingParameter((FloatingParameterType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__GAMMA_DISTRIBUTION: setGammaDistribution((GammaDistributionType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__GLOBAL: setGlobal((GlobalType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__IMPORT: setImport((ImportType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION: setLogNormalDistribution((LogNormalDistributionType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__METADATA: setMetadata((MetadataType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__METAENTRY: setMetaentry((MetaentryType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION: setNegativeExponentialDistribution((NegativeExponentialDistributionType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__NORMAL_DISTRIBUTION: setNormalDistribution((NormalDistributionType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__NUMERIC_PARAMETER: setNumericParameter((NumericParameterType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__ON_ENTRY_SCRIPT: setOnEntryScript((OnEntryScriptType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__ON_EXIT_SCRIPT: setOnExitScript((OnExitScriptType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__POISSON_DISTRIBUTION: setPoissonDistribution((PoissonDistributionType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__PROCESS_ANALYSIS_DATA: setProcessAnalysisData((ProcessAnalysisDataType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__RANDOM_DISTRIBUTION: setRandomDistribution((RandomDistributionType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__STRING_PARAMETER: setStringParameter((StringParameterType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION: setTriangularDistribution((TriangularDistributionType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION: setTruncatedNormalDistribution((TruncatedNormalDistributionType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION: setUniformDistribution((UniformDistributionType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__USER_DISTRIBUTION: setUserDistribution((UserDistributionType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT: setUserDistributionDataPoint((UserDistributionDataPointType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION: setWeibullDistribution((WeibullDistributionType)newValue); return; case DroolsPackage.DOCUMENT_ROOT__PACKAGE_NAME: setPackageName((String)newValue); return; case DroolsPackage.DOCUMENT_ROOT__PRIORITY: setPriority((BigInteger)newValue); return; case DroolsPackage.DOCUMENT_ROOT__RULE_FLOW_GROUP: setRuleFlowGroup((String)newValue); return; case DroolsPackage.DOCUMENT_ROOT__TASK_NAME: setTaskName((String)newValue); return; case DroolsPackage.DOCUMENT_ROOT__VERSION: setVersion((String)newValue); return; } super.eSet(featureID, newValue); } /** * * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case DroolsPackage.DOCUMENT_ROOT__MIXED: getMixed().clear(); return; case DroolsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: getXMLNSPrefixMap().clear(); return; case DroolsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: getXSISchemaLocation().clear(); return; case DroolsPackage.DOCUMENT_ROOT__BETA_DISTRIBUTION: setBetaDistribution((BetaDistributionType)null); return; case DroolsPackage.DOCUMENT_ROOT__PARAMETER_VALUE: setParameterValue((ParameterValue)null); return; case DroolsPackage.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION: setBinomialDistribution((BinomialDistributionType)null); return; case DroolsPackage.DOCUMENT_ROOT__BOOLEAN_PARAMETER: setBooleanParameter((BooleanParameterType)null); return; case DroolsPackage.DOCUMENT_ROOT__DATE_TIME_PARAMETER: setDateTimeParameter((DateTimeParameterType)null); return; case DroolsPackage.DOCUMENT_ROOT__DECIMAL_PARAMETER: setDecimalParameter((DecimalParameterType)null); return; case DroolsPackage.DOCUMENT_ROOT__DURATION_PARAMETER: setDurationParameter((DurationParameterType)null); return; case DroolsPackage.DOCUMENT_ROOT__ENUM_PARAMETER: setEnumParameter((EnumParameterType)null); return; case DroolsPackage.DOCUMENT_ROOT__ERLANG_DISTRIBUTION: setErlangDistribution((ErlangDistributionType)null); return; case DroolsPackage.DOCUMENT_ROOT__EXPRESSION_PARAMETER: setExpressionParameter((ExpressionParameterType)null); return; case DroolsPackage.DOCUMENT_ROOT__FLOATING_PARAMETER: setFloatingParameter((FloatingParameterType)null); return; case DroolsPackage.DOCUMENT_ROOT__GAMMA_DISTRIBUTION: setGammaDistribution((GammaDistributionType)null); return; case DroolsPackage.DOCUMENT_ROOT__GLOBAL: setGlobal((GlobalType)null); return; case DroolsPackage.DOCUMENT_ROOT__IMPORT: setImport((ImportType)null); return; case DroolsPackage.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION: setLogNormalDistribution((LogNormalDistributionType)null); return; case DroolsPackage.DOCUMENT_ROOT__METADATA: setMetadata((MetadataType)null); return; case DroolsPackage.DOCUMENT_ROOT__METAENTRY: setMetaentry((MetaentryType)null); return; case DroolsPackage.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION: setNegativeExponentialDistribution((NegativeExponentialDistributionType)null); return; case DroolsPackage.DOCUMENT_ROOT__NORMAL_DISTRIBUTION: setNormalDistribution((NormalDistributionType)null); return; case DroolsPackage.DOCUMENT_ROOT__NUMERIC_PARAMETER: setNumericParameter((NumericParameterType)null); return; case DroolsPackage.DOCUMENT_ROOT__ON_ENTRY_SCRIPT: setOnEntryScript((OnEntryScriptType)null); return; case DroolsPackage.DOCUMENT_ROOT__ON_EXIT_SCRIPT: setOnExitScript((OnExitScriptType)null); return; case DroolsPackage.DOCUMENT_ROOT__POISSON_DISTRIBUTION: setPoissonDistribution((PoissonDistributionType)null); return; case DroolsPackage.DOCUMENT_ROOT__PROCESS_ANALYSIS_DATA: setProcessAnalysisData((ProcessAnalysisDataType)null); return; case DroolsPackage.DOCUMENT_ROOT__RANDOM_DISTRIBUTION: setRandomDistribution((RandomDistributionType)null); return; case DroolsPackage.DOCUMENT_ROOT__STRING_PARAMETER: setStringParameter((StringParameterType)null); return; case DroolsPackage.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION: setTriangularDistribution((TriangularDistributionType)null); return; case DroolsPackage.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION: setTruncatedNormalDistribution((TruncatedNormalDistributionType)null); return; case DroolsPackage.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION: setUniformDistribution((UniformDistributionType)null); return; case DroolsPackage.DOCUMENT_ROOT__USER_DISTRIBUTION: setUserDistribution((UserDistributionType)null); return; case DroolsPackage.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT: setUserDistributionDataPoint((UserDistributionDataPointType)null); return; case DroolsPackage.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION: setWeibullDistribution((WeibullDistributionType)null); return; case DroolsPackage.DOCUMENT_ROOT__PACKAGE_NAME: setPackageName(PACKAGE_NAME_EDEFAULT); return; case DroolsPackage.DOCUMENT_ROOT__PRIORITY: setPriority(PRIORITY_EDEFAULT); return; case DroolsPackage.DOCUMENT_ROOT__RULE_FLOW_GROUP: setRuleFlowGroup(RULE_FLOW_GROUP_EDEFAULT); return; case DroolsPackage.DOCUMENT_ROOT__TASK_NAME: setTaskName(TASK_NAME_EDEFAULT); return; case DroolsPackage.DOCUMENT_ROOT__VERSION: setVersion(VERSION_EDEFAULT); return; } super.eUnset(featureID); } /** * * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { case DroolsPackage.DOCUMENT_ROOT__MIXED: return mixed != null && !mixed.isEmpty(); case DroolsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty(); case DroolsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: return xSISchemaLocation != null && !xSISchemaLocation.isEmpty(); case DroolsPackage.DOCUMENT_ROOT__BETA_DISTRIBUTION: return getBetaDistribution() != null; case DroolsPackage.DOCUMENT_ROOT__PARAMETER_VALUE: return getParameterValue() != null; case DroolsPackage.DOCUMENT_ROOT__BINOMIAL_DISTRIBUTION: return getBinomialDistribution() != null; case DroolsPackage.DOCUMENT_ROOT__BOOLEAN_PARAMETER: return getBooleanParameter() != null; case DroolsPackage.DOCUMENT_ROOT__DATE_TIME_PARAMETER: return getDateTimeParameter() != null; case DroolsPackage.DOCUMENT_ROOT__DECIMAL_PARAMETER: return getDecimalParameter() != null; case DroolsPackage.DOCUMENT_ROOT__DURATION_PARAMETER: return getDurationParameter() != null; case DroolsPackage.DOCUMENT_ROOT__ENUM_PARAMETER: return getEnumParameter() != null; case DroolsPackage.DOCUMENT_ROOT__ERLANG_DISTRIBUTION: return getErlangDistribution() != null; case DroolsPackage.DOCUMENT_ROOT__EXPRESSION_PARAMETER: return getExpressionParameter() != null; case DroolsPackage.DOCUMENT_ROOT__FLOATING_PARAMETER: return getFloatingParameter() != null; case DroolsPackage.DOCUMENT_ROOT__GAMMA_DISTRIBUTION: return getGammaDistribution() != null; case DroolsPackage.DOCUMENT_ROOT__GLOBAL: return getGlobal() != null; case DroolsPackage.DOCUMENT_ROOT__IMPORT: return getImport() != null; case DroolsPackage.DOCUMENT_ROOT__LOG_NORMAL_DISTRIBUTION: return getLogNormalDistribution() != null; case DroolsPackage.DOCUMENT_ROOT__METADATA: return getMetadata() != null; case DroolsPackage.DOCUMENT_ROOT__METAENTRY: return getMetaentry() != null; case DroolsPackage.DOCUMENT_ROOT__NEGATIVE_EXPONENTIAL_DISTRIBUTION: return getNegativeExponentialDistribution() != null; case DroolsPackage.DOCUMENT_ROOT__NORMAL_DISTRIBUTION: return getNormalDistribution() != null; case DroolsPackage.DOCUMENT_ROOT__NUMERIC_PARAMETER: return getNumericParameter() != null; case DroolsPackage.DOCUMENT_ROOT__ON_ENTRY_SCRIPT: return getOnEntryScript() != null; case DroolsPackage.DOCUMENT_ROOT__ON_EXIT_SCRIPT: return getOnExitScript() != null; case DroolsPackage.DOCUMENT_ROOT__POISSON_DISTRIBUTION: return getPoissonDistribution() != null; case DroolsPackage.DOCUMENT_ROOT__PROCESS_ANALYSIS_DATA: return getProcessAnalysisData() != null; case DroolsPackage.DOCUMENT_ROOT__RANDOM_DISTRIBUTION: return getRandomDistribution() != null; case DroolsPackage.DOCUMENT_ROOT__STRING_PARAMETER: return getStringParameter() != null; case DroolsPackage.DOCUMENT_ROOT__TRIANGULAR_DISTRIBUTION: return getTriangularDistribution() != null; case DroolsPackage.DOCUMENT_ROOT__TRUNCATED_NORMAL_DISTRIBUTION: return getTruncatedNormalDistribution() != null; case DroolsPackage.DOCUMENT_ROOT__UNIFORM_DISTRIBUTION: return getUniformDistribution() != null; case DroolsPackage.DOCUMENT_ROOT__USER_DISTRIBUTION: return getUserDistribution() != null; case DroolsPackage.DOCUMENT_ROOT__USER_DISTRIBUTION_DATA_POINT: return getUserDistributionDataPoint() != null; case DroolsPackage.DOCUMENT_ROOT__WEIBULL_DISTRIBUTION: return getWeibullDistribution() != null; case DroolsPackage.DOCUMENT_ROOT__PACKAGE_NAME: return PACKAGE_NAME_EDEFAULT == null ? packageName != null : !PACKAGE_NAME_EDEFAULT.equals(packageName); case DroolsPackage.DOCUMENT_ROOT__PRIORITY: return PRIORITY_EDEFAULT == null ? priority != null : !PRIORITY_EDEFAULT.equals(priority); case DroolsPackage.DOCUMENT_ROOT__RULE_FLOW_GROUP: return RULE_FLOW_GROUP_EDEFAULT == null ? ruleFlowGroup != null : !RULE_FLOW_GROUP_EDEFAULT.equals(ruleFlowGroup); case DroolsPackage.DOCUMENT_ROOT__TASK_NAME: return TASK_NAME_EDEFAULT == null ? taskName != null : !TASK_NAME_EDEFAULT.equals(taskName); case DroolsPackage.DOCUMENT_ROOT__VERSION: return VERSION_EDEFAULT == null ? version != null : !VERSION_EDEFAULT.equals(version); } 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(", packageName: "); result.append(packageName); result.append(", priority: "); result.append(priority); result.append(", ruleFlowGroup: "); result.append(ruleFlowGroup); result.append(", taskName: "); result.append(taskName); result.append(", version: "); result.append(version); result.append(')'); return result.toString(); } } //DocumentRootImpl




© 2015 - 2025 Weber Informatics LLC | Privacy Policy