public interface CdsResourcePath
CdsResourcePath describes the hierarchical structure of a resource along with additional meta information.| Modifier and Type | Method and Description |
|---|---|
com.sap.cds.reflect.CdsDefinition |
getCdsDefinition()
Returns the CDS model element attached to the resource
|
String |
getPath()
The path including the resource's base path.
|
default <T extends com.sap.cds.reflect.CdsDefinition> |
hasType(Class<T> clazz)
Checks if the referred
CdsDefinition given with getCdsDefinition() is of given type. |
boolean |
isPublic()
If
true, the endpoint should be exposed to public, i.e. |
Stream<String> |
publicEvents()
A
Stream of events that are public even if isPublic()==false. |
Stream<CdsResourcePath> |
subPaths()
A
Stream of child paths. |
String getPath()
boolean isPublic()
true, the endpoint should be exposed to public, i.e. without authenticationtrue if publicStream<String> publicEvents()
Stream of events that are public even if isPublic()==false.Stream<CdsResourcePath> subPaths()
Stream of child paths.com.sap.cds.reflect.CdsDefinition getCdsDefinition()
default <T extends com.sap.cds.reflect.CdsDefinition> boolean hasType(Class<T> clazz)
CdsDefinition given with getCdsDefinition() is of given type.T - The type parameterclazz - The type to be checkedtrue if the type matches the referred objectCopyright © 2023. All rights reserved.