Merge "Fix for messags at the boot up time This commit proposes following two sets...
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-model-api / src / main / java / org / opendaylight / controller / model / api / type / BitsTypeDefinition.java
1 /*\r
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  */\r
8 package org.opendaylight.controller.model.api.type;\r
9 \r
10 import java.util.List;\r
11 \r
12 import org.opendaylight.controller.yang.model.api.SchemaNode;\r
13 import org.opendaylight.controller.yang.model.api.TypeDefinition;\r
14 \r
15 public interface BitsTypeDefinition extends TypeDefinition<BitsTypeDefinition> {\r
16 \r
17     public List<Bit> getBits();\r
18 \r
19     interface Bit extends SchemaNode {\r
20         /**\r
21          * The position value MUST be in the range 0 to 4294967295, and it MUST\r
22          * be unique within the bits type.\r
23          * \r
24          * @return The position value of bit in range from 0 to 4294967295.\r
25          */\r
26         public Long getPosition();\r
27 \r
28         public String getName();\r
29     }\r
30 }\r