Package edu.stanford.smi.protegex.owl.model.impl

Examples of edu.stanford.smi.protegex.owl.model.impl.DefaultOWLNamedClass


        //get a certain DatatypeProperty
        RDFProperty propertyType = individual.getOWLModel()
        .getRDFProperty("http://www.w3.org/1999/02/22-rdf-syntax-ns#type");
        Object oType = individual.getPropertyValue(propertyType);
        if(oType instanceof DefaultOWLNamedClass){
            DefaultOWLNamedClass type = (DefaultOWLNamedClass)oType;
            //return a name without the namespace prefixes
            parentType = type.getLocalName();
          }else{
            parentType="";
          }
      }
        return parentType;
View Full Code Here

TOP

Related Classes of edu.stanford.smi.protegex.owl.model.impl.DefaultOWLNamedClass

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.