java.lang.Object
org.odpi.openmetadata.frameworks.integration.dcat.properties.DcatResource
org.odpi.openmetadata.frameworks.integration.dcat.properties.DcatDataset
Direct Known Subclasses:
DcatCatalog, DcatDatasetSeries

public class DcatDataset extends DcatResource
DcatDataset describes a collection of data that is published or curated by a single agent (dcat:Dataset).
  • Constructor Details

    • DcatDataset

      public DcatDataset()
      Default constructor
  • Method Details

    • getDistributions

      public List<DcatDistribution> getDistributions()
      Return the available representations of the dataset (dcat:distribution).
      Returns:
      list of distributions
    • setDistributions

      public void setDistributions(List<DcatDistribution> distributions)
      Set up the available representations of the dataset (dcat:distribution).
      Parameters:
      distributions - list of distributions
    • getAccrualPeriodicity

      public String getAccrualPeriodicity()
      Return the frequency at which the dataset is updated (dct:accrualPeriodicity).
      Returns:
      string
    • setAccrualPeriodicity

      public void setAccrualPeriodicity(String accrualPeriodicity)
      Set up the frequency at which the dataset is updated (dct:accrualPeriodicity).
      Parameters:
      accrualPeriodicity - string
    • getSpatial

      public List<String> getSpatial()
      Return the geographical areas covered by the dataset (dct:spatial).
      Returns:
      list of locations
    • setSpatial

      public void setSpatial(List<String> spatial)
      Set up the geographical areas covered by the dataset (dct:spatial).
      Parameters:
      spatial - list of locations
    • getTemporal

      public List<DcatPeriodOfTime> getTemporal()
      Return the temporal periods covered by the dataset (dct:temporal).
      Returns:
      list of periods
    • setTemporal

      public void setTemporal(List<DcatPeriodOfTime> temporal)
      Set up the temporal periods covered by the dataset (dct:temporal).
      Parameters:
      temporal - list of periods
    • getSpatialResolutionInMeters

      public String getSpatialResolutionInMeters()
      Return the minimum spatial separation resolvable in the dataset (dcat:spatialResolutionInMeters).
      Returns:
      string number
    • setSpatialResolutionInMeters

      public void setSpatialResolutionInMeters(String spatialResolutionInMeters)
      Set up the minimum spatial separation resolvable in the dataset (dcat:spatialResolutionInMeters).
      Parameters:
      spatialResolutionInMeters - string number
    • getTemporalResolution

      public String getTemporalResolution()
      Return the minimum time period resolvable in the dataset (dcat:temporalResolution).
      Returns:
      string duration
    • setTemporalResolution

      public void setTemporalResolution(String temporalResolution)
      Set up the minimum time period resolvable in the dataset (dcat:temporalResolution).
      Parameters:
      temporalResolution - string duration
    • getInSeries

      public List<String> getInSeries()
      Return the IRIs of the dataset series that this dataset is part of (dcat:inSeries).
      Returns:
      list of IRIs
    • setInSeries

      public void setInSeries(List<String> inSeries)
      Set up the IRIs of the dataset series that this dataset is part of (dcat:inSeries).
      Parameters:
      inSeries - list of IRIs
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class DcatResource
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class DcatResource
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class DcatResource
      Returns:
      int