2 * Copyright (c) 2016 Cisco Systems, Inc. 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
9 package org.opendaylight.mdsal.binding.yang.types;
11 import java.util.List;
12 import org.opendaylight.yangtools.yang.common.QName;
13 import org.opendaylight.yangtools.yang.model.api.*;
16 * Mock Leaf Schema Node designated to increase branch coverage in test cases.
18 * @author Lukas Sedlak <lsedlak@cisco.com>
20 public class TestLeafSchemaNode implements LeafSchemaNode {
21 @Override public TypeDefinition<?> getType() {
25 @Override public String getDefault() {
29 @Override public String getUnits() {
33 @Override public boolean isAugmenting() {
37 @Override public boolean isAddedByUses() {
41 @Override public boolean isConfiguration() {
45 @Override public ConstraintDefinition getConstraints() {
49 @Override public QName getQName() {
53 @Override public SchemaPath getPath() {
57 @Override public List<UnknownSchemaNode> getUnknownSchemaNodes() {
61 @Override public String getDescription() {
65 @Override public String getReference() {
69 @Override public Status getStatus() {