tom | 2482e6f | 2014-10-01 16:51:48 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net; |
2 | |||||
tom | 2482e6f | 2014-10-01 16:51:48 -0700 | [diff] [blame] | 3 | /** |
4 | * Represents an entity that carries arbitrary annotations. | ||||
5 | */ | ||||
6 | public interface Annotated { | ||||
7 | |||||
8 | /** | ||||
tom | f5d85d4 | 2014-10-02 05:27:56 -0700 | [diff] [blame] | 9 | * Returns the key/value annotations. |
tom | 2482e6f | 2014-10-01 16:51:48 -0700 | [diff] [blame] | 10 | * |
tom | f5d85d4 | 2014-10-02 05:27:56 -0700 | [diff] [blame] | 11 | * @return key/value annotations |
tom | 2482e6f | 2014-10-01 16:51:48 -0700 | [diff] [blame] | 12 | */ |
tom | f5d85d4 | 2014-10-02 05:27:56 -0700 | [diff] [blame] | 13 | Annotations annotations(); |
tom | 2482e6f | 2014-10-01 16:51:48 -0700 | [diff] [blame] | 14 | |
15 | } |