Class DcatDocument
java.lang.Object
org.odpi.openmetadata.frameworks.integration.dcat.properties.DcatDocument
DcatDocument holds the resources described in a single DCAT document. The resources are held in three lists:
the catalogs, the datasets (including dataset series) and the data services.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the catalogs described in the document.Return the data services described in the document.Return the datasets and dataset series described in the document.inthashCode()Return hash code based on properties.voidsetCatalogs(List<DcatCatalog> catalogs) Set up the catalogs described in the document.voidsetDataServices(List<DcatDataService> dataServices) Set up the data services described in the document.voidsetDatasets(List<DcatDataset> datasets) Set up the datasets and dataset series described in the document.toString()Standard toString method.
-
Constructor Details
-
DcatDocument
public DcatDocument()Default constructor
-
-
Method Details
-
getCatalogs
Return the catalogs described in the document.- Returns:
- list of catalogs
-
setCatalogs
Set up the catalogs described in the document.- Parameters:
catalogs- list of catalogs
-
getDatasets
Return the datasets and dataset series described in the document.- Returns:
- list of datasets
-
setDatasets
Set up the datasets and dataset series described in the document.- Parameters:
datasets- list of datasets
-
getDataServices
Return the data services described in the document.- Returns:
- list of data services
-
setDataServices
Set up the data services described in the document.- Parameters:
dataServices- list of data services
-
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.
-