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