Interface AnnotationSchemaNodeAware
-
- All Known Subinterfaces:
AnnotationSchemaNodeAwareSchemaContext
@Beta public interface AnnotationSchemaNodeAwareInterface for entities which can lookupAnnotationSchemaNodes based on their name.- Author:
- Robert Varga
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull Optional<AnnotationSchemaNode>findAnnotation(org.opendaylight.yangtools.yang.common.QName qname)Find an annotation based on its QName.
-
-
-
Method Detail
-
findAnnotation
@NonNull Optional<AnnotationSchemaNode> findAnnotation(org.opendaylight.yangtools.yang.common.QName qname)
Find an annotation based on its QName.- Parameters:
qname- Annotation name- Returns:
- AnnotationSchemaNode if found
- Throws:
NullPointerException- ifqnameis null
-
-