public enum HealthcareType extends Enum<HealthcareType>
Enum Constant and Description |
---|
CLINIC |
DENTAL |
HEALTHCARE |
PRESCRIPTION |
VISION |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
static HealthcareType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthcareType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HealthcareType HEALTHCARE
public static final HealthcareType PRESCRIPTION
public static final HealthcareType VISION
public static final HealthcareType CLINIC
public static final HealthcareType DENTAL
public static HealthcareType[] values()
for (HealthcareType c : HealthcareType.values()) System.out.println(c);
public static HealthcareType 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 getCode()
Copyright © 2022 BlockChyp, Inc.. All rights reserved.