public class TLcdEarthAsset extends Object implements ILcdEarthAsset
ILcdEarthAsset
.
The compareTo(Object)
method is based on a user-supplied integer
"sort order" value.Constructor and Description |
---|
TLcdEarthAsset(String aSourceName,
ILcdModelDecoder aModelDecoder,
ILcdBounds aBounds,
ILcdEarthTileSetCoverage.CoverageType aCoverageType,
Date aModificationDate,
int aSortOrder)
Creates a new asset with the given properties.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
boolean |
equals(Object o) |
ILcdBounds |
getBounds()
Returns the bounds of this asset, expressed in the model reference of the model that contains
this asset.
|
ILcdEarthTileSetCoverage.CoverageType |
getCoverageType()
Returns the coverage type the asset is intended for.
|
ILcdModelDecoder |
getModelDecoder()
Returns the model decoder that can decode this asset.
|
Date |
getModificationDate()
Returns the date the asset was last modified.
|
int |
getSortOrder()
Returns this asset's sort order value.
|
String |
getSourceName()
Returns the source name from which this asset can be decoded.
|
int |
hashCode() |
String |
toString() |
public TLcdEarthAsset(String aSourceName, ILcdModelDecoder aModelDecoder, ILcdBounds aBounds, ILcdEarthTileSetCoverage.CoverageType aCoverageType, Date aModificationDate, int aSortOrder)
aSourceName
- the asset's source nameaModelDecoder
- the asset's model decoderaBounds
- the asset's model boundsaSortOrder
- the asset's sort orderaCoverageType
- the asset's coverage typeaModificationDate
- the asset's last modification datepublic String getSourceName()
ILcdEarthAsset
getSourceName
in interface ILcdEarthAsset
public ILcdModelDecoder getModelDecoder()
ILcdEarthAsset
null
.getModelDecoder
in interface ILcdEarthAsset
null
public ILcdBounds getBounds()
ILcdEarthAsset
getBounds
in interface ILcdEarthAsset
getBounds
in interface ILcdBounded
ILcdBounded.getBounds()
public ILcdEarthTileSetCoverage.CoverageType getCoverageType()
ILcdEarthAsset
getCoverageType
in interface ILcdEarthAsset
public Date getModificationDate()
ILcdEarthAsset
getModificationDate
in interface ILcdEarthAsset
public int getSortOrder()
public int compareTo(Object o)
compareTo
in interface Comparable