org.kuali.kfs.module.ec.businessobject
Class EffortCertificationDetail

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.kfs.module.ec.businessobject.EffortCertificationDetail
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject
Direct Known Subclasses:
EffortCertificationDetailBuild

public class EffortCertificationDetail
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase

Business Object for the Effort Certification Detail Table.

See Also:
Serialized Form

Field Summary
protected  String effectiveDate
           
protected  PositionData positionData
           
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
EffortCertificationDetail()
          Default constructor.
EffortCertificationDetail(EffortCertificationDetail effortCertificationDetail)
           
 
Method Summary
static org.kuali.rice.kns.util.KualiDecimal calculateFringeBenefit(EffortCertificationDetail detailLine, org.kuali.rice.kns.util.KualiDecimal payrollAmount)
          recalculate the original fringe benefit of the current detail line
 Account getAccount()
          Gets the account attribute.
 String getAccountNumber()
          Gets the accountNumber attribute.
 Chart getChartOfAccounts()
          Gets the chartOfAccounts attribute.
 String getChartOfAccountsCode()
          Gets the chartOfAccountsCode attribute.
 String getCostShareSourceSubAccountNumber()
          Gets the costShareSourceSubAccountNumber attribute.
 String getDocumentNumber()
          Gets the documentNumber attribute.
 String getEffectiveDate()
          Gets the effectiveDate attribute.
 Integer getEffortCertificationCalculatedOverallPercent()
          Gets the effortCertificationCalculatedOverallPercent attribute.
 EffortCertificationDocument getEffortCertificationDocument()
          Gets the effortCertificationDocument attribute.
 org.kuali.rice.kns.util.KualiDecimal getEffortCertificationOriginalPayrollAmount()
          Gets the effortCertificationOriginalPayrollAmount attribute.
 org.kuali.rice.kns.util.KualiDecimal getEffortCertificationPayrollAmount()
          Gets the effortCertificationPayrollAmount attribute.
 Integer getEffortCertificationUpdatedOverallPercent()
          Gets the effortCertificationUpdatedOverallPercent attribute.
 ObjectCode getFinancialObject()
          Gets the financialObject attribute.
 String getFinancialObjectCode()
          Gets the financialObjectCode attribute.
 org.kuali.rice.kns.util.KualiDecimal getFringeBenefitAmount()
          Gets the fringeBenefitAmount attribute.
 String getGroupId()
          Gets the groupId attribute.
 SystemOptions getOptions()
          Gets the options attribute.
 org.kuali.rice.kns.util.KualiDecimal getOriginalFringeBenefitAmount()
          Gets the originalFringeBenefitAmount attribute.
 String getOverrideCode()
          Gets the overrideCode attribute.
 Integer getPersistedEffortPercent()
          Gets the persistedEffortPercent attribute.
 org.kuali.rice.kns.util.KualiDecimal getPersistedPayrollAmount()
          Gets the persistedPayrollAmount attribute.
 PositionData getPositionData()
          Gets the positionData attribute.
 String getPositionNumber()
          Gets the positionNumber attribute.
 Account getSourceAccount()
          Gets the sourceAccount attribute.
 String getSourceAccountNumber()
          Gets the sourceAccountNumber attribute.
 Chart getSourceChartOfAccounts()
          Gets the sourceChartOfAccounts attribute.
 String getSourceChartOfAccountsCode()
          Gets the sourceChartOfAccountsCode attribute.
 SubAccount getSubAccount()
          Gets the subAccount attribute.
 String getSubAccountNumber()
          Gets the subAccountNumber attribute.
static Integer getTotalEffortPercent(List<EffortCertificationDetail> effortCertificationDetailLines)
          calculate the total effort percent of the given detail lines
static org.kuali.rice.kns.util.KualiDecimal getTotalFringeBenefit(List<EffortCertificationDetail> effortCertificationDetailLines)
          Gets the totalFringeBenefit attribute.
