Fix a typo in UnionTemplate
[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  * Various constants when generating JAVA source code.
12  */
13 final class Constants {
14     /**
15      * Name or prefix (multiple patterns in builder class as composed with '_' and upper case of the field name)
16      * of the class constant which contains list of <code>Pattern</code> instances. The type of this constant is
17      * Pattern[] for more than one pattern, or Pattern if there is only a single one.
18      */
19     static final String MEMBER_PATTERN_LIST = "patterns";
20
21     /**
22      * Name or prefix (multiple patterns in builder class as composed with '_' and upper case of the field name)
23      * of the class constant which contains a list of XSD regular expression strings. The type of this constant is
24      * String[] (or String for single strings) and it corresponds to {@link #MEMBER_PATTERN_LIST} in both size
25      * and ordering.
26      */
27     static final String MEMBER_REGEX_LIST = "regexes";
28
29     private Constants() {
30         // Hidden on purpose
31     }
32 }