Package edu.pitt.ontology

Examples of edu.pitt.ontology.IOntologyError


   */
  void checkModel(){
    try{
      load();
    }catch(IOntologyException ex){
      throw new IOntologyError("Problem loading ontology "+getURI(),ex);
    }
  }
View Full Code Here


        File ofile = new File(""+map.get("owl_file_name"));
        ofile.delete();
      }
     
    }catch(Exception ex){
      throw new IOntologyError("Problem removing ontology "+getName(),ex);
    }
  }
View Full Code Here

    propertyMap.put(name,p);
    return p;
  }

  public IRestriction createRestriction(int type) {
    throw new IOntologyError("Operation not supported");
  }
View Full Code Here

    classMap = null;
    propertyMap = null;
  }

  public IQueryResults executeQuery(IQuery query) {
    throw new IOntologyError("Operation not supported");
  }
View Full Code Here

  public IResourceIterator getAllClasses() {
    return new DefaultResourceIterator(classMap.values().iterator());
  }

  public IResourceIterator getAllProperties() {
    throw new IOntologyError("Operation not supported");
  }
View Full Code Here

          importProps.setProperty(LAST_PROCESSED_PAGE, ""+i);
          importProps.setProperty(LAST_PAGE_COUNT, ""+pagecount);
          storeImportProperties(target,importProps);
        }
        else{
          throw new IOntologyError("Bioportal did what it does best");
        }
      }while(++i <= pagecount);
    }
   
 
View Full Code Here

          importProps.setProperty(LAST_PROCESSED_PAGE, ""+i);
          importProps.setProperty(LAST_PAGE_COUNT, ""+pagecount);
          storeImportProperties(target,importProps);
        }
        else{
          throw new IOntologyError("Bioportal did what it does best");
        }
      }while(++i <= pagecount);
    }
   
 
View Full Code Here

  public void reload() throws IOntologyException {
    // NOOP
  }

  public void removeImportedOntology(IOntology o) {
    throw new IOntologyError("BioPortal is read-only");
  }
View Full Code Here

  public IOntology getOntology() {
    return this;
  }
  public IClass createClass(ILogicExpression exp) {
    throw new IOntologyError("Operation not supported");
  }
View Full Code Here

  /**
   * create new concepts
   */
  public IClass createClass(String name) {
    throw new IOntologyError("Operation not supported");
  }
View Full Code Here

TOP

Related Classes of edu.pitt.ontology.IOntologyError

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.