OSID Logo
OSID Specifications
personnel package
Version 3.1.0
Interfaceosid.personnel.Appointment
Implementsosid.OsidRelationship
Used Byosid.personnel.AppointmentAdminSession
osid.personnel.AppointmentList
osid.personnel.AppointmentLookupSession
Description

An Appointment relates a Position to a Position.

MethodgetPersonId
Description

Gets the Id of the person.

Returnosid.id.Id the person Id
Compliancemandatory This method must be implemented.
MethodgetPerson
Description

Gets the person in this appointment.

Returnosid.personnel.Person the Person
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetPositionId
Description

Gets the Id of the position in this appointment.

Returnosid.id.Id the Position Id
Compliancemandatory This method must be implemented.
MethodgetPosition
Description

Gets the position in this appointment.

Returnosid.personnel.Position the Position
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetCommitment
Description

Gets the percentage commitment (0-100).

Returncardinal the percentage commitment
Compliancemandatory This method must be implemented.
MethodgetTitle
Description

Gets the title for this appointment.

Returnosid.locale.DisplayText the title
Compliancemandatory This method must be implemented.
MethodhasSalary
Description

Tests if a salary is available.

Returnboolean true if a salary is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSalary
Description

Gets the salary.

Returnosid.financials.Currency the slaary
ErrorsILLEGAL_STATE hasSalary() is false
Compliancemandatory This method must be implemented.
MethodgetSalaryBasis
Description

Gets the basis in number of months per year.

Returncardinal the number of months
ErrorsILLEGAL_STATE hasSalary() is false
Compliancemandatory This method must be implemented.
MethodgetAppointmentRecord
Description

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

Parametersosid.type.TypeappointmentRecordType the type of appointment record to retrieve
Returnosid.personnel.records.AppointmentRecord the appointment record
ErrorsNULL_ARGUMENT appointmentRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(appointmentRecordType) is false
Compliancemandatory This method must be implemented.