Remove plugin dependencies
[ovsdb.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / api / StatusWithUuid.java
1 /*
2  * [[ Authors will Fill in the Copyright header ]]
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Authors : Hugo Trippaers
9  */
10 package org.opendaylight.ovsdb.openstack.netvirt.api;
11
12 import org.opendaylight.ovsdb.lib.notation.UUID;
13
14 /**
15  * Extends the Status class to allow functions to return a uuid
16  */
17 public class StatusWithUuid extends Status {
18     private static final long serialVersionUID = -5413085099514964003L;
19     private UUID uuid;
20
21     public StatusWithUuid(StatusCode errorCode) {
22         super(errorCode);
23     }
24
25     public StatusWithUuid(StatusCode errorCode, String description) {
26         super(errorCode, description);
27     }
28
29     public StatusWithUuid(StatusCode errorCode, long requestId) {
30         super(errorCode, requestId);
31     }
32
33     public StatusWithUuid(StatusCode errorCode, UUID uuid) {
34         super(errorCode);
35         this.uuid = uuid;
36     }
37
38     public UUID getUuid() {
39         return uuid;
40     }
41
42 }