Fix minor bug in FRM proactive flow code path
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-model-api / src / main / java / org / opendaylight / controller / yang / model / api / type / BitsTypeDefinition.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.type;
9
10 import java.util.List;
11
12 import org.opendaylight.controller.yang.model.api.SchemaNode;
13 import org.opendaylight.controller.yang.model.api.TypeDefinition;
14
15 public interface BitsTypeDefinition extends TypeDefinition<BitsTypeDefinition> {
16
17     public List<Bit> getBits();
18
19     interface Bit extends SchemaNode {
20         /**
21          * The position value MUST be in the range 0 to 4294967295, and it MUST
22          * be unique within the bits type.
23          * 
24          * @return The position value of bit in range from 0 to 4294967295.
25          */
26         public Long getPosition();
27
28         public String getName();
29     }
30 }