Package org.opendaylight.yangtools.yang.model.api

Definition of structures and DOM like API of effected YANG schema

See: Description

Package org.opendaylight.yangtools.yang.model.api Description

Definition of structures and DOM like API of effected YANG schema

This package is structured into following logical units:

YANG Meta model
Meta model of YANG, which defines basic concepts and building blocks of YANG models such as ModelStatement.
YANG Statement model
Concrete java model of YANG statements, which defines basic relationship between statements and represents these statements.
YANG Effective model
Effective model of processed YANG models, which represents semantic interpretation of YANG models and provides convenience views for interpreting models.

YANG Effective model

Effective model statement mapping

anyxml
AnyXmlSchemaNode
argument
ExtensionDefinition.getArgument()
augment
AugmentationSchema
base
IdentityrefTypeDefinition.getIdentity()
belongs-to
bit
BitsTypeDefinition.Bit
BitsTypeDefinition.getBits()
case
ChoiceCaseNode
choice
ChoiceSchemaNode
config
DataSchemaNode.isConfiguration()
contact
Module.getContact()
container
ContainerSchemaNode
default
description
DocumentedNode.getDescription()
ConstraintMetaDefinition.getDescription()
enum
EnumTypeDefinition.EnumPair
EnumTypeDefinition.getValues()
error-app-tag
ConstraintMetaDefinition.getErrorAppTag()
error-message
ConstraintMetaDefinition.getErrorMessage()
extension
ExtensionDefinition
deviation
Deviation
deviate
feature
FeatureDefinition
fraction-digits
DecimalTypeDefinition.getFractionDigits()
grouping
GroupingDefinition
identity
if-feature
import
ModuleImport
include
input
RpcDefinition.getInput()
key
ListSchemaNode.getKeyDefinition()
leaf
LeafSchemaNode
leaf-list
LeafListSchemaNode
length
LengthConstraint
StringTypeDefinition.getLengthConstraints()
list
ListSchemaNode
mandatory
ConstraintDefinition.isMandatory()
max-elements
ConstraintDefinition.getMinElements()
min-elements
ConstraintDefinition.getMaxElements()
module
Module
must
ConstraintDefinition.getMustConstraints()
MustDefinition
namespace
ModuleIdentifier.getNamespace()
notification
NotificationDefinition
ordered-by
ListSchemaNode.isUserOrdered()
LeafListSchemaNode.isUserOrdered()
organization
Module.getOrganization()
output
RpcDefinition.getOutput()
path
LeafrefTypeDefinition.getPathStatement()
pattern
PatternConstraint
StringTypeDefinition
position
BitsTypeDefinition.Bit.getPosition()
prefix
Module.getPrefix()
ModuleImport.getPrefix()
presence
ContainerSchemaNode.isPresenceContainer()
range
RangeConstraint
IntegerTypeDefinition.getRangeConstraints()
UnsignedIntegerTypeDefinition.getRangeConstraints()
reference
DocumentedNode.getReference()
refine
require-instance
InstanceIdentifierTypeDefinition.requireInstance()
revision
ModuleIdentifier.getRevision()
revision-date
ModuleImport.getRevision()
rpc
RpcDefinition
status
DocumentedNode.getStatus()
submodule
type
TypeDefinition
LeafSchemaNode.getType()
LeafListSchemaNode.getType()
typedef
TypeDefinition
unique
units
TypeDefinition.getUnits()
uses
UsesNode
DataNodeContainer.getUses()
value
EnumTypeDefinition.EnumPair.getValue()
when
ConstraintDefinition.getWhenCondition()
yang-version
yin-element
add
current
delete
deprecated
false
max
min
not-supported
obsolete
replace
system
true
unbounded
user

YANG Base Type Mapping

Integer built-in type
IntegerTypeDefinition
Unsigned integer built-in type
UnsignedIntegerTypeDefinition
Decimal64 built-ib type
DecimalTypeDefinition
Boolean built-in type
BooleanTypeDefinition
Enumeration built-in type
EnumTypeDefinition
Bits Built-In Type
BitsTypeDefinition
The binary Built-In Type
BinaryTypeDefinition
The leafref Built-In Type
LeafrefTypeDefinition
The identityref Built-In Type
IdentityrefTypeDefinition
The empty Built-In Type
EmptyTypeDefinition
The union Built-In Type
UnionTypeDefinition
The instance-identifier Built-In Type
InstanceIdentifierTypeDefinition

Copyright © 2017 OpenDaylight. All rights reserved.