com.iplanet.jato.model
Interface ExecutingModel

All Superinterfaces:
Model
All Known Subinterfaces:
DeleteQueryModel, DeletingModel, InsertingModel, InsertQueryModel, ModifyingQueryModel, QueryModel, RetrievingDatasetModel, RetrievingModel, SelectQueryModel, SQLModel, StoredProcModel, UpdateQueryModel, UpdatingModel

public interface ExecutingModel
extends Model

Generic model that can be executed to perform an operation. This interface provides the most fundamental abstraction for a model that can be asked to perform an operation. However, executing models can frequently be specialized to advertise the specific types of execution they support.

Version:
JATO/1.2.2 $Id: ExecutingModel.java,v 1.8 2002/03/16 03:26:30 todd Exp $
See Also:
DeletingModel, InsertingModel, RetrievingModel, UpdatingModel

Method Summary
 java.lang.Object execute(ModelExecutionContext context)
          Execute the model.
 
Methods inherited from interface com.iplanet.jato.model.Model
getName, getValue, getValues, setName, setValue, setValues
 

Method Detail

execute

public java.lang.Object execute(ModelExecutionContext context)
                         throws ModelControlException
Execute the model. The execution context may contain an operation name that specifies the particular operation to execute.
Parameters:
context - The execution context that specifies detail information pertinent to the execution of this model
Returns:
An opaque implementation-dependent object encapsulating information related to the execution of this method
Throws:
ModelControlException - Thrown if an error occurs executing the model