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
|
String |
toCode(ContactPoint.ContactPointUse code)
Get the XML/JSON representation for an enumerated value
|
public ContactPoint.ContactPointUse fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface IBaseEnumFactory<ContactPoint.ContactPointUse>fromCode in interface EnumFactory<ContactPoint.ContactPointUse>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic String toCode(ContactPoint.ContactPointUse code)
EnumFactorytoCode in interface IBaseEnumFactory<ContactPoint.ContactPointUse>toCode in interface EnumFactory<ContactPoint.ContactPointUse>code - - the enumeration valueCopyright © 2014–2015 University Health Network. All rights reserved.