Uses of Class
org.opendaylight.yangtools.yang.common.Revision
Packages that use 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
Fields in org.opendaylight.yangtools.yang.common declared as RevisionModifier and TypeFieldDescriptionstatic final Revision
Revision.MAX_VALUE
Revision which compares as greater than any other valid revision.Methods in org.opendaylight.yangtools.yang.common that return RevisionMethods in org.opendaylight.yangtools.yang.common that return types with arguments of type RevisionModifier 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.Methods in org.opendaylight.yangtools.yang.common with parameters of type RevisionModifier 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.Method parameters in org.opendaylight.yangtools.yang.common with type arguments of type RevisionModifier 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
Methods in org.opendaylight.yangtools.yang.model.api that return types with arguments of type RevisionModifier and TypeMethodDescriptionModuleImport.getRevision()
Returns the module revision to import.QNameModuleAware.getRevision()
Methods in org.opendaylight.yangtools.yang.model.api with parameters of type RevisionModifier 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.Method parameters in org.opendaylight.yangtools.yang.model.api with type arguments of type RevisionModifier 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
Method parameters in org.opendaylight.yangtools.yang.model.export with type arguments of type RevisionModifier 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
Methods in org.opendaylight.yangtools.yang.model.repo.api that return RevisionModifier and TypeMethodDescription@Nullable Revision
SourceIdentifier.revision()
Returns the value of therevision
record component.Methods in org.opendaylight.yangtools.yang.model.repo.api with parameters of type RevisionModifier and TypeMethodDescriptionstatic @NonNull String
SourceIdentifier.toYangFileName
(@NonNull String moduleName, @Nullable Revision revision) Returns filename for this YANG module as specified in RFC 6020.Constructors in org.opendaylight.yangtools.yang.model.repo.api with parameters of type RevisionModifierConstructorDescriptionSourceIdentifier
(@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
Methods in org.opendaylight.yangtools.yang.model.ri.stmt with parameters of type RevisionModifier 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
Constructors in org.opendaylight.yangtools.yang.model.ri.stmt.impl.decl with parameters of type RevisionModifierConstructorDescriptionEmptyRevisionDateStatement
(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
Methods in org.opendaylight.yangtools.yang.model.ri.stmt.impl.eff that return types with arguments of type Revision -
Uses of Revision in org.opendaylight.yangtools.yang.model.spi
Method parameters in org.opendaylight.yangtools.yang.model.spi with type arguments of type Revision -
Uses of Revision in org.opendaylight.yangtools.yang.model.util
Methods in org.opendaylight.yangtools.yang.model.util that return types with arguments of type RevisionConstructor parameters in org.opendaylight.yangtools.yang.model.util with type arguments of type Revision -
Uses of Revision in org.opendaylight.yangtools.yang.parser.rfc7950.repo
Methods in org.opendaylight.yangtools.yang.parser.rfc7950.repo that return types with arguments of type Revision -
Uses of Revision in org.opendaylight.yangtools.yang.parser.rfc7950.stmt.meta
Methods in org.opendaylight.yangtools.yang.parser.rfc7950.stmt.meta that return RevisionModifier and TypeMethodDescriptionRevisionDateStatementSupport.parseArgumentValue
(StmtContext<?, ?, ?> ctx, String value) RevisionStatementSupport.parseArgumentValue
(StmtContext<?, ?, ?> ctx, String value) Method parameters in org.opendaylight.yangtools.yang.parser.rfc7950.stmt.meta with type arguments of type RevisionModifier 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
Methods in org.opendaylight.yangtools.yang.parser.spi.meta that return types with arguments of type RevisionModifier and TypeMethodDescriptionStmtContextUtils.getLatestRevision
(Iterable<? extends StmtContext<?, ?, ?>> subStmts)