commit | 642bc456a4b14c28a0e0efb42de148792fa8e80d | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Wed May 04 19:34:45 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu May 05 22:49:53 2016 +0000 |
tree | 9c6dc536433d3b15d66bdc21f8c0590e130d5fb5 | |
parent | e4da9096a746aa3fee894b4acc9e5b3ea0996e27 [diff] [blame] |
ONOS-4326: Focusing on add/remove cluster member. (WIP). If reviewing this, please refer to http://tinyurl.com/onos-ui-topo-model Change-Id: Ic6568074ac768ec828f9103e92caab5e9a06ade6
diff --git a/core/api/src/main/java/org/onosproject/ui/model/topo/UiElement.java b/core/api/src/main/java/org/onosproject/ui/model/topo/UiElement.java index 5e6144d..f0c2684 100644 --- a/core/api/src/main/java/org/onosproject/ui/model/topo/UiElement.java +++ b/core/api/src/main/java/org/onosproject/ui/model/topo/UiElement.java
@@ -19,7 +19,7 @@ /** * Abstract base class of all elements in the UI topology model. */ -public class UiElement { +public abstract class UiElement { /** * Removes all external references, and prepares the instance for @@ -28,4 +28,11 @@ protected void destroy() { // does nothing } + + /** + * Returns a string representation of the element identifier. + * + * @return the element unique identifier + */ + public abstract String idAsString(); }