public class AdapterHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AdapterHelper.EnumHelper |
Constructor and Description |
---|
AdapterHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Class |
getEnumClass(java.lang.Class concreteClass,
java.lang.String enumName)
Get an enum value from the specified model object implementation, given the enum name and the
enum value name.
|
static java.lang.Enum |
getEnumValue(java.lang.Class concreteClass,
java.lang.String enumName,
java.lang.String enumValueName)
Get an enum value from the specified model object implementation, given the enum name and the
enum value name.
|
public static java.lang.Enum getEnumValue(java.lang.Class concreteClass, java.lang.String enumName, java.lang.String enumValueName)
concreteModelObj
- The model object.enumName
- The name of the enum, owned by the model object.enumValueName
- The name of the enum value.public static java.lang.Class getEnumClass(java.lang.Class concreteClass, java.lang.String enumName)
concreteModelObj
- The model object.enumName
- The name of the enum, owned by the model object.enumValueName
- The name of the enum value.