TLcdDefaultCoverageOffering
instead (since 2017.0).
It allows providing coverage offering information without requiring to have a ILcdModel
.public class TLcdCoverageOffering extends Object implements ILcdCoverageOffering
ILcdCoverageOffering
.Constructor and Description |
---|
TLcdCoverageOffering(ILcdModel aModel,
String aName)
Deprecated.
Creates a new instance with the given model and name.
|
TLcdCoverageOffering(ILcdModel aModel,
String aName,
String aLabel,
String aDescription,
String aMetadataLink,
List<String> aKeywords)
Deprecated.
Creates a new instance with the given arguments.
|
TLcdCoverageOffering(ILcdModel aModel,
String aName,
String aLabel,
String aDescription,
String aMetadataLink,
List<String> aKeywords,
ILcdCoverageOfferingDetail aCoverageOfferingDetail)
Deprecated.
Creates a new instance with the given arguments.
|
Modifier and Type | Method and Description |
---|---|
ILcdCoverageOfferingDetail |
getCoverageOfferingDetail()
Deprecated.
Returns an
ILcdCoverageOfferingDetail containing additional
information about the coverage offering. |
String |
getDescription()
Deprecated.
Returns a brief description of the coverage offering.
|
Long |
getExpiryDate()
Deprecated.
Returns the expiry date of this coverage.
|
String |
getKeyword(int aIndex)
Deprecated.
Returns the keyword at the given index.
|
int |
getKeywordCount()
Deprecated.
Returns the number of keywords associated with the coverage offering.
|
String |
getLabel()
Deprecated.
Returns a label for the coverage offering, which can be displayed to the
user instead of the unique ID.
|
String |
getMetadataLink()
Deprecated.
Returns a link to the metadata associated with the coverage offering.
|
ILcdModel |
getModel()
Deprecated.
|
Long |
getModificationDate()
Deprecated.
Returns the modification date of this coverage.
|
String |
getName()
Deprecated.
Returns a unique ID for the coverage offering.
|
ILcdBounds |
getWGS84Bounds()
Deprecated.
Returns the WGS84 bounding box of the coverage data.
|
void |
setExpiryDate(long aDate)
Deprecated.
Sets an expiry date for this coverage.
|
void |
setModificationDate(Long aDate)
Deprecated.
Sets a modification date for this coverage.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSource, getUpdateSequence
public TLcdCoverageOffering(ILcdModel aModel, String aName)
getCoverageOfferingDetail()
with its native CRS property set to the EPSG reference code of the model reference and
without any additional output formats (apart from the default GeoTIFF format).
The optional properties label
and description
are set to the display name
of the model descriptor.
The optional metadata link
and keywords
are set to null
.aModel
- The model containing the data that is served in this coverage offering. This
cannot be null
.aName
- A unique name linked to this coverage offering. This cannot be
null
.public TLcdCoverageOffering(ILcdModel aModel, String aName, String aLabel, String aDescription, String aMetadataLink, List<String> aKeywords)
getCoverageOfferingDetail()
with its native CRS property set to the EPSG reference code of the model reference and
without any additional output formats (apart from the default GeoTIFF format).aModel
- The model containing the data that is served in this coverage offering.
This cannot be null
.aName
- A unique name (ID) linked to this coverage offering. This cannot be
null
.aLabel
- An optional, human-readable label of this coverage offering.aDescription
- An optional description of this coverage offering.aMetadataLink
- An optional link to a metadata source describing this coverage offering.aKeywords
- An optional set of keywords that describe this coverage offering.public TLcdCoverageOffering(ILcdModel aModel, String aName, String aLabel, String aDescription, String aMetadataLink, List<String> aKeywords, ILcdCoverageOfferingDetail aCoverageOfferingDetail)
aModel
- The model containing the data that is served in this coverage offering.
This cannot be null
.aName
- A unique name (ID) linked to this coverage offering. This cannot be
null
.aLabel
- An optional, human-readable label of this coverage offering.aDescription
- An optional description of this coverage offering.aMetadataLink
- An optional link to a metadata source describing this coverage offering.aKeywords
- An optional set of keywords that describe this coverage offering.aCoverageOfferingDetail
- A more detailed description of the coverage offering. This cannot be
null
.public String getName()
ILcdCoverageOffering
getName
in interface ILcdCoverageOffering
public String getLabel()
ILcdCoverageOffering
getLabel
in interface ILcdCoverageOffering
public String getDescription()
ILcdCoverageOffering
getDescription
in interface ILcdCoverageOffering
public String getMetadataLink()
ILcdCoverageOffering
getMetadataLink
in interface ILcdCoverageOffering
public int getKeywordCount()
ILcdCoverageOffering
getKeywordCount
in interface ILcdCoverageOffering
public String getKeyword(int aIndex) throws IndexOutOfBoundsException
ILcdCoverageOffering
getKeyword
in interface ILcdCoverageOffering
IndexOutOfBoundsException
public ILcdBounds getWGS84Bounds()
ILcdCoverageOffering
getWGS84Bounds
in interface ILcdCoverageOffering
public ILcdModel getModel()
public ILcdCoverageOfferingDetail getCoverageOfferingDetail()
ILcdCoverageOffering
ILcdCoverageOfferingDetail
containing additional
information about the coverage offering.getCoverageOfferingDetail
in interface ILcdCoverageOffering
public void setExpiryDate(long aDate)
Expires
HTTP header on GetCoverage
and
DescribeCoverage
responses.aDate
- an expiry date for this coveragegetExpiryDate()
public Long getExpiryDate()
null
is returned.getExpiryDate
in interface ILcdCoverageOffering
setExpiryDate(long)
public void setModificationDate(Long aDate)
Last-Modified
HTTP header on GetCoverage
and
DescribeCoverage
responses.aDate
- a modification date for this coveragegetModificationDate()
public Long getModificationDate()
null
is returned.getModificationDate
in interface ILcdCoverageOffering
setModificationDate(Long aDate)