Class ExtentSummary

java.lang.Object
gov.usgs.earthquake.indexer.ExtentSummary

public class ExtentSummary extends Object
Stores ExtentSummary information for products.
  • Field Details

    • EXTENT_START_TIME_PROPERTY

      public static final String EXTENT_START_TIME_PROPERTY
      Property for Extent Start time
      See Also:
    • EXTENT_END_TIME_PROPERTY

      public static final String EXTENT_END_TIME_PROPERTY
      Property for Extent End Time
      See Also:
    • EXTENT_MAX_LAT_PROPERTY

      public static final String EXTENT_MAX_LAT_PROPERTY
      Property for Extent Max Lat
      See Also:
    • EXTENT_MIN_LAT_PROPERTY

      public static final String EXTENT_MIN_LAT_PROPERTY
      Property for Extent Min lat
      See Also:
    • EXTENT_MAX_LONG_PROPERTY

      public static final String EXTENT_MAX_LONG_PROPERTY
      Property for Extent Max Long
      See Also:
    • EXTENT_MIN_LONG_PROPERTY

      public static final String EXTENT_MIN_LONG_PROPERTY
      Property for Extent Min Long
      See Also:
  • Constructor Details

    • ExtentSummary

      public ExtentSummary()
      Empty constructor
    • ExtentSummary

      public ExtentSummary(ProductSummary product)
      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

      public Long getIndexId()
      Returns:
      index Id
    • setIndexId

      public void setIndexId(Long id)
      Parameters:
      id - indexId to set
    • getStartTime

      public Date getStartTime()
      Returns:
      startTime
    • setStartTime

      public void setStartTime(Date startTime)
      Parameters:
      startTime - date to set
    • getEndTime

      public Date getEndTime()
      Returns:
      endTime
    • setEndTime

      public void setEndTime(Date endTime)
      Parameters:
      endTime - date to set
    • getMaxLatitude

      public BigDecimal getMaxLatitude()
      Returns:
      maxLatitude
    • setMaxLatitude

      public void setMaxLatitude(BigDecimal maxLatitude)
      Parameters:
      maxLatitude - BigDecimal to set
    • getMinLatitude

      public BigDecimal getMinLatitude()
      Returns:
      minLatitude
    • setMinLatitude

      public void setMinLatitude(BigDecimal minLatitude)
      Parameters:
      minLatitude - BigDecimal to set
    • getMaxLongitude

      public BigDecimal getMaxLongitude()
      Returns:
      maxLongitude
    • setMaxLongitude

      public void setMaxLongitude(BigDecimal maxLongitude)
      Parameters:
      maxLongitude - BigDecimal to set
    • getMinLongitude

      public BigDecimal getMinLongitude()
      Returns:
      minLongitude
    • setMinLongitude

      public void setMinLongitude(BigDecimal minLongitude)
      Parameters:
      minLongitude - to set