Package | Description |
---|---|
org.opendaylight.yangtools.yang.model.api |
Definition of structures and DOM like API of effected YANG schema
|
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.
|
org.opendaylight.yangtools.yang.parser.rfc7950.stmt.length | |
org.opendaylight.yangtools.yang.parser.rfc7950.stmt.range |
Modifier and Type | Interface and 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)";
|
Modifier and Type | Interface and 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 YANG
pattern which is substatement
of type 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.
|
Modifier and Type | Method and 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) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractConstraintEffectiveStatement<A,D extends DeclaredStatement<A>> |
class |
AbstractListConstraintEffectiveStatement<T,D extends DeclaredStatement<List<T>>> |
Modifier and Type | Class and Description |
---|---|
class |
LengthEffectiveStatementImpl |
Modifier and Type | Class and Description |
---|---|
class |
RangeEffectiveStatementImpl |
Copyright © 2019 OpenDaylight. All rights reserved.