package org.opendaylight.mdsal.binding.model.ri;
import org.eclipse.jdt.annotation.NonNull;
+import org.opendaylight.yangtools.yang.binding.BitsTypeObject;
import org.opendaylight.yangtools.yang.binding.ScalarTypeObject;
/**
* Contains constants used in relations with <code>Type</code>.
*/
public final class TypeConstants {
-
/**
- * Name or prefix (multiple patterns in builder class as composed with '_'
- * and upper case of the field name) of the class constant which holds the map
- * of regular expressions that need to be enforced on the string value.
- * The map is keyed by Pattern-compatible string and values are XSD-compatible
- * strings.
+ * Name or prefix (multiple patterns in builder class as composed with '_' and upper case of the field name) of the
+ * class constant which holds the map of regular expressions that need to be enforced on the string value. The map
+ * is keyed by Pattern-compatible string and values are XSD-compatible strings.
*/
public static final @NonNull String PATTERN_CONSTANT_NAME = "PATTERN_CONSTANTS";
public static final @NonNull String VALUE_PROP = "value";
/**
- * Creation of new instance is prohibited.
+ * Name of the constant holding the names of valid {@code bit}s in a {@link BitsTypeObject}. This constant is
+ * protected and made accessible via {@link BitsTypeObject#validNames()} and its type matches the return type
+ * exactly.
*/
+ public static final @NonNull String VALID_NAMES_NAME = "VALID_NAMES";
+
private TypeConstants() {
+ // Hidden on purpose
}
}