Uses of Class
org.opendaylight.yangtools.yang.model.api.ElementCountConstraint
-
Packages that use ElementCountConstraint Package Description org.opendaylight.yangtools.yang.model.api Definition of structures and DOM like API of effected YANG schema.org.opendaylight.yangtools.yang.model.ri.stmt org.opendaylight.yangtools.yang.model.ri.stmt.impl.eff org.opendaylight.yangtools.yang.parser.rfc7950.stmt Statement library for YANG version 1 and 1.1, as defined in RFC6020 and RFC7950. -
-
Uses of ElementCountConstraint in org.opendaylight.yangtools.yang.model.api
Methods in org.opendaylight.yangtools.yang.model.api that return ElementCountConstraint Modifier and Type Method Description static @NonNull ElementCountConstraint
ElementCountConstraint. atLeast(int minElements)
static @NonNull ElementCountConstraint
ElementCountConstraint. atMost(int maxElements)
static @NonNull ElementCountConstraint
ElementCountConstraint. inRange(int minElements, int maxElements)
Methods in org.opendaylight.yangtools.yang.model.api that return types with arguments of type ElementCountConstraint Modifier and Type Method Description static @NonNull Optional<ElementCountConstraint>
ElementCountConstraint. forNullable(@Nullable Integer minElements, @Nullable Integer maxElements)
Optional<ElementCountConstraint>
ElementCountConstraintAware. getElementCountConstraint()
Return the constraint on the number of child nodes. -
Uses of ElementCountConstraint in org.opendaylight.yangtools.yang.model.ri.stmt
Methods in org.opendaylight.yangtools.yang.model.ri.stmt with parameters of type ElementCountConstraint Modifier and Type Method Description static LeafListEffectiveStatement
EffectiveStatements. createLeafList(LeafListStatement declared, QName argument, int flags, ImmutableList<? extends EffectiveStatement<?,?>> substatements, ImmutableSet<String> defaultValues, @Nullable ElementCountConstraint elementCountConstraint)
static ListEffectiveStatement
EffectiveStatements. createList(ListStatement declared, QName argument, int flags, ImmutableList<? extends EffectiveStatement<?,?>> substatements, ImmutableList<QName> keyDefinition, @Nullable ElementCountConstraint elementCountConstraint)
-
Uses of ElementCountConstraint in org.opendaylight.yangtools.yang.model.ri.stmt.impl.eff
Methods in org.opendaylight.yangtools.yang.model.ri.stmt.impl.eff that return types with arguments of type ElementCountConstraint Modifier and Type Method Description Optional<ElementCountConstraint>
EmptyLeafListEffectiveStatement. getElementCountConstraint()
Optional<ElementCountConstraint>
EmptyListEffectiveStatement. getElementCountConstraint()
Optional<ElementCountConstraint>
RegularListEffectiveStatement. getElementCountConstraint()
Constructors in org.opendaylight.yangtools.yang.model.ri.stmt.impl.eff with parameters of type ElementCountConstraint Constructor Description RegularLeafListEffectiveStatement(LeafListStatement declared, QName argument, int flags, ImmutableList<? extends EffectiveStatement<?,?>> substatements, ImmutableSet<String> defaults, ElementCountConstraint elementCountConstraint)
RegularListEffectiveStatement(ListStatement declared, QName argument, int flags, ImmutableList<? extends EffectiveStatement<?,?>> substatements, ImmutableList<QName> keyDefinition, ElementCountConstraint elementCountConstraint)
SlimLeafListEffectiveStatement(LeafListStatement declared, QName argument, int flags, ImmutableList<? extends EffectiveStatement<?,?>> substatements, ElementCountConstraint elementCountConstraint)
-
Uses of ElementCountConstraint in org.opendaylight.yangtools.yang.parser.rfc7950.stmt
Methods in org.opendaylight.yangtools.yang.parser.rfc7950.stmt that return types with arguments of type ElementCountConstraint Modifier and Type Method Description static Optional<ElementCountConstraint>
EffectiveStmtUtils. createElementCountConstraint(ImmutableList<? extends EffectiveStatement<?,?>> substatements)
static Optional<ElementCountConstraint>
EffectiveStmtUtils. createElementCountConstraint(EffectiveStatement<?,?> stmt)
-