Class EqTD
- java.lang.Object
-
- org.ametys.plugins.odfpilotage.cost.entity.EqTD
-
-
Field Summary
Fields Modifier and Type Field Description private Double
_globalEqTD
The global eqTD valueprivate Map<String,Double>
_localEqTD
The local eqTD valueprivate String
_programItemId
The program item idprivate Map<String,Double>
_proRatedEqTD
The pro-rated eqTD value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLocalEqTD(String programItemPath, Double eqTD)
Set the local eqTD valuevoid
addProRatedEqTD(String programItemPath, Double eqTD)
Set the pro-rated eqTD valueDouble
getGlobalEqTD()
Get the global eqTD valueMap<String,Double>
getLocalEqTD()
Get all local eqTD valuesDouble
getLocalEqTD(String programItemPath)
Get the local eqTD valueString
getProgramItemId()
Get the program item idMap<String,Double>
getProRatedEqTD()
Get all pro-rated eqTD valuesDouble
getProRatedEqTD(String programItemPath)
Get the pro-rated eqTD valuevoid
setGlobalEqTD(Double eqTD)
Set the global eqTD valuevoid
sum(EqTD eqTD, Double weight, String childPath, String parentPath)
Sum pro-rated and local eqTD values
-
-
-
Field Detail
-
_globalEqTD
private Double _globalEqTD
The global eqTD value
-
_localEqTD
private Map<String,Double> _localEqTD
The local eqTD value
-
_proRatedEqTD
private Map<String,Double> _proRatedEqTD
The pro-rated eqTD value
-
_programItemId
private String _programItemId
The program item id
-
-
Method Detail
-
getLocalEqTD
public Double getLocalEqTD(String programItemPath)
Get the local eqTD value- Parameters:
programItemPath
- the program item path- Returns:
- the local eqTD value
-
getLocalEqTD
public Map<String,Double> getLocalEqTD()
Get all local eqTD values- Returns:
- all local eqTD values
-
addLocalEqTD
public void addLocalEqTD(String programItemPath, Double eqTD)
Set the local eqTD value- Parameters:
programItemPath
- the program item patheqTD
- the value
-
getGlobalEqTD
public Double getGlobalEqTD()
Get the global eqTD value- Returns:
- the global eqTD value
-
setGlobalEqTD
public void setGlobalEqTD(Double eqTD)
Set the global eqTD value- Parameters:
eqTD
- the value
-
addProRatedEqTD
public void addProRatedEqTD(String programItemPath, Double eqTD)
Set the pro-rated eqTD value- Parameters:
programItemPath
- the program item patheqTD
- the value
-
getProRatedEqTD
public Double getProRatedEqTD(String programItemPath)
Get the pro-rated eqTD value- Parameters:
programItemPath
- the program item path- Returns:
- the pro-rated eqTD value
-
getProRatedEqTD
public Map<String,Double> getProRatedEqTD()
Get all pro-rated eqTD values- Returns:
- all pro-rated eqTD values
-
getProgramItemId
public String getProgramItemId()
Get the program item id- Returns:
- the program item id
-
-