Added more ignorable files to .gitignore
[ovsdb.git] / ovsdb / src / main / java / org / opendaylight / ovsdb / lib / database / ColumnSchema.java
1 /*\r
2  * [[ Authors will Fill in the Copyright header ]]\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  *\r
8  * Authors : Brent Salisbury, Evan Zeller\r
9  */\r
10 package org.opendaylight.ovsdb.lib.database;\r
11 \r
12 import com.fasterxml.jackson.annotation.JsonProperty;\r
13 \r
14 public class ColumnSchema {\r
15 \r
16     String name;\r
17 \r
18     @JsonProperty("type")\r
19     private OvsdbType type;\r
20 \r
21     @JsonProperty("ephemeral")\r
22     private Boolean ephemeral;\r
23 \r
24     @JsonProperty("mutable")\r
25     private Boolean mutable;\r
26 \r
27     public OvsdbType getType() {\r
28         return type;\r
29     }\r
30 \r
31     public Boolean getEphemeral() {\r
32         return ephemeral;\r
33     }\r
34 \r
35     public Boolean getMutable() {\r
36         return mutable;\r
37     }\r
38 \r
39     public String getName() {\r
40         return name;\r
41     }\r
42 \r
43     public void setName(String name) {\r
44         this.name = name;\r
45     }\r
46 \r
47 \r
48     @Override\r
49     public String toString() {\r
50         return "ColumnType [type=" + type + ", ephemeral=" + ephemeral\r
51                 + ", mutable=" + mutable + "]";\r
52     }\r
53 \r
54 }\r