Package thewebsemantic
Class DefaultTypeWrapper
- java.lang.Object
-
- thewebsemantic.TypeWrapper
-
- thewebsemantic.DefaultTypeWrapper
-
public class DefaultTypeWrapper extends TypeWrapper
-
-
Field Summary
-
Fields inherited from class thewebsemantic.TypeWrapper
c, constructor, descriptors, info, JENABEAN_PREFIX
-
-
Constructor Summary
Constructors Constructor Description DefaultTypeWrapper(Class<?> c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid(Object bean)Reterns the IDObjecttoProxyBean(org.apache.jena.rdf.model.Resource source, AnnotationHelper jpa)Stringuri(String id)-
Methods inherited from class thewebsemantic.TypeWrapper
beanInfo, collections, descriptors, getId, getProperty, getRDFAnnotation, getValueContexts, instanceURI, invokeMethod, namespace, toBean, toBean, type, typeUri, typeUri, uri, uri, valueContexts, wrap
-
-
-
-
Constructor Detail
-
DefaultTypeWrapper
public DefaultTypeWrapper(Class<?> c)
-
-
Method Detail
-
uri
public String uri(String id)
- Specified by:
uriin classTypeWrapper
-
id
public String id(Object bean)
Description copied from class:TypeWrapperReterns the ID- Specified by:
idin classTypeWrapper- Returns:
-
toProxyBean
public Object toProxyBean(org.apache.jena.rdf.model.Resource source, AnnotationHelper jpa)
- Specified by:
toProxyBeanin classTypeWrapper
-
-