Enum ViewerResponse.KindEnum
- java.lang.Object
-
- java.lang.Enum<ViewerResponse.KindEnum>
-
- nl.b3p.tailormap.api.viewer.model.ViewerResponse.KindEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ViewerResponse.KindEnum>
- Enclosing class:
- ViewerResponse
public static enum ViewerResponse.KindEnum extends Enum<ViewerResponse.KindEnum>
Kind of viewer; a 'service' viewer has layers from a single service combined with a base viewer. A 'viewer' has content configured from various services.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ViewerResponse.KindEnumfromValue(String value)StringgetValue()StringtoString()static ViewerResponse.KindEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ViewerResponse.KindEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVICE
public static final ViewerResponse.KindEnum SERVICE
-
APP
public static final ViewerResponse.KindEnum APP
-
-
Method Detail
-
values
public static ViewerResponse.KindEnum[] 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 (ViewerResponse.KindEnum c : ViewerResponse.KindEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ViewerResponse.KindEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<ViewerResponse.KindEnum>
-
fromValue
public static ViewerResponse.KindEnum fromValue(String value)
-
-