public static class HumanName.NameUseEnumFactory extends Object implements EnumFactory<HumanName.NameUse>
| Constructor and Description |
|---|
NameUseEnumFactory() |
| Modifier and Type | Method and Description |
|---|---|
HumanName.NameUse |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
String |
toCode(HumanName.NameUse code)
Get the XML/JSON representation for an enumerated value
|
public HumanName.NameUse fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface IBaseEnumFactory<HumanName.NameUse>fromCode in interface EnumFactory<HumanName.NameUse>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic String toCode(HumanName.NameUse code)
EnumFactorytoCode in interface IBaseEnumFactory<HumanName.NameUse>toCode in interface EnumFactory<HumanName.NameUse>code - - the enumeration valueCopyright © 2014–2015 University Health Network. All rights reserved.