Package com.sap.cds.services.impl.cds
Class MandatoryHandler
java.lang.Object
com.sap.cds.services.impl.cds.MandatoryHandler
- All Implemented Interfaces:
EventHandler
Handler class to check mandatory elements Mandatory elements are expected to
be sent by the client If mandatory elements are string based, empty strings
are considered invalid as well
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static Predicate<com.sap.cds.reflect.CdsElement>voidrunCheck(EventContext context)
-
Constructor Details
-
MandatoryHandler
public MandatoryHandler()
-
-
Method Details
-
requiresMandatoryCheck
-
runCheck
-