Added more ignorable files to .gitignore
[ovsdb.git] / library / src / main / java / org / opendaylight / ovsdb / lib / notation / Condition.java
1 /*
2  * Copyright (C) 2013 Red Hat, Inc.
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 : Madhu Venugopal, Ashwin Raveendran
9  */
10 package org.opendaylight.ovsdb.lib.notation;
11
12 import org.opendaylight.ovsdb.lib.notation.json.ConditionSerializer;
13
14 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
15 @JsonSerialize(using = ConditionSerializer.class)
16
17 public class Condition {
18     String column;
19     Function function;
20     Object value;
21
22     public Condition(String column, Function function, Object value) {
23         super();
24         this.column = column;
25         this.function = function;
26         this.value = value;
27     }
28
29     public String getColumn() {
30         return column;
31     }
32
33     public void setColumn(String column) {
34         this.column = column;
35     }
36
37     public Function getFunction() {
38         return function;
39     }
40
41     public void setFunction(Function function) {
42         this.function = function;
43     }
44
45     public Object getValue() {
46         return value;
47     }
48
49     public void setValue(Object value) {
50         this.value = value;
51     }
52 }