public class TLcdAtomCategory extends TLcdDataObject
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
BASE_PROPERTY
Data property that maps to the
base attribute. |
static TLcdDataProperty |
LABEL_PROPERTY
Data property that maps to the
label attribute. |
static TLcdDataProperty |
LANGUAGE_PROPERTY
Data property that maps to the
lang attribute. |
static TLcdDataProperty |
SCHEME_PROPERTY
Data property that maps to the
scheme attribute. |
static TLcdDataProperty |
TERM_PROPERTY
Data property that maps to the
term attribute. |
Constructor and Description |
---|
TLcdAtomCategory() |
TLcdAtomCategory(String aCategory)
Convenience constructor that sets the given string as the term.
|
TLcdAtomCategory(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
URI |
getBase()
Returns the value of the property that maps to the
base attribute. |
String |
getLabel()
Returns the value of the property that maps to the
label attribute. |
String |
getLanguage()
Returns the value of the property that maps to the
lang attribute. |
URI |
getScheme()
Returns the value of the property that maps to the
scheme attribute. |
String |
getTerm()
Returns the value of the property that maps to the
term attribute. |
void |
setBase(URI aValue)
Sets the value of the property that maps to the
base attribute. |
void |
setLabel(String aValue)
Sets the value of the property that maps to the
label attribute. |
void |
setLanguage(String aValue)
Sets the value of the property that maps to the
lang attribute. |
void |
setScheme(URI aValue)
Sets the value of the property that maps to the
scheme attribute. |
void |
setTerm(String aValue)
Sets the value of the property that maps to the
term attribute. |
public static final TLcdDataProperty LABEL_PROPERTY
label
attribute.
The possible values for this property are instances of String
.public static final TLcdDataProperty SCHEME_PROPERTY
scheme
attribute.
The possible values for this property are instances of URI
.public static final TLcdDataProperty TERM_PROPERTY
term
attribute.
The possible values for this property are instances of String
.public static final TLcdDataProperty BASE_PROPERTY
base
attribute.
The possible values for this property are instances of URI
.public static final TLcdDataProperty LANGUAGE_PROPERTY
lang
attribute.
The possible values for this property are instances of String
.public TLcdAtomCategory()
public TLcdAtomCategory(TLcdDataType aType)
public TLcdAtomCategory(String aCategory)
aCategory
- the term to setpublic String getLabel()
label
attribute.LABEL_PROPERTY
property.public void setLabel(String aValue)
label
attribute.aValue
- the value to set for the LABEL_PROPERTY
property.public URI getScheme()
scheme
attribute.
Identifies the categorization scheme via a URI.
SCHEME_PROPERTY
property.public void setScheme(URI aValue)
scheme
attribute.
Identifies the categorization scheme via a URI.
aValue
- the value to set for the SCHEME_PROPERTY
property.public String getTerm()
term
attribute.
The term identifies the category.
TERM_PROPERTY
property.public void setTerm(String aValue)
term
attribute.
The term identifies the category.
aValue
- the value to set for the TERM_PROPERTY
property.public URI getBase()
base
attribute.
BASE_PROPERTY
property.public void setBase(URI aValue)
base
attribute.
aValue
- the value to set for the BASE_PROPERTY
property.public String getLanguage()
lang
attribute.
LANGUAGE_PROPERTY
property.public void setLanguage(String aValue)
lang
attribute.
aValue
- the value to set for the LANGUAGE_PROPERTY
property.