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 fb759c9d5..5b4bf5bd7 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 @@ -60,34 +60,6 @@ public OWLClassV(URI id) { this.id = id; } - public static String getClassIri() { - return OWLClassV.class.getAnnotation(OWLClass.class).iri(); - } - - public static Field getIdField() throws NoSuchFieldException { - return OWLClassV.class.getDeclaredField("id"); - } - - public static Field getSetStringAttField() throws NoSuchFieldException { - return OWLClassV.class.getDeclaredField("setStringAtt"); - } - - public static Field getListStringAttField() throws NoSuchFieldException { - return OWLClassV.class.getDeclaredField("listStringAtt"); - } - - public static Field getCollectionStringAttField() throws NoSuchFieldException { - return OWLClassV.class.getDeclaredField("collectionStringAtt"); - } - - public static Field getSetQueryStringAttField() throws NoSuchFieldException { - return OWLClassV.class.getDeclaredField("setQueryStringAtt"); - } - - public static Field getListQueryStringAttField() throws NoSuchFieldException { - return OWLClassV.class.getDeclaredField("listQueryStringAtt"); - } - public URI getId() { return id; } @@ -147,4 +119,32 @@ public String toString() { ", listQueryStringAtt=" + listQueryStringAtt + '}'; } + + public static String getClassIri() { + return OWLClassV.class.getAnnotation(OWLClass.class).iri(); + } + + public static Field getIdField() throws NoSuchFieldException { + return OWLClassV.class.getDeclaredField("id"); + } + + public static Field getSetStringAttField() throws NoSuchFieldException { + return OWLClassV.class.getDeclaredField("setStringAtt"); + } + + public static Field getListStringAttField() throws NoSuchFieldException { + return OWLClassV.class.getDeclaredField("listStringAtt"); + } + + public static Field getCollectionStringAttField() throws NoSuchFieldException { + return OWLClassV.class.getDeclaredField("collectionStringAtt"); + } + + public static Field getSetQueryStringAttField() throws NoSuchFieldException { + return OWLClassV.class.getDeclaredField("setQueryStringAtt"); + } + + public static Field getListQueryStringAttField() throws NoSuchFieldException { + return OWLClassV.class.getDeclaredField("listQueryStringAtt"); + } }