C H A P T E R  25

Custom Model

Custom Model extensible components support developers who need to create completely new and arbitrary model implementations. While it has always been possible to code a new model implementation manually, using custom models, one may have the new model and its fields and operations exposed in the IDE, automatically. The custom model provides little existing infrastructure and no storage for model data. The custom model is a solution for the developer who would have previously coded a new model from scratch by minimally implementing the Model interface.

Property Name

Description

Notes

Default Operation Name

The operation which may be invoked when an operation name is not specified in the ModelExecutionContext parameter of the execute() method. Please note that the execute() method implementation of the new model must be provided by the developer. If the developer chooses to disable or omit execute() behavior for their new model then this property will have no purpose. In short, use of this property is at the discretion of the component author.

 

Name

The class name of the component.

Req


Fields

Property Name

Description

Notes

Field Class

Class type of the field (String, Integer, Boolean, etc.) which may be leveraged by the developer coding the model implementation.

 

Name

The logical name of the model field.

Req


Operations

Property Name

Description

Notes

Name

The model operation name.

Req