Package com.luciad.earth.metadata
Class TLcdEarthAsset
java.lang.Object
com.luciad.earth.metadata.TLcdEarthAsset
- All Implemented Interfaces:
ILcdEarthAsset,ILcdBounded,Comparable
- Direct Known Subclasses:
TLcdEarthRasterAsset
Default implementation of
ILcdEarthAsset.
The compareTo(Object) method is based on a user-supplied integer
"sort order" value.- Since:
- 8.2
-
Constructor Summary
ConstructorsConstructorDescriptionTLcdEarthAsset(String aSourceName, ILcdModelDecoder aModelDecoder, ILcdBounds aBounds, ILcdEarthTileSetCoverage.CoverageType aCoverageType, Date aModificationDate, int aSortOrder) Creates a new asset with the given properties. -
Method Summary
Modifier and TypeMethodDescriptionintbooleanReturns the bounds of this asset, expressed in the model reference of the model that contains this asset.Returns the coverage type the asset is intended for.Returns the model decoder that can decode this asset.Returns the date the asset was last modified.intReturns this asset's sort order value.Returns the source name from which this asset can be decoded.inthashCode()toString()
-
Constructor Details
-
TLcdEarthAsset
public TLcdEarthAsset(String aSourceName, ILcdModelDecoder aModelDecoder, ILcdBounds aBounds, ILcdEarthTileSetCoverage.CoverageType aCoverageType, Date aModificationDate, int aSortOrder) Creates a new asset with the given properties.- Parameters:
aSourceName- the asset's source nameaModelDecoder- the asset's model decoderaBounds- the asset's model boundsaCoverageType- the asset's coverage typeaModificationDate- the asset's last modification dateaSortOrder- the asset's sort order
-
-
Method Details
-
getSourceName
Description copied from interface:ILcdEarthAssetReturns the source name from which this asset can be decoded.- Specified by:
getSourceNamein interfaceILcdEarthAsset- Returns:
- the source name from which this asset can be decoded
-
getModelDecoder
Description copied from interface:ILcdEarthAssetReturns the model decoder that can decode this asset. The model decoder may benull.- Specified by:
getModelDecoderin interfaceILcdEarthAsset- Returns:
- the model decoder that can decode this asset or
null
-
getBounds
Description copied from interface:ILcdEarthAssetReturns the bounds of this asset, expressed in the model reference of the model that contains this asset.- Specified by:
getBoundsin interfaceILcdBounded- Specified by:
getBoundsin interfaceILcdEarthAsset- Returns:
- the bounds of this asset
- See Also:
-
getCoverageType
Description copied from interface:ILcdEarthAssetReturns the coverage type the asset is intended for.- Specified by:
getCoverageTypein interfaceILcdEarthAsset- Returns:
- the asset's coverage type
-
getModificationDate
Description copied from interface:ILcdEarthAssetReturns the date the asset was last modified. This can be used to check whether the preprocessed 3D terrain repository needs updating for the area covered by this asset.- Specified by:
getModificationDatein interfaceILcdEarthAsset- Returns:
- date of the last asset modification
-
getSortOrder
public int getSortOrder()Returns this asset's sort order value.- Returns:
- this asset's sort order value
-
compareTo
- Specified by:
compareToin interfaceComparable
-
equals
-
hashCode
public int hashCode() -
toString
-