Interface Summary
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidCompendium, OsidObject, Subjugateable
A Summary represents a financial summary of an Account
in a time period.
-
Method Summary
Modifier and TypeMethodDescriptionGets the account.Gets theIdof the account.Gets the budget.Gets the credits for this fiscal period.Gets the debits for this fiscal period.Gets the fiscal periodGets theIdof the fiscal periodGets the forecastgetSummaryRecord(Type summaryRecordType) Gets the summary record corresponding to the givenSummaryrecordType.This method is used to retrieve an object implementing the requested record.booleanTests if this the account on this activity has a forecast for this time period.booleanTests if this the account on this activity has a budget for this time period.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidCompendium
getEndDate, getStartDate, isExtrapolated, isInterpolatedModifier and TypeMethodDescriptionGets the end date used in the evaluation of the transactional data on which this report is based.Gets the start date used in the evaluation of the transactional data on which this report is based.booleanTests if this report is extrapolated outside measured data or known transactions.booleanTests if this report is interpolated within measured data or known transactions.Methods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeModifier and TypeMethodDescriptionGets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.
-
Method Details
-
getAccountId
Id getAccountId()Gets theIdof the account.- Returns:
- the account
Id - Compliance:
mandatory- This method must be implemented.
-
getAccount
Gets the account.- Returns:
- the account
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getFiscalPeriodId
Id getFiscalPeriodId()Gets theIdof the fiscal period- Returns:
- the fiscal period
Id - Compliance:
mandatory- This method must be implemented.
-
getFiscalPeriod
Gets the fiscal period- Returns:
- the fiscal period
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getCredits
Currency getCredits()Gets the credits for this fiscal period.- Returns:
- the credits
- Compliance:
mandatory- This method must be implemented.
-
getDebits
Currency getDebits()Gets the debits for this fiscal period.- Returns:
- the debits
- Compliance:
mandatory- This method must be implemented.
-
isBudgeted
boolean isBudgeted()Tests if this the account on this activity has a budget for this time period.- Returns:
trueif a budget is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getBudget
Currency getBudget()Gets the budget.- Returns:
- the budget
- Throws:
IllegalStateException-isBudgeted()isfalse- Compliance:
mandatory- This method must be implemented.
-
hasForecast
boolean hasForecast()Tests if this the account on this activity has a forecast for this time period.- Returns:
trueif a forecast is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getForecast
Currency getForecast()Gets the forecast- Returns:
- the forecast
- Throws:
IllegalStateException-hasForecast()isfalse- Compliance:
mandatory- This method must be implemented.
-
getSummaryRecord
Gets the summary record corresponding to the givenSummaryrecordType.This method is used to retrieve an object implementing the requested record. ThesummaryRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(summaryRecordType)istrue.- Parameters:
summaryRecordType- the type of summary record to retrieve- Returns:
- the summary record
- Throws:
NullArgumentException-summaryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(summaryRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-