public interface ControlledVocabulary extends Serializable
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<EdmMappedField>> |
getElements()
Retrieve the original elements of the controlled vocabulary
|
org.bson.types.ObjectId |
getId()
MongoDB ID getter
|
int |
getIterations() |
String |
getLocation()
Get vocabulary location
|
String |
getName()
Get the ControlledVocabulary name (Unique)
|
String |
getReplaceUrl()
Getter for the replaceURL
|
String[] |
getRules()
URI-Based rules getter for a specific controlled vocabulary.
|
String |
getSuffix()
Retrieve the suffix of the controlled vocabulary
|
String |
getURI()
Retrieve the URI of the controlled vocabulary TODO: Check if needed
|
void |
setElements(Map<String,List<EdmMappedField>> elements)
Set the original elements of the controlled vocabulary
|
void |
setId(org.bson.types.ObjectId id)
MongoDB ID setter
|
void |
setIterations(int iterations)
Specify the depth of resources to retrieve from a given resource.
|
void |
setLocation(String location)
Set the Controlled Vocabulary location
|
void |
setName(String name)
Set the vocabulary name
|
void |
setReplaceUrl(String replaceUrl)
Specify the replaceURL if applicable e.g.
|
void |
setRules(String[] rules)
URI-Based rules setter for a specific controlled vocabulary.
|
void |
setSuffix(String suffix)
Set the suffix of the controlled vocabulary
|
void |
setURI(String URI)
Set the URI of the vocabulary TODO: check if needed
|
Map<String,List<EdmMappedField>> getElements()
String getName()
void setLocation(String location)
location - - The location to setString getLocation()
void setName(String name)
name - - the name of the vocabulary to setvoid setURI(String URI)
URI - The URI to setString getURI()
String getSuffix()
void setSuffix(String suffix)
suffix - The suffix of the controlled vocabularyvoid setElements(Map<String,List<EdmMappedField>> elements)
elements - org.bson.types.ObjectId getId()
void setId(org.bson.types.ObjectId id)
id - String[] getRules()
void setRules(String[] rules)
void setIterations(int iterations)
iterations - The number of iterationsint getIterations()
void setReplaceUrl(String replaceUrl)
replaceUrl - - The url that will replace the given uri in the searchString getReplaceUrl()
Copyright © 2017 Europeana Foundation. All rights reserved.