Lines Matching defs:resource
31 protected Resource resource;
36 public OWLEntityImpl(OWLOntology ontology, Resource resource) {
37 this.resource = resource;
51 return resource.isAnon();
57 return URI.create(resource.getURI());
63 return URIUtils.getLocalName(resource.getURI());
69 return kb.getQNames().shortForm( resource.getURI() );
73 return resource.getNameSpace();
143 resource.addProperty(prop, (Literal) value.getImplementation());
168 resource.addProperty(prop, (Literal) value.getImplementation());
188 StmtIterator i = resource.listProperties(prop);
212 StmtIterator i = resource.listProperties(prop);
232 StmtIterator i = resource.listProperties(prop);
281 resource.removeAll(prop);
285 return resource;
292 return resource.getId();