Class OpenMetadataTypesArchive3_12

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

public class OpenMetadataTypesArchive3_12 extends Object
OpenMetadataTypesArchive builds an open metadata archive containing all 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

    • OpenMetadataTypesArchive3_12

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

      public OpenMetadataTypesArchive3_12(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 the standard open metadata types.
      Returns:
      populated open metadata archive object
    • getOriginalTypes

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