◆ FixedAssetWrapper()
org.turro.financials.model.asset.FixedAssetWrapper.FixedAssetWrapper |
( |
FixedAsset |
asset | ) |
|
◆ canDelete()
boolean org.turro.financials.model.asset.FixedAssetWrapper.canDelete |
( |
| ) |
|
◆ delete()
boolean org.turro.financials.model.asset.FixedAssetWrapper.delete |
( |
| ) |
|
◆ getAssets()
static Collection<FixedAsset> org.turro.financials.model.asset.FixedAssetWrapper.getAssets |
( |
| ) |
|
|
static |
◆ getBuyLineType()
static LineType org.turro.financials.model.asset.FixedAssetWrapper.getBuyLineType |
( |
| ) |
|
|
static |
◆ getDepreciated()
double org.turro.financials.model.asset.FixedAssetWrapper.getDepreciated |
( |
| ) |
|
◆ getEntries()
Collection<RegisterEntry> org.turro.financials.model.asset.FixedAssetWrapper.getEntries |
( |
| ) |
|
◆ getInvestment()
double org.turro.financials.model.asset.FixedAssetWrapper.getInvestment |
( |
| ) |
|
◆ getInvestmentProviderModel()
static DocumentDefinition org.turro.financials.model.asset.FixedAssetWrapper.getInvestmentProviderModel |
( |
| ) |
|
|
static |
◆ getToDepreciate()
double org.turro.financials.model.asset.FixedAssetWrapper.getToDepreciate |
( |
Date |
date | ) |
|
Definition at line 103 of file bsfinancials-core/src/main/java/org/turro/financials/model/asset/FixedAssetWrapper.java.
104 DepreciationMap dm =
new DepreciationMap();
107 DepreciationEntry de =
new DepreciationEntry();
108 de.setPercent(fad.getPerCent());
109 dm.put(fad.getDepreciationDate(), de);
112 double toDepreciate = 0.0;
117 toDepreciate += dm.getToDepreciate(dl.getTaxable(), dl.getDocument().getReceiptDate(), date);
121 Date regDate = re.getRegister().getRegisterDate();
122 if(regDate.before(date) || regDate.equals(date)) {
123 depreciated += re.getDebit();
126 return toDepreciate - depreciated;
Set< FixedAssetDepreciation > getDepreciations()
◆ keepRelations()
void org.turro.financials.model.asset.FixedAssetWrapper.keepRelations |
( |
Set< DocumentLine > |
docLines | ) |
|
◆ save()
FixedAsset org.turro.financials.model.asset.FixedAssetWrapper.save |
( |
| ) |
|
◆ asset
FixedAsset org.turro.financials.model.asset.FixedAssetWrapper.asset |
|
protected |
The documentation for this class was generated from the following file: