public class Title extends Object implements ICleanable
| Constructor and Description |
|---|
Title(@NonNull String value) |
Title(@NonNull String value,
TitleType type,
String lang) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
clean()
Cleans the object, making it compatible with the ElasticSearch index.
|
boolean |
equals(Object o) |
String |
getLang()
Retrieves the IETF language tag describing the language of the title text.
|
TitleType |
getType()
Retrieves the type of Title.
|
@NonNull String |
getValue()
Retrieves the free text title or name.
|
int |
hashCode() |
void |
setLang(String lang)
Sets the IETF language tag describing the language of the title text.
|
void |
setType(TitleType type)
Sets the type of Title.
|
void |
setValue(@NonNull String value)
Sets the free text title or name.
|
String |
toString() |
public Title(@NonNull
@NonNull String value)
public boolean clean()
ICleanableclean in interface ICleanable@NonNull public @NonNull String getValue()
public TitleType getType()
public String getLang()
public void setValue(@NonNull
@NonNull String value)
value - a free text title or namepublic void setType(TitleType type)
type - the type of Titlepublic void setLang(String lang)
lang - the IETF language tag describing the language of the title textprotected boolean canEqual(Object other)
Copyright © 2017–2019. All rights reserved.