19 package org.turro.financials.model.document.contract;
21 import java.util.Date;
22 import java.util.logging.Level;
23 import java.util.logging.Logger;
24 import org.turro.elephant.context.Application;
25 import org.turro.elephant.context.ElephantContext;
26 import org.turro.financials.entity.Document;
27 import org.turro.util.CompareUtil;
37 private String concept;
38 private Double invoice, portfolio, settlement, balance;
45 this.document = document;
61 this.concept = concept;
69 this.invoice = invoice;
77 this.portfolio = portfolio;
85 this.settlement = settlement;
93 this.balance = balance;
99 }
catch (Exception ex) {
107 if(document ==
null)
return -1;
109 int result = CompareUtil.compare(date, o.
getDate());
IConstructor getConstructor()
static Application getApplication()
static String logMsg(String msg)
static String createURL(IConstructor constructor, Document document)
void setPortfolio(Double portfolio)
void setDocument(Document document)
int compareTo(DocumentPortfolio o)
void setInvoice(Double invoice)
void setBalance(Double balance)
void setConcept(String concept)
void setSettlement(Double settlement)