|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.module.ec.util.DetailLineGroup
public class DetailLineGroup
grouping a set of detail lines. The class is implemented to manage: summary line and delegating line.
| Constructor Summary | |
|---|---|
DetailLineGroup()
Constructs a DetailLineGroup.java. |
|
DetailLineGroup(EffortCertificationDetail newDetailLine)
Constructs a DetailLineGroup.java. |
|
| Method Summary | |
|---|---|
EffortCertificationDetail |
getDelegateDetailLine()
Gets the delegateDetailLine attribute. |
List<EffortCertificationDetail> |
getDetailLines()
Gets the detailLines attribute. |
static String |
getKeysAsString(EffortCertificationDetail line)
concat the keys of the given detail line as a single string |
EffortCertificationDetail |
getSummaryDetailLine()
Gets the summaryDetailLine attribute. |
static Map<String,DetailLineGroup> |
groupDetailLines(List<EffortCertificationDetail> detailLines)
group the given detail lines by the key fields |
void |
setDelegateDetailLine(EffortCertificationDetail delegateDetailLine)
Sets the delegateDetailLine attribute value. |
void |
setDetailLines(List<EffortCertificationDetail> detailLines)
Sets the detailLines attribute value. |
void |
setSummaryDetailLine(EffortCertificationDetail summaryDetailLine)
Sets the summaryDetailLine attribute value. |
void |
updateDelegateDetailLineEffort()
update the effort percent of the delegate detail line if the effort on the summary line has been changed |
void |
updateDetailLineEffortPercent()
update the effort percents of the detail lines if the effort on the summary line has been changed |
void |
updateDetailLinePayrollAmount()
update the payroll amounts of the detail lines if the payroll amount on the summary line has been changed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DetailLineGroup()
public DetailLineGroup(EffortCertificationDetail newDetailLine)
detailLine - the given detail line| Method Detail |
|---|
public void updateDelegateDetailLineEffort()
public void updateDetailLineEffortPercent()
public void updateDetailLinePayrollAmount()
public static Map<String,DetailLineGroup> groupDetailLines(List<EffortCertificationDetail> detailLines)
detailLines - the given detail lineskeyFields - the given key fields
public static String getKeysAsString(EffortCertificationDetail line)
line - the given detail line
public EffortCertificationDetail getSummaryDetailLine()
public void setSummaryDetailLine(EffortCertificationDetail summaryDetailLine)
summaryDetailLine - The summaryDetailLine to set.public List<EffortCertificationDetail> getDetailLines()
public void setDetailLines(List<EffortCertificationDetail> detailLines)
detailLines - The detailLines to set.public EffortCertificationDetail getDelegateDetailLine()
public void setDelegateDetailLine(EffortCertificationDetail delegateDetailLine)
delegateDetailLine - The delegateDetailLine to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||