public class TLcdOWSDescription extends TLcdDataObject
Human-readable descriptive information for the object it is included within.
This type shall be extended if needed for specific OWS use to include additional metadata for each type of information. This type shall not be restricted for a specific OWS to change the multiplicity (or optionality) of some elements.
If the xml:lang attribute is not included in a Title, Abstract or Keyword element, then no language is specified for that element unless specified by another means. All Title, Abstract and Keyword elements in the same Description that share the same xml:lang attribute value represent the description of the parent object in that language. Multiple Title or Abstract elements shall not exist in the same Description with the same xml:lang attribute value unless otherwise specified.
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
ABSTRACT_PROPERTY
Data property that maps to the
Abstract element. |
static TLcdDataProperty |
KEYWORDS_PROPERTY
Data property that maps to the
Keywords element. |
static TLcdDataProperty |
TITLE_PROPERTY
Data property that maps to the
Title element. |
Constructor and Description |
---|
TLcdOWSDescription() |
TLcdOWSDescription(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
void |
addKeywords(TLcdOWSKeywords aKeywords)
Adds a keyword list.
|
String |
getAbstract()
Gets the abstract.
|
List<TLcdOWSLanguageString> |
getAbstracts()
Returns the value of the property that maps to the
Abstract element. |
List<TLcdOWSKeywords> |
getKeywords()
Returns the value of the property that maps to the
Keywords element. |
TLcdOWSKeywords |
getKeywords(int aIndex)
Gets the keyword list at a given position.
|
int |
getKeywordsCount()
Gets the number of keyword lists.
|
String |
getTitle()
Gets the title.
|
List<TLcdOWSLanguageString> |
getTitles()
Returns the value of the property that maps to the
Title element. |
void |
removeKeywords(int aIndex)
Removes the keyword list at a given position.
|
void |
setAbstract(String aAbstract)
Sets the abstract.
|
void |
setTitle(String aTitle)
Sets the title.
|
public static final TLcdDataProperty TITLE_PROPERTY
Title
element.
The possible values for this property are instances of List<TLcdOWSLanguageString>
.public static final TLcdDataProperty ABSTRACT_PROPERTY
Abstract
element.
The possible values for this property are instances of List<TLcdOWSLanguageString>
.public static final TLcdDataProperty KEYWORDS_PROPERTY
Keywords
element.
The possible values for this property are instances of List<TLcdOWSKeywords>
.public TLcdOWSDescription()
public TLcdOWSDescription(TLcdDataType aType)
public String getTitle()
Title of this resource, normally used for display to a human.
public void setTitle(String aTitle)
Title of this resource, normally used for display to a human. This setter sets the first title in the list of titles.
aTitle
- the title to be set.public String getAbstract()
Brief narrative description of this resource, normally used for display to a human.
public void setAbstract(String aAbstract)
Brief narrative description of this resource, normally used for display to a human.
aAbstract
- the abstract to be set.public void addKeywords(TLcdOWSKeywords aKeywords)
aKeywords
- the keyword list to be added.public int getKeywordsCount()
public void removeKeywords(int aIndex)
aIndex
- the index of the given position.public TLcdOWSKeywords getKeywords(int aIndex)
aIndex
- the index of the given position.public List<TLcdOWSLanguageString> getTitles()
Title
element.
Title of this resource, normally used for display to humans.
TITLE_PROPERTY
property.public List<TLcdOWSLanguageString> getAbstracts()
Abstract
element.
Brief narrative description of this resource, normally used for display to humans.
ABSTRACT_PROPERTY
property.public List<TLcdOWSKeywords> getKeywords()
Keywords
element.KEYWORDS_PROPERTY
property.