public class EnumerationValidator extends Object implements ValidateInterceptor
EnumerationValueModel is dynamic.| Constructor and Description |
|---|
EnumerationValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
onValidate(Object model,
InterceptorContext ctx)
Validates if the specified
EnumerationValueModel is dynamic. |
void |
setTypeService(TypeService typeService) |
public void setTypeService(TypeService typeService)
public void onValidate(Object model, InterceptorContext ctx) throws InterceptorException
EnumerationValueModel is dynamic. If yes - an Exception will be thrown.onValidate in interface ValidateInterceptormodel - the model which values has to be validatedctx - the InterceptorContextInterceptorException - if any values of the model are not valid.Copyright © 2017 SAP SE. All Rights Reserved.