Class OpenMetadataTypesArchive1_4

java.lang.Object
org.odpi.openmetadata.opentypes.OpenMetadataTypesArchive1_4

public class OpenMetadataTypesArchive1_4 extends Object
OpenMetadataTypesArchive builds an open metadata archive containing all of the standard open metadata types. These types have hardcoded dates and guids so that however many times this archive is rebuilt, it will produce the same content.

Details of the open metadata types are documented on the wiki: The Open Metadata Type System

There are 8 areas, each covering a different topic area of metadata. The module breaks down the process of creating the models into the areas and then the individual models to simplify the maintenance of this class

  • Constructor Details

    • OpenMetadataTypesArchive1_4

      public OpenMetadataTypesArchive1_4()
      Default constructor sets up the archive builder. This in turn sets up the header for the archive.
    • OpenMetadataTypesArchive1_4

      public OpenMetadataTypesArchive1_4(OMRSArchiveBuilder archiveBuilder)
      Chained constructor sets up the archive builder. This in turn sets up the header for the archive.
      Parameters:
      archiveBuilder - accumulator for types
  • Method Details

    • getArchiveGUID

      public String getArchiveGUID()
      Return the unique identifier for this archive.
      Returns:
      String guid
    • getOpenMetadataArchive

      public OpenMetadataArchive getOpenMetadataArchive()
      Returns the open metadata type archive containing all of the standard open metadata types.
      Returns:
      populated open metadata archive object
    • getOriginalTypes

      public void getOriginalTypes()
      Add the new types from this archive to the archive builder supplied in the constructor.