Code ReOrganization and Re-Architecture changes
[ovsdb.git] / library / src / main / java / org / opendaylight / ovsdb / lib / database / ColumnSchema.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 : Brent Salisbury, Evan Zeller
9  */
10 package org.opendaylight.ovsdb.lib.database;
11
12 import com.fasterxml.jackson.annotation.JsonProperty;
13
14 public class ColumnSchema {
15
16     String name;
17
18     @JsonProperty("type")
19     private OvsdbType type;
20
21     @JsonProperty("ephemeral")
22     private Boolean ephemeral;
23
24     @JsonProperty("mutable")
25     private Boolean mutable;
26
27     public OvsdbType getType() {
28         return type;
29     }
30
31     public Boolean getEphemeral() {
32         return ephemeral;
33     }
34
35     public Boolean getMutable() {
36         return mutable;
37     }
38
39     public String getName() {
40         return name;
41     }
42
43     public void setName(String name) {
44         this.name = name;
45     }
46
47
48     @Override
49     public String toString() {
50         return "ColumnType [type=" + type + ", ephemeral=" + ephemeral
51                 + ", mutable=" + mutable + "]";
52     }
53
54 }