Class NormDetails

java.lang.Object
org.ametys.plugins.odfpilotage.cost.entity.NormDetails

public class NormDetails extends Object
This class store informations about the norm
  • Constructor Details

    • NormDetails

      public NormDetails(Long effMax, Long effMinSup)
      The constructor
      Parameters:
      effMax - the effective max
      effMinSup - the effective min sup
    • NormDetails

      public NormDetails(Long effMax, Long effMinSup, String label)
      The constructor
      Parameters:
      effMax - the effective max
      effMinSup - the effective min sup
      label - the norm label
  • Method Details

    • getEffectiveMinSup

      Get the effective min sup
      Returns:
      the effective min sup
    • getEffectiveMinSupOrDefault

      Get the effective min sup or if null 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 if null the default value 1
      Returns:
      the effective min sup
    • getNormLabel

      public String getNormLabel()
      Get the norm label
      Returns:
      the norm label