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