Class NavuNodeInfo

Object
com.tailf.navu.NavuNodeInfo

public class NavuNodeInfo extends Object
This class contains meta information for a node.
  • Constructor Details

    • NavuNodeInfo

      public NavuNodeInfo(MaapiSchemas.CSNode node)
      Creates a NavuNodeInfo based on a schema node.
      Parameters:
      node -
  • Method Details

    • isListEntry

      public boolean isListEntry()
    • getCsNode

      public MaapiSchemas.CSNode getCsNode()
      Returns the schema node from which the object is derive from.
      Returns:
      a given schema node.
    • getCSNode

      public MaapiSchemas.CSNode getCSNode()
    • isAction

      public boolean isAction()
      Checks if a node is an action.
      Returns:
      true if it is an action.
    • isCase

      public boolean isCase()
      Checks if a node is top level of a case.
      Returns:
      true if the node is part of a case.
    • isCdb

      public boolean isCdb()
    • isContainer

      public boolean isContainer()
      Checks if a node is a container node.
      Returns:
      true if the node is a container node.
    • isEmptyLeaf

      public boolean isEmptyLeaf()
    • isLeaf

      public boolean isLeaf()
      Checks if a node is a leaf node.
      Returns:
      true if the node is leaf node.
    • isLeafList

      public boolean isLeafList()
      Checks if the node is a leaf-list node.
      Returns:
      true if the node is leaf-list node.
    • isList

      public boolean isList()
      Checks if a node is a list node.
      Returns:
      true if the node is list node.
    • isActionParam

      public boolean isActionParam()
      Checks if a node is an action parameter node.
      Returns:
      true if the node is an action parameter node.
    • isActionResult

      public boolean isActionResult()
      Checks if a node is an action result node.
      Returns:
      true if the node is action result node.
    • isModule

      public boolean isModule()
    • isWritable

      public boolean isWritable()
      Checks if the node is writable.
      Returns:
      true if the node is writable.
    • isWritableAll

      public boolean isWritableAll()
      Checks if the node is writable for all data.
      Returns:
      true if the node is writable for all data.
    • isNotif

      public boolean isNotif()
      Checks if the node is a notification
      Returns:
      true if the node a notification
    • isLeafref

      public boolean isLeafref()
      Checks if the node is a YANG 'leafref'.
      Returns:
      true if node is a YANG 'leafref'.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isOper

      public boolean isOper()
      Returns:
      true if node is OPER data.
    • printNodeType

      public String printNodeType()
    • getCSSchema

      public MaapiSchemas.CSSchema getCSSchema()
      Returns:
      the schema of a module.
    • getCSSchemas

      public MaapiSchemas getCSSchemas()
      Returns:
      the schema of a module.
    • isRootOfModules

      public boolean isRootOfModules()
      Returns:
      true if this is the true root above all loaded modules.
    • isChildNode

      public boolean isChildNode()
      Returns:
      true is this is a child node, not a module or root of modules.