2 * [[ Authors will Fill in the Copyright header ]]
\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
8 * Authors : Brent Salisbury, Evan Zeller
\r
10 package org.opendaylight.ovsdb.lib.database;
\r
12 import java.util.Map;
\r
14 import com.fasterxml.jackson.annotation.JsonProperty;
\r
16 public class TableSchema {
\r
18 @JsonProperty("columns")
\r
19 private Map<String, ColumnSchema> columns;
\r
21 @JsonProperty("maxRows")
\r
22 private Integer maxRows;
\r
24 @JsonProperty("isRoot")
\r
25 private Boolean isRoot;
\r
27 @JsonProperty("indexes")
\r
28 private Object indexes;
\r
30 public Map<String, ColumnSchema> getColumns() {
\r
31 return this.columns;
\r
34 public ColumnSchema getColumn(String columnName) {
\r
35 return this.columns.get(columnName);
\r
38 public Integer getMaxRows() {
\r
42 public Boolean getIsRoot() {
\r
46 public Object getIndexes() {
\r
51 public String toString() {
\r
52 return "TableSchema [columns=" + columns + ", maxRows=" + maxRows
\r
53 + ", isRoot=" + isRoot + ", indexes=" + indexes + "]";
\r