edu.uoc.pfc.j2ee.jalonsod.mtp.helper
Interface ModelMapper
- All Known Implementing Classes:
- ModelMapperImpl
public interface ModelMapper
File: ModelMapper.java
Created: 2012-04-28
Interface of model mapper. User supplied model mappers must implement this interface.
- Author:
- José Alonso de Motta
Method Summary |
void |
setRequestModel(RequestDataPrivate requestData)
Sets into the requestData the model metadata object [setModel()] and creates the instance of
the application model class [setModelInstance()]. |
setRequestModel
void setRequestModel(RequestDataPrivate requestData)
throws MTPException
- Sets into the requestData the model metadata object [setModel()] and creates the instance of
the application model class [setModelInstance()].
After the execution of this method, the model and the modelInstance attributes of the
requestData object have been set.
- Parameters:
requestData
- the MTP requestData of the current request.
- Throws:
MTPException
- throws when there is a problem setting the model or creating the model
instance.