Enum DashboardWidgetDataFieldTypeType
- java.lang.Object
-
- java.lang.Enum<DashboardWidgetDataFieldTypeType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.DashboardWidgetDataFieldTypeType
-
- All Implemented Interfaces:
Serializable
,Comparable<DashboardWidgetDataFieldTypeType>
public enum DashboardWidgetDataFieldTypeType extends Enum<DashboardWidgetDataFieldTypeType>
Java class for DashboardWidgetDataFieldTypeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DashboardWidgetDataFieldTypeType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="value"/> <enumeration value="unit"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DashboardWidgetDataFieldTypeType
fromValue(String v)
String
value()
static DashboardWidgetDataFieldTypeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DashboardWidgetDataFieldTypeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALUE
public static final DashboardWidgetDataFieldTypeType VALUE
Field that display the value. This is usually the main field of the widget (perhaps except label field). This field typicaly contains<?xml version="1.0" encoding="UTF-8"?><b xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema">the</b>
value to be displayed. Examples: 12345, 50%, 123.45, running, suspended
-
UNIT
public static final DashboardWidgetDataFieldTypeType UNIT
Unit field. This is usually displayed right after or below value. But it may have different style, e.g. smaller font. Examples: requests, hits/second, km/h, resources up, tasks running
-
-
Method Detail
-
values
public static DashboardWidgetDataFieldTypeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DashboardWidgetDataFieldTypeType c : DashboardWidgetDataFieldTypeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DashboardWidgetDataFieldTypeType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static DashboardWidgetDataFieldTypeType fromValue(String v)
-
-