com.h3c.sdn.tvue

## Interface TopologyNode

-     public interface TopologyNode

  Abstraction of a topology node.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `attachment()` Get any attachment the topology node may have.
    `String` | `dpDesc()` Returns the topology node desc.
    `String` | `id()` Returns the topology node id, which can be represented by a datapath id, node mac or other identifiers depending on the node type.
    `String` | `label()` Get the display label for the topology node.
    `Properties` | `props()` Returns a set of arbitrary node properties.
    `NodeType` | `type()` Returns the topology node type.

- - ### Method Detail

    - #### id

          String id()

      Returns the topology node id, which can be represented by a datapath id, node mac or other identifiers depending on the node type.
      Returns:
        id node id

    - #### type

          NodeType type()

      Returns the topology node type.
      Returns:
        node type

    - #### label

          String label()

      Get the display label for the topology node.
      Returns:
        display label

    - #### dpDesc

          String dpDesc()

      Returns the topology node desc.
      Returns:
        desc

    - #### props

          Properties props()

      Returns a set of arbitrary node properties.
      Returns:
        node properties

    - #### attachment

          Object attachment()

      Get any attachment the topology node may have.
      Returns:
        optional attachment

Copyright © 2014. All Rights Reserved.