public abstract class NullElementValidator extends Object implements EventHandler
| Constructor and Description |
|---|
NullElementValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
check(com.sap.cds.reflect.CdsElement element)
Returns true, if the element is not allowed to be
null |
boolean |
checkNull(com.sap.cds.reflect.CdsElement element)
Returns true, if the element is not allowed to be
null |
protected abstract boolean |
isNull(Object obj)
Returns true, if the object is considered to be
null |
void |
runCheck(EventContext context) |
@HandlerOrder(value=11100) public void runCheck(EventContext context)
public boolean checkNull(com.sap.cds.reflect.CdsElement element)
nullelement - the element to validatenullprotected abstract boolean check(com.sap.cds.reflect.CdsElement element)
nullelement - the element to validatenullprotected abstract boolean isNull(Object obj)
nullobj - the object to validatenullCopyright © 2021. All rights reserved.