Skip to contentPackage: Defaults
Defaults
Coverage
1: /**
2: * Copyright (C) 2022 Czech Technical University in Prague
3: * <p>
4: * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
5: * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
6: * version.
7: * <p>
8: * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
9: * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
10: * details. You should have received a copy of the GNU General Public License along with this program. If not, see
11: * <http://www.gnu.org/licenses/>.
12: */
13: package cz.cvut.kbss.jopa.owl2java.config;
14:
15: import cz.cvut.kbss.jopa.owl2java.Constants;
16: import cz.cvut.kbss.jopa.owl2java.cli.Option;
17: import cz.cvut.kbss.jopa.owl2java.cli.PropertiesType;
18:
19: /**
20: * Default values of {@link Option}s.
21: */
22: public class Defaults {
23:
24: /**
25: * @see Option#WITH_IRIS
26: */
27: public static final boolean WITH_IRIS = false;
28:
29: /**
30: * @see Option#TARGET_DIR
31: */
32: public static final String TARGET_DIR = "";
33:
34: /**
35: * @see Option#PACKAGE
36: */
37: public static final String PACKAGE = "generated";
38:
39: /**
40: * @see Option#WHOLE_ONTOLOGY_AS_IC
41: */
42: public static final boolean WHOLE_ONTOLOGY_AS_IC = false;
43:
44: /**
45: * @see Option#IGNORE_FAILED_IMPORTS
46: */
47: public static final boolean IGNORE_FAILED_IMPORTS = false;
48:
49: /**
50: * @see Option#PREFER_MULTILINGUAL_STRINGS
51: */
52: public static final boolean PREFER_MULTILINGUAL_STRINGS = true;
53:
54: /**
55: * @see Option#JAVA_CLASSNAME_ANNOTATION
56: */
57: public static final String JAVA_CLASSNAME_ANNOTATION = Constants.P_CLASS_NAME;
58:
59: /**
60: * @see Option#PROPERTIES_TYPE
61: */
62: public static final String PROPERTIES_TYPE = PropertiesType.string.name();
63:
64: /**
65: * @see Option#GENERATE_JAVADOC_FROM_COMMENT
66: */
67: public static final boolean GENERATE_JAVADOC_FROM_COMMENT = true;
68:
69: /**
70: * @see Option#GENERATE_ANNOTATION_FIELDS
71: */
72: public static final boolean GENERATE_ANNOTATION_FIELDS = true;
73:
74: /**
75: * @see Option#GENERATE_THING
76: */
77: public static final boolean GENERATE_THING = true;
78:
79: private Defaults() {
80: throw new AssertionError();
81: }
82: }