public class PersonAuthorityValue extends AuthorityValue
| Constructor and Description |
|---|
PersonAuthorityValue() |
PersonAuthorityValue(org.apache.solr.common.SolrDocument document) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEmail(java.lang.String email) |
void |
addNameVariant(java.lang.String name) |
java.util.Map<java.lang.String,java.lang.String> |
choiceSelectMap()
Information that can be used the choice ui
|
java.lang.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).
|
java.lang.String |
getAuthorityType() |
java.util.List<java.lang.String> |
getEmails() |
java.lang.String |
getFirstName() |
java.lang.String |
getInstitution() |
java.lang.String |
getLastName() |
java.lang.String |
getName() |
java.util.List<java.lang.String> |
getNameVariants() |
org.apache.solr.common.SolrInputDocument |
getSolrInputDocument()
Generate a solr record from this instance
|
boolean |
hasTheSameInformationAs(java.lang.Object o)
The regular equals() only checks if both AuthorityValues describe the same authority.
|
AuthorityValue |
newInstance(java.lang.String info)
Makes an instance of the AuthorityValue with the given information.
|
void |
setFirstName(java.lang.String firstName) |
void |
setInstitution(java.lang.String institution) |
void |
setLastName(java.lang.String lastName) |
void |
setName(java.lang.String name) |
void |
setValue(java.lang.String value) |
void |
setValues(org.apache.solr.common.SolrDocument document)
Initialize this instance based on a solr record
|
java.lang.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 java.lang.String getName()
public void setName(java.lang.String name)
public void setValue(java.lang.String value)
setValue in class AuthorityValuepublic java.lang.String getFirstName()
public void setFirstName(java.lang.String firstName)
public java.lang.String getLastName()
public void setLastName(java.lang.String lastName)
public java.util.List<java.lang.String> getNameVariants()
public void addNameVariant(java.lang.String name)
public java.lang.String getInstitution()
public void setInstitution(java.lang.String institution)
public java.util.List<java.lang.String> getEmails()
public void addEmail(java.lang.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 java.util.Map<java.lang.String,java.lang.String> choiceSelectMap()
AuthorityValuechoiceSelectMap in class AuthorityValuepublic java.lang.String getAuthorityType()
getAuthorityType in class AuthorityValuepublic java.lang.String generateString()
AuthorityValuegenerateString in class AuthorityValuepublic AuthorityValue newInstance(java.lang.String info)
AuthorityValuenewInstance in class AuthorityValuepublic java.lang.String toString()
toString in class AuthorityValuepublic boolean hasTheSameInformationAs(java.lang.Object o)
AuthorityValuehasTheSameInformationAs in class AuthorityValueCopyright © 2018 DuraSpace. All Rights Reserved.