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