Code ReOrganization and Re-Architecture changes
[ovsdb.git] / library / src / main / java / org / opendaylight / ovsdb / lib / message / UpdateNotification.java
1 /*
2  * Copyright (C) 2013 EBay Software Foundation
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 : Ashwin Raveendran, Madhu Venugopal
9  */
10 package org.opendaylight.ovsdb.lib.message;
11
12 import org.opendaylight.ovsdb.lib.notation.json.Converter.UpdateNotificationConverter;
13 import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
14
15 @JsonDeserialize(converter = UpdateNotificationConverter.class)
16 public class UpdateNotification {
17     Object context;
18     TableUpdates update;
19     public Object getContext() {
20         return context;
21     }
22     public void setContext(Object context) {
23         this.context = context;
24     }
25     public TableUpdates getUpdate() {
26         return update;
27     }
28     public void setUpdate(TableUpdates update) {
29         this.update = update;
30     }
31 }