Enum WidgetProcessorImpl.WidgetType
- java.lang.Object
-
- java.lang.Enum<WidgetProcessorImpl.WidgetType>
-
- org.intermine.webservice.server.widget.WidgetProcessorImpl.WidgetType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WidgetProcessorImpl.WidgetType>
- Enclosing class:
- WidgetProcessorImpl
public static enum WidgetProcessorImpl.WidgetType extends java.lang.Enum<WidgetProcessorImpl.WidgetType>
Of widget types there are several:
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHART
There is the chart type, that produces data suitable for visual display.ENRICHMENT
There is the enrichment type, that calculates relationship enrichmentTABLE
There is the table type, that produces boring tables of boring data.UNKNOWN
And there is a catch-all type, in case someone goes ahead and creates a new type.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WidgetProcessorImpl.WidgetType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WidgetProcessorImpl.WidgetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENRICHMENT
public static final WidgetProcessorImpl.WidgetType ENRICHMENT
There is the enrichment type, that calculates relationship enrichment
-
CHART
public static final WidgetProcessorImpl.WidgetType CHART
There is the chart type, that produces data suitable for visual display.
-
TABLE
public static final WidgetProcessorImpl.WidgetType TABLE
There is the table type, that produces boring tables of boring data.
-
UNKNOWN
public static final WidgetProcessorImpl.WidgetType UNKNOWN
And there is a catch-all type, in case someone goes ahead and creates a new type.
-
-
Method Detail
-
values
public static WidgetProcessorImpl.WidgetType[] 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 (WidgetProcessorImpl.WidgetType c : WidgetProcessorImpl.WidgetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WidgetProcessorImpl.WidgetType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-