Enum OpenMetadataArchiveType

  • All Implemented Interfaces:
    Serializable, Comparable<OpenMetadataArchiveType>

    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.
    • Method Detail

      • values

        public static OpenMetadataArchiveType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (OpenMetadataArchiveType c : OpenMetadataArchiveType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OpenMetadataArchiveType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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