1 19 20 package com.hp.hpl.jena.ontology; 23 24 25 26 import com.hp.hpl.jena.rdf.model.*; 29 import com.hp.hpl.jena.util.iterator.ExtendedIterator; 30 31 32 43 public interface Ontology 44 extends OntResource 45 { 46 49 50 51 54 56 62 public void setImport( Resource res ); 63 64 70 public void addImport( Resource res ); 71 72 78 public OntResource getImport(); 79 80 86 public ExtendedIterator listImports(); 87 88 94 public boolean imports( Resource res ); 95 96 101 public void removeImport( Resource res ); 102 103 104 106 112 public void setBackwardCompatibleWith( Resource res ); 113 114 120 public void addBackwardCompatibleWith( Resource res ); 121 122 128 public OntResource getBackwardCompatibleWith(); 129 130 137 public ExtendedIterator listBackwardCompatibleWith(); 138 139 145 public boolean isBackwardCompatibleWith( Resource res ); 146 147 153 public void removeBackwardCompatibleWith( Resource res ); 154 155 156 158 164 public void setPriorVersion( Resource res ); 165 166 172 public void addPriorVersion( Resource res ); 173 174 180 public OntResource getPriorVersion(); 181 182 189 public ExtendedIterator listPriorVersion(); 190 191 197 public boolean hasPriorVersion( Resource res ); 198 199 204 public void removePriorVersion( Resource res ); 205 206 208 214 public void setIncompatibleWith( Resource res ); 215 216 222 public void addIncompatibleWith( Resource res ); 223 224 230 public OntResource getIncompatibleWith(); 231 232 239 public ExtendedIterator listIncompatibleWith(); 240 241 247 public boolean isIncompatibleWith( Resource res ); 248 249 254 public void removeIncompatibleWith( Resource res ); 255 256 } 257 258 259 288 | Popular Tags |