Yuta HIGUCHI | 692e68e | 2014-07-09 18:08:02 -0700 | [diff] [blame] | 1 | package net.onrc.onos.core.topology; |
| 2 | |
| 3 | // TODO give me a better name. |
| 4 | /** |
| 5 | * Interface common to Topology element interfaces. |
| 6 | */ |
| 7 | public interface ITopologyElement { |
| 8 | |
| 9 | // TODO The term Type is a bit confusing, may rename to something like layer |
| 10 | /** |
| 11 | * Returns the type of topology element. |
| 12 | * |
| 13 | * @return the type of the topology element |
| 14 | */ |
| 15 | public String getType(); |
Praseed Balakrishnan | 2aa6c0b | 2014-07-17 11:42:05 -0700 | [diff] [blame] | 16 | |
| 17 | /** |
| 18 | * Returns the config state of topology element. |
| 19 | * |
| 20 | * @return ConfigState |
| 21 | */ |
| 22 | public ConfigState getConfigState(); |
| 23 | |
| 24 | /** |
| 25 | * Returns the status of topology element. |
| 26 | * |
| 27 | * @return AdminStatus |
| 28 | */ |
| 29 | public AdminStatus getStatus(); |
| 30 | |
| 31 | |
Yuta HIGUCHI | 692e68e | 2014-07-09 18:08:02 -0700 | [diff] [blame] | 32 | } |