org.kuali.kfs.pdp.businessobject
Class PaymentFileLoad

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.TransientBusinessObjectBase
          extended by org.kuali.kfs.pdp.businessobject.PaymentFileLoad
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.bo.BusinessObject

public class PaymentFileLoad
extends org.kuali.rice.kns.bo.TransientBusinessObjectBase

Represents the parsed contents of an incoming payment file.

See Also:
Serialized Form

Constructor Summary
PaymentFileLoad()
           
 
Method Summary
 void addPaymentGroup(PaymentGroup paymentGroup)
          Adds a PaymentGroup to the group List
 int getActualPaymentCount()
           
 org.kuali.rice.kns.util.KualiInteger getBatchId()
          Gets the batchId attribute.
 org.kuali.rice.kns.util.KualiDecimal getCalculatedPaymentTotalAmount()
           
 String getChart()
          Gets the chart attribute.
 Timestamp getCreationDate()
          Gets the creationDate attribute.
 CustomerProfile getCustomer()
          Gets the customer attribute.
 int getPaymentCount()
          Gets the paymentCount attribute.
 List<PaymentGroup> getPaymentGroups()
          Gets the paymentGroups attribute.
 org.kuali.rice.kns.util.KualiDecimal getPaymentTotalAmount()
          Gets the paymentTotalAmount attribute.
 String getSubUnit()
          Gets the subUnit attribute.
 List<PaymentDetail> getThresholdPaymentDetails()
          Gets the thresholdPaymentDetails attribute.
 String getUnit()
          Gets the unit attribute.
 boolean isDetailThreshold()
          Gets the detailThreshold attribute.
 boolean isFileThreshold()
          Gets the fileThreshold attribute.
 boolean isPassedValidation()
          Gets the passedValidation attribute.
 boolean isTaxEmailRequired()
          Gets the taxEmailRequired attribute.
 void setBatchId(org.kuali.rice.kns.util.KualiInteger batchId)
          Sets the batchId attribute value.
 void setChart(String chart)
          Sets the chart attribute value.
 void setCreationDate(String creationDate)
          Takes a String and attempt to format as Timestamp
 void setCreationDate(Timestamp creationDate)
          Sets the creationDate attribute value.
 void setCustomer(CustomerProfile customer)
          Sets the customer attribute value.
 void setDetailThreshold(boolean detailThreshold)
          Sets the detailThreshold attribute value.
 void setFileThreshold(boolean fileThreshold)
          Sets the fileThreshold attribute value.
 void setPassedValidation(boolean passedValidation)
          Sets the passedValidation attribute value.
 void setPaymentCount(int paymentCount)
          Sets the paymentCount attribute value.
 void setPaymentCount(String paymentCount)
          Helper method to set the paymentCount int from a string.
 void setPaymentGroups(List<PaymentGroup> paymentGroups)
          Sets the paymentGroups attribute value.
 void setPaymentTotalAmount(org.kuali.rice.kns.util.KualiDecimal paymentTotalAmount)
          Sets the paymentTotalAmount attribute value.
 void setPaymentTotalAmount(String paymentTotalAmount)
           
 void setSubUnit(String subUnit)
          Sets the subUnit attribute value.
 void setTaxEmailRequired(boolean taxEmailRequired)
          Sets the taxEmailRequired attribute value.
 void setThresholdPaymentDetails(List<PaymentDetail> thresholdPaymentDetails)
          Sets the thresholdPaymentDetails attribute value.
 void setUnit(String unit)
          Sets the unit attribute value.
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kns.bo.TransientBusinessObjectBase
refresh
 
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
 

Constructor Detail

PaymentFileLoad

public PaymentFileLoad()
Method Detail

getActualPaymentCount

public int getActualPaymentCount()
Returns:
number of detail records loaded

getCalculatedPaymentTotalAmount

public org.kuali.rice.kns.util.KualiDecimal getCalculatedPaymentTotalAmount()
Returns:
total amount of all payments

getChart

public String getChart()
Gets the chart attribute.

Returns:
Returns the chart.

setChart

public void setChart(String chart)
Sets the chart attribute value.

Parameters:
chart - The chart to set.

getUnit

public String getUnit()
Gets the unit attribute.

Returns:
Returns the unit.

setUnit

public void setUnit(String unit)
Sets the unit attribute value.

Parameters:
unit - The unit to set.

getSubUnit

public String getSubUnit()
Gets the subUnit attribute.

Returns:
Returns the subUnit.

