1 19 20 package com.hp.hpl.jena.ontology; 23 24 25 26 import java.util.Iterator ; 29 30 import com.hp.hpl.jena.rdf.model.*; 31 import com.hp.hpl.jena.rdf.model.Resource; 32 import com.hp.hpl.jena.util.iterator.ExtendedIterator; 33 34 35 44 public interface EnumeratedClass 45 extends OntClass 46 { 47 50 51 54 55 57 63 public void setOneOf( RDFList en ); 64 65 70 public void addOneOf( Resource res ); 71 72 78 public void addOneOf( Iterator individuals ); 79 80 85 public RDFList getOneOf(); 86 87 93 public ExtendedIterator listOneOf(); 94 95 102 public boolean hasOneOf( Resource res ); 103 104 110 public void removeOneOf( Resource res ); 111 112 113 } 114 115 116 145 | Popular Tags |