Class ExperimentDataFactoryImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- org.eclipse.emf.ecore.impl.EModelElementImpl
-
- org.eclipse.emf.ecore.impl.EFactoryImpl
-
- org.palladiosimulator.edp2.models.ExperimentData.impl.ExperimentDataFactoryImpl
-
- All Implemented Interfaces:
Notifier
,EFactory
,EModelElement
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,BinaryResourceImpl.DataConverter.Factory
,ExperimentDataFactory
public class ExperimentDataFactoryImpl extends EFactoryImpl implements ExperimentDataFactory
An implementation of the model Factory.- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
-
Fields inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
EDATE_FORMATS, ePackage
-
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
-
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
-
Fields inherited from interface org.palladiosimulator.edp2.models.ExperimentData.ExperimentDataFactory
eINSTANCE
-
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
-
Constructor Summary
Constructors Constructor Description ExperimentDataFactoryImpl()
Creates an instance of the factory.
-
Method Summary
-
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, create, createFromString, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage, split
-
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.ecore.EFactory
getEPackage, setEPackage
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
init
public static ExperimentDataFactory init()
Creates the default factory implementation.- Generated class or method.
-
create
public EObject create(EClass eClass)
- Specified by:
create
in interfaceEFactory
- Overrides:
create
in classEFactoryImpl
- Generated class or method.
-
createFromString
public Object createFromString(EDataType eDataType, String initialValue)
- Specified by:
createFromString
in interfaceEFactory
- Overrides:
createFromString
in classEFactoryImpl
- Generated class or method.
-
convertToString
public String convertToString(EDataType eDataType, Object instanceValue)
- Specified by:
convertToString
in interfaceEFactory
- Overrides:
convertToString
in classEFactoryImpl
- Generated class or method.
-
createMeasurementRange
public MeasurementRange createMeasurementRange()
- Specified by:
createMeasurementRange
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Measurement Range'.
- Generated class or method.
-
createFixedWidthAggregatedMeasurements
public FixedWidthAggregatedMeasurements createFixedWidthAggregatedMeasurements()
- Specified by:
createFixedWidthAggregatedMeasurements
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Fixed Width Aggregated Measurements'.
- Generated class or method.
-
createFixedIntervals
public FixedIntervals createFixedIntervals()
- Specified by:
createFixedIntervals
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Fixed Intervals'.
- Generated class or method.
-
createTextualNominalStatistics
public TextualNominalStatistics createTextualNominalStatistics()
- Specified by:
createTextualNominalStatistics
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Textual Nominal Statistics'.
- Generated class or method.
-
createTextualMassDistribution
public TextualMassDistribution createTextualMassDistribution()
- Specified by:
createTextualMassDistribution
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Textual Mass Distribution'.
- Generated class or method.
-
createEStringtoEObjectMapEntry
public Map.Entry<String,Object> createEStringtoEObjectMapEntry()
- Generated class or method.
-
createRawMeasurements
public RawMeasurements createRawMeasurements()
- Specified by:
createRawMeasurements
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Raw Measurements'.
- Generated class or method.
-
createNumericalNominalStatistics
public NumericalNominalStatistics createNumericalNominalStatistics()
- Specified by:
createNumericalNominalStatistics
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Numerical Nominal Statistics'.
- Generated class or method.
-
createNumericalMassDistribution
public NumericalMassDistribution createNumericalMassDistribution()
- Specified by:
createNumericalMassDistribution
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Numerical Mass Distribution'.
- Generated class or method.
-
createExperimentGroup
public ExperimentGroup createExperimentGroup()
- Specified by:
createExperimentGroup
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Experiment Group'.
- Generated class or method.
-
createExperimentSetting
public ExperimentSetting createExperimentSetting()
- Specified by:
createExperimentSetting
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Experiment Setting'.
- Generated class or method.
-
createExperimentRun
public ExperimentRun createExperimentRun()
- Specified by:
createExperimentRun
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Experiment Run'.
- Generated class or method.
-
createMeasurement
public Measurement createMeasurement()
- Specified by:
createMeasurement
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Measurement'.
- Generated class or method.
-
createMeasuringType
public MeasuringType createMeasuringType()
- Specified by:
createMeasuringType
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Measuring Type'.
- Generated class or method.
-
createMeasuringType
public MeasuringType createMeasuringType(MeasuringPoint measuringPoint, org.palladiosimulator.metricspec.MetricDescription metricDescription)
Factory method to create a new number-based measure with the given arguments.- Specified by:
createMeasuringType
in interfaceExperimentDataFactory
- Parameters:
measuringPoint
- Name of the measured object.metricDescription
- Metric description used by this measure.- Returns:
- New number-based measure.
-
createExperimentSetting
public ExperimentSetting createExperimentSetting(ExperimentGroup experimentGroup, String description)
Factory method to create a new experiment setting with the given arguments.- Specified by:
createExperimentSetting
in interfaceExperimentDataFactory
- Parameters:
experimentGroup
- The experiment group which the new setting is assigned to.description
- Description of the setting.- Returns:
- New experiment setting.
-
createExperimentGroup
public ExperimentGroup createExperimentGroup(String purpose)
Factory method to create a new experiment group with the given arguments.- Specified by:
createExperimentGroup
in interfaceExperimentDataFactory
- Parameters:
purpose
- The purpose of the group.- Returns:
- New experiment group.
-
createMeasurement
public Measurement createMeasurement(MeasuringType forMeasuringType)
Factory method to create a new measurement with the given arguments.- Specified by:
createMeasurement
in interfaceExperimentDataFactory
- Parameters:
forMeasuringType
- The measure for which the measurement should be created.- Returns:
- New measurement.
-
createExperimentRun
public ExperimentRun createExperimentRun(ExperimentSetting forExperimentSetting)
Factory method to create a new experiment run with the given arguments.- Specified by:
createExperimentRun
in interfaceExperimentDataFactory
- Parameters:
forExperimentSetting
- The setting for which the run should be created.- Returns:
- New experiment run.
-
createRawMeasurements
public RawMeasurements createRawMeasurements(MeasurementRange forMeasurementRange)
Factory method to create a new raw measurements with the given arguments. The corresponding data series are automatically created from the measure definitions.- Specified by:
createRawMeasurements
in interfaceExperimentDataFactory
- Returns:
- New raw measurements.
-
createJSXmlMeasurements
public JSXmlMeasurements createJSXmlMeasurements(RawMeasurements forRawMeasurements, String valuesUuid)
Factory method to create a new JScience XML measurements with the given arguments.- Specified by:
createJSXmlMeasurements
in interfaceExperimentDataFactory
- Parameters:
forRawMeasurements
- The raw measurement for which the measurements should be created.valuesUuid
- The UUID for the values.- Returns:
- New JScience XML measurements.
-
createLongBinaryMeasurements
public LongBinaryMeasurements createLongBinaryMeasurements(RawMeasurements forRawMeasurements, String valuesUuid, javax.measure.unit.Unit defaultUnit)
Factory method to create a new long binary measurements with the given arguments.- Specified by:
createLongBinaryMeasurements
in interfaceExperimentDataFactory
valuesUuid
- The UUID for the values.defaultUnit
- The default unit of the values.- Returns:
- New long binary measurements.
-
createDoubleBinaryMeasurements
public DoubleBinaryMeasurements createDoubleBinaryMeasurements(RawMeasurements forRawMeasurements, String valuesUuid, javax.measure.unit.Unit defaultUnit)
Factory method to create a new double binary measurements with the given arguments.- Specified by:
createDoubleBinaryMeasurements
in interfaceExperimentDataFactory
valuesUuid
- The UUID for the values.defaultUnit
- The default unit of the values.- Returns:
- New double binary measurements.
-
createIdentifierBasedMeasurements
public IdentifierBasedMeasurements createIdentifierBasedMeasurements(RawMeasurements forRawMeasurements, String valuesUuid)
Factory method to create a new identifier-based measurements with the given arguments.- Specified by:
createIdentifierBasedMeasurements
in interfaceExperimentDataFactory
valuesUuid
- The UUID for the values.- Returns:
- New identifier-based measurements.
-
createMeasurementRange
public MeasurementRange createMeasurementRange(Measurement forMeasurement)
Factory method to create a new measurements range with the given arguments.- Specified by:
createMeasurementRange
in interfaceExperimentDataFactory
- Parameters:
forMeasurement
- The measurements for which the range should be created.- Returns:
- New measurements range.
-
createAggregationStatistics
public AggregationStatistics createAggregationStatistics()
- Specified by:
createAggregationStatistics
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Aggregation Statistics'.
- Generated class or method.
-
createLongBinaryMeasurements
public LongBinaryMeasurements createLongBinaryMeasurements()
- Specified by:
createLongBinaryMeasurements
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Long Binary Measurements'.
- Generated class or method.
-
createDoubleBinaryMeasurements
public <Q extends javax.measure.quantity.Quantity> DoubleBinaryMeasurements<Q> createDoubleBinaryMeasurements()
- Specified by:
createDoubleBinaryMeasurements
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Double Binary Measurements'.
- Generated class or method.
-
createNumericalIntervalStatistics
public NumericalIntervalStatistics createNumericalIntervalStatistics()
- Specified by:
createNumericalIntervalStatistics
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Numerical Interval Statistics'.
- Generated class or method.
-
createNumericalOrdinalStatistics
public NumericalOrdinalStatistics createNumericalOrdinalStatistics()
- Specified by:
createNumericalOrdinalStatistics
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Numerical Ordinal Statistics'.
- Generated class or method.
-
createNumericalPercentile
public NumericalPercentile createNumericalPercentile()
- Specified by:
createNumericalPercentile
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Numerical Percentile'.
- Generated class or method.
-
createJSXmlMeasurements
public JSXmlMeasurements createJSXmlMeasurements()
- Specified by:
createJSXmlMeasurements
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'JS Xml Measurements'.
- Generated class or method.
-
createIdentifierBasedMeasurements
public IdentifierBasedMeasurements createIdentifierBasedMeasurements()
- Specified by:
createIdentifierBasedMeasurements
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Identifier Based Measurements'.
- Generated class or method.
-
createNumericalRatioStatistics
public NumericalRatioStatistics createNumericalRatioStatistics()
- Specified by:
createNumericalRatioStatistics
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Numerical Ratio Statistics'.
- Generated class or method.
-
createTextualOrdinalStatistics
public TextualOrdinalStatistics createTextualOrdinalStatistics()
- Specified by:
createTextualOrdinalStatistics
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Textual Ordinal Statistics'.
- Generated class or method.
-
createExperimentGroupRun
public ExperimentGroupRun createExperimentGroupRun()
- Specified by:
createExperimentGroupRun
in interfaceExperimentDataFactory
- Returns:
- a new object of class 'Experiment Group Run'.
- Generated class or method.
-
createEJSMeasureFromString
public javax.measure.Measure<?,?> createEJSMeasureFromString(EDataType eDataType, String initialValue)
- Generated class or method.
- not
-
convertEJSMeasureToString
public String convertEJSMeasureToString(EDataType eDataType, Object instanceValue)
- Generated class or method.
- not
-
createEJSDurationMeasureFromString
public javax.measure.Measure createEJSDurationMeasureFromString(EDataType eDataType, String initialValue)
- Generated class or method.
- not
-
convertEJSDurationMeasureToString
public String convertEJSDurationMeasureToString(EDataType eDataType, Object instanceValue)
- Generated class or method.
- not
-
getExperimentDataPackage
public ExperimentDataPackage getExperimentDataPackage()
- Specified by:
getExperimentDataPackage
in interfaceExperimentDataFactory
- Returns:
- the package supported by this factory.
- Generated class or method.
-
getPackage
@Deprecated public static ExperimentDataPackage getPackage()
Deprecated.- Generated class or method.
-
-