Package com.axelor.ai.procedure
Class ProcedureInputs
java.lang.Object
com.axelor.ai.procedure.ProcedureInputs
The values a model gives a procedure, checked against what the procedure declares and turned into
the types its expressions read: a date is a
LocalDate, a decimal a BigDecimal, a
reference the record itself. An undeclared input, a missing required one or a value of the wrong
type is refused, never dropped or guessed.-
Method Summary
-
Method Details
-
typed
public static Map<String,Object> typed(Procedure procedure, Map<String, Object> given, Access access) - Parameters:
procedure- the proceduregiven- what the model gave, or nullaccess- what the call may read: a reference names a record the user may read- Returns:
- the inputs by name, typed; absent optional inputs are null
- Throws:
ProcedureException- naming every problem
-