public static enum SearchResultDTO.TypeEnum extends Enum<SearchResultDTO.TypeEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchResultDTO.TypeEnum.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static SearchResultDTO.TypeEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static SearchResultDTO.TypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchResultDTO.TypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchResultDTO.TypeEnum DOC
public static final SearchResultDTO.TypeEnum API
public static SearchResultDTO.TypeEnum[] values()
for (SearchResultDTO.TypeEnum c : SearchResultDTO.TypeEnum.values()) System.out.println(c);
public static SearchResultDTO.TypeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<SearchResultDTO.TypeEnum>public static SearchResultDTO.TypeEnum fromValue(String value)
Copyright © 2021 WSO2 Inc. All rights reserved.