public enum PhotoStatus extends Enum<PhotoStatus>
Enum Constant and Description |
---|
isInProduction |
isInReview |
isPublished |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
static PhotoStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhotoStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhotoStatus isInProduction
public static final PhotoStatus isInReview
public static final PhotoStatus isPublished
public static PhotoStatus[] values()
for (PhotoStatus c : PhotoStatus.values()) System.out.println(c);
public static PhotoStatus 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 getDescription()
Copyright © 2007-2021 Universidade Federal do ParanĂ¡ - UFPR. All Rights Reserved.