Class ExternalChart

All Implemented Interfaces:
Serializable, Comparable<Object>, ComboAlias, IDBean, UseCount, ViewEntry, Cacheable

public class ExternalChart extends Chart
A bean to store data about an externally hosted Chart. These typically have a reflector URL that redirects the user to the "real" URL for the chart.
Since:
4.0
Version:
5.0
Author:
Luke
See Also:
  • Constructor Details

    • ExternalChart

      public ExternalChart(String name, Airport a)
      Creates the Chart bean.
      Parameters:
      name - the chart name
      a - the Airport
  • Method Details

    • getIsExternal

      public final boolean getIsExternal()
      Returns whether this is an external chart.
      Overrides:
      getIsExternal in class Chart
      Returns:
      TRUE
    • getURL

      public String getURL()
      Returns the URL to the chart.
      Returns:
      the URL
    • getSource

      public String getSource()
      Returns the source of the chart.
      Returns:
      the source
    • getExternalID

      public String getExternalID()
      Returns the external provider's ID for the chart.
      Returns:
      id the provider chart ID
    • setURL

      public void setURL(String url)
      Updates the URL to the chart.
      Parameters:
      url - the URL
    • setSource

      public void setSource(String src)
      Updates the source of the chart.
      Parameters:
      src - the source
    • setExternalID

      public void setExternalID(String id)
      Updates the external provider's ID for the chart.
      Parameters:
      id - the provider chart ID