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