Export declared regexes to generated code
[mdsal.git] / binding / mdsal-binding-generator-util / src / main / java / org / opendaylight / mdsal / binding / model / util / 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.util;
9
10 /**
11  * Contains constants used in relations with <code>Type</code>.
12  */
13 public final class TypeConstants {
14
15     /**
16      * Name of the class constant which holds the map of regular expressions that need to be enforced on the string
17      * value. The map is keyed by Pattern-compatible string and values are XSD-compatible strings.
18      */
19     public static final String PATTERN_CONSTANT_NAME = "PATTERN_CONSTANTS";
20
21     /**
22      * Creation of new instance is prohibited.
23      */
24     private TypeConstants() {
25     }
26 }