Class NullPrimitiveValueHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object convert​(TypeAttributeDescriptor attribute, java.lang.Object value)
      Converts primitive value to a format that is accepted by the model service.
      • Methods inherited from class java.lang.Object

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

      • NullPrimitiveValueHandler

        public NullPrimitiveValueHandler()
    • Method Detail

      • convert

        public java.lang.Object convert​(TypeAttributeDescriptor attribute,
                                        java.lang.Object value)
        Description copied from interface: PrimitiveValueHandler
        Converts primitive value to a format that is accepted by the model service.
        Specified by:
        convert in interface PrimitiveValueHandler
        Parameters:
        attribute - the attribute that contains the value
        value - value to be converted
        Returns:
        the converted value