Message.Severity| Constructor and Description |
|---|
MessageImpl(Message.Severity severity,
String message) |
| Modifier and Type | Method and Description |
|---|---|
Message |
code(String code) |
String |
getCode() |
String |
getLongTextUrl() |
String |
getMessage() |
Message.Severity |
getSeverity() |
MessageTarget |
getTarget() |
Message |
longTextUrl(String longTextUrl) |
<E extends com.sap.cds.ql.StructuredType<E>> |
target(Class<E> type,
Function<E,Object> path) |
Message |
target(Function<com.sap.cds.ql.StructuredType<?>,Object> path) |
Message |
target(com.sap.cds.ql.cqn.Path path,
com.sap.cds.reflect.CdsElement element) |
Message |
target(String target) |
<E extends com.sap.cds.ql.StructuredType<E>> |
target(String parameter,
Class<E> type,
Function<E,Object> path) |
Message |
target(String parameter,
Function<com.sap.cds.ql.StructuredType<?>,Object> path) |
Message |
target(String prefix,
String entity,
Function<com.sap.cds.ql.StructuredType<?>,Object> path) |
public MessageImpl(Message.Severity severity, String message)
public String getMessage()
getMessage in interface Messagepublic Message.Severity getSeverity()
getSeverity in interface Messagepublic MessageTarget getTarget()
public String getLongTextUrl()
getLongTextUrl in interface Messagepublic Message longTextUrl(String longTextUrl)
longTextUrl in interface Messagepublic Message target(String parameter, Function<com.sap.cds.ql.StructuredType<?>,Object> path)
public Message target(String prefix, String entity, Function<com.sap.cds.ql.StructuredType<?>,Object> path)
public <E extends com.sap.cds.ql.StructuredType<E>> Message target(Class<E> type, Function<E,Object> path)
public <E extends com.sap.cds.ql.StructuredType<E>> Message target(String parameter, Class<E> type, Function<E,Object> path)
Copyright © 2021. All rights reserved.