2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.mdsal.binding.model.ri;
10 import org.eclipse.jdt.annotation.NonNull;
11 import org.opendaylight.yangtools.yang.binding.ScalarTypeObject;
14 * Contains constants used in relations with <code>Type</code>.
16 public final class TypeConstants {
19 * Name or prefix (multiple patterns in builder class as composed with '_'
20 * and upper case of the field name) of the class constant which holds the map
21 * of regular expressions that need to be enforced on the string value.
22 * The map is keyed by Pattern-compatible string and values are XSD-compatible
25 public static final @NonNull String PATTERN_CONSTANT_NAME = "PATTERN_CONSTANTS";
28 * Name of the property holding the value encapsulated in a {@link ScalarTypeObject}.
30 public static final @NonNull String VALUE_PROP = "value";
33 * Creation of new instance is prohibited.
35 private TypeConstants() {