Package thewebsemantic
Class Thing
- java.lang.Object
-
- thewebsemantic.Thing
-
- All Implemented Interfaces:
InvocationHandler,As
public class Thing extends Object implements InvocationHandler, As
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tas(Class<T> c)Polymorph this proxied interface into a new vocabulary by providing it's class.org.apache.jena.rdf.model.ResourceasResource()Provides access to the raw Jena resource in focus.Thingat(String uri)Class<?>getGenericType(ParameterizedType type)org.apache.jena.rdf.model.ModelgetModel()org.apache.jena.ontology.OntResourcegetOntResource()org.apache.jena.rdf.model.ResourcegetResource()Objectinvoke(Object proxy, Method method, Object[] args)<T> Tisa(Class<T> c)Polymorph and reclassify this proxied interface into a new vocabulary by providing it's class.StringtoString()
-
-
-
Constructor Detail
-
Thing
public Thing(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Model m)
-
Thing
public Thing(String resource, org.apache.jena.rdf.model.Model m)
-
Thing
public Thing(org.apache.jena.rdf.model.Model m)
-
-
Method Detail
-
getResource
public org.apache.jena.rdf.model.Resource getResource()
-
getOntResource
public org.apache.jena.ontology.OntResource getOntResource()
-
getModel
public org.apache.jena.rdf.model.Model getModel()
-
as
public <T> T as(Class<T> c)
Description copied from interface:AsPolymorph this proxied interface into a new vocabulary by providing it's class.
-
isa
public <T> T isa(Class<T> c)
Description copied from interface:AsPolymorph and reclassify this proxied interface into a new vocabulary by providing it's class.
-
invoke
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-
asResource
public org.apache.jena.rdf.model.Resource asResource()
Description copied from interface:AsProvides access to the raw Jena resource in focus. All requests or sets on this proxy apply the the resource- Specified by:
asResourcein interfaceAs- Returns:
- the underlying Jena resource targeted by this proxy.
-
getGenericType
public Class<?> getGenericType(ParameterizedType type)
-
-