All Known Implementing Classes:
EvaluationNodeThresholdValueProvider, InputNodeThresholdValueProvider, InputThresholdValueProvider, TemplateThresholdValueProvider

public interface ThresholdValueProvider
is used to gather values for ThresholdValueEditorActionService

wraps a entity and generates instances from ch.tocco.nice2.optional.qualification.impl.util.entities that gather the data

  • Method Details

    • isValid

      boolean isValid()
      Returns:
      true if the action may run on the given entity, false otherwise
    • getEvents

      @Nullable @Nullable String getEvents()
      Returns:
      a string containing the events the entity is related to
    • getScaleMin

      @Nullable @Nullable BigDecimal getScaleMin()
      Returns:
      the lower end of the grade scale
    • getScaleMax

      @Nullable @Nullable BigDecimal getScaleMax()
      Returns:
      the higher end of the grade scale
    • getRounding

      @Nullable @Nullable BigDecimal getRounding()
      Returns:
      the rounding of the grades
    • getThresholdValues

      List<ThresholdValue> getThresholdValues()
      Returns:
      list of all related Threshold_value entities, wrapped in ThresholdValue
    • getEntitySpecificTemplates

      EntityList getEntitySpecificTemplates()
      Returns:
      list of all templates that apply specifically to this entity