All Implemented Interfaces:
Serializable, Comparable<CollectionDefCategory>, Constable

public enum CollectionDefCategory extends Enum<CollectionDefCategory> implements Serializable
This enum defines the list of open metadata collection types. These types are generic types that need to be configured with specific primitive types before they can be used as an attribute type.

The enum includes a code value, a string name for the type (used in self describing structures such as JSON or XML) and the name of the Java Class that supports this type.
  • Enum Constant Details


      public static final CollectionDefCategory OM_COLLECTION_UNKNOWN
      Unknown collection type

      public static final CollectionDefCategory OM_COLLECTION_MAP
      A map from values of one type to another.

      public static final CollectionDefCategory OM_COLLECTION_ARRAY
      An array of values of the same type.

      public static final CollectionDefCategory OM_COLLECTION_STRUCT
      A record with a variety of values.
  • Method Details

    • values

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

      public static CollectionDefCategory 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getOrdinal

      public int getOrdinal()
      Return the numeric code for the primitive type which can be used in optimized data flows.
      int type code
    • getName

      public String getName()
      Return the name of type that can be used for text-based interchange formats such as JSON or XML.
      String type name
    • getArgumentCount

      public int getArgumentCount()
      Return the number of arguments for this collection type.
      int number of elements
    • getJavaClassName

      public String getJavaClassName()
      Return the name of the java class that can be used to store properties of this type.
      String java class name.
    • toString

      public String toString()
      toString() JSON-style
      toString in class Enum<CollectionDefCategory>
      string description