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
    • CORNFLOWER_BLUE

      public static final Colour CORNFLOWER_BLUE
    • BLUE_SKY

      public static final Colour BLUE_SKY
    • LIGHT_BLUE

      public static final Colour LIGHT_BLUE
    • PALE_TURQUOISE

      public static final Colour PALE_TURQUOISE
    • LIGHT_AQUA

      public static final Colour LIGHT_AQUA
    • LIGHT_YELLOW

      public static final Colour LIGHT_YELLOW
    • PINKY

      public static final Colour PINKY
    • DUSKY_ROSE

      public static final Colour DUSKY_ROSE
    • MAUVE

      public static final Colour MAUVE
    • RED

      public static final Colour RED
    • LAVENDER

      public static final Colour LAVENDER
    • PLUM

      public static final Colour PLUM
    • LIGHT_STEEL_BLUE

      public static final Colour LIGHT_STEEL_BLUE
    • PURPLE

      public static final Colour PURPLE
    • TURQUOISE

      public static final Colour TURQUOISE
    • TEAL

      public static final Colour TEAL
    • GREEN

      public static final Colour GREEN
    • LIGHT_GREEN

      public static final Colour LIGHT_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
    • GHOST_WHITE

      public static final Colour GHOST_WHITE
    • POWDER_BLUE

      public static final Colour POWDER_BLUE
    • LIGHT_ORANGE

      public static final Colour LIGHT_ORANGE
    • ORANGE

      public static final Colour ORANGE
    • WHITE_ORANGE

      public static final Colour WHITE_ORANGE
    • PALE_ORANGE

      public static final Colour PALE_ORANGE
  • 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