Move BindingMapping
[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 or prefix (multiple patterns in builder class as composed with '_'
22      * and upper case of the field name) of the class constant which contains list
23      * of <code>Pattern</code> instances. The type of this constant is Pattern[]
24      * for more than one pattern, or Pattern if there is only a single one.
25      */
26     public static final String MEMBER_PATTERN_LIST = "patterns";
27
28     /**
29      * Name or prefix (multiple patterns in builder class as composed with '_'
30      * and upper case of the field name) of the class constant which contains a list
31      * of XSD regular expression strings. The type of this constant is String[]
32      * (or String for single strings) and it corresponds to {@link #MEMBER_PATTERN_LIST}
33      * in both size and ordering.
34      */
35     public static final String MEMBER_REGEX_LIST = "regexes";
36
37     /**
38      * It doesn't have the sense to create the instances of this class.
39      */
40     private Constants() {
41     }
42 }