Skip navigation links

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
SubmoduleStatement.getBelongsTo()
bit
BitsTypeDefinition.Bit
BitsTypeDefinition.getBits()
case
ChoiceCaseNode
choice
ChoiceSchemaNode
config
DataSchemaNode.isConfiguration()
contact
Module.getContact()
container
ContainerSchemaNode
default
LeafSchemaNode.getDefault()
description
DocumentedNode.getDescription()
ConstraintMetaDefinition.getDescription()
enum
EnumTypeDefinition.EnumPair
EnumTypeDefinition.getValues()
error-app-tag
ConstraintMetaDefinition.getErrorAppTag()
error-message
ConstraintMetaDefinition.getErrorMessage()
extension
ExtensionDefinition
deviation
Deviation
deviate
DeviateKind
feature
FeatureDefinition
fraction-digits
DecimalTypeDefinition.getFractionDigits()
grouping
GroupingDefinition
identity
IdentitySchemaNode
if-feature
IfFeatureStatement
import
ModuleImport
include
IncludeStatement
input
OperationDefinition.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
OperationDefinition.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
RefineStatement
require-instance
RequireInstanceRestrictedTypeDefinition.requireInstance()
revision
ModuleIdentifier.getRevision()
revision-date
ModuleImport.getRevision()
rpc
RpcDefinition
status
DocumentedNode.WithStatus.getStatus()
submodule
SubmoduleStatement
type
TypeDefinition
TypedSchemaNode.getType()
TypedSchemaNode.getType()
typedef
TypeDefinition
unique
UniqueConstraint
units
TypeDefinition.getUnits()
uses
UsesNode
DataNodeContainer.getUses()
value
EnumTypeDefinition.EnumPair.getValue()
when
ConstraintDefinition.getWhenCondition()
yang-version
Module.getYangVersion()
yin-element
ExtensionDefinition.isYinElement()
add
DeviateKind.ADD
current
Status.CURRENT
delete
DeviateKind.DELETE
deprecated
Status.DEPRECATED
false
Boolean.FALSE
max
Not exposed
min
Not exposed
not-supported
DeviateKind.NOT_SUPPORTED
obsolete
Status.OBSOLETE
replace
DeviateKind.REPLACE
system
ListSchemaNode.isUserOrdered()
true
Boolean.TRUE
unbounded
Not exposed
user
ListSchemaNode.isUserOrdered()

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
Skip navigation links

Copyright © 2018 OpenDaylight. All rights reserved.