Export declared regexes to generated code
[mdsal.git] / binding / mdsal-binding-java-api-generator / src / main / java / org / opendaylight / mdsal / binding / java / api / generator / Constants.java
1 /*
2  * Copyright (c) 2013 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.java.api.generator;
9
10 /**
11  *
12  * Various constants when generating JAVA source code.
13  *
14  */
15 final class Constants {
16
17     public static final String COMMA = ",";
18     public static final String DOT = ".";
19
20     /**
21      * Name of the class constant which contains list of <code>Pattern</code> instances. The type of this constant
22      * is Pattern[] for more than one pattern, or Pattern if there is only a single one.
23      */
24     public static final String MEMBER_PATTERN_LIST = "patterns";
25
26     /**
27      * Name of the class constant which contains a list of XSD regular expression strings. The type of this constant
28      * is String[] (or String for single strings) and it corresponds to {@link #MEMBER_PATTERN_LIST} in both size and
29      * ordering.
30      */
31     public static final String MEMBER_REGEX_LIST = "regexes";
32
33     /**
34      * It doesn't have the sense to create the instances of this class.
35      */
36     private Constants() {
37     }
38 }