Class AbstractEffectiveDocumentedNode<A,​D extends DeclaredStatement<A>>

    • Constructor Detail

      • AbstractEffectiveDocumentedNode

        protected AbstractEffectiveDocumentedNode​(StmtContext<A,​D,​?> ctx)
        Constructor.
        Parameters:
        ctx - context of statement.
    • Method Detail

      • getDescription

        public final Optional<String> getDescription()
        Description copied from interface: DocumentedNode
        Returns the value of the argument of YANG description keyword.
        Specified by:
        getDescription in interface DocumentedNode
        Returns:
        string with the description, or empty if description was not provided.
      • getReference

        public final Optional<String> getReference()
        Description copied from interface: DocumentedNode
        Returns the value of the argument of YANG reference keyword.
        Specified by:
        getReference in interface DocumentedNode
        Returns:
        string with reference to some other document, or empty if reference was not provided.