Annotation Type Convert


  • @Retention(SOURCE)
    @Target(FIELD)
    public @interface Convert
    Specifies PropertyConverter for the field to support custom types
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class columnType
      Class of the column which can be persisted in DB.
      java.lang.Class<? extends PropertyConverter> converter
      Converter class
    • Element Detail

      • columnType

        java.lang.Class columnType
        Class of the column which can be persisted in DB. This is limited to all java classes which are supported natively by greenDAO.