model_default_replace_object_action
The following is a list of properties for the function model_default_replace_object_action
:
Property | Value |
---|---|
brief | Produce a default _AdaptiveAction_ object for an replace object request to a model adaptor. |
category | model |
description | This function returns a _AdaptiveAction_ object for the default action performed if a onReplaceObject parameter is not specified on the associated _AdaptiveModelObjectType_. The action is not performed, but be aware that functions called while producing the _AdaptiveAction_ object may cause side effects. This function can be called as part of a onReplace expression or for testing. |
functionId | model_default_replace_object_action |
functionLabel | model_default_replace_object_action |
parameters | [ { "dataType": "string", "description": "This is the adaptorId of a model adaptor. Variable custom::adaptorId can be used to access this value in model expressions.", "name": "adaptorId" }, { "dataType": "string", "description": "This is the adaptive object type of object being replaced. Variable custom::objectType can be used to access this value in model expressions.", "name": "objectType" }, { "dataType": "string", "description": "The objectId of object to replace. Variable custom::objectId can be used to access this value in model expressions.", "name": "objectId" }, { "dataType": "object", "description": "This is the object to replace. Variable custom::object can be used to access this value in model expressions.", "name": "object" }, { "dataType": "string", "description": "This specifics a modelId of model to use for producing results. If not specified, the adaptor's current model will be used.", "name": "modelId", "optional": true }, { "dataType": "object", "dataTypeParameter": "_AdaptiveContextType_", "description": "This specifies additional context information available to model expressions.", "name": "context", "optional": true } ] |
returns | { "dataType": "object", "dataTypeParameter": "_AdaptiveAction_", "description": "The default action object." } |