Class OpenMetadataTypesArchive


  • public class OpenMetadataTypesArchive
    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 Detail

      • OpenMetadataTypesArchive

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

        public OpenMetadataTypesArchive​(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 Detail

      • 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 types from this archive to the archive builder supplied in the constructor.