@Entity(value="ControlledVocabulary") public class ControlledVocabularyImpl extends Object implements ControlledVocabulary
eu.europeana.corelib.dereference.ControlledVocabulary.java,
Serialized Form| Constructor and Description |
|---|
ControlledVocabularyImpl() |
ControlledVocabularyImpl(String name) |
| 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
|
public ControlledVocabularyImpl()
public ControlledVocabularyImpl(String name)
public org.bson.types.ObjectId getId()
ControlledVocabularygetId in interface ControlledVocabularypublic void setId(org.bson.types.ObjectId id)
ControlledVocabularysetId in interface ControlledVocabularypublic String getLocation()
ControlledVocabularygetLocation in interface ControlledVocabularypublic void setLocation(String location)
ControlledVocabularysetLocation in interface ControlledVocabularylocation - - The location to setpublic void setSuffix(String suffix)
ControlledVocabularysetSuffix in interface ControlledVocabularysuffix - The suffix of the controlled vocabularypublic String getSuffix()
ControlledVocabularygetSuffix in interface ControlledVocabularypublic void setURI(String URI)
ControlledVocabularysetURI in interface ControlledVocabularyURI - The URI to setpublic String getURI()
ControlledVocabularygetURI in interface ControlledVocabularypublic Map<String,List<EdmMappedField>> getElements()
ControlledVocabularygetElements in interface ControlledVocabularypublic void setElements(Map<String,List<EdmMappedField>> elements)
ControlledVocabularysetElements in interface ControlledVocabularypublic String getName()
ControlledVocabularygetName in interface ControlledVocabularypublic void setName(String name)
ControlledVocabularysetName in interface ControlledVocabularyname - - the name of the vocabulary to setpublic String[] getRules()
ControlledVocabularygetRules in interface ControlledVocabularypublic void setRules(String[] rules)
ControlledVocabularysetRules in interface ControlledVocabularypublic void setIterations(int iterations)
ControlledVocabularysetIterations in interface ControlledVocabularyiterations - The number of iterationspublic int getIterations()
getIterations in interface ControlledVocabularypublic void setReplaceUrl(String replaceUrl)
ControlledVocabularysetReplaceUrl in interface ControlledVocabularyreplaceUrl - - The url that will replace the given uri in the searchpublic String getReplaceUrl()
ControlledVocabularygetReplaceUrl in interface ControlledVocabularyCopyright © 2017 Europeana Foundation. All rights reserved.