Class NotNullHandlerDelegate

java.lang.Object
com.sap.cds.services.impl.utils.NotNullHandlerDelegate

public class NotNullHandlerDelegate extends Object
Reused delegate for handlers in a persistence or application services that must ensure that elements must not be null.
  • Constructor Details

    • NotNullHandlerDelegate

      public NotNullHandlerDelegate()
  • Method Details

    • requiresNotNullCheck

      public static Predicate<com.sap.cds.reflect.CdsElement> requiresNotNullCheck()
    • accept

      public void accept(EventContext context, boolean allowMessageCollection)