public class DefaultTopologyCluster extends Object implements TopologyCluster
| Constructor and Description | 
|---|
DefaultTopologyCluster(ClusterId id,
                      int deviceCount,
                      int linkCount,
                      TopologyVertex root)
Creates a new topology cluster descriptor with the specified attributes. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
deviceCount()
Returns the number of devices in the cluster. 
 | 
boolean | 
equals(Object obj)  | 
int | 
hashCode()  | 
ClusterId | 
id()
Returns the cluster id. 
 | 
int | 
linkCount()
Returns the number of infrastructure links in the cluster. 
 | 
TopologyVertex | 
root()
Returns the cluster root vertex. 
 | 
String | 
toString()  | 
public DefaultTopologyCluster(ClusterId id, int deviceCount, int linkCount, TopologyVertex root)
id - cluster iddeviceCount - number of devices in the clusterlinkCount - number of links in the clusterroot - cluster root nodepublic ClusterId id()
TopologyClusterid in interface TopologyClusterpublic int deviceCount()
TopologyClusterdeviceCount in interface TopologyClusterpublic int linkCount()
TopologyClusterlinkCount in interface TopologyClusterpublic TopologyVertex root()
TopologyClusterroot in interface TopologyCluster