public class EnumerationValidator extends java.lang.Object implements ValidateInterceptor
EnumerationValueModel is dynamic.| Constructor and Description |
|---|
EnumerationValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
onValidate(java.lang.Object model,
InterceptorContext ctx)
Validates if the specified
EnumerationValueModel is dynamic. |
void |
setTypeService(TypeService typeService) |
public void setTypeService(TypeService typeService)
public void onValidate(java.lang.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 © 2018 SAP SE. All Rights Reserved.