Class Coverage

All Implemented Interfaces:
HasTransientProperties, SupportsLinks, SupportsExtensionElements

public class Coverage extends HypermediaEnabledData
A description of the coverage of a resource.
Author:
Ryan Heaton
  • Constructor Details

    • Coverage

      public Coverage()
    • Coverage

      public Coverage(Coverage copy)
  • Method Details

    • getSpatial

      public PlaceReference getSpatial()
      Spatial coverage.
      Returns:
      Spatial coverage.
    • setSpatial

      public void setSpatial(PlaceReference spatial)
      Spatial coverage.
      Parameters:
      spatial - Spatial coverage.
    • spatial

      public Coverage spatial(PlaceReference spatial)
      Build out this coverage with spatial coverage.
      Parameters:
      spatial - The spatial coverage.
      Returns:
      this.
    • getTemporal

      public Date getTemporal()
      Temporal coverage.
      Returns:
      Temporal coverage.
    • setTemporal

      public void setTemporal(Date temporal)
      Temporal coverage.
      Parameters:
      temporal - Temporal coverage.
    • temporal

      public Coverage temporal(Date temporal)
      Build out this coverage with temporal coverage.
      Parameters:
      temporal - The temporal coverage.
      Returns:
      This.
    • getRecordType

      public URI getRecordType()
      The type of record being covered, if any.
      Returns:
      The type of record being covered.
    • setRecordType

      public void setRecordType(URI recordType)
      The type of record being covered, if any.
      Parameters:
      recordType - The type of record being covered.
    • recordType

      public Coverage recordType(URI recordType)
      Build out this coverage with a record type.
      Parameters:
      recordType - The record type.
      Returns:
      this.
    • recordType

      public Coverage recordType(RecordType recordType)
      Build out this coverage with a record type.
      Parameters:
      recordType - The record type.
      Returns:
      this.
    • getKnownRecordType

      public RecordType getKnownRecordType()
      The type of record being covered in this collection, if any.
      Returns:
      The type of record being covered in this collection, if any.
    • setKnownRecordType

      public void setKnownRecordType(RecordType type)
      The type of record being covered in this collection, if any.
      Parameters:
      type - The type of record being covered in this collection, if any.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object