public class ClassAttributeAssignmentStateValidator extends java.lang.Object implements ValidateInterceptor<ClassAttributeAssignmentModel>
| Constructor and Description |
|---|
ClassAttributeAssignmentStateValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
onValidate(ClassAttributeAssignmentModel assignment,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
public ClassAttributeAssignmentStateValidator()
public void onValidate(ClassAttributeAssignmentModel assignment, InterceptorContext ctx) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<ClassAttributeAssignmentModel>assignment - 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.