Package org.onosproject.ui.model.topo
Class UiTopoLayoutId
- java.lang.Object
-
- org.onlab.util.Identifier<java.lang.String>
-
- org.onosproject.ui.model.topo.UiTopoLayoutId
-
public final class UiTopoLayoutId extends Identifier<java.lang.String>
Identifier of a topology layout.
-
-
Field Summary
Fields Modifier and Type Field Description static UiTopoLayoutId
DEFAULT_ID
Default topology layout identifier.-
Fields inherited from class org.onlab.util.Identifier
identifier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDefault()
Returns true if this is the identifier for the default layout.static UiTopoLayoutId
layoutId(java.lang.String value)
Returns the layout identifier created from the specified value.-
Methods inherited from class org.onlab.util.Identifier
equals, hashCode, id, toString
-
-
-
-
Field Detail
-
DEFAULT_ID
public static final UiTopoLayoutId DEFAULT_ID
Default topology layout identifier.
-
-
Method Detail
-
layoutId
public static UiTopoLayoutId layoutId(java.lang.String value)
Returns the layout identifier created from the specified value.- Parameters:
value
- string value- Returns:
- layout identifier
-
isDefault
public boolean isDefault()
Returns true if this is the identifier for the default layout.- Returns:
- true if this is the default layout identifier
-
-