Class VariationManager


  • public class VariationManager
    extends Object
    VariationManager realizes the management of the uncertainty variation model.
    • Constructor Detail

      • VariationManager

        public VariationManager​(URI uncertaintyVariationModel,
                                ResourceAbstraction resourceAbstraction)
        Constructor
        Parameters:
        uncertaintyVariationModel - specifies the uniform resource identifier (uri) which points to the uncertainty variation model for the varying. The uri must be of the platform type.
        resourceAbstraction - the abstraction layer for the model loadings and storing mechanism
    • Method Detail

      • loadUncertaintyVariantModel

        public EObject loadUncertaintyVariantModel()
        loads and returns the specified uncertainty variant model of the current project.
        Returns:
        the loaded uncertainty variation model.
      • validate

        public static void validate​(URI uncertaintyVariationModel,
                                    org.slf4j.Logger logger)
        validates a given uncertainty variation model
        Parameters:
        uncertaintyVariationModel - specifies the uniform resource identifier (uri) which points to the uncertainty variation model for the varying.
        Throws:
        IllegalArgumentException - if the given URI of the uncertainty variation model is valid