|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.gl.batch.service.impl.DocumentGroupData
public class DocumentGroupData
This class represents document group-related data
| Field Summary | |
|---|---|
protected String |
documentNumber
|
protected String |
financialDocumentTypeCode
|
protected String |
financialSystemOriginationCode
|
| Constructor Summary | |
|---|---|
DocumentGroupData(String documentNumber,
String financialDocumentTypeCode,
String financialSystemOriginationCode)
|
|
DocumentGroupData(Transaction entry)
|
|
| Method Summary | ||
|---|---|---|
boolean |
equals(Object obj)
Returns true if DocumentGroupData objects have the same document number, document type code, and financial system origination code |
|
static
|
getDocumentGroupDatasForTransactions(Iterator<E> transactions)
Given an iterator of Transaction objects, return a set of all the document groups (doc #, doc type, origination code)
for these transactions |
|
String |
getDocumentNumber()
Gets the documentNumber attribute. |
|
String |
getFinancialDocumentTypeCode()
Gets the financialDocumentTypeCode attribute. |
|
String |
getFinancialSystemOriginationCode()
Gets the financialSystemOriginationCode attribute. |
|
int |
hashCode()
|
|
boolean |
matchesCollectorDetail(CollectorDetail detail)
|
|
boolean |
matchesTransaction(Transaction transaction)
Returns true if this document group data object's and the transaction have the same document number, document type code, and origination code match the passed |
|
OriginEntryFull |
populateDocumentGroupDataFieldsInOriginEntry()
This returns an origin entry with document number, document type code, origination code set from this DocumentGroupData's document number, document type code, and origination code |
|
void |
setDocumentNumber(String documentNumber)
Sets the documentNumber attribute value. |
|
void |
setFinancialDocumentTypeCode(String financialDocumentTypeCode)
Sets the financialDocumentTypeCode attribute value. |
|
void |
setFinancialSystemOriginationCode(String financialSystemOriginationCode)
Sets the financialSystemOriginationCode attribute value. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String documentNumber
protected String financialDocumentTypeCode
protected String financialSystemOriginationCode
| Constructor Detail |
|---|
public DocumentGroupData(Transaction entry)
public DocumentGroupData(String documentNumber,
String financialDocumentTypeCode,
String financialSystemOriginationCode)
| Method Detail |
|---|
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public boolean matchesTransaction(Transaction transaction)
transaction - transaction to compare
public boolean matchesCollectorDetail(CollectorDetail detail)
public int hashCode()
hashCode in class ObjectObject.hashCode()public OriginEntryFull populateDocumentGroupDataFieldsInOriginEntry()
public String getDocumentNumber()
public void setDocumentNumber(String documentNumber)
documentNumber - The documentNumber to set.public String getFinancialDocumentTypeCode()
public void setFinancialDocumentTypeCode(String financialDocumentTypeCode)
financialDocumentTypeCode - The financialDocumentTypeCode to set.public String getFinancialSystemOriginationCode()
public void setFinancialSystemOriginationCode(String financialSystemOriginationCode)
financialSystemOriginationCode - The financialSystemOriginationCode to set.public static <E extends Transaction> Set<DocumentGroupData> getDocumentGroupDatasForTransactions(Iterator<E> transactions)
Transaction objects, return a set of all the document groups (doc #, doc type, origination code)
for these transactions
transactions - iterator of transactions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||