@Entity public class JobExpenseEntity extends AbstractLineItemEntity implements JobOwnedEntity
| Modifier and Type | Field and Description |
|---|---|
private Set<JobExpenseEntryEntity> |
expenseEntries |
private JobEntity |
job |
private Money |
totalCostLogged |
DATE_MOD_FIELD, dateCreated, dateModified, id, ID_FIELD, versionTC_FIELD, TC_PROPERTY_NAME| Constructor and Description |
|---|
JobExpenseEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExpenseAmountToTotal(Money expenseAmount) |
protected Money |
addMarkup(Money source) |
Money |
getActualTotalCostIncludingMarkup() |
Boolean |
getDualTaxRates() |
Money |
getEstimatedTotalCostIncludingMarkup() |
Money |
getEstimatedUnitCostIncludingMarkup() |
Set<JobExpenseEntryEntity> |
getExpenseEntries() |
JobEntity |
getJob() |
Money |
getTotalCostLogged() |
void |
setExpenseEntries(Set<JobExpenseEntryEntity> expenseEntries) |
void |
setJob(JobEntity job) |
void |
setTotalCostLogged(Money totalCostLogged) |
void |
subtractExpenseAmountFromTotal(Money expenseAmount) |
equals, getBillableNet, getBillableNetOtherCurrency, getBillLineItemOrder, getBillType, getChargeBand, getCost, getDescription, getExcludeFromInvoice, getExternalData, getExternalNote, getGrossTotalAmount, getGrossTotalAmountOtherCurrency, getInternalNote, getLineItemOrder, getMultiplier, getQuantity, getRate, getRateOtherCurrency, getRealisationRate, getTaxAmount, getTaxAmountOtherCurrency, getTaxTwoAmount, getTaxTwoAmountOtherCurrency, getTaxType, getTaxTypeTwo, getTotal, getTotalOtherCurrency, getTotalTaxAmount, getTotalTaxAmountOtherCurrency, getUuid, hashCode, populateFrom, setBillableNet, setBillableNetOtherCurrency, setBillLineItemOrder, setBillType, setChargeBand, setCost, setDescription, setExcludeFromInvoice, setExternalData, setExternalNote, setInternalNote, setLineItemOrder, setMultiplier, setQuantity, setRate, setRateOtherCurrency, setRealisationRate, setTaxType, setTaxTypeTwo, setTotal, setTotalOtherCurrency, setUuid, zeroMoneygetTrafficCompany, setTrafficCompanygetDateCreated, getDateModified, getId, getProxiedId, getVersion, isPersisted, isUnpersisted, prePersist, preUpdate, setDateCreated, setDateModified, setId, setVersionclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitprivate JobEntity job
private Set<JobExpenseEntryEntity> expenseEntries
private Money totalCostLogged
public Money getTotalCostLogged()
public void setTotalCostLogged(Money totalCostLogged)
public Set<JobExpenseEntryEntity> getExpenseEntries()
public void setExpenseEntries(Set<JobExpenseEntryEntity> expenseEntries)
public JobEntity getJob()
getJob in interface JobOwnedEntitypublic void setJob(JobEntity job)
setJob in interface JobOwnedEntitypublic void addExpenseAmountToTotal(Money expenseAmount)
public void subtractExpenseAmountFromTotal(Money expenseAmount)
public Money getEstimatedUnitCostIncludingMarkup()
public Money getEstimatedTotalCostIncludingMarkup()
public Money getActualTotalCostIncludingMarkup()
public Boolean getDualTaxRates()
getDualTaxRates in class AbstractLineItemEntityCopyright © 2008–2016 Sohnar Ltd.. All rights reserved.