Enum Class ProcessContainmentType

java.lang.Object
java.lang.Enum<ProcessContainmentType>
org.odpi.openmetadata.accessservices.dataengine.model.ProcessContainmentType
All Implemented Interfaces:
Serializable, Comparable<ProcessContainmentType>, Constable

public enum ProcessContainmentType extends Enum<ProcessContainmentType>
ProcessContainmentType describes the type of containment that exists between two processes.
  • OWNED - The parent process owns the child process in the relationship
  • APPEND - The child process is simply used by the parent
  • OTHER - None of the above.
  • Enum Constant Details

    • OWNED

      public static final ProcessContainmentType OWNED
      The parent process owns the child process in the relationship, such that if the parent is removed the child should also be removed. A child can have at most one such parent
    • APPEND

      public static final ProcessContainmentType APPEND
      The child process is simply used by the parent. A child process can have many such relationships to parents
    • OTHER

      public static final ProcessContainmentType OTHER
      None of the above
  • Method Details

    • values

      public static ProcessContainmentType[] 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 ProcessContainmentType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ProcessContainmentType>
    • getOrdinal

      public int getOrdinal()
      Return the numeric representation of the instance provenance type.
      Returns:
      int ordinal
    • getName

      public String getName()
      Return the default name of the instance provenance type.
      Returns:
      String name
    • getDescription

      public String getDescription()
      Return the default description of the instance provenance type.
      Returns:
      String description