Package org.onosproject.ui
Class UiTopoMap
- java.lang.Object
-
- org.onosproject.ui.UiTopoMap
-
public class UiTopoMap extends java.lang.ObjectRepresents a geographically-based map to be used in the user interface topology view. Instances of this class are immutable.
-
-
Constructor Summary
Constructors Constructor Description UiTopoMap(java.lang.String id, java.lang.String desc, java.lang.String filePath, double scale)Creates a new topology map.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringdescription()Returns the description for this map.java.lang.StringfilePath()Returns the filePath for this map.java.lang.Stringid()Returns the identifier for this map.doublescale()Returns the scale for this map.java.lang.StringtoString()
-
-
-
Method Detail
-
id
public java.lang.String id()
Returns the identifier for this map.- Returns:
- the identifier
-
description
public java.lang.String description()
Returns the description for this map.- Returns:
- the description
-
filePath
public java.lang.String filePath()
Returns the filePath for this map.- Returns:
- the filePath
-
scale
public double scale()
Returns the scale for this map.- Returns:
- the scale
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-