Package com.hp.hpl.jena.ontology

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


           SomeValuesFromRestriction rest = restriction.asSomeValuesFromRestriction();
           restricao.setTipoRestriction("someValuesFrom");
           restricao.setValorRestriction(lowerFirstChar(rest.getSomeValuesFrom().getLocalName()));
      
       }else if(restriction.isHasValueRestriction()){
           HasValueRestriction rest = restriction.asHasValueRestriction();
           restricao.setTipoRestriction("hasValue");
           restricao.setValorRestriction(lowerFirstChar(rest.getHasValue().asResource().getLocalName()));
      
       }else {
           restricao.setTipoRestriction("Tipo desconhecido");
           restricao.setValorRestriction("Valor desconhecido");
       }
View Full Code Here

TOP

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

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.