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(java.lang.String label,
java.lang.String data) |
java.util.Map<java.lang.String,java.lang.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(java.lang.Object o) |
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.lang.String |
getOrcid_id() |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getOtherMetadata() |
org.apache.solr.common.SolrInputDocument |
getSolrInputDocument()
Generate a solr record from this instance
|
int |
hashCode() |
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 |
setOrcid_id(java.lang.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, fromSolr, getAuthorityTypes, 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 java.lang.String getOrcid_id()
public void setOrcid_id(java.lang.String orcid_id)
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getOtherMetadata()
public void addOtherMetadata(java.lang.String label,
java.lang.String data)
public org.apache.solr.common.SolrInputDocument getSolrInputDocument()
AuthorityValuegetSolrInputDocument in class PersonAuthorityValuepublic void setValues(org.apache.solr.common.SolrDocument document)
AuthorityValuesetValues in class PersonAuthorityValuepublic static OrcidAuthorityValue create()
public static OrcidAuthorityValue create(Bio bio)
public boolean setValues(Bio bio)
public java.util.Map<java.lang.String,java.lang.String> choiceSelectMap()
AuthorityValuechoiceSelectMap in class PersonAuthorityValuepublic java.lang.String getAuthorityType()
getAuthorityType in class PersonAuthorityValuepublic java.lang.String generateString()
AuthorityValuegenerateString in class PersonAuthorityValuepublic AuthorityValue newInstance(java.lang.String info)
AuthorityValuenewInstance in class PersonAuthorityValuepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean hasTheSameInformationAs(java.lang.Object o)
AuthorityValuehasTheSameInformationAs in class PersonAuthorityValueCopyright © 2014 DuraSpace. All Rights Reserved.