public enum MovieSearchReturnType extends Enum<MovieSearchReturnType>
| Enum Constant and Description |
|---|
MOVIE |
MOVIE_ARTIST |
| Modifier and Type | Method and Description |
|---|---|
String |
getParameterValue() |
static MovieSearchReturnType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MovieSearchReturnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MovieSearchReturnType MOVIE
public static final MovieSearchReturnType MOVIE_ARTIST
public static MovieSearchReturnType[] values()
for (MovieSearchReturnType c : MovieSearchReturnType.values()) System.out.println(c);
public static MovieSearchReturnType 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 getParameterValue()
Copyright © 2018. All rights reserved.