public class OrcidAuthorityValue extends PersonAuthorityValue
| Constructor and Description |
|---|
OrcidAuthorityValue()
Creates an instance of OrcidAuthorityValue with only uninitialized fields.
|
OrcidAuthorityValue(org.apache.solr.common.SolrDocument document) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOtherMetadata(String label,
String data) |
Map<String,String> |
choiceSelectMap()
Information that can be used the choice ui
|
static OrcidAuthorityValue |
create() |
static OrcidAuthorityValue |
create(Bio bio)
Create an authority based on a given orcid bio
|
boolean |
equals(Object o) |
String |
generateString()
Provides a string that will allow this AuthorityType to be recognized and provides information to create a new instance to be created using public AuthorityValue newInstance(String info).
|
String |
getAuthorityType() |
String |
getOrcid_id() |
Map<String,List<String>> |
getOtherMetadata() |
org.apache.solr.common.SolrInputDocument |
getSolrInputDocument()
Generate a solr record from this instance
|
int |
hashCode() |
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 |
setOrcid_id(String orcid_id) |
boolean |
setValues(Bio bio) |
void |
setValues(org.apache.solr.common.SolrDocument document)
Initialize this instance based on a solr record
|
addEmail, addNameVariant, getEmails, getFirstName, getInstitution, getLastName, getName, getNameVariants, setFirstName, setInstitution, setLastName, setName, setValue, toStringdelete, getCreationDate, getDateFormatters, getField, getId, getLastModified, getValue, isDeleted, setCreationDate, setCreationDate, setDeleted, setField, setId, setLastModified, setLastModified, stringToDate, update, updateItem, updateLastModifiedDatepublic OrcidAuthorityValue()
public OrcidAuthorityValue(org.apache.solr.common.SolrDocument document)
public String getOrcid_id()
public void setOrcid_id(String orcid_id)
public org.apache.solr.common.SolrInputDocument getSolrInputDocument()
AuthorityValuegetSolrInputDocument in class PersonAuthorityValuepublic void setValues(org.apache.solr.common.SolrDocument document)
AuthorityValuesetValues in class PersonAuthorityValuedocument - SolrDocumentpublic static OrcidAuthorityValue create()
public static OrcidAuthorityValue create(Bio bio)
bio - Biopublic boolean setValues(Bio bio)
public Map<String,String> choiceSelectMap()
AuthorityValuechoiceSelectMap in class PersonAuthorityValuepublic String getAuthorityType()
getAuthorityType in class PersonAuthorityValuepublic String generateString()
AuthorityValueAuthorityValueGenerator#generateRaw(java.lang.String, java.lang.String) for more details.generateString in class PersonAuthorityValueAuthorityValueService.GENERATEpublic AuthorityValue newInstance(String info)
AuthorityValuenewInstance in class PersonAuthorityValueinfo - string infopublic boolean hasTheSameInformationAs(Object o)
AuthorityValuehasTheSameInformationAs in class PersonAuthorityValueo - objectCopyright © 2016 DuraSpace. All rights reserved.