Class DcatDataService
java.lang.Object
org.odpi.openmetadata.frameworks.integration.dcat.properties.DcatResource
org.odpi.openmetadata.frameworks.integration.dcat.properties.DcatDataService
DcatDataService describes a collection of operations that provides access to one or more datasets (dcat:DataService).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the descriptions of the service's operations, such as an OpenAPI document (dcat:endpointDescription).Return the root locations of the service (dcat:endpointURL).Return the IRIs of the datasets that the service gives access to (dcat:servesDataset).inthashCode()Return hash code based on properties.voidsetEndpointDescriptions(List<String> endpointDescriptions) Set up the descriptions of the service's operations, such as an OpenAPI document (dcat:endpointDescription).voidsetEndpointURLs(List<String> endpointURLs) Set up the root locations of the service (dcat:endpointURL).voidsetServesDatasets(List<String> servesDatasets) Set up the IRIs of the datasets that the service gives access to (dcat:servesDataset).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
-
DcatDataService
public DcatDataService()Default constructor
-
-
Method Details
-
getEndpointURLs
Return the root locations of the service (dcat:endpointURL).- Returns:
- list of URLs
-
setEndpointURLs
Set up the root locations of the service (dcat:endpointURL).- Parameters:
endpointURLs- list of URLs
-
getEndpointDescriptions
Return the descriptions of the service's operations, such as an OpenAPI document (dcat:endpointDescription).- Returns:
- list of URLs
-
setEndpointDescriptions
Set up the descriptions of the service's operations, such as an OpenAPI document (dcat:endpointDescription).- Parameters:
endpointDescriptions- list of URLs
-
getServesDatasets
Return the IRIs of the datasets that the service gives access to (dcat:servesDataset).- Returns:
- list of IRIs
-
setServesDatasets
Set up the IRIs of the datasets that the service gives access to (dcat:servesDataset).- Parameters:
servesDatasets- 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
-