Package com.hp.hpl.jena.ontology

Examples of com.hp.hpl.jena.ontology.UnionClass.listDeclaredProperties()


        // Find the union class that has this concept/class as a
        // member.
        if (op.getURI() == ontClass.getURI()) {

          // Get the properties binded with this "named class".
          Iterator ittt = unionClass.listDeclaredProperties(direct);
          while (ittt.hasNext()) {
            OntProperty ontProperty = (OntProperty) ittt.next();
            if (ontProperty != null) {
              if (ontProperty.getDomain() == null
                  || ontProperty.getDomain() == OWL.Thing)
View Full Code Here


        // Find the union class that has this concept/class as a
        // member.
        if (op.getURI() == ontClass.getURI()) {

          // Get the properties binded with this "named class".
          Iterator ittt = unionClass.listDeclaredProperties(direct);
          while (ittt.hasNext()) {
            OntProperty ontProperty = (OntProperty) ittt.next();
            if (ontProperty != null) {
              if (ontProperty.getDomain() == null
                  || ontProperty.getDomain() == OWL.Thing)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.