OSID Logo
OSID Specifications
personnel package
Version 3.0.0
Release Candidate Preview
Interfaceosid.personnel.PersonForm
Implementsosid.OsidObjectForm
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_ARGUMENT salutation is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT salutation is null
CompliancemandatoryThis method must be implemented.
MethodclearSalutation
Description

Clears the salutation.

ErrorsNO_ACCESS Metadata.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_ARGUMENT givenName is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT givenName is null
CompliancemandatoryThis method must be implemented.
MethodclearGivenName
Description

Clears the given name.

ErrorsNO_ACCESS Metadata.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_ARGUMENT preferredName is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT preferredName is null
CompliancemandatoryThis method must be implemented.
MethodclearPreferredName
Description

Clears the preferred name.

ErrorsNO_ACCESS Metadata.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_ARGUMENT forenames is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT forenames is null
CompliancemandatoryThis method must be implemented.
MethodclearForenameAliases
Description

Clears the forename aliases.

ErrorsNO_ACCESS Metadata.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_ARGUMENT names is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT names is null
CompliancemandatoryThis method must be implemented.
MethodclearMiddleNames
Description

Clears the middele names.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetSurameMetadata
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_ARGUMENT surname is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT surname is null
CompliancemandatoryThis method must be implemented.
MethodclearSurname
Description

Clears the surname.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetSurameAliasesMetadata
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_ARGUMENT aliases is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT aliases is null
CompliancemandatoryThis method must be implemented.
MethodclearSurnameAliases
Description

Clears the surname aliases.

ErrorsNO_ACCESS Metadata.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_ARGUMENT qualifier is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT qualifier is null
CompliancemandatoryThis method must be implemented.
MethodclearGenerationQualifier
Description

Clears the generation qualifier.

ErrorsNO_ACCESS Metadata.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_ARGUMENT date is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT date is null
CompliancemandatoryThis method must be implemented.
MethodclearBirthDate
Description

Clears the date of birth.

ErrorsNO_ACCESS Metadata.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_ARGUMENT date is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT date is null
CompliancemandatoryThis method must be implemented.
MethodclearDeathDate
Description

Clears the date of death.

ErrorsNO_ACCESS Metadata.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_ARGUMENT identifier is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT identifier is null
CompliancemandatoryThis method must be implemented.
MethodclearInstitutionalIdentifier
Description

Clears the identifier.

ErrorsNO_ACCESS Metadata.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_ARGUMENT personRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(personRecordType) is false
CompliancemandatoryThis method must be implemented.