Interface EffectiveStatementMixins.MustConstraintMixin<A,D extends DeclaredStatement<A>>

Type Parameters:
A - Argument type (Empty if statement does not have argument.)
D - Class representing declared version of this statement.
All Superinterfaces:
EffectiveStatement<A,D>, ModelStatement<A>, MustConstraintAware
All Known Subinterfaces:
EffectiveStatementMixins.OpaqueDataSchemaNodeMixin<D>, EffectiveStatementMixins.OperationContainerMixin<D>
All Known Implementing Classes:
AbstractContainerEffectiveStatement, AbstractLeafEffectiveStatement, DeclaredCaseEffectiveStatement, DeclaredInputEffectiveStatement, DeclaredOutputEffectiveStatement, EmptyAnydataEffectiveStatement, EmptyAnyxmlEffectiveStatement, EmptyContainerEffectiveStatement, EmptyLeafEffectiveStatement, EmptyLeafListEffectiveStatement, EmptyListEffectiveStatement, NotificationEffectiveStatementImpl, RegularAnydataEffectiveStatement, RegularAnyxmlEffectiveStatement, RegularContainerEffectiveStatement, RegularLeafEffectiveStatement, RegularLeafListEffectiveStatement, RegularListEffectiveStatement, SlimLeafListEffectiveStatement, UndeclaredCaseEffectiveStatement, UndeclaredInputEffectiveStatement, UndeclaredLeafEffectiveStatement, UndeclaredOutputEffectiveStatement
Enclosing class:
EffectiveStatementMixins

public static interface EffectiveStatementMixins.MustConstraintMixin<A,D extends DeclaredStatement<A>> extends MustConstraintAware
  • Method Details

    • getMustConstraints

      default Collection<? extends @NonNull MustDefinition> getMustConstraints()
      Description copied from interface: MustConstraintAware
      Specifies the rules which the node which contains must YANG substatement has to match.
      Specified by:
      getMustConstraints in interface MustConstraintAware
      Returns:
      collection of MustDefinition (XPath) instances which represents the concrete data constraints
    • filterEffectiveStatements

      default <T> @NonNull Collection<? extends @NonNull T> filterEffectiveStatements(Class<T> type)