OSID Logo
OSID Specifications
personnel package
Version 3.0.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.Metadatametadata for the salutation
CompliancemandatoryThis method must be implemented.
MethodsetSalutation
Description

Sets the salutation.

Parametersstringsalutationthe salutation
ErrorsINVALID_ARGUMENTsalutation is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTsalutation is null
CompliancemandatoryThis method must be implemented.
MethodclearSalutation
Description

Clears the salutation.

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

Gets the metadata for a given name.

Returnosid.Metadatametadata for the given name
CompliancemandatoryThis method must be implemented.
MethodsetGivenName
Description

Sets the given name,

ParametersstringgivenNamethe given name
ErrorsINVALID_ARGUMENTgivenName is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTgivenName is null
CompliancemandatoryThis method must be implemented.
MethodclearGivenName
Description

Clears the given name.

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

Gets the metadata for a preferred name.

Returnosid.Metadatametadata for the preferred name
CompliancemandatoryThis method must be implemented.
MethodsetPreferredName
Description

Sets the preferred name,

ParametersstringpreferredNamethe preferred name
ErrorsINVALID_ARGUMENTpreferredName is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTpreferredName is null
CompliancemandatoryThis method must be implemented.
MethodclearPreferredName
Description

Clears the preferred name.

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

Gets the metadata for forename aliases.

Returnosid.Metadatametadata for the forename aliases
CompliancemandatoryThis method must be implemented.
MethodsetForenameAliases
Description

Sets the forename aliases.

Parametersstring[]aliasesthe forename aliases
ErrorsINVALID_ARGUMENTforenames is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTforenames is null
CompliancemandatoryThis method must be implemented.
MethodclearForenameAliases
Description

Clears the forename aliases.

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

Gets the metadata for middle names.

Returnosid.Metadatametadata for the middle names
CompliancemandatoryThis method must be implemented.
MethodsetMiddleNames
Description

Sets the middle names.

Parametersstring[]namesthe middle names
ErrorsINVALID_ARGUMENTnames is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTnames is null
CompliancemandatoryThis method must be implemented.
MethodclearMiddleNames
Description

Clears the middele names.

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

Gets the metadata for a qualification suffix.

Returnosid.Metadatametadata for the qualification suffix
CompliancemandatoryThis method must be implemented.
MethodsetQualificationSuffix
Description

Sets the qualification suffix.

ParametersstringqualificationSuffixthe qualification suffix
ErrorsINVALID_ARGUMENTqualificationSuffix is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTqualificationSuffix is null
CompliancemandatoryThis method must be implemented.
MethodclearQualificationSuffix
Description

Clears the qualification suffix.

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

Gets the metadata for a surname.

Returnosid.Metadatametadata for the surname
CompliancemandatoryThis method must be implemented.
MethodsetSurname
Description

Sets the surname.

Parametersstringsurnamethe surname
ErrorsINVALID_ARGUMENTsurname is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTsurname is null
CompliancemandatoryThis method must be implemented.
MethodclearSurname
Description

Clears the surname.

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

Gets the metadata for surname aliases.

Returnosid.Metadatametadata for the surname aliases
CompliancemandatoryThis method must be implemented.
MethodsetSurnameAliases
Description

Sets the surname aliases.

Parametersstring[]aliasesthe aliases
ErrorsINVALID_ARGUMENTaliases is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTaliases is null
CompliancemandatoryThis method must be implemented.
MethodclearSurnameAliases
Description

Clears the surname aliases.

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

Gets the metadata for a generation qualifier.

Returnosid.Metadatametadata for the qualifier
CompliancemandatoryThis method must be implemented.
MethodsetGenerationQualifier
Description

Sets the generation qualifier.

Parametersstringqualifierthe qualifier
ErrorsINVALID_ARGUMENTqualifier is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTqualifier is null
CompliancemandatoryThis method must be implemented.
MethodclearGenerationQualifier
Description

Clears the generation qualifier.

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

Gets the metadata for a date of birth.

Returnosid.Metadatametadata for the date of birth
CompliancemandatoryThis method must be implemented.
MethodsetBirthDate
Description

Sets the date of birth.

Parametersosid.calendaring.DateTimedatethe date
ErrorsINVALID_ARGUMENTdate is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTdate is null
CompliancemandatoryThis method must be implemented.
MethodclearBirthDate
Description

Clears the date of birth.

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

Gets the metadata for a date of death.

Returnosid.Metadatametadata for the date of death
CompliancemandatoryThis method must be implemented.
MethodsetDeathDate
Description

Sets the date of death.

Parametersosid.calendaring.DateTimedatethe date
ErrorsINVALID_ARGUMENTdate is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTdate is null
CompliancemandatoryThis method must be implemented.
MethodclearDeathDate
Description

Clears the date of death.

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

Gets the metadata for an identifier.

Returnosid.Metadatametadata for the identifier
CompliancemandatoryThis method must be implemented.
MethodsetInstitutionalIdentifier
Description

Sets the identifier.

Parametersstringidentifierthe identifier
ErrorsINVALID_ARGUMENTidentifier is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTidentifier is null
CompliancemandatoryThis method must be implemented.
MethodclearInstitutionalIdentifier
Description

Clears the identifier.

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

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

Parametersosid.type.TypepersonRecordTypethe person record type
Returnosid.personnel.records.PersonFormRecordthe record
ErrorsNULL_ARGUMENTpersonRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(personRecordType) is false
CompliancemandatoryThis method must be implemented.