public static Class<?> getColumnClass(CmsDataViewColumn.Type type) {

        if (type == Type.imageType) {
            return Component.class;
        } else {
            return type.getValueClass();
        }
    }
public static Class < ? > getColumnClass ( CmsDataViewColumn . Type type ) { if ( type == Type . imageType ) { return Component . class ; } else { return type . getValueClass ( ) ; } }
Gets the actual value class which the given type enum represents.<p>

@param type the type enum
@return the actual value class to use