java.lang.Object
org.odpi.openmetadata.frameworks.integration.dcat.mapping.DcatMappingResult

public class DcatMappingResult extends Object
DcatMappingResult describes what happened when a DCAT document was catalogued in open metadata.
  • Constructor Details

    • DcatMappingResult

      public DcatMappingResult()
      Default constructor
  • Method Details

    • addCataloguedResource

      public void addCataloguedResource(DcatMappingResult.CataloguedResource cataloguedResource)
      Record that a resource has been catalogued.
      Parameters:
      cataloguedResource - description of the element
    • getCataloguedResources

      public List<DcatMappingResult.CataloguedResource> getCataloguedResources()
      Return the elements that were created or updated for the catalogs, datasets, dataset series and data services in the document.
      Returns:
      list
    • getElementGUIDs

      public List<String> 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

      public void addWarning(String warning)
      Record something in the document that could not be mapped.
      Parameters:
      warning - description of the problem
    • getWarnings

      public List<String> getWarnings()
      Return the descriptions of the parts of the document that could not be mapped.
      Returns:
      list of warnings
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style