public enum ServiceCode extends Enum<ServiceCode> implements INumericConstant
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static ServiceCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceCode Self
public static final ServiceCode Full
public static final ServiceCode Other
public static ServiceCode[] values()
for (ServiceCode c : ServiceCode.values()) System.out.println(c);
public static ServiceCode 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 int getValue()
getValue in interface INumericConstantCopyright © 2024. All rights reserved.