Class DcatMappingResult
java.lang.Object
org.odpi.openmetadata.frameworks.integration.dcat.mapping.DcatMappingResult
DcatMappingResult describes what happened when a DCAT document was catalogued in open metadata.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhat was done to an open metadata element.static final recordDescribes an open metadata element that was created or updated for a resource in the document. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCataloguedResource(DcatMappingResult.CataloguedResource cataloguedResource) Record that a resource has been catalogued.voidaddWarning(String warning) Record something in the document that could not be mapped.Return the elements that were created or updated for the catalogs, datasets, dataset series and data services in the document.Return the unique identifiers of the elements that were created or updated for the catalogs, datasets, dataset series and data services in the document.Return the descriptions of the parts of the document that could not be mapped.toString()Standard toString method.
-
Constructor Details
-
DcatMappingResult
public DcatMappingResult()Default constructor
-
-
Method Details
-
addCataloguedResource
Record that a resource has been catalogued.- Parameters:
cataloguedResource- description of the element
-
getCataloguedResources
Return the elements that were created or updated for the catalogs, datasets, dataset series and data services in the document.- Returns:
- list
-
getElementGUIDs
Return the unique identifiers of the elements that were created or updated for the catalogs, datasets, dataset series and data services in the document.- Returns:
- list of unique identifiers
-
addWarning
Record something in the document that could not be mapped.- Parameters:
warning- description of the problem
-
getWarnings
Return the descriptions of the parts of the document that could not be mapped.- Returns:
- list of warnings
-
toString
Standard toString method.
-