Uses of Class
org.opendaylight.yangtools.yang.common.Revision
Package
Description
Common YANG concepts and constants expressed in terms of Java.
Definition of structures and DOM like API of effected YANG schema.
Utility classes and implementations for concepts defined in yang-model-api.
Package holding wiring towards
RFC7950Reactors
, or
more broadly towards the reactor implementation.Provides base abstract classes, interfaces and common implementation used by the statement parser.
-
Uses of Revision in org.opendaylight.yangtools.yang.common
Modifier and TypeFieldDescriptionstatic final Revision
Revision.MAX_VALUE
Revision which compares as greater than any other valid revision.Modifier and TypeMethodDescriptionQName.getRevision()
Returns revision of the YANG module if the module has defined revision.QNameModule.getRevision()
Returns the revision date for the module.Revision.ofNullable
(@Nullable String str) Parse a (potentially null) revision string.Modifier and TypeMethodDescriptionstatic int
Compare two explicitly nullable Revisions.int
static @NonNull QName
Creates new QName.static @NonNull QName
QName.create
(XMLNamespace namespace, @Nullable Revision revision, String localName) Creates new QName.static @NonNull QNameModule
QNameModule.create
(XMLNamespace namespace, @Nullable Revision revision) Create a new QName module instance with specified namespace/revision.Modifier and TypeMethodDescriptionstatic int
Compare twoOptional
s wrapping Revisions.static @NonNull QName
QName.create
(XMLNamespace namespace, Optional<Revision> revision, String localName) Creates new QName.static @NonNull QNameModule
QNameModule.create
(XMLNamespace namespace, Optional<Revision> revision) Create a new QName module instance with specified namespace/revision.static @Nullable String
QName.formattedRevision
(Optional<Revision> revision) FormatsRevision
representing revision to formatYYYY-mm-dd
-
Uses of Revision in org.opendaylight.yangtools.yang.model.api
Modifier and TypeMethodDescriptionModuleImport.getRevision()
Returns the module revision to import.QNameModuleAware.getRevision()
Modifier and TypeMethodDescriptionSchemaContext.findModule
(@NonNull XMLNamespace namespace, @Nullable Revision revision) Returns module instance (from the context) with specified namespace and revision.SchemaContext.findModule
(String name, @Nullable Revision revision) Returns module instance (from the context) with specified name and revision.Modifier and TypeMethodDescriptionSchemaContext.findModule
(@NonNull XMLNamespace namespace, @NonNull Optional<Revision> revision) Returns module instance (from the context) with specified namespace and revision.SchemaContext.findModule
(String name, Optional<Revision> revision) Returns module instance (from the context) with specified name and an optional revision. -
Uses of Revision in org.opendaylight.yangtools.yang.model.export
Modifier and TypeMethodDescriptionstatic String
YinExportUtils.wellFormedYinName
(String name, Optional<Revision> revision) Returns well-formed file name of YIN file as defined in RFC6020. -
Uses of Revision in org.opendaylight.yangtools.yang.model.repo.api
Modifier and TypeMethodDescription@Nullable Revision
SourceIdentifier.revision()
Returns the value of therevision
record component.Modifier and TypeMethodDescriptionstatic @NonNull String
SourceIdentifier.toYangFileName
(@NonNull String moduleName, @Nullable Revision revision) Returns filename for this YANG module as specified in RFC 6020.ModifierConstructorDescriptionSourceIdentifier
(@NonNull String name, @Nullable Revision revision) Creates new YANG Schema source identifier for sources with or without a revision.SourceIdentifier
(@NonNull UnresolvedQName.Unqualified name, @Nullable Revision revision) Creates new YANG Schema source identifier for sources with or without a revision. -
Uses of Revision in org.opendaylight.yangtools.yang.model.ri.stmt
Modifier and TypeMethodDescriptionstatic RevisionStatement
DeclaredStatements.createRevision
(Revision argument, ImmutableList<? extends DeclaredStatement<?>> substatements) static RevisionDateStatement
DeclaredStatements.createRevisionDate
(Revision argument, ImmutableList<? extends DeclaredStatement<?>> substatements) -
Uses of Revision in org.opendaylight.yangtools.yang.model.ri.stmt.impl.decl
ModifierConstructorDescriptionEmptyRevisionDateStatement
(Revision argument) EmptyRevisionStatement
(Revision argument) RegularRevisionDateStatement
(Revision argument, ImmutableList<? extends DeclaredStatement<?>> substatements) RegularRevisionStatement
(Revision argument, ImmutableList<? extends DeclaredStatement<?>> substatements) -
Uses of Revision in org.opendaylight.yangtools.yang.model.ri.stmt.impl.eff
-
Uses of Revision in org.opendaylight.yangtools.yang.model.spi
-
Uses of Revision in org.opendaylight.yangtools.yang.model.util
-
Uses of Revision in org.opendaylight.yangtools.yang.parser.rfc7950.repo
-
Uses of Revision in org.opendaylight.yangtools.yang.parser.rfc7950.stmt.meta
Modifier and TypeMethodDescriptionRevisionDateStatementSupport.parseArgumentValue
(StmtContext<?, ?, ?> ctx, String value) RevisionStatementSupport.parseArgumentValue
(StmtContext<?, ?, ?> ctx, String value) Modifier and TypeMethodDescriptionprotected RevisionDateStatement
RevisionDateStatementSupport.createDeclared
(BoundStmtCtx<Revision> ctx, ImmutableList<DeclaredStatement<?>> substatements) protected RevisionStatement
RevisionStatementSupport.createDeclared
(BoundStmtCtx<Revision> ctx, ImmutableList<DeclaredStatement<?>> substatements) protected RevisionDateEffectiveStatement
RevisionDateStatementSupport.createEffective
(EffectiveStmtCtx.Current<Revision, RevisionDateStatement> stmt, ImmutableList<? extends EffectiveStatement<?, ?>> substatements) protected RevisionEffectiveStatement
RevisionStatementSupport.createEffective
(EffectiveStmtCtx.Current<Revision, RevisionStatement> stmt, ImmutableList<? extends EffectiveStatement<?, ?>> substatements) -
Uses of Revision in org.opendaylight.yangtools.yang.parser.spi.meta
Modifier and TypeMethodDescriptionStmtContextUtils.getLatestRevision
(Iterable<? extends StmtContext<?, ?, ?>> subStmts)