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