static Integer getTotalOriginalEffortPercent(List<EffortCertificationDetail> effortCertificationDetailLines)
          calculate the total original effort percent of the given detail lines
static org.kuali.rice.kns.util.KualiDecimal getTotalOriginalFringeBenefit(List<EffortCertificationDetail> effortCertificationDetailLines)
          Gets the totalOriginalFringeBenefit attribute.
static org.kuali.rice.kns.util.KualiDecimal getTotalOriginalPayrollAmount(List<EffortCertificationDetail> effortCertificationDetailLines)
          calculate the total original payroll amount of the given detail lines
static org.kuali.rice.kns.util.KualiDecimal getTotalPayrollAmount(List<EffortCertificationDetail> effortCertificationDetailLines)
          calculate the total payroll amount of the given detail lines
static Integer getTotalPersistedEffortPercent(List<EffortCertificationDetail> effortCertificationDetailLines)
          calculate the total persised effort percent of the given detail lines
static org.kuali.rice.kns.util.KualiDecimal getTotalPersistedPayrollAmount(List<EffortCertificationDetail> effortCertificationDetailLines)
          calculate the total payroll amount of the given detail lines
 Integer getUniversityFiscalYear()
          Gets the universityFiscalYear attribute.
 boolean isAccountExpiredOverride()
          Gets the accountExpiredOverride attribute.
 boolean isAccountExpiredOverrideNeeded()
          Gets the accountExpiredOverrideNeeded attribute.
 boolean isEditable()
          If the account of this detail line is closed, the line cannot be edited.
 boolean isFederalOrFederalPassThroughIndicator()
          Gets the federalOrFederalPassThroughIndicator attribute.
 boolean isNewLineIndicator()
          Gets the newLineIndicator attribute.
 void recalculateOriginalFringeBenefit()
          recalculate the original fringe benefit of the current detail line
 void recalculatePayrollAmount(org.kuali.rice.kns.util.KualiDecimal totalPayrollAmount)
          recalculate the payroll amount of the current detail line
 void setAccount(Account account)
          Deprecated. 
 void setAccountExpiredOverride(boolean accountExpiredOverride)
          Sets the accountExpiredOverride attribute value.
 void setAccountExpiredOverrideNeeded(boolean accountExpiredOverrideNeeded)
          Sets the accountExpiredOverrideNeeded attribute value.
 void setAccountNumber(String accountNumber)
          Sets the accountNumber attribute value.
 void setChartOfAccounts(Chart chartOfAccounts)
          Deprecated. 
 void setChartOfAccountsCode(String chartOfAccountsCode)
          Sets the chartOfAccountsCode attribute value.
 void setCostShareSourceSubAccountNumber(String costShareSourceSubAccountNumber)
          Sets the costShareSourceSubAccountNumber attribute value.
 void setDocumentNumber(String documentNumber)
          Sets the documentNumber attribute value.
 void setEffectiveDate(String effectiveDate)
          Sets the effectiveDate attribute value.
 void setEffortCertificationCalculatedOverallPercent(Integer effortCertificationCalculatedOverallPercent)
          Sets the effortCertificationCalculatedOverallPercent attribute value.
 void setEffortCertificationDocument(EffortCertificationDocument effortCertificationDocument)
          Deprecated. 
 void setEffortCertificationOriginalPayrollAmount(org.kuali.rice.kns.util.KualiDecimal effortCertificationOriginalPayrollAmount)
          Sets the effortCertificationOriginalPayrollAmount attribute value.
 void setEffortCertificationPayrollAmount(org.kuali.rice.kns.util.KualiDecimal effortCertificationPayrollAmount)
          Sets the effortCertificationPayrollAmount attribute value.
 void setEffortCertificationUpdatedOverallPercent(Integer effortCertificationUpdatedOverallPercent)
          Sets the effortCertificationUpdatedOverallPercent attribute value.
 void setFederalOrFederalPassThroughIndicator(boolean federalOrFederalPassThroughIndicator)
          This is a marker method, which does nothing.
 void setFinancialObject(ObjectCode financialObject)
          Deprecated. 
 void setFinancialObjectCode(String financialObjectCode)
          Sets the financialObjectCode attribute value.
 void setFringeBenefitAmount(org.kuali.rice.kns.util.KualiDecimal fringeBenefitAmount)
          This is a marker method, which does nothing.
 void setGroupId(String groupId)
          Sets the groupId attribute value.
 void setNewLineIndicator(boolean newLineIndicator)
          Sets the newLineIndicator attribute value.
 void setOptions(SystemOptions options)
          Deprecated. 
 void setOriginalFringeBenefitAmount(org.kuali.rice.kns.util.KualiDecimal originalFringeBenefitAmount)
          Sets the originalFringeBenefitAmount attribute value.
 void setOverrideCode(String overrideCode)
          Sets the overrideCode attribute value.
 void setPersistedEffortPercent(Integer persistedEffortPercent)
          Sets the persistedEffortPercent attribute value.
 void setPersistedPayrollAmount(org.kuali.rice.kns.util.KualiDecimal persistedPayrollAmount)
          Sets the persistedPayrollAmount attribute value.
 void setPositionData(PositionData positionData)
          Sets the positionData attribute value.
 void setPositionNumber(String positionNumber)
          Sets the positionNumber attribute value.
 void setSourceAccount(Account sourceAccount)
          Deprecated. 
 void setSourceAccountNumber(String sourceAccountNumber)
          Sets the sourceAccountNumber attribute value.
 void setSourceChartOfAccounts(Chart sourceChartOfAccounts)
          Deprecated. 
 void setSourceChartOfAccountsCode(String sourceChartOfAccountsCode)
          Sets the sourceChartOfAccountsCode attribute value.
 void setSubAccount(SubAccount subAccount)
          Deprecated. 
 void setSubAccountNumber(String subAccountNumber)
          Sets the subAccountNumber attribute value.
 void setUniversityFiscalYear(Integer universityFiscalYear)
          Sets the universityFiscalYear attribute value.
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow
 

