Class InputThresholdValueProvider
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.action.thresholdedit.providers.InputThresholdValueProvider
- All Implemented Interfaces:
ThresholdValueProvider
wraps a
Input
entity-
Constructor Summary
ConstructorDescriptionInputThresholdValueProvider
(Entity entity, QualificationService qualificationService) -
Method Summary
-
Constructor Details
-
InputThresholdValueProvider
-
-
Method Details
-
isValid
public boolean isValid()- Specified by:
isValid
in interfaceThresholdValueProvider
- Returns:
- true if the action may run on the given entity, false otherwise
-
getEvents
- Specified by:
getEvents
in interfaceThresholdValueProvider
- Returns:
- a string containing the events the entity is related to
-
getScaleMin
- Specified by:
getScaleMin
in interfaceThresholdValueProvider
- Returns:
- the lower end of the grade scale
-
getScaleMax
- Specified by:
getScaleMax
in interfaceThresholdValueProvider
- Returns:
- the higher end of the grade scale
-
getRounding
- Specified by:
getRounding
in interfaceThresholdValueProvider
- Returns:
- the rounding of the grades
-
getThresholdValues
- Specified by:
getThresholdValues
in interfaceThresholdValueProvider
- Returns:
- list of all related
Threshold_value
entities, wrapped inThresholdValue
-
getEntitySpecificTemplates
- Specified by:
getEntitySpecificTemplates
in interfaceThresholdValueProvider
- Returns:
- list of all templates that apply specifically to this entity
-