public class TLcdDefaultCoverageOffering extends Object implements ILcdCoverageOffering
ILcdCoverageOffering
.Constructor and Description |
---|
TLcdDefaultCoverageOffering(String aName,
String aSource,
ILcdBounds aWGS84Bounds,
ILcdCoverageOfferingDetail aCoverageOfferingDetail) |
Modifier and Type | Method and Description |
---|---|
ILcdCoverageOfferingDetail |
getCoverageOfferingDetail()
Returns an
ILcdCoverageOfferingDetail containing additional
information about the coverage offering. |
String |
getDescription()
Returns a brief description of the coverage offering.
|
Long |
getExpiryDate()
Returns the expiry date of this coverage.
|
String |
getKeyword(int aIndex)
Returns the keyword at the given index.
|
int |
getKeywordCount()
Returns the number of keywords associated with the coverage offering.
|
List<String> |
getKeywords() |
String |
getLabel()
Returns a label for the coverage offering, which can be displayed to the
user instead of the unique ID.
|
String |
getMetadataLink()
Returns a link to the metadata associated with the coverage offering.
|
Long |
getModificationDate()
Returns the modification date of this coverage.
|
String |
getName()
Returns a unique ID for the coverage offering.
|
String |
getSource()
Returns the source.
|
String |
getUpdateSequence()
Returns the update sequence value associated with this coverage object.
|
ILcdBounds |
getWGS84Bounds()
Returns the WGS84 bounding box of the coverage data.
|
void |
setCoverageOfferingDetail(ILcdCoverageOfferingDetail aCoverageOfferingDetail) |
void |
setDescription(String aDescription) |
void |
setExpiryDate(long aDate)
Sets an expiry date for this coverage.
|
void |
setKeywords(List<String> aKeywords) |
void |
setLabel(String aLabel) |
void |
setMetadataLink(String aMetadataLink) |
void |
setModificationDate(Long aDate)
Sets a modification date for this coverage.
|
void |
setName(String aName) |
void |
setSource(String aSource) |
void |
setUpdateSequence(String aUpdateSequence)
Sets the update sequence value associated with this capabilities object.
|
void |
setWGS84Bounds(ILcdBounds aWGS84Bounds) |
public TLcdDefaultCoverageOffering(String aName, String aSource, ILcdBounds aWGS84Bounds, ILcdCoverageOfferingDetail aCoverageOfferingDetail)
public String getName()
ILcdCoverageOffering
getName
in interface ILcdCoverageOffering
public void setName(String aName)
public String getSource()
ILcdCoverageOffering
getSource
in interface ILcdCoverageOffering
public void setSource(String aSource)
public String getLabel()
ILcdCoverageOffering
getLabel
in interface ILcdCoverageOffering
public void setLabel(String aLabel)
public String getDescription()
ILcdCoverageOffering
getDescription
in interface ILcdCoverageOffering
public void setDescription(String aDescription)
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 void setMetadataLink(String aMetadataLink)
public ILcdBounds getWGS84Bounds()
ILcdCoverageOffering
getWGS84Bounds
in interface ILcdCoverageOffering
public void setWGS84Bounds(ILcdBounds aWGS84Bounds)
public ILcdCoverageOfferingDetail getCoverageOfferingDetail()
ILcdCoverageOffering
ILcdCoverageOfferingDetail
containing additional
information about the coverage offering.getCoverageOfferingDetail
in interface ILcdCoverageOffering
public void setCoverageOfferingDetail(ILcdCoverageOfferingDetail aCoverageOfferingDetail)
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)
public String getUpdateSequence()
ILcdCoverageOffering
Returns the update sequence value associated with this coverage object. This update sequence identifies the state of the coverage, including all dependencies such as data source, bounds etc...
The update sequence should comply with a number of conditions:
By default, this method always returns "0"
. This means that the default implementation assumes that
WCS coverages never change.
One way to generate update sequences would be to use a (persistent) counter that gets incremented on every
change. Another way would be to use System.currentTimeMillis()
from a correct clock.
getUpdateSequence
in interface ILcdCoverageOffering
null
.public void setUpdateSequence(String aUpdateSequence)
Sets the update sequence value associated with this capabilities object. See getUpdateSequence()
for
more information.
aUpdateSequence
- the new update sequence.