public enum ArtType extends Enum<ArtType>
Modifier and Type | Method and Description |
---|---|
static ArtType |
fromValue(String value) |
String |
value() |
static ArtType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArtType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArtType ACTOR
public static final ArtType DIRECTOR
public static final ArtType AUTHOR
public static final ArtType PAINTER
public static ArtType[] values()
for (ArtType c : ArtType.values()) System.out.println(c);
public static ArtType 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 value()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.