org.kuali.kfs.fp.businessobject
Class CheckBase

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.kfs.fp.businessobject.CheckBase
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, Check, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject

public class CheckBase
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements Check

This class represents a check in the system. It is a generalized check business object that will be used by the Cash Receipts document, the Cashier document, etc.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
CheckBase()
          Constructs a CheckBase business object.
 
Method Summary
 org.kuali.rice.kns.util.KualiDecimal getAmount()
          Gets the amount attribute.
 String getCashieringRecordSource()
          Gets the cashieringRecordSource attribute.
 Date getCheckDate()
          Gets the checkDate attribute.
 String getCheckNumber()
          Gets the checkNumber attribute.
 String getDescription()
          Gets the description attribute.
 String getDocumentNumber()
          Gets the documentNumber attribute.
 Integer getFinancialDocumentDepositLineNumber()
          Gets the financialDocumentDepositLineNumber attribute.
 String getFinancialDocumentTypeCode()
          Gets the financialDocumentTypeCode attribute.
 Integer getSequenceId()
          Gets the sequenceId attribute.
 boolean isLike(Check other)
          Returns true if this check has the same primitive field values as the given one
 void setAmount(org.kuali.rice.kns.util.KualiDecimal amount)
          Sets the amount attribute value.
 void setCashieringRecordSource(String financialDocumentColumnTypeCode)
          Sets the cashieringRecordSource attribute value.
 void setCheckDate(Date checkDate)
          Sets the checkDate attribute value.
 void setCheckNumber(String checkNumber)
          Sets the checkNumber attribute value.
 void setDescription(String description)
          Sets the description attribute value.
 void setDocumentNumber(String documentNumber)
          Sets the documentNumber attribute value.
 void setFinancialDocumentDepositLineNumber(Integer financialDocumentDepositLineNumber)
          Sets the financialDocumentDepositLineNumber attribute value.
 void setFinancialDocumentTypeCode(String financialDocumentTypeCode)
          Sets the financialDocumentTypeCode attribute value.
 void setSequenceId(Integer sequenceId)
          Sets the sequenceId 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.PersistableBusinessObject
addNote, buildListOfDeletionAwareLists, deleteNote, getBoNote, getBoNotes, getExtension, getObjectId, getVersionNumber, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow, refresh
 
Methods inherited from interface org.apache.ojb.broker.PersistenceBrokerAware
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate
 

Constructor Detail

CheckBase

public CheckBase()
Constructs a CheckBase business object.

Method Detail

getCheckDate

public Date getCheckDate()
Gets the checkDate attribute.

Specified by:
getCheckDate in interface Check
Returns:
Returns the checkDate.

setCheckDate

public void setCheckDate(Date checkDate)
Sets the checkDate attribute value.

Specified by:
setCheckDate in interface Check
Parameters:
checkDate - The checkDate to set.

getCheckNumber

public String getCheckNumber()
Gets the checkNumber attribute.

Specified by:
getCheckNumber in interface Check
Returns:
Returns the checkNumber.

setCheckNumber

public void setCheckNumber(String checkNumber)
Sets the checkNumber attribute value.

Specified by:
setCheckNumber in interface Check
Parameters:
checkNumber - The checkNumber to set.

getDescription

public String getDescription()
Gets the description attribute.

Specified by:
getDescription in interface Check
Returns:
Returns the description.

setDescription

public void setDescription(String description)
Sets the description attribute value.

Specified by:
setDescription in interface Check
Parameters:
description - The description to set.

getSequenceId

public Integer getSequenceId()
Gets the sequenceId attribute.

Specified by:
getSequenceId in interface Check
Returns:
Returns the sequenceId.

setSequenceId

public void setSequenceId(Integer sequenceId)
Sets the sequenceId attribute value.

Specified by:
setSequenceId in interface Check
Parameters:
sequenceId - The sequenceId to set.

getAmount

public org.kuali.rice.kns.util.KualiDecimal getAmount()
Gets the amount attribute.

Specified by:
getAmount in interface Check
Returns:
Returns the amount.

setAmount

public void setAmount(org.kuali.rice.kns.util.KualiDecimal amount)
Sets the amount attribute value.

Specified by:
setAmount in interface Check
Parameters:
amount - The amount to set.

getDocumentNumber

public String getDocumentNumber()
Gets the documentNumber attribute.

Specified by:
getDocumentNumber in interface Check
Returns:
Returns the documentNumber.

setDocumentNumber

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

Specified by:
setDocumentNumber in interface Check
Parameters:
documentNumber - The documentNumber to set.

getCashieringRecordSource

public String getCashieringRecordSource()
Gets the cashieringRecordSource attribute.

Specified by:
getCashieringRecordSource in interface Check
Returns:
Returns the cashieringRecordSource.

setCashieringRecordSource

public void setCashieringRecordSource(String financialDocumentColumnTypeCode)
Sets the cashieringRecordSource attribute value.

Specified by:
setCashieringRecordSource in interface Check
Parameters:
cashieringRecordSource - The cashieringRecordSource to set.

getFinancialDocumentTypeCode

public String getFinancialDocumentTypeCode()
Gets the financialDocumentTypeCode attribute.

Specified by:
getFinancialDocumentTypeCode in interface Check
Returns:
Returns the financialDocumentTypeCode.

setFinancialDocumentTypeCode

public void setFinancialDocumentTypeCode(String financialDocumentTypeCode)
Sets the financialDocumentTypeCode attribute value.

Specified by:
setFinancialDocumentTypeCode in interface Check
Parameters:
financialDocumentTypeCode - The financialDocumentTypeCode to set.

getFinancialDocumentDepositLineNumber

public Integer getFinancialDocumentDepositLineNumber()
Gets the financialDocumentDepositLineNumber attribute.

Specified by:
getFinancialDocumentDepositLineNumber in interface Check
Returns:
Returns the financialDocumentDepositLineNumber.

setFinancialDocumentDepositLineNumber

public void setFinancialDocumentDepositLineNumber(Integer financialDocumentDepositLineNumber)
Sets the financialDocumentDepositLineNumber attribute value.

Specified by:
setFinancialDocumentDepositLineNumber in interface Check
Parameters:
financialDocumentDepositLineNumber - The financialDocumentDepositLineNumber to set.

toStringMapper

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

isLike

public boolean isLike(Check other)
Description copied from interface: Check
Returns true if this check has the same primitive field values as the given one

Specified by:
isLike in interface Check
Returns:
true if this Check has the same primitive field values as the given one
See Also:
Check.isLike(org.kuali.kfs.fp.businessobject.Check)


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