public class Title extends Object implements ICleanable
| Constructor and Description |
|---|
Title(String value)
Simple 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 language of the title text.
|
TitleType |
getType()
Returns the type of title, or null if this is the main title.
|
String |
getValue()
Returns a free text title or name.
|
void |
setLang(String lang)
Changes the language of the title text.
|
void |
setType(TitleType type)
Changes the type of title.
|
void |
setValue(String value)
Changes the free text title or name.
|
public Title(String value)
value - the title textpublic String getValue()
public void setValue(String value)
value - a free text title or namepublic TitleType getType()
public void setType(TitleType type)
type - the type of titlepublic String getLang()
public void setLang(String lang)
lang - the language of the title textpublic void clean()
ICleanableclean in interface ICleanableCopyright © 2017–2018. All rights reserved.