Field Detail

positionData

protected PositionData positionData

effectiveDate

protected String effectiveDate
Constructor Detail

EffortCertificationDetail

public EffortCertificationDetail()
Default constructor.


EffortCertificationDetail

public EffortCertificationDetail(EffortCertificationDetail effortCertificationDetail)
Method Detail

getDocumentNumber

public String getDocumentNumber()
Gets the documentNumber attribute.

Returns:
Returns the documentNumber.

setDocumentNumber

public void setDocumentNumber(String documentNumber)
Sets the documentNumber attribute value.

Parameters:
documentNumber - The documentNumber to set.

getChartOfAccountsCode

public String getChartOfAccountsCode()
Gets the chartOfAccountsCode attribute.

Returns:
Returns the chartOfAccountsCode.

setChartOfAccountsCode

public void setChartOfAccountsCode(String chartOfAccountsCode)
Sets the chartOfAccountsCode attribute value.

Parameters:
chartOfAccountsCode - The chartOfAccountsCode to set.

getAccountNumber

public String getAccountNumber()
Gets the accountNumber attribute.

Returns:
Returns the accountNumber.

setAccountNumber

public void setAccountNumber(String accountNumber)
Sets the accountNumber attribute value.

Parameters:
accountNumber - The accountNumber to set.

getSubAccountNumber

public String getSubAccountNumber()
Gets the subAccountNumber attribute.

Returns:
Returns the subAccountNumber.

setSubAccountNumber

public void setSubAccountNumber(String subAccountNumber)
Sets the subAccountNumber attribute value.

Parameters:
subAccountNumber - The subAccountNumber to set.

getPositionNumber

public String getPositionNumber()
Gets the positionNumber attribute.

Returns:
Returns the positionNumber.

