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