Class Converter

java.lang.Object
net.ideahut.springboot.converter.Converter

public abstract class Converter extends Object
  • Field Details

    • mapper

      protected static final DataMapper mapper
  • Constructor Details

    • Converter

      protected Converter()
    • Converter

      protected Converter(Class<?> type, Object... args)
  • Method Details

    • getType

      public Class<?> getType()
    • getHibernateType

      public abstract org.hibernate.type.Type getHibernateType()
    • valueOf

      protected abstract Object valueOf(Object value)
    • isSupported

      protected abstract boolean isSupported(Class<?> type)
    • nullValue

      protected abstract Object nullValue()
    • newInstance

      protected abstract Converter newInstance(Class<?> type, Object... args)
    • convert

      public Object convert(Object value)
    • of

      public static Converter of(Class<?> type, Object... args)
    • isEqual

      protected static void isEqual(Class<?> base, Class<?> type)
    • isEntity

      public static boolean isEntity(Converter converter)
    • isCollection

      public static boolean isCollection(Converter converter)
    • isByteArray

      public static boolean isByteArray(Converter converter)
    • isEnum

      public static boolean isEnum(Converter converter)