setPositionNumber

public void setPositionNumber(String positionNumber)
Sets the positionNumber attribute value.

Parameters:
positionNumber - The positionNumber to set.

getEffectiveDate

public String getEffectiveDate()
Gets the effectiveDate attribute.

Returns:
Returns the effectiveDate.

setEffectiveDate

public void setEffectiveDate(String effectiveDate)
Sets the effectiveDate attribute value.

Parameters:
effectiveDate - The effectiveDate to set.

getFinancialObjectCode

public String getFinancialObjectCode()
Gets the financialObjectCode attribute.

Returns:
Returns the financialObjectCode.

setFinancialObjectCode

public void setFinancialObjectCode(String financialObjectCode)
Sets the financialObjectCode attribute value.

Parameters:
financialObjectCode - The financialObjectCode to set.

getSourceChartOfAccountsCode

public String getSourceChartOfAccountsCode()
Gets the sourceChartOfAccountsCode attribute.

Returns:
Returns the sourceChartOfAccountsCode.

setSourceChartOfAccountsCode

public void setSourceChartOfAccountsCode(String sourceChartOfAccountsCode)
Sets the sourceChartOfAccountsCode attribute value.

Parameters:
sourceChartOfAccountsCode - The sourceChartOfAccountsCode to set.

getSourceAccountNumber

public String getSourceAccountNumber()
Gets the sourceAccountNumber attribute.

Returns:
Returns the sourceAccountNumber.

setSourceAccountNumber

public void setSourceAccountNumber(String sourceAccountNumber)
Sets the sourceAccountNumber attribute value.

Parameters:
sourceAccountNumber - The sourceAccountNumber to set.

getEffortCertificationPayrollAmount

public org.kuali.rice.kns.util.KualiDecimal getEffortCertificationPayrollAmount()
Gets the effortCertificationPayrollAmount attribute.

Returns:
Returns the effortCertificationPayrollAmount.

setEffortCertificationPayrollAmount

public void setEffortCertificationPayrollAmount(org.kuali.rice.kns.util.KualiDecimal effortCertificationPayrollAmount)
Sets the effortCertificationPayrollAmount attribute value.

Parameters:
effortCertificationPayrollAmount - The effortCertificationPayrollAmount to set.

getEffortCertificationCalculatedOverallPercent

public Integer getEffortCertificationCalculatedOverallPercent()
Gets the effortCertificationCalculatedOverallPercent attribute.

Returns:
Returns the effortCertificationCalculatedOverallPercent.

setEffortCertificationCalculatedOverallPercent

public void setEffortCertificationCalculatedOverallPercent(Integer effortCertificationCalculatedOverallPercent)
Sets the effortCertificationCalculatedOverallPercent attribute value.

Parameters:
effortCertificationCalculatedOverallPercent - The effortCertificationCalculatedOverallPercent to set.

getEffortCertificationUpdatedOverallPercent

public Integer getEffortCertificationUpdatedOverallPercent()
Gets the effortCertificationUpdatedOverallPercent attribute.

Returns:
Returns the effortCertificationUpdatedOverallPercent.

setEffortCertificationUpdatedOverallPercent

public void setEffortCertificationUpdatedOverallPercent(Integer effortCertificationUpdatedOverallPercent)
Sets the effortCertificationUpdatedOverallPercent attribute value.

Parameters:
effortCertificationUpdatedOverallPercent - The effortCertificationUpdatedOverallPercent to set.

getCostShareSourceSubAccountNumber

public String getCostShareSourceSubAccountNumber()
Gets the costShareSourceSubAccountNumber attribute.

Returns:
Returns the costShareSourceSubAccountNumber.

setCostShareSourceSubAccountNumber

public void setCostShareSourceSubAccountNumber(String costShareSourceSubAccountNumber)
Sets the costShareSourceSubAccountNumber attribute value.

Parameters:
costShareSourceSubAccountNumber - The costShareSourceSubAccountNumber to set.

