Uses of Class
org.opendaylight.yangtools.yang.common.Revision
-
Uses of Revision in org.opendaylight.yangtools.yang.common
Fields in org.opendaylight.yangtools.yang.common declared as RevisionModifier and TypeFieldDescriptionstatic final RevisionRevision.MAX_VALUERevision which compares as greater than any other valid revision.Methods in org.opendaylight.yangtools.yang.common that return RevisionModifier and TypeMethodDescriptiondefault RevisionRevisionUnion.getRevision()static @NonNull RevisionParse a revision string.static @NonNull Revision@Nullable RevisionNotRevision.revision()@Nullable RevisionQNameModule.revision()Returns the revision date for the module.Revision.revision()@Nullable RevisionRevisionUnion.revision()Return theRevision, if present.Methods in org.opendaylight.yangtools.yang.common that return types with arguments of type RevisionModifier and TypeMethodDescriptionQNameModule.findRevision()Returns the revision date for the module.RevisionUnion.findRevision()QName.getRevision()Returns revision of the YANG module if the module has defined revision.QNameModule.getRevision()Deprecated, for removal: This API element is subject to removal in a future version.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 intCompare two explicitly nullable Revisions.static @NonNull QNameCreates new QName.static @NonNull QNameQName.create(XMLNamespace namespace, @Nullable Revision revision, String localName) Creates new QName.static @NonNull QNameModuleQNameModule.create(XMLNamespace namespace, @Nullable Revision revision) Deprecated, for removal: This API element is subject to removal in a future version.UseQNameModule.ofRevision(XMLNamespace, Revision)insteadstatic @NonNull QNameModuleQNameModule.of(XMLNamespace namespace, Revision revision) Create a new QName module instance with specifiedXMLNamespaceandRevision.static RevisionUnionstatic @NonNull QNameModuleQNameModule.ofRevision(XMLNamespace namespace, @Nullable Revision revision) Create a new QName module instance with specifiedXMLNamespaceand an optionalRevision.Method parameters in org.opendaylight.yangtools.yang.common with type arguments of type RevisionModifier and TypeMethodDescriptionstatic intCompare twoOptionals wrapping Revisions.static @NonNull QNameQName.create(XMLNamespace namespace, Optional<Revision> revision, String localName) Creates new QName.static @NonNull QNameModuleQNameModule.create(XMLNamespace namespace, Optional<Revision> revision) Deprecated, for removal: This API element is subject to removal in a future version.UseQNameModule.ofRevision(XMLNamespace, Revision)insteadstatic @Nullable StringQName.formattedRevision(Optional<Revision> revision) FormatsRevisionrepresenting revision to formatYYYY-mm-dd
QNameModule.findRevision()orQNameModule.revision()instead.