Interface Converter<TC,​FC extends Field<TC>>


public interface Converter<TC,​FC extends Field<TC>>
Converts between one scripting Field type and another, FC, with a different underlying value type, TC.
  • Method Details

    • convert

      FC convert(Field<?> sourceField)
      Convert sourceField to a new field-type. Conversions come from user scripts so covert may be called on a Field's own type.
    • getFieldClass

      Class<FC> getFieldClass()
      The destination Field class.
    • getTargetClass

      Class<TC> getTargetClass()
      The target value type.