Package org.dspace.authority
Class AuthorityTypes
java.lang.Object
org.dspace.authority.AuthorityTypes
This class contains a list of active authority types.
It can be used to created a new instance of a specific type.
However if you need to make a new instance to store it in Solr, you need to use
AuthorityValueGenerator.
To create an instance from a Solr record, use AuthorityValue#fromSolr(SolrDocument).
This class is instantiated in Spring and accessed by a static method in AuthorityValue.- Author:
- Antoine Snyers (antoine at atmire.com), Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String,AuthorityValue> protected List<AuthorityValue> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEmptyAuthorityValue(String type) getTypes()voidsetFieldDefaults(Map<String, AuthorityValue> fieldDefaults) voidsetTypes(List<AuthorityValue> types)
-
Field Details
-
types
-
fieldDefaults
-
-
Constructor Details
-
AuthorityTypes
public AuthorityTypes()
-
-
Method Details
-
getTypes
-
setTypes
-
getFieldDefaults
-
setFieldDefaults
-
getEmptyAuthorityValue
-