commit | 74ac9010f801f9be5442708bd559e43d1105528d | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Fri Feb 12 10:03:21 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu Feb 18 03:51:26 2016 +0000 |
tree | 3fcf8eb50e18bb34ab99406755a9e5586141841f | |
parent | 1172da7883d57738a02cb766fd4e70c1e438c1f7 [diff] [blame] |
Add a method to get resource type name: simpleTypeName() last() is removed as the new method takes over its role Change-Id: Id3737529787da5d5bb513355cdbc443f2b7b17e2
diff --git a/core/api/src/main/java/org/onosproject/net/newresource/ContinuousResourceId.java b/core/api/src/main/java/org/onosproject/net/newresource/ContinuousResourceId.java index 4c8f466..8a042c8 100644 --- a/core/api/src/main/java/org/onosproject/net/newresource/ContinuousResourceId.java +++ b/core/api/src/main/java/org/onosproject/net/newresource/ContinuousResourceId.java
@@ -47,6 +47,11 @@ return components; } + @Override + String simpleTypeName() { + return name; + } + /** * {@inheritDoc} *