OSID Logo
OSID Specifications
personnel package
Version 3.0.0
Interfaceosid.personnel.AppointmentForm
Implementsosid.OsidRelationshipForm
Implemented Byosid.personnel.batch.AppointmentBatchForm
Used Byosid.personnel.AppointmentAdminSession
Description

This is the form for creating and updating Appointment objects. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the AppointmentAdminSession . For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetCommitmentMetadata
Description

Gets the metadata for a required commitment.

Returnosid.Metadatametadata for the required commitment
CompliancemandatoryThis method must be implemented.
MethodsetCommitment
Description

Sets the required commitment percentage (0-100).

Parameterscardinalcommitmentthe required commitment
ErrorsINVALID_ARGUMENTcommitment is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearCommitment
Description

Clears the required commitment.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetTitleMetadata
Description

Gets the metadata for a title.

Returnosid.Metadatametadata for the title
CompliancemandatoryThis method must be implemented.
MethodsetTitle
Description

Sets the title.

Parametersstringtitlethe title
ErrorsINVALID_ARGUMENTtitle is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTtitle is null
CompliancemandatoryThis method must be implemented.
MethodclearTitle
Description

Clears the title.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetSalaryMetadata
Description

Gets the metadata for a salary.

Returnosid.Metadatametadata for the salary
CompliancemandatoryThis method must be implemented.
MethodsetSalary
Description

Sets the salary.

Parametersosid.financials.Currencysalarythe slary
ErrorsINVALID_ARGUMENTsalary is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTsalary is null
CompliancemandatoryThis method must be implemented.
MethodclearLowSalaryRange
Description

Clears the salary.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetAppointmentFormRecord
Description

Gets the AppointmentFormRecord interface corresponding to the given appointment record Type .

Parametersosid.type.TypeappointmentRecordTypethe appointment record type
Returnosid.personnel.records.AppointmentFormRecordthe record
ErrorsNULL_ARGUMENTappointmentRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(appointmentRecordType) is false
CompliancemandatoryThis method must be implemented.