Enum Class SymbolRegistryAttribute

java.lang.Object
java.lang.Enum<SymbolRegistryAttribute>
com.bluebell.greenhouse.platform.enums.symbol.SymbolRegistryAttribute
All Implemented Interfaces:
GenericEnum<SymbolRegistryAttribute>, Serializable, Comparable<SymbolRegistryAttribute>, Constable

public enum SymbolRegistryAttribute extends Enum<SymbolRegistryAttribute> implements GenericEnum<SymbolRegistryAttribute>
Enumeration of supported symbol registry enrichment attributes.
Version:
1.0.9
Author:
Stephen Prizio
  • Enum Constant Details

  • Method Details

    • values

      public static SymbolRegistryAttribute[] 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 SymbolRegistryAttribute 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
    • findByCode

      public static Optional<SymbolRegistryAttribute> findByCode(String code)
      Resolves an attribute from its external code.
      Parameters:
      code - code
      Returns:
      optional SymbolRegistryAttribute
    • getSupportedCodes

      public static Set<String> getSupportedCodes()
      Returns all supported attribute codes in enum declaration order.
      Returns:
      Set of codes