setSubUnit

public void setSubUnit(String subUnit)
Sets the subUnit attribute value.

Parameters:
subUnit - The subUnit to set.

getCreationDate

public Timestamp getCreationDate()
Gets the creationDate attribute.

Returns:
Returns the creationDate.

setCreationDate

public void setCreationDate(Timestamp creationDate)
Sets the creationDate attribute value.

Parameters:
creationDate - The creationDate to set.

setCreationDate

public void setCreationDate(String creationDate)
Takes a String and attempt to format as Timestamp
Parameters:
creationDate - Timestamp as string

getPaymentCount

public int getPaymentCount()
Gets the paymentCount attribute.

Returns:
Returns the paymentCount.

setPaymentCount

public void setPaymentCount(int paymentCount)
Sets the paymentCount attribute value.

Parameters:
paymentCount - The paymentCount to set.

setPaymentCount

public void setPaymentCount(String paymentCount)
Helper method to set the paymentCount int from a string.

Parameters:
paymentCount - String payment count

getPaymentTotalAmount

public org.kuali.rice.kns.util.KualiDecimal getPaymentTotalAmount()
Gets the paymentTotalAmount attribute.

Returns:
Returns the paymentTotalAmount.

setPaymentTotalAmount

public void setPaymentTotalAmount(org.kuali.rice.kns.util.KualiDecimal paymentTotalAmount)
Sets the paymentTotalAmount attribute value.

Parameters:
paymentTotalAmount - The paymentTotalAmount to set.

setPaymentTotalAmount

public void setPaymentTotalAmount(String paymentTotalAmount)

getPaymentGroups

public List<PaymentGroup> getPaymentGroups()
Gets the paymentGroups attribute.

Returns:
Returns the paymentGroups.

setPaymentGroups

public void setPaymentGroups(List<PaymentGroup> paymentGroups)
Sets the paymentGroups attribute value.

Parameters:
paymentGroups - The paymentGroups to set.

addPaymentGroup

public void addPaymentGroup(PaymentGroup paymentGroup)
Adds a PaymentGroup to the group List

Parameters:
paymentGroup - PaymentGroup to add

isFileThreshold

public boolean isFileThreshold()
Gets the fileThreshold attribute.

Returns:
Returns the fileThreshold.

setFileThreshold

public void setFileThreshold(boolean fileThreshold)
Sets the fileThreshold attribute value.

Parameters:
fileThreshold - The fileThreshold to set.

isDetailThreshold

public boolean isDetailThreshold()
Gets the detailThreshold attribute.

Returns:
Returns the detailThreshold.

setDetailThreshold

public void setDetailThreshold(boolean detailThreshold)
Sets the detailThreshold attribute value.

Parameters:
detailThreshold - The detailThreshold to set.

getBatchId

public org.kuali.rice.kns.util.KualiInteger getBatchId()
Gets the batchId attribute.

Returns:
Returns the batchId.

setBatchId

public void setBatchId(org.kuali.rice.kns.util.KualiInteger batchId)
Sets the batchId attribute value.

Parameters:
batchId - The batchId to set.

isTaxEmailRequired

public boolean isTaxEmailRequired()
Gets the taxEmailRequired attribute.

Returns:
Returns the taxEmailRequired.

setTaxEmailRequired

public void setTaxEmailRequired(boolean taxEmailRequired)
Sets the taxEmailRequired attribute value.

Parameters:
taxEmailRequired - The taxEmailRequired to set.

getThresholdPaymentDetails

public List<PaymentDetail> getThresholdPaymentDetails()
Gets the thresholdPaymentDetails attribute.

Returns:
Returns the thresholdPaymentDetails.

setThresholdPaymentDetails

public void setThresholdPaymentDetails(List<PaymentDetail> thresholdPaymentDetails)
Sets the thresholdPaymentDetails attribute value.

Parameters:
thresholdPaymentDetails - The thresholdPaymentDetails to set.

isPassedValidation

public boolean isPassedValidation()
Gets the passedValidation attribute.

Returns:
Returns the passedValidation.

setPassedValidation

public void setPassedValidation(boolean passedValidation)
Sets the passedValidation attribute value.

Parameters:
passedValidation - The passedValidation to set.

getCustomer

public CustomerProfile getCustomer()
Gets the customer attribute.

Returns:
Returns the customer.

setCustomer

public void setCustomer(CustomerProfile customer)
Sets the customer attribute value.

Parameters:
customer - The customer to set.

toStringMapper

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


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