Enum Class DataProductManagementPortContent

java.lang.Object
java.lang.Enum<DataProductManagementPortContent>
org.odpi.openmetadata.frameworks.integration.bitol.odps.DataProductManagementPortContent
All Implemented Interfaces:
Serializable, Comparable<DataProductManagementPortContent>, Constable

public enum DataProductManagementPortContent extends Enum<DataProductManagementPortContent>
DataProductManagementPortContent lists the types of content available through a management port of an ODPS data product. The Bitol standards carry these values as strings, and permit additional values, so the beans hold the string and this enumeration documents the standard values and provides a lookup.
  • Enum Constant Details

  • Method Details

    • values

      public static DataProductManagementPortContent[] 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 DataProductManagementPortContent 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
    • getValue

      public String getValue()
      Return the string used in the document.
      Returns:
      string value
    • getDescription

      public String getDescription()
      Return the description of the meaning of the value.
      Returns:
      string description
    • fromValue

      public static DataProductManagementPortContent fromValue(String value)
      Return the enumeration that matches the supplied document value (case-insensitive).
      Parameters:
      value - string from the document
      Returns:
      matching enumeration or null if the value is not one of the standard values
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Enum<DataProductManagementPortContent>
      Returns:
      print out of variables in a JSON-style