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