Skip to content

Package: SequenceType

SequenceType

nameinstructionbranchcomplexitylinemethod
static {...}
M: 0 C: 24
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 3
100%
M: 0 C: 1
100%

Coverage

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