Package edu.pitt.ontology

Examples of edu.pitt.ontology.IOntologyError


  public boolean hasDisjointClass(IClass a) {
    return getClassList(DISJOINT_CLASS).contains(a);
  }

  public void removeDisjointClass(IClass a) {
    throw new IOntologyError("Operation Not Supported");

  }
View Full Code Here


    throw new IOntologyError("Operation Not Supported");

  }

  public void removeEquivalentClass(IClass a) {
    throw new IOntologyError("Operation Not Supported");

  }
View Full Code Here

    throw new IOntologyError("Operation Not Supported");

  }

  public void removeEquivalentRestriction(IRestriction restriction) {
    throw new IOntologyError("Operation Not Supported");

  }
View Full Code Here

    throw new IOntologyError("Operation Not Supported");

  }

  public void removeNecessaryRestriction(IRestriction restriction) {
    throw new IOntologyError("Operation Not Supported");

  }
View Full Code Here

    throw new IOntologyError("Operation Not Supported");

  }

  public void removeSubClass(IClass child) {
    throw new IOntologyError("Operation Not Supported");
  }
View Full Code Here

  public void removeSubClass(IClass child) {
    throw new IOntologyError("Operation Not Supported");
  }

  public void removeSuperClass(IClass parent) {
    throw new IOntologyError("Operation Not Supported");

  }
View Full Code Here

 
  private void lazyLoad(){
    try {
      load();
    } catch (IOntologyException e) {
      throw new IOntologyError("Unable to load ontology "+location,e);
    }
  }
View Full Code Here

          }
        }
        r.close();
        return IRI.create(url);
      } catch (FileNotFoundException e) {
        throw new IOntologyError("Error reading ontology from "+location,e);
      } catch (IOException e) {
        throw new IOntologyError("Error reading ontology from "+location,e);
      }
    }
    return null;
  }
View Full Code Here

  public IRestriction createRestriction(int type) {
    return new ORestriction(type, getOntology());
  }

  public IQueryResults executeQuery(IQuery iQuery) {
    throw new IOntologyError("Not implemented yet");
  }
View Full Code Here

  public IQueryResults executeQuery(IQuery iQuery) {
    throw new IOntologyError("Not implemented yet");
  }
 
  public IResourceIterator getMatchingResources(IProperty p, Object value) {
    throw new IOntologyError("Not implemented yet");
  }
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.