Modifier and Type | Field and Description |
---|---|
static Revision |
Revision.MAX_VALUE
Revision which compares as greater than any other valid revision.
|
Modifier and Type | Method and Description |
---|---|
static @NonNull Revision |
Revision.of(@NonNull String str)
Parse a revision string.
|
Modifier and Type | Method and Description |
---|---|
static int |
Revision.compare(@Nullable Revision first,
@Nullable Revision second)
Compare two explicitly nullable Revisions.
|
static int |
Revision.compare(@Nullable Revision first,
@Nullable Revision second)
Compare two explicitly nullable Revisions.
|
int |
Revision.compareTo(Revision o) |
static @NonNull QName |
QName.create(String namespace,
String localName,
Revision revision)
Creates new QName.
|
static @NonNull QNameModule |
QNameModule.create(URI namespace,
@Nullable Revision revision)
Create a new QName module instance with specified namespace/revision.
|
static @NonNull QName |
QName.create(URI namespace,
@Nullable Revision revision,
String localName)
Creates new QName.
|
Modifier and Type | Method and Description |
---|---|
static @NonNull QNameModule |
QNameModule.create(URI namespace,
Optional<Revision> revision)
Create a new QName module instance with specified namespace/revision.
|
static @NonNull QName |
QName.create(URI namespace,
Optional<Revision> revision,
String localName)
Creates new QName.
|
static @Nullable String |
QName.formattedRevision(Optional<Revision> revision)
Formats
Revision representing revision to format YYYY-mm-dd |
Modifier and Type | Method and Description |
---|---|
Optional<Revision> |
ModuleImport.getRevision()
Returns the module revision to import.
|
Optional<Revision> |
NamespaceRevisionAware.getRevision() |
default Optional<Revision> |
Module.getRevision()
Returns the revision date for the module.
|
Modifier and Type | Method and Description |
---|---|
default Optional<Module> |
SchemaContext.findModule(String name,
@Nullable Revision revision)
Returns module instance (from the context) with specified name and revision.
|
default Optional<Module> |
SchemaContext.findModule(@NonNull URI namespace,
@Nullable Revision revision)
Returns module instance (from the context) with specified namespace and revision.
|
Modifier and Type | Method and Description |
---|---|
default Optional<Module> |
SchemaContext.findModule(String name,
Optional<Revision> revision)
Returns module instance (from the context) with specified name and an optional revision.
|
Modifier and Type | Method and Description |
---|---|
default Revision |
RevisionDateStatement.getDate() |
default @NonNull Revision |
RevisionStatement.getDate() |
Modifier and Type | Method and Description |
---|---|
static String |
YinExportUtils.wellFormedYinName(String name,
Optional<Revision> revision)
Returns well-formed file name of YIN file as defined in RFC6020.
|
Modifier and Type | Method and Description |
---|---|
ModuleImportBuilder |
ModuleImportBuilder.revision(Revision revision)
Initializes the optional value
revision to revision. |
Modifier and Type | Method and Description |
---|---|
ModuleImportBuilder |
ModuleImportBuilder.revision(Optional<? extends Revision> revision)
Initializes the optional value
revision to revision. |
Modifier and Type | Method and Description |
---|---|
Optional<Revision> |
SourceIdentifier.getRevision()
Returns revision of source or null if revision was not supplied.
|
Modifier and Type | Method and Description |
---|---|
static @NonNull RevisionSourceIdentifier |
RevisionSourceIdentifier.create(String moduleName,
@Nullable Revision revision)
Creates new YANG Schema revision source identifier.
|
static @NonNull SemVerSourceIdentifier |
SemVerSourceIdentifier.create(String moduleName,
Revision revision,
SemVer semVer)
Creates new YANG Schema semVer source identifier.
|
Modifier and Type | Method and Description |
---|---|
static @NonNull RevisionSourceIdentifier |
RevisionSourceIdentifier.create(String moduleName,
Optional<Revision> revision)
Creates new YANG Schema revision source identifier.
|
static @NonNull SemVerSourceIdentifier |
SemVerSourceIdentifier.create(String moduleName,
Optional<Revision> revision,
SemVer semVer)
Creates new YANG Schema semVer source identifier.
|
static @NonNull String |
SourceIdentifier.toYangFileName(String moduleName,
Optional<Revision> revision)
Returns filename for this YANG module as specified in RFC 6020.
|
Modifier and Type | Method and Description |
---|---|
Optional<Revision> |
FilteringSchemaContextProxy.ModuleId.getRev() |
Modifier and Type | Method and Description |
---|---|
Optional<Module> |
AbstractSchemaContext.findModule(String name,
Optional<Revision> revision) |
Constructor and Description |
---|
ModuleId(String name,
Optional<Revision> rev) |
Modifier and Type | Method and Description |
---|---|
Optional<Revision> |
YangModelDependencyInfo.getRevision()
Returns revision.
|
Modifier and Type | Method and Description |
---|---|
Optional<Revision> |
AbstractEffectiveModule.getRevision() |
Modifier and Type | Method and Description |
---|---|
Revision |
RevisionStatementSupport.parseArgumentValue(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<Revision,RevisionStatement> |
RevisionStatementSupport.createEffective(StmtContext<Revision,RevisionStatement,EffectiveStatement<Revision,RevisionStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
RevisionStatement |
RevisionStatementSupport.createDeclared(StmtContext<Revision,RevisionStatement,?> ctx) |
EffectiveStatement<Revision,RevisionStatement> |
RevisionStatementSupport.createEffective(StmtContext<Revision,RevisionStatement,EffectiveStatement<Revision,RevisionStatement>> ctx) |
EffectiveStatement<Revision,RevisionStatement> |
RevisionStatementSupport.createEffective(StmtContext<Revision,RevisionStatement,EffectiveStatement<Revision,RevisionStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
Revision |
RevisionDateStatementSupport.parseArgumentValue(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<Revision,RevisionDateStatement> |
RevisionDateStatementSupport.createEffective(StmtContext<Revision,RevisionDateStatement,EffectiveStatement<Revision,RevisionDateStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
RevisionDateStatement |
RevisionDateStatementSupport.createDeclared(StmtContext<Revision,RevisionDateStatement,?> ctx) |
EffectiveStatement<Revision,RevisionDateStatement> |
RevisionDateStatementSupport.createEffective(StmtContext<Revision,RevisionDateStatement,EffectiveStatement<Revision,RevisionDateStatement>> ctx) |
EffectiveStatement<Revision,RevisionDateStatement> |
RevisionDateStatementSupport.createEffective(StmtContext<Revision,RevisionDateStatement,EffectiveStatement<Revision,RevisionDateStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
static Optional<Revision> |
StmtContextUtils.getLatestRevision(Iterable<? extends StmtContext<?,?,?>> subStmts) |
Copyright © 2019 OpenDaylight. All rights reserved.