Class TimeSeriesAttributeModification
java.lang.Object
com.amalgamasimulation.studies.core.Modification
com.amalgamasimulation.studies.core.CategorialAttributeModification
com.amalgamasimulation.studies.core.TimeSeriesAttributeModification
- All Implemented Interfaces:
VariationModification
-
Constructor Summary
ConstructorsConstructorDescriptionTimeSeriesAttributeModification(String typeName, String fieldName, com.amalgamasimulation.timeseriesdatamodel.TimeSeries value, List<String> objectIdentifiers) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.ecore.EObjectmodify(org.eclipse.emf.ecore.EObject baseScenario) Applies the modification to a given base scenario and returns the modified copy of the base scenario.Methods inherited from class com.amalgamasimulation.studies.core.CategorialAttributeModification
description, fieldName, isApplicable, makeModification, name, objectIdentifier, objectIdentifiers, typeName, valueMethods inherited from class com.amalgamasimulation.studies.core.Modification
identity, isIdentity, toString
-
Constructor Details
-
TimeSeriesAttributeModification
-
-
Method Details
-
modify
public org.eclipse.emf.ecore.EObject modify(org.eclipse.emf.ecore.EObject baseScenario) Description copied from class:ModificationApplies the modification to a given base scenario and returns the modified copy of the base scenario. Implementations must return a modified deep copy of the input scenario, typically done usingEcoreUtil.copy(EObject)method.- Overrides:
modifyin classCategorialAttributeModification- Parameters:
baseScenario- the original EMF scenario to modify- Returns:
- a new
EObjectrepresenting the modified scenario
-
valueString
- Specified by:
valueStringin interfaceVariationModification- Overrides:
valueStringin classCategorialAttributeModification
-