blob: ebb3fb7a7841bf9f48190359b144e8230af70f71 [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001package org.onlab.onos.net;
2
3import java.net.URI;
4
5/**
6 * Immutable representaion of a device identity.
7 */
8public class DeviceId {
9
10 private final URI uri;
11
12 public DeviceId(URI uri) {
13 this.uri = uri;
14 }
15
16 /**
17 * Returns the backing URI.
18 *
19 * @return backing device URI
20 */
21 public URI uri() {
22 return uri;
23 }
24
25}