OSID Logo
OSID Specifications
offering package
Version 3.1.0
Interfaceosid.offering.Participant
Implementsosid.OsidRelationship
Used Byosid.offering.ParticipantAdminSession
osid.offering.ParticipantList
osid.offering.ParticipantLookupSession
osid.offering.Result
Description

A Participant in an OsidRelationship between an Offering and a Resource.

MethodgetOfferingId
Description

Gets the Id of the offering to which this participant is assigned.

Returnosid.id.Id the Offering Id
Compliancemandatory This method must be implemented.
MethodgetOffering
Description

Gets the offering for this participant.

Returnosid.offering.Offering the Offering
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetResourceId
Description

Gets the Id of the resource.

Returnosid.id.Id the Resource Id
Compliancemandatory This method must be implemented.
MethodgetResource
Description

Gets the resource for this participant.

Returnosid.resource.Resource the Resource
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetTimePeriodId
Description

Gets the Id of the time period.

Returnosid.id.Id the TimePeriod Id
Compliancemandatory This method must be implemented.
MethodgetTimePeriod
Description

Gets the time period for this participant.

Returnosid.calendaring.TimePeriod the TimePeriod
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodhasResults
Description

Tests if there are result options that inform or constrain the results.

Returnboolean true if there are results, false otherwise
Compliancemandatory This method must be implemented.
MethodgetResultOptionIds
Description

Gets the various result option Ids applied to this participation.

Returnosid.id.IdList the returned list of grading option Ids
ErrorsILLEGAL_STATE hasResults() is false
Compliancemandatory This method must be implemented.
MethodgetResultOptions
Description

Gets the various result option Ids applied to this participation.

Returnosid.grading.GradeSystemList the returned list of grading options
ErrorsILLEGAL_STATE hasResults() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetParticipantRecord
Description

Gets the record corresponding to the given Participant record Type. This method is used to retrieve an object implementing the requested record. The participantRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(participantRecordType) is true.

Parametersosid.type.TypeparticipantRecordType the type of participant record to retrieve
Returnosid.offering.records.ParticipantRecord the participant record
ErrorsNULL_ARGUMENT participantRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(participantRecordType) is false
Compliancemandatory This method must be implemented.