public interface Summary extends OsidCompendium
A Summary
represents a financial summary of an
Account
in a time period.
Modifier and Type | Method and Description |
---|---|
Account |
getAccount()
Gets the account.
|
Id |
getAccountId()
Gets the
Id of the account. |
Currency |
getBudget()
Gets the budget.
|
Currency |
getCredits()
Gets the credits for this fiscal period.
|
Currency |
getDebits()
Gets the debits for this fiscal period.
|
FiscalPeriod |
getFiscalPeriod()
Gets the fiscal period
|
Id |
getFiscalPeriodId()
Gets the
Id of the fiscal period |
Currency |
getForecast()
Gets the forecast
|
SummaryRecord |
getSummaryRecord(Type summaryRecordType)
Gets the summary record corresponding to the given
Summary
record Type. |
boolean |
hasForecast()
Tests if this the account on this activity has a forecast for this
time period.
|
boolean |
isBudgeted()
Tests if this the account on this activity has a budget for this time
period.
|
getEndDate, getStartDate, isExtrapolated, isInterpolated
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
Id getAccountId()
Id
of the account. Id
mandatory
- This method must be implemented. Account getAccount() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getFiscalPeriodId()
Id
of the fiscal period Id
mandatory
- This method must be implemented. FiscalPeriod getFiscalPeriod() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Currency getCredits()
mandatory
- This method must be implemented. Currency getDebits()
mandatory
- This method must be implemented. boolean isBudgeted()
true
if a budget is available, false
otherwisemandatory
- This method must be implemented. Currency getBudget()
IllegalStateException
- isBudgeted()
is
false
mandatory
- This method must be implemented. boolean hasForecast()
true
if a forecast is available, false
otherwisemandatory
- This method must be implemented. Currency getForecast()
IllegalStateException
- hasForecast()
is
false
mandatory
- This method must be implemented. SummaryRecord getSummaryRecord(Type summaryRecordType) throws OperationFailedException
Summary
record Type.
This method is used to retrieve an
object implementing the requested record. The summaryRecordType
may be the Type
returned in
getRecordTypes()
or any of its parents in a Type
hierarchy where hasRecordType(summaryRecordType)
is true
.summaryRecordType
- the type of summary record to retrieveNullArgumentException
- summaryRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(summaryRecordType)
is false
mandatory
- This method must be implemented.