- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 41 of file BatchOf.java.
◆ getBatch()
Document org.turro.financials.entity.BatchOf.getBatch |
( |
| ) |
|
◆ getDocuments()
Set<Document> org.turro.financials.entity.BatchOf.getDocuments |
( |
| ) |
|
◆ getFrom()
static Collection<BatchOf> org.turro.financials.entity.BatchOf.getFrom |
( |
Document |
document | ) |
|
|
static |
Definition at line 135 of file BatchOf.java.
136 return (document ==
null || document.getId() == 0) ? Collections.EMPTY_LIST :
137 new FinancialsPU().getResultList(
138 "select batch from BatchOf as batch " +
139 "where batch.batch = ? " +
140 "or ? member of batch.documents",
◆ getId()
long org.turro.financials.entity.BatchOf.getId |
( |
| ) |
|
◆ getStore()
Contract org.turro.financials.entity.BatchOf.getStore |
( |
| ) |
|
◆ getType()
BatchOfType org.turro.financials.entity.BatchOf.getType |
( |
| ) |
|
◆ isValid()
boolean org.turro.financials.entity.BatchOf.isValid |
( |
| ) |
|
◆ setBatch()
void org.turro.financials.entity.BatchOf.setBatch |
( |
Document |
batch | ) |
|
◆ setDocumentDate()
void org.turro.financials.entity.BatchOf.setDocumentDate |
( |
Date |
date | ) |
|
Definition at line 104 of file BatchOf.java.
108 for(Document doc : documents) {
109 if(!BatchOfType.BATCH_OF_DISCOUNTING.equals(type)) {
110 doc.setDocumentDate(date);
void setDocumentDate(Date documentDate)
◆ setDocuments()
void org.turro.financials.entity.BatchOf.setDocuments |
( |
Set< Document > |
documents | ) |
|
Definition at line 71 of file BatchOf.java.
72 this.documents = documents;
◆ setId()
void org.turro.financials.entity.BatchOf.setId |
( |
long |
id | ) |
|
◆ setReceiptDate()
void org.turro.financials.entity.BatchOf.setReceiptDate |
( |
Date |
date | ) |
|
Definition at line 115 of file BatchOf.java.
119 for(Document doc : documents) {
120 if(!BatchOfType.BATCH_OF_DISCOUNTING.equals(type)) {
121 doc.setReceiptDate(date);
void setReceiptDate(Date receiptDate)
◆ setStore()
void org.turro.financials.entity.BatchOf.setStore |
( |
Contract |
store | ) |
|
Definition at line 95 of file BatchOf.java.
97 for(Document d : documents) {
98 for(DocumentLine dl : d.getDocumentLines()) {
◆ setType()
void org.turro.financials.entity.BatchOf.setType |
( |
BatchOfType |
type | ) |
|
The documentation for this class was generated from the following file: