OSID Logo
OSID Specifications
personnel package
Version 3.1.0
Interfaceosid.personnel.PersonForm
Implementsosid.OsidObjectForm
Implemented Byosid.personnel.batch.PersonBatchForm
Used Byosid.personnel.PersonAdminSession
Description

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

MethodgetSalutationMetadata
Description

Gets the metadata for a salutation.

Returnosid.Metadata metadata for the salutation
Compliancemandatory This method must be implemented.
MethodsetSalutation
Description

Sets the salutation.

Parametersstringsalutation the salutation
ErrorsINVALID_ARGUMENT salutation is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT salutation is null
Compliancemandatory This method must be implemented.
MethodclearSalutation
Description

Clears the salutation.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetGivenNameMetadata
Description

Gets the metadata for a given name.

Returnosid.Metadata metadata for the given name
Compliancemandatory This method must be implemented.
MethodsetGivenName
Description

Sets the given name,

ParametersstringgivenName the given name
ErrorsINVALID_ARGUMENT givenName is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT givenName is null
Compliancemandatory This method must be implemented.
MethodclearGivenName
Description

Clears the given name.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetPreferredNameMetadata
Description

Gets the metadata for a preferred name.

Returnosid.Metadata metadata for the preferred name
Compliancemandatory This method must be implemented.
MethodsetPreferredName
Description

Sets the preferred name,

ParametersstringpreferredName the preferred name
ErrorsINVALID_ARGUMENT preferredName is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT preferredName is null
Compliancemandatory This method must be implemented.
MethodclearPreferredName
Description

Clears the preferred name.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetForenameAliasesMetadata
Description

Gets the metadata for forename aliases.

Returnosid.Metadata metadata for the forename aliases
Compliancemandatory This method must be implemented.
MethodsetForenameAliases
Description

Sets the forename aliases.

Parametersstring[]aliases the forename aliases
ErrorsINVALID_ARGUMENT forenames is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT forenames is null
Compliancemandatory This method must be implemented.
MethodclearForenameAliases
Description

Clears the forename aliases.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetMiddleNamesMetadata
Description

Gets the metadata for middle names.

Returnosid.Metadata metadata for the middle names
Compliancemandatory This method must be implemented.
MethodsetMiddleNames
Description

Sets the middle names.

Parametersstring[]names the middle names
ErrorsINVALID_ARGUMENT names is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT names is null
Compliancemandatory This method must be implemented.
MethodclearMiddleNames
Description

Clears the middele names.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetQualificationSuffixMetadata
Description

Gets the metadata for a qualification suffix.

Returnosid.Metadata metadata for the qualification suffix
Compliancemandatory This method must be implemented.
MethodsetQualificationSuffix
Description

Sets the qualification suffix.

ParametersstringqualificationSuffix the qualification suffix
ErrorsINVALID_ARGUMENT qualificationSuffix is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT qualificationSuffix is null
Compliancemandatory This method must be implemented.
MethodclearQualificationSuffix
Description

Clears the qualification suffix.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetSurnameMetadata
Description

Gets the metadata for a surname.

Returnosid.Metadata metadata for the surname
Compliancemandatory This method must be implemented.
MethodsetSurname
Description

Sets the surname.

Parametersstringsurname the surname
ErrorsINVALID_ARGUMENT surname is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT surname is null
Compliancemandatory This method must be implemented.
MethodclearSurname
Description

Clears the surname.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetSurnameAliasesMetadata
Description

Gets the metadata for surname aliases.

Returnosid.Metadata metadata for the surname aliases
Compliancemandatory This method must be implemented.
MethodsetSurnameAliases
Description

Sets the surname aliases.

Parametersstring[]aliases the aliases
ErrorsINVALID_ARGUMENT aliases is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT aliases is null
Compliancemandatory This method must be implemented.
MethodclearSurnameAliases
Description

Clears the surname aliases.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetGenerationQualifierMetadata
Description

Gets the metadata for a generation qualifier.

Returnosid.Metadata metadata for the qualifier
Compliancemandatory This method must be implemented.
MethodsetGenerationQualifier
Description

Sets the generation qualifier.

Parametersstringqualifier the qualifier
ErrorsINVALID_ARGUMENT qualifier is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT qualifier is null
Compliancemandatory This method must be implemented.
MethodclearGenerationQualifier
Description

Clears the generation qualifier.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetBirthDateMetadata
Description

Gets the metadata for a date of birth.

Returnosid.Metadata metadata for the date of birth
Compliancemandatory This method must be implemented.
MethodsetBirthDate
Description

Sets the date of birth.

Parametersosid.calendaring.DateTimedate the date
ErrorsINVALID_ARGUMENT date is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT date is null
Compliancemandatory This method must be implemented.
MethodclearBirthDate
Description

Clears the date of birth.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetDeathDateMetadata
Description

Gets the metadata for a date of death.

Returnosid.Metadata metadata for the date of death
Compliancemandatory This method must be implemented.
MethodsetDeathDate
Description

Sets the date of death.

Parametersosid.calendaring.DateTimedate the date
ErrorsINVALID_ARGUMENT date is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT date is null
Compliancemandatory This method must be implemented.
MethodclearDeathDate
Description

Clears the date of death.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetInstitutionalIdentifierMetadata
Description

Gets the metadata for an identifier.

Returnosid.Metadata metadata for the identifier
Compliancemandatory This method must be implemented.
MethodsetInstitutionalIdentifier
Description

Sets the identifier.

Parametersstringidentifier the identifier
ErrorsINVALID_ARGUMENT identifier is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT identifier is null
Compliancemandatory This method must be implemented.
MethodclearInstitutionalIdentifier
Description

Clears the identifier.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetPersonFormRecord
Description

Gets the PersonFormRecord interface corresponding to the given person record Type .

Parametersosid.type.TypepersonRecordType the person record type
Returnosid.personnel.records.PersonFormRecord the record
ErrorsNULL_ARGUMENT personRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(personRecordType) is false
Compliancemandatory This method must be implemented.