autoCast
Returns
Arguments
Key
Type
Required
Default
Description
Examples
baseService.autoCast( "User", "createdDate", arguments.myDate );Last updated
Was this helpful?
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.
This function returns the value casted to the right Java type
entity
string
Yes
The entity name or entity object
propertyName
string
Yes
The property name
value
any
Yes
The property value
baseService.autoCast( "User", "createdDate", arguments.myDate );Last updated
Was this helpful?
Was this helpful?