Class ProgramItemData
java.lang.Object
org.ametys.plugins.odfpilotage.cost.entity.ProgramItemData
Object representing cost computation informations for an item (can be a program item or a court part).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the effectivesgetEqTD()
Get the td equivalentGet the groupsgetHeRatio
(String programItemPath) Get the H/E ratioGet all the H/E ratios by item path, a ratio can be empty if effectives are empty.Get the norm detailsGet the possible pathes of the elementGet the volumes of hoursGet the weightboolean
true
if the current data concern a course part, otherwisefalse
.void
setEffectives
(Effectives effectives) Set the effectivesvoid
Set the td equivalentvoid
Set the groupsvoid
setIsCoursePart
(boolean isCoursePart) Settrue
to indicate that the current data concern a course partvoid
setNormDetails
(NormDetails normDetails) Set the norm detailsvoid
Set the possible pathes of the elementvoid
setVolumesOfHours
(VolumesOfHours volumesOfHours) Set the volumes of hoursvoid
Set the weight
-
Constructor Details
-
ProgramItemData
public ProgramItemData()Constructor
-
-
Method Details
-
getEffectives
Get the effectives- Returns:
- the effectives
-
setEffectives
Set the effectives- Parameters:
effectives
- the effectives
-
getVolumesOfHours
Get the volumes of hours- Returns:
- the volumes of hours
-
setVolumesOfHours
Set the volumes of hours- Parameters:
volumesOfHours
- the volumes of hours
-
getGroups
Get the groups- Returns:
- the groups
-
setGroups
Set the groups- Parameters:
groups
- the groups
-
getEqTD
Get the td equivalent- Returns:
- the td equivalent
-
setEqTD
Set the td equivalent- Parameters:
eqTD
- the td equivalent
-
getWeight
Get the weight- Returns:
- the weight
-
setWeight
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
Get the H/E ratio- Parameters:
programItemPath
- the program item path- Returns:
- the H/E ratio
-
getPathes
Get the possible pathes of the element- Returns:
- the possible pathes
-
setPathes
Set the possible pathes of the element- Parameters:
pathes
- the possible pathes
-
getNormDetails
Get the norm details- Returns:
- the norm details
-
setNormDetails
Set the norm details- Parameters:
normDetails
- the norm details
-
isCoursePart
true
if the current data concern a course part, otherwisefalse
.- Returns:
true
if the current data concern a course part
-
setIsCoursePart
Settrue
to indicate that the current data concern a course part- Parameters:
isCoursePart
- the course part status
-