Class TLcdAtomLink

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.metadata.atom.model.TLcdAtomLink
All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdAtomLink extends TLcdDataObject
The Atom link construct is defined in section 3.4 of the format spec.
Since:
2017.0
  • Field Details

    • HREF_PROPERTY

      public static final TLcdDataProperty HREF_PROPERTY
      Data property that maps to the href attribute. The possible values for this property are instances of URI.
    • HREF_LANGUAGE_PROPERTY

      public static final TLcdDataProperty HREF_LANGUAGE_PROPERTY
      Data property that maps to the hreflang attribute. The possible values for this property are instances of String.
    • LENGTH_PROPERTY

      public static final TLcdDataProperty LENGTH_PROPERTY
      Data property that maps to the length attribute. The possible values for this property are instances of Long.
    • REL_PROPERTY

      public static final TLcdDataProperty REL_PROPERTY
      Data property that maps to the rel attribute. The possible values for this property are instances of
    • TITLE_PROPERTY

      public static final TLcdDataProperty TITLE_PROPERTY
      Data property that maps to the title attribute. The possible values for this property are instances of String.
    • TYPE_PROPERTY

      public static final TLcdDataProperty TYPE_PROPERTY
      Data property that maps to the type attribute. The possible values for this property are the public QName constants defined in this class.
    • BASE_PROPERTY

      public static final TLcdDataProperty BASE_PROPERTY
      Data property that maps to the base attribute. The possible values for this property are instances of URI.
    • LANGUAGE_PROPERTY

      public static final TLcdDataProperty LANGUAGE_PROPERTY
      Data property that maps to the lang attribute. The possible values for this property are instances of String.
    • CONTENT_PROPERTY

      public static final TLcdDataProperty CONTENT_PROPERTY
      Data content property. The possible values for this property are instances of List<Object>.
  • Constructor Details

    • TLcdAtomLink

      public TLcdAtomLink()
    • TLcdAtomLink

      public TLcdAtomLink(TLcdDataType aType)
    • TLcdAtomLink

      public TLcdAtomLink(String aType, TLcdAtomRelCode aRelation)
      Convenience constructor that sets the given type.
      Parameters:
      aType - the type to set
  • Method Details

    • getHref

      public URI getHref()
      Returns the value of the property that maps to the href attribute.

      href is the URI of the referenced resource (typically a Web page).

      Returns:
      the value of the HREF_PROPERTY property.
    • setHref

      public void setHref(URI aValue)
      Sets the value of the property that maps to the href attribute.

      href is the URI of the referenced resource (typically a Web page).

      Parameters:
      aValue - the value to set for the HREF_PROPERTY property.
    • getHrefLanguage

      public String getHrefLanguage()
      Returns the value of the property that maps to the hreflang attribute.
      Returns:
      the value of the HREF_LANGUAGE_PROPERTY property.
    • setHrefLanguage

      public void setHrefLanguage(String aValue)
      Sets the value of the property that maps to the hreflang attribute.
      Parameters:
      aValue - the value to set for the HREF_LANGUAGE_PROPERTY property.
    • getLength

      public Long getLength()
      Returns the value of the property that maps to the length attribute.
      Returns:
      the value of the LENGTH_PROPERTY property.
    • setLength

      public void setLength(Long aValue)
      Sets the value of the property that maps to the length attribute.
      Parameters:
      aValue - the value to set for the LENGTH_PROPERTY property.
    • getRel

      public TLcdAtomRelCode getRel()
      Returns the value of the property that maps to the rel attribute.

      The possible values for this property are instances of

      Returns:
      the value of the REL_PROPERTY property.
    • setRel

      public void setRel(TLcdAtomRelCode aValue)
      Sets the value of the property that maps to the rel attribute.

      The possible values for this property are instances of

      Parameters:
      aValue - the value to set for the REL_PROPERTY property.
    • getTitle

      public String getTitle()
      Returns the value of the property that maps to the title attribute.
      Returns:
      the value of the TITLE_PROPERTY property.
    • setTitle

      public void setTitle(String aValue)
      Sets the value of the property that maps to the title attribute.
      Parameters:
      aValue - the value to set for the TITLE_PROPERTY property.
    • getType

      public String getType()
      Returns the value of the property that maps to the type attribute.

      The possible values for this property are the public QName constants defined in this class.

      Type indicates the media type of the resource.

      Returns:
      the value of the TYPE_PROPERTY property.
    • setType

      public void setType(String aValue)
      Sets the value of the property that maps to the type attribute.

      The possible values for this property are the public QName constants defined in this class.

      Type indicates the media type of the resource.

      Parameters:
      aValue - the value to set for the TYPE_PROPERTY property.
    • getBase

      public URI getBase()
      Returns the value of the property that maps to the base attribute.

      Returns:
      the value of the BASE_PROPERTY property.
    • setBase

      public void setBase(URI aValue)
      Sets the value of the property that maps to the base attribute.

      Parameters:
      aValue - the value to set for the BASE_PROPERTY property.
    • getLanguage

      public String getLanguage()
      Returns the value of the property that maps to the lang attribute.

      Returns:
      the value of the LANGUAGE_PROPERTY property.
    • setLanguage

      public void setLanguage(String aValue)
      Sets the value of the property that maps to the lang attribute.

      Parameters:
      aValue - the value to set for the LANGUAGE_PROPERTY property.
    • getContent

      public List<Object> getContent()
      Returns the value of the content property.
      Returns:
      the value of the CONTENT_PROPERTY property.