Package gov.usgs.earthquake.indexer
Class ExtentSummary
java.lang.Object
gov.usgs.earthquake.indexer.ExtentSummary
Stores ExtentSummary information for products.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProperty for Extent End Timestatic final StringProperty for Extent Max Latstatic final StringProperty for Extent Max Longstatic final StringProperty for Extent Min latstatic final StringProperty for Extent Min Longstatic final StringProperty for Extent Start time -
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructorExtentSummary(ProductSummary product) Builds an extentSummary from product properties. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValid()Returns TRUE if this extent should be put in the extentSummary table (at least one property is not null)voidsetEndTime(Date endTime) voidsetIndexId(Long id) voidsetMaxLatitude(BigDecimal maxLatitude) voidsetMaxLongitude(BigDecimal maxLongitude) voidsetMinLatitude(BigDecimal minLatitude) voidsetMinLongitude(BigDecimal minLongitude) voidsetStartTime(Date startTime)
-
Field Details
-
EXTENT_START_TIME_PROPERTY
Property for Extent Start time- See Also:
-
EXTENT_END_TIME_PROPERTY
Property for Extent End Time- See Also:
-
EXTENT_MAX_LAT_PROPERTY
Property for Extent Max Lat- See Also:
-
EXTENT_MIN_LAT_PROPERTY
Property for Extent Min lat- See Also:
-
EXTENT_MAX_LONG_PROPERTY
Property for Extent Max Long- See Also:
-
EXTENT_MIN_LONG_PROPERTY
Property for Extent Min Long- See Also:
-
-
Constructor Details
-
ExtentSummary
public ExtentSummary()Empty constructor -
ExtentSummary
Builds an extentSummary from product properties. If the product has none of the properties, the ExtentSummary is still built.- Parameters:
product- the productSummary to build from
-
-
Method Details
-
isValid
public boolean isValid()Returns TRUE if this extent should be put in the extentSummary table (at least one property is not null)- Returns:
- boolean
-
getIndexId
- Returns:
- index Id
-
setIndexId
- Parameters:
id- indexId to set
-
getStartTime
- Returns:
- startTime
-
setStartTime
- Parameters:
startTime- date to set
-
getEndTime
- Returns:
- endTime
-
setEndTime
- Parameters:
endTime- date to set
-
getMaxLatitude
- Returns:
- maxLatitude
-
setMaxLatitude
- Parameters:
maxLatitude- BigDecimal to set
-
getMinLatitude
- Returns:
- minLatitude
-
setMinLatitude
- Parameters:
minLatitude- BigDecimal to set
-
getMaxLongitude
- Returns:
- maxLongitude
-
setMaxLongitude
- Parameters:
maxLongitude- BigDecimal to set
-
getMinLongitude
- Returns:
- minLongitude
-
setMinLongitude
- Parameters:
minLongitude- to set
-