com.iplanet.jato.model
Class ModelExecutionContextBase

java.lang.Object
  |
  +--com.iplanet.jato.model.ModelExecutionContextBase
All Implemented Interfaces:
ModelExecutionContext
Direct Known Subclasses:
DatasetModelExecutionContextImpl, ModifyingQueryExecutionContext

public class ModelExecutionContextBase
extends java.lang.Object
implements ModelExecutionContext

A basic implementation of the ModelExecutionContext interface. In some cases, this implementation may be used directly if nothing more than an operation name is required by an executing model. Otherwise, this class can serve as the base class for more complex execution context subclasses.

Version:
JATO/1.2.2 $Id: ModelExecutionContextBase.java,v 1.5 2002/03/16 03:26:31 todd Exp $

Fields inherited from interface com.iplanet.jato.model.ModelExecutionContext
OPERATION_DELETE, OPERATION_EXECUTE, OPERATION_INSERT, OPERATION_RETRIEVE, OPERATION_UPDATE
 
Constructor Summary
ModelExecutionContextBase()
          Default constructor
ModelExecutionContextBase(java.lang.String operationName)
          Construct an object with the specified operation name
 
Method Summary
 java.lang.String getOperationName()
          Return the name of the operation that should be performed.
protected  void setOperationName(java.lang.String value)
          Sets the operation name reported by this instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelExecutionContextBase

public ModelExecutionContextBase()
Default constructor

ModelExecutionContextBase

public ModelExecutionContextBase(java.lang.String operationName)
Construct an object with the specified operation name
Method Detail

getOperationName

public java.lang.String getOperationName()
Description copied from interface: ModelExecutionContext
Return the name of the operation that should be performed. In general, if an execution context is provided to an executing model's execute() method, this method must return an operation name appropriate to that model (though some models may use different semantics).
Specified by:
getOperationName in interface ModelExecutionContext
Following copied from interface: com.iplanet.jato.model.ModelExecutionContext
Returns:
The name of the operation to perform

setOperationName

protected void setOperationName(java.lang.String value)
Sets the operation name reported by this instance