Class ProgramItemData

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

public class ProgramItemData extends Object
Object representing cost computation informations for an item (can be a program item or a court part).
  • Constructor Details

  • Method Details

    • getEffectives

      Get the effectives
      Returns:
      the effectives
    • setEffectives

      public void setEffectives(Effectives effectives)
      Set the effectives
      Parameters:
      effectives - the effectives
    • getVolumesOfHours

      Get the volumes of hours
      Returns:
      the volumes of hours
    • setVolumesOfHours

      public void setVolumesOfHours(VolumesOfHours volumesOfHours)
      Set the volumes of hours
      Parameters:
      volumesOfHours - the volumes of hours
    • getGroups

      public Groups getGroups()
      Get the groups
      Returns:
      the groups
    • setGroups

      public void setGroups(Groups groups)
      Set the groups
      Parameters:
      groups - the groups
    • getEqTD

      public EqTD getEqTD()
      Get the td equivalent
      Returns:
      the td equivalent
    • setEqTD

      public void setEqTD(EqTD eqTD)
      Set the td equivalent
      Parameters:
      eqTD - the td equivalent
    • getWeight

      public Double getWeight()
      Get the weight
      Returns:
      the weight
    • setWeight

      public void setWeight(Double weight)
      Set the weight
      Parameters:
      weight - the weight
    • getHeRatios

      Get all the H/E ratios by item path, a ratio can be empty if effectives are empty.
      Returns:
      a map of H/E ratios
    • getHeRatio

      public Optional<Double> getHeRatio(String programItemPath)
      Get the H/E ratio
      Parameters:
      programItemPath - the program item path
      Returns:
      the H/E ratio
    • getPathes

      public Set<String> getPathes()
      Get the possible pathes of the element
      Returns:
      the possible pathes
    • setPathes

      public void setPathes(Set<String> pathes)
      Set the possible pathes of the element
      Parameters:
      pathes - the possible pathes
    • getNormDetails

      Get the norm details
      Returns:
      the norm details
    • setNormDetails

      public void setNormDetails(NormDetails normDetails)
      Set the norm details
      Parameters:
      normDetails - the norm details
    • isCoursePart

      public boolean isCoursePart()
      true if the current data concern a course part, otherwise false.
      Returns:
      true if the current data concern a course part
    • setIsCoursePart

      public void setIsCoursePart(boolean isCoursePart)
      Set true to indicate that the current data concern a course part
      Parameters:
      isCoursePart - the course part status