Package com.hp.hpl.jena.ontology

Examples of com.hp.hpl.jena.ontology.AllValuesFromRestriction


            while (it.hasNext())
            {
                Restriction restriction = it.next();     
                if (restriction.canAs(AllValuesFromRestriction.class))
                {
                    AllValuesFromRestriction avfr = restriction.asAllValuesFromRestriction();
                    if (avfr.getOnProperty().equals(property) && avfr.hasAllValuesFrom(ontClass))
                    {
                        ExtendedIterator<OntClass> classIt = avfr.listSubClasses(true);
                        try
                        {
                            if (classIt.hasNext())
                            {
                                OntClass matchingClass = classIt.next();
View Full Code Here

TOP

Related Classes of com.hp.hpl.jena.ontology.AllValuesFromRestriction

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.