Fixed tests. Added javadocs to yang-model-api.
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-model-api / src / main / java / org / opendaylight / controller / yang / model / api / ChoiceNode.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.yang.model.api;
9
10 import java.util.Set;
11
12 /**
13  * The ChoiceNode defines a set of alternatives. It consists of a number of
14  * branches defined as ChoiceCaseNode objects.
15  */
16 public interface ChoiceNode extends DataSchemaNode, AugmentationTarget {
17
18     /**
19      * @return ChoiceCaseNode objects defined in this node
20      */
21     Set<ChoiceCaseNode> getCases();
22
23 }