public class TypeConstraintPreparer extends Object implements PrepareInterceptor
TypeConstraintModel. If AbstractConstraintModel.TYPE is set the
AbstractConstraintModel.TARGET will be overwritten accordingly.| Constructor and Description |
|---|
TypeConstraintPreparer() |
| Modifier and Type | Method and Description |
|---|---|
void |
onPrepare(Object model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setModelService(ModelService modelService) |
public void onPrepare(Object model, InterceptorContext ctx) throws InterceptorException
PrepareInterceptormodelService.saveAll() method. Prepares the values of the given model.onPrepare in interface PrepareInterceptormodel - the model which values has to be preparedctx - the InterceptorContextInterceptorException - if an error occured during the preparationpublic void setModelService(ModelService modelService)
Copyright © 2017 SAP SE. All Rights Reserved.