Interface ProvisionReturn
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject, Subjugateable
A ProvisionReturn captures data related to the return of a
provision.
-
Method Summary
Modifier and TypeMethodDescriptiongetProvisionReturnRecord(Type provisionReturnRecordType) Gets the provision return record corresponding to the givenProvisionReturnrecordType.Gets the date returned.Gets the returner.Gets theIdof the returner resource.Gets the returning agent.Gets theIdof the returning agent.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 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
-
getReturnDate
DateTime getReturnDate()Gets the date returned. The return date is the effective end date of the provision when the return is processed.- Returns:
- the date returned
- Compliance:
mandatory- This method must be implemented.
-
getReturnerId
Id getReturnerId()Gets theIdof the returner resource.- Returns:
- the resource
Id - Compliance:
mandatory- This method must be implemented.
-
getReturner
Gets the returner.- Returns:
- the returner
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getReturningAgentId
Id getReturningAgentId()Gets theIdof the returning agent.- Returns:
- the resource
Id - Compliance:
mandatory- This method must be implemented.
-
getReturningAgent
Gets the returning agent.- Returns:
- the agent
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getProvisionReturnRecord
ProvisionReturnRecord getProvisionReturnRecord(Type provisionReturnRecordType) throws OperationFailedException Gets the provision return record corresponding to the givenProvisionReturnrecordType. This method is used to retrieve an object implementing the requested record. TheprovisionReturnRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(provisionReturnRecordType)istrue.- Parameters:
provisionReturnRecordType- the type of provision return record to retrieve- Returns:
- the provision return record
- Throws:
NullArgumentException-provisionReturnRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(provisionReturnRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-