public enum AnimalSpeciesEnum extends Enum<AnimalSpeciesEnum>
| Enum Constant and Description |
|---|
DOG
Display: Dog
Code Value: canislf Canis lupus familiaris |
DOMESTIC_CANARY
Display: Domestic Canary
Code Value: serinuscd Serinus canaria domestica |
SHEEP
Display: Sheep
Code Value: ovisa Ovis aries |
| Modifier and Type | Field and Description |
|---|---|
static IValueSetEnumBinder<AnimalSpeciesEnum> |
VALUESET_BINDER
Converts codes to their respective enumerated values
|
static String |
VALUESET_IDENTIFIER
Identifier for this Value Set:
|
static String |
VALUESET_NAME
Name for this Value Set:
AnimalSpecies
|
| Modifier and Type | Method and Description |
|---|---|
static AnimalSpeciesEnum |
forCode(String theCode)
Returns the enumerated value associated with this code
|
String |
getCode()
Returns the code associated with this enumerated value
|
String |
getSystem()
Returns the code system associated with this enumerated value
|
static AnimalSpeciesEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnimalSpeciesEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnimalSpeciesEnum DOG
public static final AnimalSpeciesEnum SHEEP
public static final AnimalSpeciesEnum DOMESTIC_CANARY
public static final String VALUESET_IDENTIFIER
public static final String VALUESET_NAME
public static final IValueSetEnumBinder<AnimalSpeciesEnum> VALUESET_BINDER
public static AnimalSpeciesEnum[] values()
for (AnimalSpeciesEnum c : AnimalSpeciesEnum.values()) System.out.println(c);
public static AnimalSpeciesEnum 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 static AnimalSpeciesEnum forCode(String theCode)
Copyright © 2014–2016 University Health Network. All rights reserved.