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