public final class CmsColumnValueConverter extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.Class<?> |
getColumnClass(CmsDataViewColumn.Type type)
Gets the actual value class which the given type enum represents.
|
static java.lang.Object |
getColumnValue(java.lang.Object value,
CmsDataViewColumn.Type type)
Gets the actual column value for the given data value.
|
public static java.lang.Class<?> getColumnClass(CmsDataViewColumn.Type type)
type
- the type enumpublic static java.lang.Object getColumnValue(java.lang.Object value, CmsDataViewColumn.Type type)
value
- the data valuetype
- the column type enum