public class Rights extends Object implements ICleanable
| Constructor and Description |
|---|
Rights(String value)
Constructor that requires all mandatory fields.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clean()
Cleans the object, making it compatible with the ElasticSearch index.
|
String |
getLang()
Returns the IETF language tag of the rights text.
|
String |
getURI()
Returns the URI of the license.
|
String |
getValue()
Returns the free text that describes the rights.
|
void |
setLang(String lang)
Changes the IETF language tag of the rights text.
|
void |
setURI(String uri)
Changes the URI of the license.
|
void |
setValue(String value)
Changes the free text that describes the rights.
|
public Rights(String value)
value - free text that describes the rightspublic String getValue()
public void setValue(String value)
value - free text that describes the rightspublic String getURI()
public void setURI(String uri)
uri - the URI of the licensepublic String getLang()
public void setLang(String lang)
lang - an IETF language tag of the rights textpublic void clean()
ICleanableclean in interface ICleanableCopyright © 2017–2018. All rights reserved.