Class DcatDistribution
java.lang.Object
org.odpi.openmetadata.frameworks.integration.dcat.properties.DcatDistribution
DcatDistribution describes a specific representation of a dataset (dcat:Distribution) such as a downloadable file
or an access point.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return who can access the distribution (dct:accessRights).Return the IRIs of the data services that give access to the distribution (dcat:accessService).Return the URL of a resource that gives access to the distribution (dcat:accessURL).Return the size of the distribution in bytes (dcat:byteSize).Return the algorithm used to calculate the checksum (spdx:algorithm).Return the checksum of the downloadable file (spdx:checksumValue).Return the compression format of the distribution (dcat:compressFormat).Return the standards that the distribution conforms to (dct:conformsTo).Return the description of the distribution (dct:description).Return the URL of the downloadable file (dcat:downloadURL).Return the file format of the distribution (dct:format).getIri()Return the IRI that identifies the distribution.Return the date that the distribution was formally issued (dct:issued).Return the languages used in the distribution (dct:language).Return the licence under which the distribution is made available (dct:license).Return the IANA media type of the distribution (dcat:mediaType).Return the date that the distribution was last changed (dct:modified).Return the properties of the distribution that have no specific field in this bean, keyed by the IRI of the property.Return the packaging format of the distribution (dcat:packageFormat).Return the rights statement for the distribution (dct:rights).getTitle()Return the name of the distribution (dct:title).inthashCode()Return hash code based on properties.voidsetAccessRights(String accessRights) Set up who can access the distribution (dct:accessRights).voidsetAccessServices(List<String> accessServices) Set up the IRIs of the data services that give access to the distribution (dcat:accessService).voidsetAccessURL(String accessURL) Set up the URL of a resource that gives access to the distribution (dcat:accessURL).voidsetByteSize(Long byteSize) Set up the size of the distribution in bytes (dcat:byteSize).voidsetChecksumAlgorithm(String checksumAlgorithm) Set up the algorithm used to calculate the checksum (spdx:algorithm).voidsetChecksumValue(String checksumValue) Set up the checksum of the downloadable file (spdx:checksumValue).voidsetCompressFormat(String compressFormat) Set up the compression format of the distribution (dcat:compressFormat).voidsetConformsTo(List<String> conformsTo) Set up the standards that the distribution conforms to (dct:conformsTo).voidsetDescription(String description) Set up the description of the distribution (dct:description).voidsetDownloadURL(String downloadURL) Set up the URL of the downloadable file (dcat:downloadURL).voidSet up the file format of the distribution (dct:format).voidSet up the IRI that identifies the distribution.voidSet up the date that the distribution was formally issued (dct:issued).voidsetLanguages(List<String> languages) Set up the languages used in the distribution (dct:language).voidsetLicense(DcatConcept license) Set up the licence under which the distribution is made available (dct:license).voidsetMediaType(String mediaType) Set up the IANA media type of the distribution (dcat:mediaType).voidsetModified(String modified) Set up the date that the distribution was last changed (dct:modified).voidsetOtherProperties(Map<String, List<String>> otherProperties) Set up the properties of the distribution that have no specific field in this bean, keyed by the IRI of the property.voidsetPackageFormat(String packageFormat) Set up the packaging format of the distribution (dcat:packageFormat).voidSet up the rights statement for the distribution (dct:rights).voidSet up the name of the distribution (dct:title).toString()Standard toString method.
-
Constructor Details
-
DcatDistribution
public DcatDistribution()Default constructor
-
-
Method Details
-
getIri
Return the IRI that identifies the distribution.- Returns:
- string IRI
-
setIri
Set up the IRI that identifies the distribution.- Parameters:
iri- string IRI
-
getTitle
Return the name of the distribution (dct:title).- Returns:
- string name
-
setTitle
Set up the name of the distribution (dct:title).- Parameters:
title- string name
-
getDescription
Return the description of the distribution (dct:description).- Returns:
- string description
-
setDescription
Set up the description of the distribution (dct:description).- Parameters:
description- string description
-
getAccessURL
Return the URL of a resource that gives access to the distribution (dcat:accessURL).- Returns:
- string URL
-
setAccessURL
Set up the URL of a resource that gives access to the distribution (dcat:accessURL).- Parameters:
accessURL- string URL
-
getDownloadURL
Return the URL of the downloadable file (dcat:downloadURL).- Returns:
- string URL
-
setDownloadURL
Set up the URL of the downloadable file (dcat:downloadURL).- Parameters:
downloadURL- string URL
-
getMediaType
Return the IANA media type of the distribution (dcat:mediaType).- Returns:
- string media type
-
setMediaType
Set up the IANA media type of the distribution (dcat:mediaType).- Parameters:
mediaType- string media type
-
getFormat
Return the file format of the distribution (dct:format).- Returns:
- string format
-
setFormat
Set up the file format of the distribution (dct:format).- Parameters:
format- string format
-
getByteSize
Return the size of the distribution in bytes (dcat:byteSize).- Returns:
- long
-
setByteSize
Set up the size of the distribution in bytes (dcat:byteSize).- Parameters:
byteSize- long
-
getCompressFormat
Return the compression format of the distribution (dcat:compressFormat).- Returns:
- string format
-
setCompressFormat
Set up the compression format of the distribution (dcat:compressFormat).- Parameters:
compressFormat- string format
-
getPackageFormat
Return the packaging format of the distribution (dcat:packageFormat).- Returns:
- string format
-
setPackageFormat
Set up the packaging format of the distribution (dcat:packageFormat).- Parameters:
packageFormat- string format
-
getIssued
Return the date that the distribution was formally issued (dct:issued).- Returns:
- string date
-
setIssued
Set up the date that the distribution was formally issued (dct:issued).- Parameters:
issued- string date
-
getModified
Return the date that the distribution was last changed (dct:modified).- Returns:
- string date
-
setModified
Set up the date that the distribution was last changed (dct:modified).- Parameters:
modified- string date
-
getLicense
Return the licence under which the distribution is made available (dct:license).- Returns:
- concept
-
setLicense
Set up the licence under which the distribution is made available (dct:license).- Parameters:
license- concept
-
getRights
Return the rights statement for the distribution (dct:rights).- Returns:
- string
-
setRights
Set up the rights statement for the distribution (dct:rights).- Parameters:
rights- string
-
getAccessRights
Return who can access the distribution (dct:accessRights).- Returns:
- string
-
setAccessRights
Set up who can access the distribution (dct:accessRights).- Parameters:
accessRights- string
-
getConformsTo
Return the standards that the distribution conforms to (dct:conformsTo).- Returns:
- list of IRIs
-
setConformsTo
Set up the standards that the distribution conforms to (dct:conformsTo).- Parameters:
conformsTo- list of IRIs
-
getLanguages
Return the languages used in the distribution (dct:language).- Returns:
- list of languages
-
setLanguages
Set up the languages used in the distribution (dct:language).- Parameters:
languages- list of languages
-
getChecksumAlgorithm
Return the algorithm used to calculate the checksum (spdx:algorithm).- Returns:
- string algorithm
-
setChecksumAlgorithm
Set up the algorithm used to calculate the checksum (spdx:algorithm).- Parameters:
checksumAlgorithm- string algorithm
-
getChecksumValue
Return the checksum of the downloadable file (spdx:checksumValue).- Returns:
- string checksum
-
setChecksumValue
Set up the checksum of the downloadable file (spdx:checksumValue).- Parameters:
checksumValue- string checksum
-
getAccessServices
Return the IRIs of the data services that give access to the distribution (dcat:accessService).- Returns:
- list of IRIs
-
setAccessServices
Set up the IRIs of the data services that give access to the distribution (dcat:accessService).- Parameters:
accessServices- list of IRIs
-
getOtherProperties
Return the properties of the distribution that have no specific field in this bean, keyed by the IRI of the property.- Returns:
- map of property IRI to values
-
setOtherProperties
Set up the properties of the distribution that have no specific field in this bean, keyed by the IRI of the property.- Parameters:
otherProperties- map of property IRI to values
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-