Class VariationPoint<T>

java.lang.Object
com.nomagic.magicdraw.variants.variationpoints.VariationPoint<T>
Direct Known Subclasses:
PropertyVariationPoint

@OpenApiAll public abstract class VariationPoint<T> extends Object
Marks that element has a variable feature that can be transformed. It's evaluator provides concrete value that should be set to the element's variable feature during variant realization
  • Constructor Details

  • Method Details

    • getElement

      public Element getElement()
    • getValue

      @CheckForNull public T getValue(@CheckForNull Object currentValue)
      Returns transformed value for the given element
      Returns:
      calculated value to be applied during transformation
    • getEvaluator

      protected Evaluator<T> getEvaluator()
    • toString

      public String toString()
      Overrides:
      toString in class Object