blob: 3664d988ce4b8738a463808e8743137d996ad01b [file] [log] [blame]
Yuta HIGUCHI692e68e2014-07-09 18:08:02 -07001package net.onrc.onos.core.topology;
2
3// TODO give me a better name.
4/**
5 * Interface common to Topology element interfaces.
6 */
7public 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 Balakrishnan2aa6c0b2014-07-17 11:42:05 -070016
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();
Yuta HIGUCHI692e68e2014-07-09 18:08:02 -070030}