Class MessageTargetImpl
java.lang.Object
com.sap.cds.services.impl.messages.MessageTargetImpl
- All Implemented Interfaces:
MessageTarget
-
Field Summary
Fields inherited from interface com.sap.cds.services.messages.MessageTarget
PARAMETER_CQN -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageTargetcreate(com.sap.cds.ql.cqn.Path path, com.sap.cds.reflect.CdsElement element) static MessageTargetstatic <E extends com.sap.cds.ql.StructuredType<E>>
MessageTargetstatic MessageTargetcreate(String parameter, String rootElement, Function<com.sap.cds.ql.StructuredType<?>, Object> path) static MessageTargetcom.sap.cds.ql.cqn.CqnReferencegetRef()
-
Method Details
-
create
public static MessageTarget create(com.sap.cds.ql.cqn.Path path, com.sap.cds.reflect.CdsElement element) -
create
-
create
public static MessageTarget create(String parameter, Function<com.sap.cds.ql.StructuredType<?>, Object> path) -
create
public static MessageTarget create(String parameter, String rootElement, Function<com.sap.cds.ql.StructuredType<?>, Object> path) -
create
public static <E extends com.sap.cds.ql.StructuredType<E>> MessageTarget create(String parameter, Class<E> type, Function<E, Object> path) -
getRef
public com.sap.cds.ql.cqn.CqnReference getRef()- Specified by:
getRefin interfaceMessageTarget
-
getParameter
- Specified by:
getParameterin interfaceMessageTarget
-