Remove yang.model.util.BaseTypes
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / type / BitsTypeDefinition.java
index 0aa6083c31d6f202e93fc5996f4c3bd649189ace..e8d98ae92e58f08531ecaee1238dcabc425d5637 100644 (file)
@@ -11,7 +11,9 @@ import java.util.Collection;
 import java.util.Objects;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
+import org.opendaylight.yangtools.yang.common.QName;
 import org.opendaylight.yangtools.yang.common.Uint32;
+import org.opendaylight.yangtools.yang.common.YangConstants;
 import org.opendaylight.yangtools.yang.model.api.DocumentedNode;
 import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
 
@@ -19,11 +21,15 @@ import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
  * Makes is possible to access to the individual bits values of this type.
  */
 public interface BitsTypeDefinition extends TypeDefinition<BitsTypeDefinition> {
+    /**
+     * Well-known QName of the {@code bits} built-in type.
+     */
+    QName QNAME = QName.create(YangConstants.RFC6020_YANG_MODULE, "bits").intern();
+
     /**
      * Returns all bit values.
      *
-     * @return list of <code>Bit</code> type instastances with data about all
-     *         individual bits of <code>bits</code> YANG built-in type
+     * @return list of {@code Bit} type instances with data about all individual bits of {@code bits} YANG built-in type
      */
     @NonNull Collection<? extends Bit> getBits();