public class DocumentGroupData extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
documentNumber |
protected String |
financialDocumentTypeCode |
protected String |
financialSystemOriginationCode |
Constructor and Description |
---|
DocumentGroupData(String documentNumber,
String financialDocumentTypeCode,
String financialSystemOriginationCode) |
DocumentGroupData(Transaction entry) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns true if DocumentGroupData objects have the same document number, document type code, and financial system origination code
|
static <E extends Transaction> |
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.
|
protected String documentNumber
protected String financialDocumentTypeCode
protected String financialSystemOriginationCode
public DocumentGroupData(Transaction entry)
public DocumentGroupData(String documentNumber, String financialDocumentTypeCode, String financialSystemOriginationCode)
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public boolean matchesTransaction(Transaction transaction)
transaction
- transaction to comparepublic boolean matchesCollectorDetail(CollectorDetail detail)
public int hashCode()
hashCode
in class Object
Object.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 transactionstransactions
- iterator of transactionsCopyright © 2004–2015 The Kuali Foundation. All rights reserved.