public interface CdsDefinition extends CdsAnnotatable
| Modifier and Type | Method and Description |
|---|---|
void |
accept(CdsVisitor visitor)
Accepts a
CdsVisitor visiting the elements of this definition
(depth-first) |
static Predicate<CdsDefinition> |
byNamespace(String namespace)
Returns a
Predicate to filter CdsDefinition(s) that are
inside the given namespace. |
default String |
getName()
Returns the unqualified name of this definition.
|
String |
getQualifiedName()
Returns the fully qualified name of this definition.
|
default String |
getQualifier()
Returns the qualifier part of this definition's qualified name.
|
annotations, byAnnotation, findAnnotationvoid accept(CdsVisitor visitor)
CdsVisitor visiting the elements of this definition
(depth-first)visitor - the CdsVisitorString getQualifiedName()
default String getQualifier()
default String getName()
static Predicate<CdsDefinition> byNamespace(String namespace)
Predicate to filter CdsDefinition(s) that are
inside the given namespace. If the namespace is empty or null, all
definitions match.namespace - the namespace to filter, can be empty or nullPredicate filtering by namespaceCopyright © 2020 SAP. All rights reserved.