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
ConstructorsConstructorDescriptionInputThresholdValueProvider(Entity entity, QualificationService qualificationService) -
Method Summary
-
Constructor Details
-
InputThresholdValueProvider
-
-
Method Details
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceThresholdValueProvider- Returns:
- true if the action may run on the given entity, false otherwise
-
getEvents
- Specified by:
getEventsin interfaceThresholdValueProvider- Returns:
- a string containing the events the entity is related to
-
getScaleMin
- Specified by:
getScaleMinin interfaceThresholdValueProvider- Returns:
- the lower end of the grade scale
-
getScaleMax
- Specified by:
getScaleMaxin interfaceThresholdValueProvider- Returns:
- the higher end of the grade scale
-
getRounding
- Specified by:
getRoundingin interfaceThresholdValueProvider- Returns:
- the rounding of the grades
-
getThresholdValues
- Specified by:
getThresholdValuesin interfaceThresholdValueProvider- Returns:
- list of all related
Threshold_valueentities, wrapped inThresholdValue
-
getEntitySpecificTemplates
- Specified by:
getEntitySpecificTemplatesin interfaceThresholdValueProvider- Returns:
- list of all templates that apply specifically to this entity
-