Skip to contentMethod: Constants()
1: /*
2: * JOPA
3: * Copyright (C) 2023 Czech Technical University in Prague
4: *
5: * This library is free software; you can redistribute it and/or
6: * modify it under the terms of the GNU Lesser General Public
7: * License as published by the Free Software Foundation; either
8: * version 3.0 of the License, or (at your option) any later version.
9: *
10: * This library is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13: * Lesser General Public License for more details.
14: *
15: * You should have received a copy of the GNU Lesser General Public
16: * License along with this library.
17: */
18: package cz.cvut.kbss.jopa.owl2java;
19:
20: public class Constants {
21:
22: /**
23: * Annotation property marking IC axioms.
24: */
25: public static final String P_IS_INTEGRITY_CONSTRAINT_FOR =
26: "http://krizik.felk.cvut.cz/ontologies/2009/ic.owl#isIntegrityConstraintFor";
27:
28: /**
29: * Annotation property specifying the name of Java class mapped by the annotated ontological class.
30: */
31: public static final String P_CLASS_NAME = "http://krizik.felk.cvut.cz/ontologies/2009/ic.owl#javaClassName";
32:
33: /**
34: * Name of the class containing generated vocabulary.
35: */
36: public static final String VOCABULARY_CLASS = "Vocabulary";
37:
38: /**
39: * Package into which the model is generated.
40: */
41: public static final String MODEL_PACKAGE = "model";
42:
43: /**
44: * Java package name separator.
45: */
46: public static final char PACKAGE_SEPARATOR = '.';
47:
48: /**
49: * Default language for language-tagged literals.
50: */
51: public static final String LANGUAGE = "en";
52:
53: /**
54: * Name of the field representing entity identifier.
55: */
56: public static final String ID_FIELD_NAME = "id";
57:
58: /**
59: * Name of the field representing the {@link cz.cvut.kbss.jopa.vocabulary.RDFS#LABEL} property.
60: */
61: public static final String LABEL_FIELD_NAME = "name";
62:
63: /**
64: * Name of the field representing the {@link cz.cvut.kbss.jopa.vocabulary.DC.Terms#DESCRIPTION} property.
65: */
66: public static final String DESCRIPTION_FIELD_NAME = "description";
67:
68: /**
69: * Name of the field representing {@link cz.cvut.kbss.jopa.model.annotations.Types}.
70: */
71: public static final String TYPES_FIELD_NAME = "types";
72:
73: /**
74: * Name of the field representing {@link cz.cvut.kbss.jopa.model.annotations.Properties}.
75: */
76: public static final String PROPERTIES_FIELD_NAME = "properties";
77:
78: /**
79: * Tool version.
80: */
81: public static final String VERSION = "1.2.1";
82:
83:
84: private Constants() {
85: throw new AssertionError();
86: }
87: }