public interface Budget extends OsidRelationship
A Budget.
Modifier and Type | Method and Description |
---|---|
Activity |
getActivity()
Gets the activity.
|
Id |
getActivityId()
Gets the actvity
Id. |
BudgetRecord |
getBudgetRecord(Type budgetRecordType)
Gets the budget record corresponding to the given
Budget
record Type. |
FiscalPeriod |
getFiscalPeriod()
Gets the
FiscalPeriod. |
Id |
getFiscalPeriodId()
Gets the
Id of the FiscalPeriod. |
getEndReason, getEndReasonId, hasEndReason
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
getEndDate, getStartDate, isEffective
Id getActivityId()
Id.
Id
mandatory
- This method must be implemented. Activity getActivity() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getFiscalPeriodId()
Id
of the FiscalPeriod.
FiscalPeriod
Id
mandatory
- This method must be implemented. FiscalPeriod getFiscalPeriod() throws OperationFailedException
FiscalPeriod.
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. BudgetRecord getBudgetRecord(Type budgetRecordType) throws OperationFailedException
Budget
record Type.
This method is used to retrieve an
object implementing the requested record. The budgetRecordType
may be the Type
returned in
getRecordTypes()
or any of its parents in a Type
hierarchy where hasRecordType(budgetRecordType)
is true
.budgetRecordType
- the type of budget record to retrieveNullArgumentException
- budgetRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(budgetRecordType)
is false
mandatory
- This method must be implemented.