public interface CdsAnnotatable
| Modifier and Type | Method and Description |
|---|---|
Stream<CdsAnnotation<?>> |
annotations()
|
static Predicate<CdsAnnotatable> |
byAnnotation(String annotation)
|
<T> Optional<CdsAnnotation<T>> |
findAnnotation(String name)
Returns an
Optional wrapping a CdsAnnotation. |
Stream<CdsAnnotation<?>> annotations()
Stream over the CdsAnnotation(s)<T> Optional<CdsAnnotation<T>> findAnnotation(String name)
Optional wrapping a CdsAnnotation.T - the expected type of the annotation valuename - the name of the CdsAnnotationOptional describing the CdsAnnotation with the
given name, or an empty Optional if there is no
CdsAnnotation with this namestatic Predicate<CdsAnnotatable> byAnnotation(String annotation)
annotation - the name of the CdsAnnotationPredicate filtering by annotationsCopyright © 2020 SAP. All rights reserved.