Interface ThresholdValueProvider
- 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 Summary
Modifier and TypeMethodDescription@Nullable String
@Nullable BigDecimal
@Nullable BigDecimal
@Nullable BigDecimal
boolean
isValid()
-
Method Details
-
isValid
boolean isValid()- Returns:
- true if the action may run on the given entity, false otherwise
-
getEvents
- Returns:
- a string containing the events the entity is related to
-
getScaleMin
- Returns:
- the lower end of the grade scale
-
getScaleMax
- Returns:
- the higher end of the grade scale
-
getRounding
- Returns:
- the rounding of the grades
-
getThresholdValues
List<ThresholdValue> getThresholdValues()- Returns:
- list of all related
Threshold_value
entities, wrapped inThresholdValue
-
getEntitySpecificTemplates
EntityList getEntitySpecificTemplates()- Returns:
- list of all templates that apply specifically to this entity
-