Skip to content

Package: OntoDriverProperties

OntoDriverProperties

nameinstructionbranchcomplexitylinemethod
OntoDriverProperties()
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%

Coverage

1: /**
2: * Copyright (C) 2016 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.ontodriver.config;
16:
17: public final class OntoDriverProperties {
18:
19:         private OntoDriverProperties() {
20:                 throw new AssertionError();
21:         }
22:
23:         /**
24:          * Property for setting default auto-commit strategy for connections.
25:          */
26:         public static final String CONNECTION_AUTO_COMMIT = "cz.cvut.kbss.ontodriver.connection-auto-commit";
27:         /**
28:          * Reasoner factory class property.
29:          */
30:         public static final String OWLAPI_REASONER_FACTORY_CLASS = "cz.cvut.jopa.reasonerFactoryClass";
31:         /**
32:          * Ontology language property.
33:          */
34:         public static final String ONTOLOGY_LANGUAGE = "cz.cvut.jopa.lang";
35:
36:         /**
37:          * This setting tells the driver whether to use the transactional ontology
38:          * for retrieving entities and answering queries. </p>
39:          *
40:          * If so, uncommitted changes made during transaction will be included in
41:          * query evaluation, entity retrieval etc. Otherwise the driver will use the
42:          * ontology as it was when the transaction was started and uncommitted
43:          * changes will not be visible until commit.
44:          */
45:         public static final String USE_TRANSACTIONAL_ONTOLOGY = "cz.cvut.kbss.ontodriver.use-transactional-onto";
46:
47:         /**
48:          * Property for specifying extra URIs which should be added to the module
49:          * extraction signature. </p>
50:          *
51:          * The module extraction signature is generated from metamodel, but
52:          * <i>types</i> and <i>properties</i> cannot be determined from the
53:          * metamodel. Therefore it is possible to specify them using this property
54:          * so that the module is complete.
55:          */
56:         public static final String MODULE_EXTRACTION_SIGNATURE = "cz.cvut.kbss.ontodriver.module-signature";
57:
58:         /**
59:          * Property representing module extraction signature delimiter. </p>
60:          *
61:          * I. e. URIs in module extraction signature are delimited by this string.
62:          *
63:          * @see #MODULE_EXTRACTION_SIGNATURE
64:          */
65:         public static final String SIGNATURE_DELIMITER = "|";
66: }