public interface PersonForm extends OsidObjectForm
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.
| Modifier and Type | Method and Description |
|---|---|
void |
clearBirthDate()
Clears the date of birth.
|
void |
clearDeathDate()
Clears the date of death.
|
void |
clearForenameAliases()
Clears the forename aliases.
|
void |
clearGenerationQualifier()
Clears the generation qualifier.
|
void |
clearGivenName()
Clears the given name.
|
void |
clearInstitutionalIdentifier()
Clears the identifier.
|
void |
clearMiddleNames()
Clears the middele names.
|
void |
clearPreferredName()
Clears the preferred name.
|
void |
clearSalutation()
Clears the salutation.
|
void |
clearSurname()
Clears the surname.
|
void |
clearSurnameAliases()
Clears the surname aliases.
|
Metadata |
getBirthDateMetadata()
Gets the metadata for a date of birth.
|
Metadata |
getDeathDateMetadata()
Gets the metadata for a date of death.
|
Metadata |
getForenameAliasesMetadata()
Gets the metadata for forename aliases.
|
Metadata |
getGenerationQualifierMetadata()
Gets the metadata for a generation qualifier.
|
Metadata |
getGivenNameMetadata()
Gets the metadata for a given name.
|
Metadata |
getInstitutionalIdentifierMetadata()
Gets the metadata for an identifier.
|
Metadata |
getMiddleNamesMetadata()
Gets the metadata for middle names.
|
PersonFormRecord |
getPersonFormRecord(Type personRecordType)
Gets the
PersonFormRecord interface corresponding to
the given person record Type. |
Metadata |
getPreferredNameMetadata()
Gets the metadata for a preferred name.
|
Metadata |
getSalutationMetadata()
Gets the metadata for a salutation.
|
Metadata |
getSurameAliasesMetadata()
Gets the metadata for surname aliases.
|
Metadata |
getSurameMetadata()
Gets the metadata for a surname.
|
void |
setBirthDate(DateTime date)
Sets the date of birth.
|
void |
setDeathDate(DateTime date)
Sets the date of death.
|
void |
setForenameAliases(java.lang.String[] aliases)
Sets the forename aliases.
|
void |
setGenerationQualifier(java.lang.String qualifier)
Sets the generation qualifier.
|
void |
setGivenName(java.lang.String givenName)
Sets the given name,
|
void |
setInstitutionalIdentifier(java.lang.String identifier)
Sets the identifier.
|
void |
setMiddleNames(java.lang.String[] names)
Sets the middle names.
|
void |
setPreferredName(java.lang.String preferredName)
Sets the preferred name,
|
void |
setSalutation(java.lang.String salutation)
Sets the salutation.
|
void |
setSurname(java.lang.String surname)
Sets the surname.
|
void |
setSurnameAliases(java.lang.String[] aliases)
Sets the surname aliases.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypegetRequiredRecordTypesgetRecordTypes, hasRecordTypegetDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocalegetId, isCurrentMetadata getSalutationMetadata()
mandatory - This method must be implemented. void setSalutation(java.lang.String salutation)
salutation - the salutationInvalidArgumentException - salutation is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - salutation is
nullmandatory - This method must be implemented. void clearSalutation()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getGivenNameMetadata()
mandatory - This method must be implemented. void setGivenName(java.lang.String givenName)
givenName - the given nameInvalidArgumentException - givenName is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - givenName is
nullmandatory - This method must be implemented. void clearGivenName()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getPreferredNameMetadata()
mandatory - This method must be implemented. void setPreferredName(java.lang.String preferredName)
preferredName - the preferred nameInvalidArgumentException - preferredName
is invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - preferredName is
nullmandatory - This method must be implemented. void clearPreferredName()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getForenameAliasesMetadata()
mandatory - This method must be implemented. void setForenameAliases(java.lang.String[] aliases)
aliases - the forename aliasesInvalidArgumentException - forenames is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - forenames is
nullmandatory - This method must be implemented. void clearForenameAliases()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getMiddleNamesMetadata()
mandatory - This method must be implemented. void setMiddleNames(java.lang.String[] names)
names - the middle namesInvalidArgumentException - names is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - names is nullmandatory - This method must be implemented. void clearMiddleNames()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getSurameMetadata()
mandatory - This method must be implemented. void setSurname(java.lang.String surname)
surname - the surnameInvalidArgumentException - surname is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - surname is nullmandatory - This method must be implemented. void clearSurname()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getSurameAliasesMetadata()
mandatory - This method must be implemented. void setSurnameAliases(java.lang.String[] aliases)
aliases - the aliasesInvalidArgumentException - aliases is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - aliases is nullmandatory - This method must be implemented. void clearSurnameAliases()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getGenerationQualifierMetadata()
mandatory - This method must be implemented. void setGenerationQualifier(java.lang.String qualifier)
qualifier - the qualifierInvalidArgumentException - qualifier is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - qualifier is
nullmandatory - This method must be implemented. void clearGenerationQualifier()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getBirthDateMetadata()
mandatory - This method must be implemented. void setBirthDate(DateTime date)
date - the dateInvalidArgumentException - date is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - date is nullmandatory - This method must be implemented. void clearBirthDate()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getDeathDateMetadata()
mandatory - This method must be implemented. void setDeathDate(DateTime date)
date - the dateInvalidArgumentException - date is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - date is nullmandatory - This method must be implemented. void clearDeathDate()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. Metadata getInstitutionalIdentifierMetadata()
mandatory - This method must be implemented. void setInstitutionalIdentifier(java.lang.String identifier)
identifier - the identifierInvalidArgumentException - identifier is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - identifier is
nullmandatory - This method must be implemented. void clearInstitutionalIdentifier()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented. PersonFormRecord getPersonFormRecord(Type personRecordType) throws OperationFailedException
PersonFormRecord interface corresponding to
the given person record Type. personRecordType - the person record typeNullArgumentException - personRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(personRecordType) is false
mandatory - This method must be implemented.