Class NormDetails
java.lang.Object
org.ametys.plugins.odfpilotage.cost.entity.NormDetails
This class store informations about the norm
-
Constructor Summary
ConstructorDescriptionNormDetails
(Long effMax, Long effMinSup) The constructorNormDetails
(Long effMax, Long effMinSup, String label) The constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the effective maxGet the effective min sup or ifnull
the default value 1Get the effective min supGet the effective min sup or ifnull
the default value 1Get the norm label
-
Constructor Details
-
NormDetails
The constructor- Parameters:
effMax
- the effective maxeffMinSup
- the effective min sup
-
NormDetails
The constructor- Parameters:
effMax
- the effective maxeffMinSup
- the effective min suplabel
- the norm label
-
-
Method Details
-
getEffectiveMinSup
Get the effective min sup- Returns:
- the effective min sup
-
getEffectiveMinSupOrDefault
Get the effective min sup or ifnull
the default value 1- Returns:
- the effective min sup
-
getEffectiveMax
Get the effective max- Returns:
- the effective max
-
getEffectiveMaxOrDefault
Get the effective min sup or ifnull
the default value 1- Returns:
- the effective min sup
-
getNormLabel
Get the norm label- Returns:
- the norm label
-