Class DefaultTopologyVertex

  • All Implemented Interfaces:
    Vertex, TopologyVertex

    public class DefaultTopologyVertex
    extends java.lang.Object
    implements TopologyVertex
    Implementation of the topology vertex backed by a device id.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DeviceId deviceId()
      Returns the associated infrastructure device identification.
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DefaultTopologyVertex

        public DefaultTopologyVertex​(DeviceId deviceId)
        Creates a new topology vertex.
        Parameters:
        deviceId - backing infrastructure device identifier
    • Method Detail

      • deviceId

        public DeviceId deviceId()
        Description copied from interface: TopologyVertex
        Returns the associated infrastructure device identification.
        Specified by:
        deviceId in interface TopologyVertex
        Returns:
        device identifier
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object