Skip to content

Package: Defaults

Defaults

nameinstructionbranchcomplexitylinemethod
Defaults()
M: 6 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
static {...}
M: 0 C: 4
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%

Coverage

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