Package org.onosproject.net.topology
Class DefaultTopologyVertex
- java.lang.Object
-
- org.onosproject.net.topology.DefaultTopologyVertex
-
- All Implemented Interfaces:
Vertex,TopologyVertex
public class DefaultTopologyVertex extends Object implements TopologyVertex
Implementation of the topology vertex backed by a device id.
-
-
Constructor Summary
Constructors Constructor Description DefaultTopologyVertex(DeviceId deviceId)Creates a new topology vertex.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceIddeviceId()Returns the associated infrastructure device identification.booleanequals(Object obj)inthashCode()StringtoString()
-
-
-
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:TopologyVertexReturns the associated infrastructure device identification.- Specified by:
deviceIdin interfaceTopologyVertex- Returns:
- device identifier
-
-