public enum BuildingNumber extends Enum<BuildingNumber>
Java class for BuildingNumber.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="BuildingNumber">
<restriction base="{urn:hl7-org:v3}cs">
<enumeration value="BNR"/>
<enumeration value="BNN"/>
<enumeration value="BNS"/>
<enumeration value="POB"/>
</restriction>
</simpleType>
| Modifier and Type | Method and Description |
|---|---|
static BuildingNumber |
fromValue(String v) |
String |
value() |
static BuildingNumber |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildingNumber[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildingNumber BNR
public static final BuildingNumber BNN
public static final BuildingNumber BNS
public static final BuildingNumber POB
public static BuildingNumber[] values()
for (BuildingNumber c : BuildingNumber.values()) System.out.println(c);
public static BuildingNumber 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 value()
public static BuildingNumber fromValue(String v)
Copyright © 2021. All rights reserved.