|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uoc.pfc.j2ee.jalonsod.mtp.helper.ModelMapperImpl
public class ModelMapperImpl
File: ModelMapperImpl.java Created: 2012-04-28 ModelMapper implementation from the framework. The map algorithm is based on the MODEL parameter of the request.
Field Summary | |
---|---|
private static java.util.logging.Logger |
logger
|
static java.lang.String |
MODEL_PARAMETER
|
Constructor Summary | |
---|---|
ModelMapperImpl()
|
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()]. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.util.logging.Logger logger
public static final java.lang.String MODEL_PARAMETER
Constructor Detail |
---|
public ModelMapperImpl()
Method Detail |
---|
public void setRequestModel(RequestDataPrivate requestData) throws MTPException
ModelMapper
setRequestModel
in interface ModelMapper
requestData
- the MTP requestData of the current request.
MTPException
- throws when there is a problem setting the model or creating the model
instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |