Class PathUtil


  • public final class PathUtil
    extends Object
    Purpose: utility class providing path and InstanceIdentifier tools.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId extractNodeId​(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef input)
      Extracts node id from node reference.
      static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId extractNodeId​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> input)
      Extracts node id from instance identifier.
    • Method Detail

      • extractNodeId

        public static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId extractNodeId​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> input)
        Extracts node id from instance identifier.
        Parameters:
        input - instance identifier
        Returns:
        node-id from given instance identifier
      • extractNodeId

        public static org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId extractNodeId​(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef input)
        Extracts node id from node reference.
        Parameters:
        input - reference to Node
        Returns:
        node-id from given reference