Class DcatDataset
java.lang.Object
org.odpi.openmetadata.frameworks.integration.dcat.properties.DcatResource
org.odpi.openmetadata.frameworks.integration.dcat.properties.DcatDataset
- Direct Known Subclasses:
DcatCatalog,DcatDatasetSeries
DcatDataset describes a collection of data that is published or curated by a single agent (dcat:Dataset).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the frequency at which the dataset is updated (dct:accrualPeriodicity).Return the available representations of the dataset (dcat:distribution).Return the IRIs of the dataset series that this dataset is part of (dcat:inSeries).Return the geographical areas covered by the dataset (dct:spatial).Return the minimum spatial separation resolvable in the dataset (dcat:spatialResolutionInMeters).Return the temporal periods covered by the dataset (dct:temporal).Return the minimum time period resolvable in the dataset (dcat:temporalResolution).inthashCode()Return hash code based on properties.voidsetAccrualPeriodicity(String accrualPeriodicity) Set up the frequency at which the dataset is updated (dct:accrualPeriodicity).voidsetDistributions(List<DcatDistribution> distributions) Set up the available representations of the dataset (dcat:distribution).voidsetInSeries(List<String> inSeries) Set up the IRIs of the dataset series that this dataset is part of (dcat:inSeries).voidsetSpatial(List<String> spatial) Set up the geographical areas covered by the dataset (dct:spatial).voidsetSpatialResolutionInMeters(String spatialResolutionInMeters) Set up the minimum spatial separation resolvable in the dataset (dcat:spatialResolutionInMeters).voidsetTemporal(List<DcatPeriodOfTime> temporal) Set up the temporal periods covered by the dataset (dct:temporal).voidsetTemporalResolution(String temporalResolution) Set up the minimum time period resolvable in the dataset (dcat:temporalResolution).toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.integration.dcat.properties.DcatResource
getAccessRights, getConformsTo, getContactPoints, getCreators, getDescription, getDescriptionTranslations, getDocumentation, getIdentifiers, getIri, getIssued, getKeywords, getLandingPage, getLanguages, getLicense, getModified, getNodeId, getOtherProperties, getPreviousVersion, getPublisher, getResourceType, getRights, getStatus, getThemes, getTitle, getTitleTranslations, getVersion, getVersionNotes, setAccessRights, setConformsTo, setContactPoints, setCreators, setDescription, setDescriptionTranslations, setDocumentation, setIdentifiers, setIri, setIssued, setKeywords, setLandingPage, setLanguages, setLicense, setModified, setNodeId, setOtherProperties, setPreviousVersion, setPublisher, setResourceType, setRights, setStatus, setThemes, setTitle, setTitleTranslations, setVersion, setVersionNotes
-
Constructor Details
-
DcatDataset
public DcatDataset()Default constructor
-
-
Method Details
-
getDistributions
Return the available representations of the dataset (dcat:distribution).- Returns:
- list of distributions
-
setDistributions
Set up the available representations of the dataset (dcat:distribution).- Parameters:
distributions- list of distributions
-
getAccrualPeriodicity
Return the frequency at which the dataset is updated (dct:accrualPeriodicity).- Returns:
- string
-
setAccrualPeriodicity
Set up the frequency at which the dataset is updated (dct:accrualPeriodicity).- Parameters:
accrualPeriodicity- string
-
getSpatial
Return the geographical areas covered by the dataset (dct:spatial).- Returns:
- list of locations
-
setSpatial
Set up the geographical areas covered by the dataset (dct:spatial).- Parameters:
spatial- list of locations
-
getTemporal
Return the temporal periods covered by the dataset (dct:temporal).- Returns:
- list of periods
-
setTemporal
Set up the temporal periods covered by the dataset (dct:temporal).- Parameters:
temporal- list of periods
-
getSpatialResolutionInMeters
Return the minimum spatial separation resolvable in the dataset (dcat:spatialResolutionInMeters).- Returns:
- string number
-
setSpatialResolutionInMeters
Set up the minimum spatial separation resolvable in the dataset (dcat:spatialResolutionInMeters).- Parameters:
spatialResolutionInMeters- string number
-
getTemporalResolution
Return the minimum time period resolvable in the dataset (dcat:temporalResolution).- Returns:
- string duration
-
setTemporalResolution
Set up the minimum time period resolvable in the dataset (dcat:temporalResolution).- Parameters:
temporalResolution- string duration
-
getInSeries
Return the IRIs of the dataset series that this dataset is part of (dcat:inSeries).- Returns:
- list of IRIs
-
setInSeries
Set up the IRIs of the dataset series that this dataset is part of (dcat:inSeries).- Parameters:
inSeries- list of IRIs
-
toString
Standard toString method.- Overrides:
toStringin classDcatResource- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classDcatResource- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classDcatResource- Returns:
- int
-