Class CocoTypesArchiveWriter
java.lang.Object
org.odpi.openmetadata.repositoryservices.archiveutilities.OMRSArchiveWriter
org.odpi.openmetadata.samples.archiveutilities.types.CocoTypesArchiveWriter
CocoTypesArchiveWriter creates a physical open metadata archive file containing
the additional specialized types needed by Coco Pharmaceuticals.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OpenMetadataArchive
Returns the open metadata type archive containing all the new type definitions.void
Generates and writes out an open metadata archive containing the new types.void
writeOpenMetadataArchive
(String folderName) Generates and writes out the open metadata archive created in the builder.Methods inherited from class org.odpi.openmetadata.repositoryservices.archiveutilities.OMRSArchiveWriter
getOpenMetadataArchiveFileConnection, writeOpenMetadataArchive, writeOpenMetadataArchive
-
Constructor Details
-
CocoTypesArchiveWriter
public CocoTypesArchiveWriter()Default constructor initializes the archive.
-
-
Method Details
-
getOpenMetadataArchive
Returns the open metadata type archive containing all the new type definitions.- Returns:
- populated open metadata archive object
-
writeOpenMetadataArchive
public void writeOpenMetadataArchive()Generates and writes out an open metadata archive containing the new types. -
writeOpenMetadataArchive
Generates and writes out the open metadata archive created in the builder.- Parameters:
folderName
- name of the folder to add the archive into
-