2 * Copyright © 2014, 2017 EBay Software Foundation and others. All rights reserved.
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
8 package org.opendaylight.ovsdb.lib.schema;
10 import com.fasterxml.jackson.databind.JsonNode;
12 final class BooleanBaseType extends BaseType {
13 static final BooleanBaseType SINGLETON = new BooleanBaseType();
16 void fillConstraints(final JsonNode node) {
21 public Object toValue(final JsonNode value) {
22 return value.asBoolean();
26 public void validate(final Object value) {
31 public String toString() {
32 return "BooleanBaseType";