Interface OverrideChildStatementSupport


@Beta public interface OverrideChildStatementSupport
An additional trait for StatementSupport, allowing a parent statement to override the support for a child statement.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable StatementSupport<?,?,?>
    statementDefinitionOverrideOf(@NonNull org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition childDef)
    Returns unknown statement form of a regular YANG statement supplied as a parameter to the method.
  • Method Details

    • statementDefinitionOverrideOf

      @Nullable StatementSupport<?,?,?> statementDefinitionOverrideOf(@NonNull org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition childDef)
      Returns unknown statement form of a regular YANG statement supplied as a parameter to the method.
      Parameters:
      childDef - statement definition of a regular YANG statement
      Returns:
      Optional of unknown statement form of a regular YANG statement, or null if it should not be overridden.