Class CmsColumnValueConverter

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getColumnClass

        public static java.lang.Class<?> getColumnClass​(CmsDataViewColumn.Type type)
        Gets the actual value class which the given type enum represents.

        Parameters:
        type - the type enum
        Returns:
        the actual value class to use
      • getColumnValue

        public static java.lang.Object getColumnValue​(java.lang.Object value,
                                                      CmsDataViewColumn.Type type)
        Gets the actual column value for the given data value.

        Parameters:
        value - the data value
        type - the column type enum
        Returns:
        the actual column value to use