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

public enum AccessOperation extends Enum<AccessOperation>
The AccessOperation enum defines the type of access granted to user to work with metadata elements.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The user requests to attach feedback elements (comments, tags, likes, reviews) to the metadata element in the catalog.
    The user requests to attach an anchored element to the metadata element in the catalog.
    The user requests to attach a non-anchored element to the metadata element in the catalog.
    The user requests to attach a classification to the metadata element in the catalog, or update an existing classification's properties.
    The user requests to create a metadata element in the catalog.
    The user requests to remove a classification from the metadata element in the catalog.
    The user requests to remove the metadata element from the catalog (archive, soft-delete or purge).
    The user requests to detach feedback elements (comments, tags, likes, reviews) from the metadata element in the catalog.
    The user requests to remove an anchored element from the metadata element in the catalog.
    The user requests to detach a non-anchored element from the metadata element in the catalog.
    The user requests to read the metadata element in the catalog.
    The user requests to change the description of the metadata element in the catalog.
    The user requests to change the status of the metadata element in the catalog.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the description for the enum.
    Return the descriptive name for the enum.
    int
    Return the numerical value for the enum.
    toString() JSON-style
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • READ

      public static final AccessOperation READ
      The user requests to read the metadata element in the catalog.
    • CREATE

      public static final AccessOperation CREATE
      The user requests to create a metadata element in the catalog.
    • UPDATE_PROPERTIES

      public static final AccessOperation UPDATE_PROPERTIES
      The user requests to change the description of the metadata element in the catalog.
    • UPDATE_STATUS

      public static final AccessOperation UPDATE_STATUS
      The user requests to change the status of the metadata element in the catalog.
    • DELETE

      public static final AccessOperation DELETE
      The user requests to remove the metadata element from the catalog (archive, soft-delete or purge).
    • ATTACH

      public static final AccessOperation ATTACH
      The user requests to attach a non-anchored element to the metadata element in the catalog.
    • DETACH

      public static final AccessOperation DETACH
      The user requests to detach a non-anchored element from the metadata element in the catalog.
    • ADD_MEMBER

      public static final AccessOperation ADD_MEMBER
      The user requests to attach an anchored element to the metadata element in the catalog.
    • DELETE_MEMBER

      public static final AccessOperation DELETE_MEMBER
      The user requests to remove an anchored element from the metadata element in the catalog.
    • ADD_FEEDBACK

      public static final AccessOperation ADD_FEEDBACK
      The user requests to attach feedback elements (comments, tags, likes, reviews) to the metadata element in the catalog.
    • DELETE_FEEDBACK

      public static final AccessOperation DELETE_FEEDBACK
      The user requests to detach feedback elements (comments, tags, likes, reviews) from the metadata element in the catalog.
    • CLASSIFY

      public static final AccessOperation CLASSIFY
      The user requests to attach a classification to the metadata element in the catalog, or update an existing classification's properties.
    • DECLASSIFY

      public static final AccessOperation DECLASSIFY
      The user requests to remove a classification from the metadata element in the catalog.
  • Method Details

    • values

      public static AccessOperation[] 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 AccessOperation 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 numerical value for the enum.
      Returns:
      int enum value ordinal
    • getName

      public String getName()
      Return the descriptive name for the enum.
      Returns:
      String name
    • getDescription

      public String getDescription()
      Return the description for the enum.
      Returns:
      String description
    • toString

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