autoCast

This method allows you to cast any value to the appropriate type in Java for the property passed in. The entity argument can be the entity name or an entity object.

Returns

  • This function returns the value casted to the right Java type

Arguments

Examples

baseService.autoCast( "User", "createdDate", arguments.myDate );

Last updated