Map system-ordered leaf-lists to Set<T>
[mdsal.git] / binding / mdsal-binding-model-ri / src / main / java / org / opendaylight / mdsal / binding / model / ri / TypeConstants.java
1 /*
2  * Copyright (c) 2014 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.mdsal.binding.model.ri;
9
10 import org.eclipse.jdt.annotation.NonNull;
11 import org.opendaylight.yangtools.yang.binding.ScalarTypeObject;
12
13 /**
14  * Contains constants used in relations with <code>Type</code>.
15  */
16 public final class TypeConstants {
17
18     /**
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
23      * strings.
24      */
25     public static final @NonNull String PATTERN_CONSTANT_NAME = "PATTERN_CONSTANTS";
26
27     /**
28      * Name of the property holding the value encapsulated in a {@link ScalarTypeObject}.
29      */
30     public static final @NonNull String VALUE_PROP = "value";
31
32     /**
33      * Creation of new instance is prohibited.
34      */
35     private TypeConstants() {
36     }
37 }