getEffortCertificationOriginalPayrollAmount

public org.kuali.rice.kns.util.KualiDecimal getEffortCertificationOriginalPayrollAmount()
Gets the effortCertificationOriginalPayrollAmount attribute.

Returns:
Returns the effortCertificationOriginalPayrollAmount.

setEffortCertificationOriginalPayrollAmount

public void setEffortCertificationOriginalPayrollAmount(org.kuali.rice.kns.util.KualiDecimal effortCertificationOriginalPayrollAmount)
Sets the effortCertificationOriginalPayrollAmount attribute value.

Parameters:
effortCertificationOriginalPayrollAmount - The effortCertificationOriginalPayrollAmount to set.

getFinancialObject

public ObjectCode getFinancialObject()
Gets the financialObject attribute.

Returns:
Returns the financialObject.

setFinancialObject

@Deprecated
public void setFinancialObject(ObjectCode financialObject)
Deprecated. 

Sets the financialObject attribute value.

Parameters:
financialObject - The financialObject to set.

getChartOfAccounts

public Chart getChartOfAccounts()
Gets the chartOfAccounts attribute.

Returns:
Returns the chartOfAccounts.

setChartOfAccounts

@Deprecated
public void setChartOfAccounts(Chart chartOfAccounts)
Deprecated. 

Sets the chartOfAccounts attribute value.

Parameters:
chartOfAccounts - The chartOfAccounts to set.

getEffortCertificationDocument

public EffortCertificationDocument getEffortCertificationDocument()
Gets the effortCertificationDocument attribute.

Returns:
Returns the effortCertificationDocument.

setEffortCertificationDocument

@Deprecated
public void setEffortCertificationDocument(EffortCertificationDocument effortCertificationDocument)
Deprecated. 

Sets the effortCertificationDocument attribute value.

Parameters:
effortCertificationDocument - The effortCertificationDocument to set.

getAccount

public Account getAccount()
Gets the account attribute.

Returns:
Returns the account.

setAccount

@Deprecated
public void setAccount(Account account)
Deprecated. 

Sets the account attribute value.

Parameters:
account - The account to set.

getSourceChartOfAccounts

public Chart getSourceChartOfAccounts()
Gets the sourceChartOfAccounts attribute.

Returns:
Returns the sourceChartOfAccounts.

setSourceChartOfAccounts

@Deprecated
public void setSourceChartOfAccounts(Chart sourceChartOfAccounts)
Deprecated. 

Sets the sourceChartOfAccounts attribute value.

Parameters:
sourceChartOfAccounts - The sourceChartOfAccounts to set.

getSourceAccount

public Account getSourceAccount()
Gets the sourceAccount attribute.

Returns:
Returns the sourceAccount.

setSourceAccount

@Deprecated
public void setSourceAccount(Account sourceAccount)
Deprecated. 

Sets the sourceAccount attribute value.

Parameters:
sourceAccount - The sourceAccount to set.

getSubAccount

public SubAccount getSubAccount()
Gets the subAccount attribute.

Returns:
Returns the subAccount.

setSubAccount

@Deprecated
public void setSubAccount(SubAccount subAccount)
Deprecated. 

Sets the subAccount attribute value.

Parameters:
subAccount - The subAccount to set.

getOptions

public SystemOptions getOptions()
Gets the options attribute.

Returns:
Returns the options.

setOptions

@Deprecated
public void setOptions(SystemOptions options)
Deprecated. 

Sets the options attribute value.

Parameters:
options - The options to set.

getPositionData

public PositionData getPositionData()
Gets the positionData attribute.

Returns:
Returns the positionData.

setPositionData

public void setPositionData(PositionData positionData)
Sets the positionData attribute value.

Parameters:
positionData - The positionData to set.

isNewLineIndicator

public boolean isNewLineIndicator()
Gets the newLineIndicator attribute.

Returns:
Returns the newLineIndicator.

