Package org.apache.marmotta.commons.sesame.facading.annotations

Examples of org.apache.marmotta.commons.sesame.facading.annotations.RDF


        final String[] rdf_property;
        final boolean inverse;
        // look for RDF annotation and extract the property from it; if not on the getter, look
        // for the corresponding setter and check whether it has a @RDF annotation; if neither has,
        // throw an IllegalArgumentException
        RDF rdf = FacadingInvocationHelper.getAnnotation(method, RDF.class);
        if (rdf != null) {
            rdf_property = rdf.value();
            inverse = false;
            return new FacadingPredicate(inverse, rdf_property);
        } else {
            RDFInverse rdfi = FacadingInvocationHelper.getAnnotation(method, RDFInverse.class);
            if (rdfi != null) {
View Full Code Here


        final String[] rdf_property;
        final boolean inverse;
        // look for RDF annotation and extract the property from it; if not on the getter, look
        // for the corresponding setter and check whether it has a @RDF annotation; if neither has,
        // throw an IllegalArgumentException
        RDF rdf = FacadingInvocationHelper.getAnnotation(method, RDF.class);
        if (rdf != null) {
            rdf_property = rdf.value();
            inverse = false;
            return new FacadingPredicate(inverse, rdf_property);
        } else {
            RDFInverse rdfi = FacadingInvocationHelper.getAnnotation(method, RDFInverse.class);
            if (rdfi != null) {
View Full Code Here

TOP

Related Classes of org.apache.marmotta.commons.sesame.facading.annotations.RDF

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.