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
ConstructorDescriptionTLcdEarthAsset
(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 TypeMethodDescriptionint
boolean
Returns 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.int
Returns this asset's sort order value.Returns the source name from which this asset can be decoded.int
hashCode()
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:ILcdEarthAsset
Returns the source name from which this asset can be decoded.- Specified by:
getSourceName
in interfaceILcdEarthAsset
- Returns:
- the source name from which this asset can be decoded
-
getModelDecoder
Description copied from interface:ILcdEarthAsset
Returns the model decoder that can decode this asset. The model decoder may benull
.- Specified by:
getModelDecoder
in interfaceILcdEarthAsset
- Returns:
- the model decoder that can decode this asset or
null
-
getBounds
Description copied from interface:ILcdEarthAsset
Returns the bounds of this asset, expressed in the model reference of the model that contains this asset.- Specified by:
getBounds
in interfaceILcdBounded
- Specified by:
getBounds
in interfaceILcdEarthAsset
- Returns:
- the bounds of this asset
- See Also:
-
getCoverageType
Description copied from interface:ILcdEarthAsset
Returns the coverage type the asset is intended for.- Specified by:
getCoverageType
in interfaceILcdEarthAsset
- Returns:
- the asset's coverage type
-
getModificationDate
Description copied from interface:ILcdEarthAsset
Returns 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:
getModificationDate
in 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:
compareTo
in interfaceComparable
-
equals
-
hashCode
public int hashCode() -
toString
-