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