Package com.collibra.dgc.core.api.dto.meta.attributetype

# Enum Class AttributeKind

Object
Enum<AttributeKind>
AttributeKind

All Implemented Interfaces:
  `Serializable`, `Comparable<AttributeKind>`, `Constable`

public enum AttributeKind extends Enum<AttributeKind>
The different kinds used to define an `AttributeType`.

An `AttributeKind` is used as an input value in `AttributeTypeApi`.

Each attribute kind is mapping to `Resource.getResourceType()` for Attribute Type instance(s) returned from the `AttributeTypeApi`.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `BOOLEAN`
  A boolean attribute kind.
  `DATE`
  A date attribute kind.
  `MULTI_VALUE_LIST`
  A multi-value list attribute kind.
  `NUMERIC`
  A numeric attribute kind.
  `SCRIPT`
  A script attribute kind.
  `SINGLE_VALUE_LIST`
  A single-value attribute kind.
  `STRING`
  A string attribute kind.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static AttributeKind`
  `valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static AttributeKind[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### Methods inherited from class Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### BOOLEAN

    public static final AttributeKind BOOLEAN
    A boolean attribute kind.

    Corresponds to `Resource.getResourceType()` with the BooleanAttributeType value.

  - ### STRING

    public static final AttributeKind STRING
    A string attribute kind.

    Corresponds to `Resource.getResourceType()` with the StringAttributeType value.

  - ### NUMERIC

    public static final AttributeKind NUMERIC
    A numeric attribute kind.

    Corresponds to `Resource.getResourceType()` with the NumericAttributeType value.

  - ### DATE

    public static final AttributeKind DATE
    A date attribute kind.

    Corresponds to `Resource.getResourceType()` with the DateAttributeType value.

  - ### SINGLE_VALUE_LIST

    public static final AttributeKind SINGLE_VALUE_LIST
    A single-value attribute kind.

    Corresponds to `Resource.getResourceType()` with the SingleValueListAttributeType value.

  - ### MULTI_VALUE_LIST

    public static final AttributeKind MULTI_VALUE_LIST
    A multi-value list attribute kind.

    Corresponds to `Resource.getResourceType()` with the MultiValueListAttributeType value.

  - ### SCRIPT

    public static final AttributeKind SCRIPT
    A script attribute kind.

    Corresponds to `Resource.getResourceType()` with the ScriptAttributeType value.

- ## Method Details

  - ### values

    public static AttributeKind[] 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 AttributeKind 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