setNewLineIndicator

public void setNewLineIndicator(boolean newLineIndicator)
Sets the newLineIndicator attribute value.

Parameters:
newLineIndicator - The newLineIndicator to set.

isEditable

public boolean isEditable()
If the account of this detail line is closed, the line cannot be edited.

Returns:
Returns true if line can be edited, false otherwise

isFederalOrFederalPassThroughIndicator

public boolean isFederalOrFederalPassThroughIndicator()
Gets the federalOrFederalPassThroughIndicator attribute. If this line is associated with a valid account, the indicator will be retrieved and updated.

Returns:
Returns the federalOrFederalPassThroughIndicator.

setFederalOrFederalPassThroughIndicator

public void setFederalOrFederalPassThroughIndicator(boolean federalOrFederalPassThroughIndicator)
This is a marker method, which does nothing.


getOverrideCode

public String getOverrideCode()
Gets the overrideCode attribute.

Returns:
Returns the overrideCode.

setOverrideCode

public void setOverrideCode(String overrideCode)
Sets the overrideCode attribute value.

Parameters:
overrideCode - The overrideCode to set.

getFringeBenefitAmount

public org.kuali.rice.kns.util.KualiDecimal getFringeBenefitAmount()
Gets the fringeBenefitAmount attribute.

Returns:
Returns the fringeBenefitAmount.

setFringeBenefitAmount

public void setFringeBenefitAmount(org.kuali.rice.kns.util.KualiDecimal fringeBenefitAmount)
This is a marker method, which does nothing.


getOriginalFringeBenefitAmount

public org.kuali.rice.kns.util.KualiDecimal getOriginalFringeBenefitAmount()
Gets the originalFringeBenefitAmount attribute.

Returns:
Returns the originalFringeBenefitAmount.

setOriginalFringeBenefitAmount

public void setOriginalFringeBenefitAmount(org.kuali.rice.kns.util.KualiDecimal originalFringeBenefitAmount)
Sets the originalFringeBenefitAmount attribute value.

Parameters:
originalFringeBenefitAmount - The originalFringeBenefitAmount to set.

getUniversityFiscalYear

public Integer getUniversityFiscalYear()
Gets the universityFiscalYear attribute.

Returns:
Returns the universityFiscalYear.

setUniversityFiscalYear

public void setUniversityFiscalYear(Integer universityFiscalYear)
Sets the universityFiscalYear attribute value.

Parameters:
universityFiscalYear - The universityFiscalYear to set.

getPersistedPayrollAmount

public org.kuali.rice.kns.util.KualiDecimal getPersistedPayrollAmount()
Gets the persistedPayrollAmount attribute.

Returns:
Returns the persistedPayrollAmount.

setPersistedPayrollAmount

public void setPersistedPayrollAmount(org.kuali.rice.kns.util.KualiDecimal persistedPayrollAmount)
Sets the persistedPayrollAmount attribute value.

Parameters:
persistedPayrollAmount - The persistedPayrollAmount to set.

toStringMapper

protected LinkedHashMap toStringMapper()
Specified by:
toStringMapper in class org.kuali.rice.kns.bo.BusinessObjectBase
See Also:
BusinessObjectBase.toStringMapper()

isAccountExpiredOverride

public boolean isAccountExpiredOverride()
Gets the accountExpiredOverride attribute.

Returns:
Returns the accountExpiredOverride.

setAccountExpiredOverride

public void setAccountExpiredOverride(boolean accountExpiredOverride)
Sets the accountExpiredOverride attribute value.

Parameters:
accountExpiredOverride - The accountExpiredOverride to set.

isAccountExpiredOverrideNeeded

public boolean isAccountExpiredOverrideNeeded()
Gets the accountExpiredOverrideNeeded attribute.

Returns:
Returns the accountExpiredOverrideNeeded.

setAccountExpiredOverrideNeeded

