Enum Class OpenMetadataPrimitiveDefCategory

java.lang.Object
java.lang.Enum<OpenMetadataPrimitiveDefCategory>
org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataPrimitiveDefCategory
All Implemented Interfaces:
Serializable, Comparable<OpenMetadataPrimitiveDefCategory>, Constable

public enum OpenMetadataPrimitiveDefCategory extends Enum<OpenMetadataPrimitiveDefCategory>
This enumeration defines the list of open metadata primitive types. This 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

  • Method Details

    • values

      public static OpenMetadataPrimitiveDefCategory[] 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 OpenMetadataPrimitiveDefCategory 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 numeric code for the primitive type which can be used in optimized data flows.
      Returns:
      int type code
    • getName

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

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

      public String getGUID()
      Return the guid for this primitive type.
      Returns:
      String guid
    • toString

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