Class DeviceMetricColor

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class DeviceMetricColor
    extends Code
    • Field Detail

      • BLACK

        public static final DeviceMetricColor BLACK
        Color Black

        Color for representation - black.

      • RED

        public static final DeviceMetricColor RED
        Color Red

        Color for representation - red.

      • GREEN

        public static final DeviceMetricColor GREEN
        Color Green

        Color for representation - green.

      • YELLOW

        public static final DeviceMetricColor YELLOW
        Color Yellow

        Color for representation - yellow.

      • BLUE

        public static final DeviceMetricColor BLUE
        Color Blue

        Color for representation - blue.

      • MAGENTA

        public static final DeviceMetricColor MAGENTA
        Color Magenta

        Color for representation - magenta.

      • CYAN

        public static final DeviceMetricColor CYAN
        Color Cyan

        Color for representation - cyan.

      • WHITE

        public static final DeviceMetricColor WHITE
        Color White

        Color for representation - white.

    • Method Detail

      • of

        public static DeviceMetricColor of​(String value)
        Factory method for creating DeviceMetricColor objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating DeviceMetricColor objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating DeviceMetricColor objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code