Skip to contentPackage: SequenceType
SequenceType
Coverage
1: /**
2: * Copyright (C) 2020 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.model.annotations;
14:
15: /**
16: * Defines types of sequence modeling in OWL.
17: */
18: public enum SequenceType {
19: /**
20: * Used for simple (nonreferenced) sequences.
21: * <p>
22: * This means that elements of the sequence are unique to the sequence owner and are NOT shared with other
23: * sequences.
24: * <p>
25: * Example:
26: * <pre>
27: * entity - nodeOne - nodeTwo - nodeThree
28: * </pre>
29: */
30: simple,
31:
32: /**
33: * Used for referenced sequences. This case is more general, but sequence representation requires more space (linear
34: * in the original size)
35: * <p>
36: * This means that elements of the sequence are not unique to the sequence owner. Thus these elements might be
37: * referenced by other sequences.
38: * <p>
39: * Example:
40: * <pre>
41: * entity - nodeOne - nodeTwo - nodeThree
42: * | | |
43: * itemOne itemTwo itemThree
44: * </pre>
45: */
46: referenced
47: }