org.kuali.kfs.module.endow.businessobject
Class GainLossDistributionTotalReportLine

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

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

See Also:
Serialized Form

Field Summary
protected  String documentId
           
protected  String documentType
           
protected  String securityId
           
protected  BigDecimal totalHoldingAdjustmentAmount
           
protected  int totalNumberOfTransactionLines
           
protected  BigDecimal unitAdjustmentAmount
           
 
Constructor Summary
GainLossDistributionTotalReportLine(String documentType, String documentId, String securityId)
          Constructs a GainLossDistributionTotalReportLine.java.
 
Method Summary
 void addTotalHoldingAdjustmentAmount(EndowmentTransactionLine endowmentTransactionLine)
          Computes the total holding adjustment based on the tax lots holding cost and adds it to totalHoldingAdjustmentAmount.
 void addUnitAdjustmentAmount(BigDecimal unitAdjustmentAmount)
          Adds the unitAdjustmentAmount.
 String getDocumentId()
          Gets the documentId.
 String getDocumentType()
          Gets the documentType.
 String getSecurityId()
          Gets the securityId.
 BigDecimal getTotalHoldingAdjustmentAmount()
          Gets the totalHoldingAdjustmentAmount.
 int getTotalNumberOfTransactionLines()
          Gets the totalNumberOfTransactionLines.
 BigDecimal getUnitAdjustmentAmount()
          Gets the unitAdjustmentAmount.
 void setDocumentId(String documentId)
          Sets the documentId.
 void setDocumentType(String documentType)
          Sets the documentType.
 void setSecurityId(String securityId)
          Sets the securityId.
 void setTotalHoldingAdjustmentAmount(BigDecimal totalHoldingAdjustmentAmount)
          Sets the totalHoldingAdjustmentAmount.
 void setTotalNumberOfTransactionLines(int totalNumberOfTransactionLines)
          Sets the totalNumberOfTransactionLines.
 void setUnitAdjustmentAmount(BigDecimal unitAdjustmentAmount)
          Sets the unitAdjustmentAmount.
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
 

Field Detail

documentType

protected String documentType

documentId

protected String documentId

securityId

protected String securityId

totalNumberOfTransactionLines

protected int totalNumberOfTransactionLines

unitAdjustmentAmount

protected BigDecimal unitAdjustmentAmount

totalHoldingAdjustmentAmount

protected BigDecimal totalHoldingAdjustmentAmount
Constructor Detail

GainLossDistributionTotalReportLine

public GainLossDistributionTotalReportLine(String documentType,
                                           String documentId,
                                           String securityId)
Constructs a GainLossDistributionTotalReportLine.java.

Parameters:
documentType -
documentId -
securityId -
Method Detail

toStringMapper

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

getDocumentType

public String getDocumentType()
Gets the documentType.

Returns:
documentType

setDocumentType

public void setDocumentType(String documentType)
Sets the documentType.

Parameters:
documentType -

getDocumentId

public String getDocumentId()
Gets the documentId.

Returns:
documentId

setDocumentId

public void setDocumentId(String documentId)
Sets the documentId.

Parameters:
documentId -

getSecurityId

public String getSecurityId()
Gets the securityId.

Returns:
securityId

setSecurityId

public void setSecurityId(String securityId)
Sets the securityId.

Parameters:
securityId -

getTotalNumberOfTransactionLines

public int getTotalNumberOfTransactionLines()
Gets the totalNumberOfTransactionLines.

Returns:
totalNumberOfTransactionLines

setTotalNumberOfTransactionLines

public void setTotalNumberOfTransactionLines(int totalNumberOfTransactionLines)
Sets the totalNumberOfTransactionLines.

Parameters:
totalNumberOfTransactionLines -

getUnitAdjustmentAmount

public BigDecimal getUnitAdjustmentAmount()
Gets the unitAdjustmentAmount.

Returns:
unitAdjustmentAmount

setUnitAdjustmentAmount

public void setUnitAdjustmentAmount(BigDecimal unitAdjustmentAmount)
Sets the unitAdjustmentAmount.

Parameters:
unitAdjustmentAmount -

getTotalHoldingAdjustmentAmount

public BigDecimal getTotalHoldingAdjustmentAmount()
Gets the totalHoldingAdjustmentAmount.

Returns:
totalHoldingAdjustmentAmount

setTotalHoldingAdjustmentAmount

public void setTotalHoldingAdjustmentAmount(BigDecimal totalHoldingAdjustmentAmount)
Sets the totalHoldingAdjustmentAmount.

Parameters:
totalHoldingAdjustmentAmount -

addUnitAdjustmentAmount

public void addUnitAdjustmentAmount(BigDecimal unitAdjustmentAmount)
Adds the unitAdjustmentAmount.

Parameters:
unitAdjustmentAmount -

addTotalHoldingAdjustmentAmount

public void addTotalHoldingAdjustmentAmount(EndowmentTransactionLine endowmentTransactionLine)
Computes the total holding adjustment based on the tax lots holding cost and adds it to totalHoldingAdjustmentAmount.

Parameters:
endowmentTransactionLine -


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