From 9fcd05f5b59f53389863279e7fe429611dd7bc17 Mon Sep 17 00:00:00 2001 From: luxbe Date: Fri, 22 Nov 2024 11:01:24 +0100 Subject: [PATCH] [Enhancement #283] Fix invalid iri in @OWLClass annotation --- .../src/test/java/cz/cvut/kbss/jopa/environment/OWLClassV.java | 2 +- .../src/test/java/cz/cvut/kbss/jopa/environment/Vocabulary.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/jopa-impl/src/test/java/cz/cvut/kbss/jopa/environment/OWLClassV.java b/jopa-impl/src/test/java/cz/cvut/kbss/jopa/environment/OWLClassV.java index d38e5f1f4..488d9f6c8 100644 --- a/jopa-impl/src/test/java/cz/cvut/kbss/jopa/environment/OWLClassV.java +++ b/jopa-impl/src/test/java/cz/cvut/kbss/jopa/environment/OWLClassV.java @@ -25,7 +25,7 @@ import java.lang.reflect.Field; import java.net.URI; -@OWLClass(iri = Vocabulary.c_OwlClassU) +@OWLClass(iri = Vocabulary.c_OwlClassV) public class OWLClassV implements Serializable { @Id diff --git a/jopa-impl/src/test/java/cz/cvut/kbss/jopa/environment/Vocabulary.java b/jopa-impl/src/test/java/cz/cvut/kbss/jopa/environment/Vocabulary.java index 1805fd554..c124963d7 100644 --- a/jopa-impl/src/test/java/cz/cvut/kbss/jopa/environment/Vocabulary.java +++ b/jopa-impl/src/test/java/cz/cvut/kbss/jopa/environment/Vocabulary.java @@ -39,6 +39,7 @@ public class Vocabulary { public static final String c_OwlClassS = CLASS_BASE + "OWLClassS"; public static final String c_OwlClassT = CLASS_BASE + "OWLClassT"; public static final String c_OwlClassU = CLASS_BASE + "OWLClassU"; + public static final String c_OwlClassV = CLASS_BASE + "OWLClassV"; public static final String c_OwlClassW = CLASS_BASE + "OWLClassW"; public static final String c_OwlClassWithQueryAttr = CLASS_BASE + "OWLClassWithQueryAttr"; public static final String c_Person = CLASS_BASE + "Person";