public enum AdvertisementStatus extends Enum<AdvertisementStatus>
| Enum Constant and Description |
|---|
ACTIVE |
CANCELLED |
INACTIVE |
WORKFLOW_IN_PROGRESS |
| Modifier and Type | Method and Description |
|---|---|
static AdvertisementStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdvertisementStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdvertisementStatus ACTIVE
public static final AdvertisementStatus INACTIVE
public static final AdvertisementStatus CANCELLED
public static final AdvertisementStatus WORKFLOW_IN_PROGRESS
public static AdvertisementStatus[] values()
for (AdvertisementStatus c : AdvertisementStatus.values()) System.out.println(c);
public static AdvertisementStatus 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 nullCopyright © 2015–2016 eGovernments Foundation. All rights reserved.