Package org.deltava.beans.schedule
Class ExternalChart
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.DatabaseBlobBean
org.deltava.beans.ImageBean
org.deltava.beans.schedule.Chart
org.deltava.beans.schedule.ExternalChart
- All Implemented Interfaces:
Serializable
,Comparable<Object>
,ComboAlias
,IDBean
,UseCount
,ViewEntry
,Cacheable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.deltava.beans.schedule.Chart
Chart.ImageFormat, Chart.Type
-
Field Summary
Fields inherited from class org.deltava.beans.DatabaseBlobBean
_buffer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the external provider's ID for the chart.final boolean
Returns whether this is an external chart.Returns the source of the chart.getURL()
Returns the URL to the chart.void
setExternalID
(String id) Updates the external provider's ID for the chart.void
Updates the source of the chart.void
Updates the URL to the chart.Methods inherited from class org.deltava.beans.schedule.Chart
compareTo, equals, getAirport, getComboAlias, getComboName, getImageType, getImgFormat, getLastModified, getName, getRowClassName, getType, getUseCount, setAirport, setImgFormat, setLastModified, setName, setType, setUseCount, toString
Methods inherited from class org.deltava.beans.ImageBean
checkParam, getFormat, getHasImage, getHeight, getSize, getWidth, load, load, setFormat, setHeight, setSize, setWidth
Methods inherited from class org.deltava.beans.DatabaseBlobBean
clear, getInputStream, isLoaded
Methods inherited from class org.deltava.beans.DatabaseBean
cacheKey, getHexID, getID, hashCode, setID, validateID, validateID
-
Constructor Details
-
ExternalChart
-
-
Method Details
-
getIsExternal
public final boolean getIsExternal()Returns whether this is an external chart.- Overrides:
getIsExternal
in classChart
- Returns:
- TRUE
-
getURL
-
getSource
-
getExternalID
Returns the external provider's ID for the chart.- Returns:
- id the provider chart ID
-
setURL
-
setSource
-
setExternalID
Updates the external provider's ID for the chart.- Parameters:
id
- the provider chart ID
-