|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.homeunix.thecave.buddi.plugin.api.model.impl.ImmutableModelObjectImpl
org.homeunix.thecave.buddi.plugin.api.model.impl.ImmutableSourceImpl
org.homeunix.thecave.buddi.plugin.api.model.impl.ImmutableBudgetCategoryImpl
public class ImmutableBudgetCategoryImpl
| Constructor Summary | |
|---|---|
ImmutableBudgetCategoryImpl(BudgetCategory budgetCategory)
|
|
| Method Summary | |
|---|---|
java.util.List<ImmutableBudgetCategory> |
getAllImmutableChildren()
Returns all children of this budget category, regardless of delete flag state. |
long |
getAmount(java.util.Date date)
Returns the budgeted amount for the given date. |
long |
getAmount(java.util.Date startDate,
java.util.Date endDate)
Returns the budgeted amount spread across the date range. |
BudgetCategory |
getBudgetCategory()
Returns the wrapped object from the underlying data model. |
java.util.List<java.util.Date> |
getBudgetedDates()
Returns a list of all dates for this budget period which have budget information set for them. |
ImmutableBudgetCategoryType |
getBudgetPeriodType()
Returns the budget period type associated with this budget category. |
java.util.List<ImmutableBudgetCategory> |
getImmutableChildren()
Returns all visible children of this budget category. |
ImmutableBudgetCategory |
getParent()
Returns the parent of this ImmutableBudgetCategory, or null if there is no parent. |
boolean |
isIncome()
Does this ImmutableBudgetCategory represent an income category? |
java.lang.String |
toString()
|
| Methods inherited from class org.homeunix.thecave.buddi.plugin.api.model.impl.ImmutableSourceImpl |
|---|
getFullName, getName, getNotes, getSource, isDeleted |
| Methods inherited from class org.homeunix.thecave.buddi.plugin.api.model.impl.ImmutableModelObjectImpl |
|---|
compareTo, equals, getModified, getRaw, getUid, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.homeunix.thecave.buddi.plugin.api.model.ImmutableSource |
|---|
getFullName, getName, getNotes, getSource, isDeleted |
| Methods inherited from interface org.homeunix.thecave.buddi.plugin.api.model.ImmutableModelObject |
|---|
getModified, getRaw, getUid |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public ImmutableBudgetCategoryImpl(BudgetCategory budgetCategory)
| Method Detail |
|---|
public boolean isIncome()
ImmutableBudgetCategory
isIncome in interface ImmutableBudgetCategorypublic ImmutableBudgetCategory getParent()
ImmutableBudgetCategory
getParent in interface ImmutableBudgetCategorypublic BudgetCategory getBudgetCategory()
ImmutableBudgetCategory
getBudgetCategory in interface ImmutableBudgetCategory
public long getAmount(java.util.Date startDate,
java.util.Date endDate)
ImmutableBudgetCategory
getAmount in interface ImmutableBudgetCategorypublic long getAmount(java.util.Date date)
ImmutableBudgetCategory
getAmount in interface ImmutableBudgetCategorypublic ImmutableBudgetCategoryType getBudgetPeriodType()
ImmutableBudgetCategory
getBudgetPeriodType in interface ImmutableBudgetCategorypublic java.lang.String toString()
toString in class ImmutableSourceImplpublic java.util.List<ImmutableBudgetCategory> getAllImmutableChildren()
ImmutableBudgetCategory
getAllImmutableChildren in interface ImmutableBudgetCategorypublic java.util.List<ImmutableBudgetCategory> getImmutableChildren()
ImmutableBudgetCategory
getImmutableChildren in interface ImmutableBudgetCategorypublic java.util.List<java.util.Date> getBudgetedDates()
ImmutableBudgetCategory
getBudgetedDates in interface ImmutableBudgetCategory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||