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