Class FieldUtils


  • public class FieldUtils
    extends Object
    A helper class for field objects.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • FieldUtils

        public FieldUtils()
    • Method Detail

      • fixClass

        public static Field fixClass​(FieldType type,
                                     AbstractField field)
        Creates a field object with the correct class.
        Parameters:
        type - the type of field to create
        field - the field to fix
        Returns:
        the fixed field
      • fixClass

        public static Field[] fixClass​(FieldType type,
                                       AbstractField[] fields)
        Creates an array with the correct class.
        Parameters:
        type - the type of field to create
        fields - the array to fix
        Returns:
        the fixed array
        See Also:
        #m_FieldType