Class TLcdOWSDescription

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.ows.model.TLcdOWSDescription
All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable
Direct Known Subclasses:
TLcdOWSBasicIdentification, TLcdOWSDatasetDescriptionSummaryBase, TLcdOWSServiceIdentification

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.

  • Field Details

    • TITLE_PROPERTY

      public static final TLcdDataProperty TITLE_PROPERTY
      Data property that maps to the Title element. The possible values for this property are instances of List<TLcdOWSLanguageString>.
    • ABSTRACT_PROPERTY

      public static final TLcdDataProperty ABSTRACT_PROPERTY
      Data property that maps to the Abstract element. The possible values for this property are instances of List<TLcdOWSLanguageString>.
    • KEYWORDS_PROPERTY

      public static final TLcdDataProperty KEYWORDS_PROPERTY
      Data property that maps to the Keywords element. The possible values for this property are instances of List<TLcdOWSKeywords>.
  • Constructor Details

    • TLcdOWSDescription

      public TLcdOWSDescription()
    • TLcdOWSDescription

      public TLcdOWSDescription(TLcdDataType aType)
  • Method Details

    • getTitle

      public String getTitle()
      Gets the title.

      Title of this resource, normally used for display to a human.

      Returns:
      the title.
    • setTitle

      public void setTitle(String aTitle)
      Sets the title.

      Title of this resource, normally used for display to a human. This setter sets the first title in the list of titles.

      Parameters:
      aTitle - the title to be set.
    • getAbstract

      public String getAbstract()
      Gets the abstract.

      Brief narrative description of this resource, normally used for display to a human.

      Returns:
      the abstract.
    • setAbstract

      public void setAbstract(String aAbstract)
      Sets the abstract.

      Brief narrative description of this resource, normally used for display to a human.

      Parameters:
      aAbstract - the abstract to be set.
    • addKeywords

      public void addKeywords(TLcdOWSKeywords aKeywords)
      Adds a keyword list.
      Parameters:
      aKeywords - the keyword list to be added.
    • getKeywordsCount

      public int getKeywordsCount()
      Gets the number of keyword lists.
      Returns:
      the number of keyword lists.
    • removeKeywords

      public void removeKeywords(int aIndex)
      Removes the keyword list at a given position.
      Parameters:
      aIndex - the index of the given position.
    • getKeywords

      public TLcdOWSKeywords getKeywords(int aIndex)
      Gets the keyword list at a given position.
      Parameters:
      aIndex - the index of the given position.
      Returns:
      the keyword list at the given position.
    • getTitles

      public List<TLcdOWSLanguageString> getTitles()
      Returns the value of the property that maps to the Title element.

      Title of this resource, normally used for display to humans.

      Returns:
      the value of the TITLE_PROPERTY property.
    • getAbstracts

      public List<TLcdOWSLanguageString> getAbstracts()
      Returns the value of the property that maps to the Abstract element.

      Brief narrative description of this resource, normally used for display to humans.

      Returns:
      the value of the ABSTRACT_PROPERTY property.
    • getKeywords

      public List<TLcdOWSKeywords> getKeywords()
      Returns the value of the property that maps to the Keywords element.
      Returns:
      the value of the KEYWORDS_PROPERTY property.