public class Subject extends Object implements ICleanable
| Constructor and Description |
|---|
Subject(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 IETF language tag of the subject text.
|
String |
getSchemeURI()
Returns the URI of the subject identifier scheme.
|
String |
getSubjectScheme()
Returns a free text name of the subject scheme or classification
code or authority if one is used
|
String |
getValue()
Returns a term that describes the resource.
|
String |
getValueURI()
Returns the URI of the subject term.
|
void |
setLang(String lang)
Changes the IETF language tag of the subject text.
|
void |
setSchemeURI(String schemeURI)
Changes the URI of the subject identifier scheme.
|
void |
setSubjectScheme(String subjectScheme)
Changes the free text name of the subject scheme or classification
code or authority if one is used.
|
void |
setValue(String value)
Changes a term that describes the resource.
|
void |
setValueURI(String valueURI)
Changes the URI of the subject term.
|
public Subject(String value)
value - the search tagpublic String getValue()
public void setValue(String value)
value - a term that describes the resourcepublic String getLang()
public void setLang(String lang)
lang - an IETF language tag of the subject textpublic String getSchemeURI()
public void setSchemeURI(String schemeURI)
schemeURI - the URI of the subject identifier schemepublic String getSubjectScheme()
public void setSubjectScheme(String subjectScheme)
subjectScheme - a free text name of the subject schemepublic String getValueURI()
public void setValueURI(String valueURI)
valueURI - the URI of the subject termpublic void clean()
ICleanableclean in interface ICleanableCopyright © 2017–2018. All rights reserved.