java.lang.Object
java.lang.Enum<Colour>
org.odpi.openmetadata.commonservices.mermaid.Colour
All Implemented Interfaces:
Serializable, Comparable<Colour>, Constable

public enum Colour extends Enum<Colour>
Colour helps to capture the colours we are using in the mermaid graphs.
  • Enum Constant Details

    • BLACK

      public static final Colour BLACK
    • WHITE

      public static final Colour WHITE
    • CERISE

      public static final Colour CERISE
    • EGERIA_BLUE

      public static final Colour EGERIA_BLUE
    • DARK_BLUE

      public static final Colour DARK_BLUE
    • BLUE_SKY

      public static final Colour BLUE_SKY
    • LIGHT_BLUE

      public static final Colour LIGHT_BLUE
    • LIGHT_AQUA

      public static final Colour LIGHT_AQUA
    • PINKY

      public static final Colour PINKY
    • MAUVE

      public static final Colour MAUVE
    • RED

      public static final Colour RED
    • ORANGE

      public static final Colour ORANGE
    • LAVENDER

      public static final Colour LAVENDER
    • PURPLE

      public static final Colour PURPLE
    • TEAL

      public static final Colour TEAL
    • GREEN

      public static final Colour GREEN
    • MUSTARD

      public static final Colour MUSTARD
    • YELLOW

      public static final Colour YELLOW
    • PINK

      public static final Colour PINK
    • LIGHT_GRAY

      public static final Colour LIGHT_GRAY
    • DARK_GRAY

      public static final Colour DARK_GRAY
    • SLATE

      public static final Colour SLATE
    • SAND

      public static final Colour SAND
  • Method Details

    • values

      public static Colour[] 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 Colour 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
    • getColourNumber

      public String getColourNumber()
      Return the colour number.
      Returns:
      string
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Enum<Colour>
      Returns:
      return string containing the property names and values