+++ /dev/null
-/*\r
- * [[ Authors will Fill in the Copyright header ]]\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Authors : Brent Salisbury, Evan Zeller\r
- */\r
-package org.opendaylight.ovsdb.lib.database;\r
-\r
-import java.util.Map;\r
-\r
-import com.fasterxml.jackson.annotation.JsonProperty;\r
-\r
-public class TableSchema {\r
-\r
- @JsonProperty("columns")\r
- private Map<String, ColumnSchema> columns;\r
-\r
- @JsonProperty("maxRows")\r
- private Integer maxRows;\r
-\r
- @JsonProperty("isRoot")\r
- private Boolean isRoot;\r
-\r
- @JsonProperty("indexes")\r
- private Object indexes;\r
-\r
- public Map<String, ColumnSchema> getColumns() {\r
- return this.columns;\r
- }\r
-\r
- public ColumnSchema getColumn(String columnName) {\r
- return this.columns.get(columnName);\r
- }\r
-\r
- public Integer getMaxRows() {\r
- return maxRows;\r
- }\r
-\r
- public Boolean getIsRoot() {\r
- return isRoot;\r
- }\r
-\r
- public Object getIndexes() {\r
- return indexes;\r
- }\r
-\r
- @Override\r
- public String toString() {\r
- return "TableSchema [columns=" + columns + ", maxRows=" + maxRows\r
- + ", isRoot=" + isRoot + ", indexes=" + indexes + "]";\r
- }\r
-}\r