public void setAccountExpiredOverrideNeeded(boolean accountExpiredOverrideNeeded)
Sets the accountExpiredOverrideNeeded attribute value.

Parameters:
accountExpiredOverrideNeeded - The accountExpiredOverrideNeeded to set.

getTotalEffortPercent

public static Integer getTotalEffortPercent(List<EffortCertificationDetail> effortCertificationDetailLines)
calculate the total effort percent of the given detail lines

Parameters:
the - given detail lines
Returns:
Returns the total effort percent

getTotalPersistedEffortPercent

public static Integer getTotalPersistedEffortPercent(List<EffortCertificationDetail> effortCertificationDetailLines)
calculate the total persised effort percent of the given detail lines

Parameters:
the - given detail lines
Returns:
Returns the total persisted effort percent

getTotalOriginalEffortPercent

public static Integer getTotalOriginalEffortPercent(List<EffortCertificationDetail> effortCertificationDetailLines)
calculate the total original effort percent of the given detail lines

Parameters:
the - given detail lines
Returns:
Returns the total original effort percent

getTotalPayrollAmount

public static org.kuali.rice.kns.util.KualiDecimal getTotalPayrollAmount(List<EffortCertificationDetail> effortCertificationDetailLines)
calculate the total payroll amount of the given detail lines

Parameters:
the - given detail lines
Returns:
Returns the total original payroll amount

getTotalPersistedPayrollAmount

public static org.kuali.rice.kns.util.KualiDecimal getTotalPersistedPayrollAmount(List<EffortCertificationDetail> effortCertificationDetailLines)
calculate the total payroll amount of the given detail lines

Parameters:
the - given detail lines
Returns:
Returns the total original payroll amount

getTotalOriginalPayrollAmount

public static org.kuali.rice.kns.util.KualiDecimal getTotalOriginalPayrollAmount(List<EffortCertificationDetail> effortCertificationDetailLines)
calculate the total original payroll amount of the given detail lines

Parameters:
the - given detail lines
Returns:
Returns the total original payroll amount

getTotalFringeBenefit

public static org.kuali.rice.kns.util.KualiDecimal getTotalFringeBenefit(List<EffortCertificationDetail> effortCertificationDetailLines)
Gets the totalFringeBenefit attribute.

Returns:
Returns the totalFringeBenefit.

getTotalOriginalFringeBenefit

public static org.kuali.rice.kns.util.KualiDecimal getTotalOriginalFringeBenefit(List<EffortCertificationDetail> effortCertificationDetailLines)
Gets the totalOriginalFringeBenefit attribute.

Returns:
Returns the totalOriginalFringeBenefit.

recalculatePayrollAmount

public void recalculatePayrollAmount(org.kuali.rice.kns.util.KualiDecimal totalPayrollAmount)
recalculate the payroll amount of the current detail line

Parameters:
totalPayrollAmount - the total payroll amount of the hosting document

recalculateOriginalFringeBenefit

public void recalculateOriginalFringeBenefit()
recalculate the original fringe benefit of the current detail line


calculateFringeBenefit

public static org.kuali.rice.kns.util.KualiDecimal calculateFringeBenefit(EffortCertificationDetail detailLine,
                                                                          org.kuali.rice.kns.util.KualiDecimal payrollAmount)
recalculate the original fringe benefit of the current detail line


getPersistedEffortPercent

public Integer getPersistedEffortPercent()
Gets the persistedEffortPercent attribute.

Returns:
Returns the persistedEffortPercent.

setPersistedEffortPercent

public void setPersistedEffortPercent(Integer persistedEffortPercent)
Sets the persistedEffortPercent attribute value.

Parameters:
persistedEffortPercent - The persistedEffortPercent to set.

getGroupId

public String getGroupId()
Gets the groupId attribute.

Returns:
Returns the groupId.

setGroupId

public void setGroupId(String groupId)
Sets the groupId attribute value.

Parameters:
groupId - The groupId to set.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.