-/*
- * [[ Authors will Fill in the Copyright header ]]
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Authors : Brent Salisbury, Evan Zeller
- */
+/*\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
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
+ 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