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