Class TypeConverterFactoryImpl.PrimitiveTypeConverter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Class clazz  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object backConvert​(java.lang.Object pObject)
      Converts the given object into its generic representation.
      java.lang.Object convert​(java.lang.Object pObject)
      Converts the given object into the required representation.
      boolean isConvertable​(java.lang.Object pObject)
      Returns, whether the TypeConverter is ready to handle the given object.
      • Methods inherited from class java.lang.Object

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

      • clazz

        private final java.lang.Class clazz
    • Constructor Detail

      • PrimitiveTypeConverter

        PrimitiveTypeConverter​(java.lang.Class pClass)
    • Method Detail

      • convert

        public java.lang.Object convert​(java.lang.Object pObject)
        Description copied from interface: TypeConverter
        Converts the given object into the required representation.
        Specified by:
        convert in interface TypeConverter
      • backConvert

        public java.lang.Object backConvert​(java.lang.Object pObject)
        Description copied from interface: TypeConverter
        Converts the given object into its generic representation.
        Specified by:
        backConvert in interface TypeConverter