java.lang.Object
java.lang.Enum<OpenMetadataArchiveType>
org.odpi.openmetadata.repositoryservices.connectors.stores.archivestore.properties.OpenMetadataArchiveType
All Implemented Interfaces:
Serializable, Comparable<OpenMetadataArchiveType>, Constable

public enum OpenMetadataArchiveType extends Enum<OpenMetadataArchiveType> implements Serializable
OpenMetadataArchiveType defines the origin of the open metadata archive. Content pack means tha the archive contains pre-defined types and instances for a particular use case. Metadata export is a collection of types and instances from a particular metadata server.
  • Enum Constant Details

  • Method Details

    • values

      public static OpenMetadataArchiveType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OpenMetadataArchiveType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getOrdinal

      public int getOrdinal()
      Return the code number for the archive type.
      Returns:
      int code number
    • getName

      public String getName()
      Return the printable name for the archive type.
      Returns:
      String archive type name
    • getDescription

      public String getDescription()
      Return the default description of the archive type.
      Returns:
      String archive description
    • toString

      public String toString()
      toString() JSON-style
      Overrides:
      toString in class Enum<OpenMetadataArchiveType>
      Returns:
      string description