public class PersonAuthorityValue extends AuthorityValue
| Constructor and Description |
|---|
PersonAuthorityValue() |
PersonAuthorityValue(org.apache.solr.common.SolrDocument document) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEmail(String email) |
void |
addNameVariant(String name) |
Map<String,String> |
choiceSelectMap()
Information that can be used the choice ui
|
String |
generateString()
Provides a string that will be allow a this AuthorityType to be recognized and provides information to create a new instance to be created using public AuthorityValue newInstance(String info).
|
String |
getAuthorityType() |
List<String> |
getEmails() |
String |
getFirstName() |
String |
getInstitution() |
String |
getLastName() |
String |
getName() |
List<String> |
getNameVariants() |
org.apache.solr.common.SolrInputDocument |
getSolrInputDocument()
Generate a solr record from this instance
|
boolean |
hasTheSameInformationAs(Object o)
The regular equals() only checks if both AuthorityValues describe the same authority.
|
AuthorityValue |
newInstance(String info)
Makes an instance of the AuthorityValue with the given information.
|
void |
setFirstName(String firstName) |
void |
setInstitution(String institution) |
void |
setLastName(String lastName) |
void |
setName(String name) |
void |
setValue(String value) |
void |
setValues(org.apache.solr.common.SolrDocument document)
Initialize this instance based on a solr record
|
String |
toString() |
delete, fromSolr, getAuthorityTypes, getCreationDate, getDateFormatters, getField, getId, getLastModified, getValue, isDeleted, setCreationDate, setCreationDate, setDeleted, setField, setId, setLastModified, setLastModified, stringToDate, update, updateItem, updateLastModifiedDatepublic PersonAuthorityValue()
public PersonAuthorityValue(org.apache.solr.common.SolrDocument document)
public String getName()
public void setName(String name)
public void setValue(String value)
setValue in class AuthorityValuepublic String getFirstName()
public void setFirstName(String firstName)
public String getLastName()
public void setLastName(String lastName)
public void addNameVariant(String name)
public String getInstitution()
public void setInstitution(String institution)
public void addEmail(String email)
public org.apache.solr.common.SolrInputDocument getSolrInputDocument()
AuthorityValuegetSolrInputDocument in class AuthorityValuepublic void setValues(org.apache.solr.common.SolrDocument document)
AuthorityValuesetValues in class AuthorityValuepublic Map<String,String> choiceSelectMap()
AuthorityValuechoiceSelectMap in class AuthorityValuepublic String getAuthorityType()
getAuthorityType in class AuthorityValuepublic String generateString()
AuthorityValuegenerateString in class AuthorityValuepublic AuthorityValue newInstance(String info)
AuthorityValuenewInstance in class AuthorityValuepublic String toString()
toString in class AuthorityValuepublic boolean hasTheSameInformationAs(Object o)
AuthorityValuehasTheSameInformationAs in class AuthorityValueCopyright © 2014 DuraSpace. All Rights Reserved.