Uses of Interface
org.opendaylight.yangtools.yang.model.api.ConstraintMetaDefinition
-
Packages that use ConstraintMetaDefinition Package Description org.opendaylight.yangtools.yang.data.api.codec org.opendaylight.yangtools.yang.model.api Definition of structures and DOM like API of effected YANG schema.org.opendaylight.yangtools.yang.model.api.stmt org.opendaylight.yangtools.yang.model.api.type org.opendaylight.yangtools.yang.model.util.type org.opendaylight.yangtools.yang.parser.rfc7950.stmt Statement library for YANG version 1 and 1.1, as defined in RFC6020 and RFC7950. -
-
Uses of ConstraintMetaDefinition in org.opendaylight.yangtools.yang.data.api.codec
Constructors in org.opendaylight.yangtools.yang.data.api.codec with parameters of type ConstraintMetaDefinition Constructor Description YangInvalidValueException(RpcError.ErrorType errorType, ConstraintMetaDefinition constraint, String message)
-
Uses of ConstraintMetaDefinition in org.opendaylight.yangtools.yang.model.api
Subinterfaces of ConstraintMetaDefinition in org.opendaylight.yangtools.yang.model.api Modifier and Type Interface Description interface
MustDefinition
Contains methods for accessing constraint declaration for valid data in form of XPath expressions.
YANG example:
must "ifType != 'ethernet' or (ifType = 'ethernet' and ifMTU = 1500)";
-
Uses of ConstraintMetaDefinition in org.opendaylight.yangtools.yang.model.api.stmt
Subinterfaces of ConstraintMetaDefinition in org.opendaylight.yangtools.yang.model.api.stmt Modifier and Type Interface Description interface
LengthEffectiveStatement
interface
PatternEffectiveStatement
interface
RangeEffectiveStatement
-
Uses of ConstraintMetaDefinition in org.opendaylight.yangtools.yang.model.api.type
Subinterfaces of ConstraintMetaDefinition in org.opendaylight.yangtools.yang.model.api.type Modifier and Type Interface Description interface
LengthConstraint
A single value length restriction, as expressed by a length statement, as specified by [RFC-6020] The length Statement.interface
PatternConstraint
Contains the method for getting the data from the YANGpattern
which is substatement oftype
statement.interface
RangeConstraint<T extends Number & Comparable<T>>
A single value range restriction, as expressed by a range statement, as specified by [RFC-6020] The range Statement. -
Uses of ConstraintMetaDefinition in org.opendaylight.yangtools.yang.model.util.type
Methods in org.opendaylight.yangtools.yang.model.util.type with parameters of type ConstraintMetaDefinition Modifier and Type Method Description void
LengthRestrictedTypeBuilder. setLengthConstraint(@NonNull ConstraintMetaDefinition constraint, @NonNull List<ValueRange> ranges)
Set a new length constraint.void
RangeRestrictedTypeBuilder. setRangeConstraint(@NonNull ConstraintMetaDefinition constraint, @NonNull List<ValueRange> ranges)
-
Uses of ConstraintMetaDefinition in org.opendaylight.yangtools.yang.parser.rfc7950.stmt
Subinterfaces of ConstraintMetaDefinition in org.opendaylight.yangtools.yang.parser.rfc7950.stmt Modifier and Type Interface Description static interface
EffectiveStatementMixins.ConstraintMetaDefinitionMixin<A,D extends DeclaredStatement<A>>
Bridge betweenEffectiveStatementMixins.EffectiveStatementWithFlags
andConstraintMetaDefinition
.
-