Package thewebsemantic
Class IdMethodTypeWrapper
- java.lang.Object
-
- thewebsemantic.TypeWrapper
-
- thewebsemantic.IdMethodTypeWrapper
-
public class IdMethodTypeWrapper extends TypeWrapper
-
-
Field Summary
-
Fields inherited from class thewebsemantic.TypeWrapper
c, constructor, descriptors, info, JENABEAN_PREFIX
-
-
Constructor Summary
Constructors Constructor Description IdMethodTypeWrapper(Class<?> c, Method m)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValuesContext[]getValueContexts(Object o)Stringid(Object bean)Reterns the IDObjecttoBean(String uri)ObjecttoProxyBean(org.apache.jena.rdf.model.Resource source, AnnotationHelper jpa)Stringuri(String id)-
Methods inherited from class thewebsemantic.TypeWrapper
beanInfo, collections, descriptors, getId, getProperty, getRDFAnnotation, instanceURI, invokeMethod, namespace, toBean, type, typeUri, typeUri, uri, uri, valueContexts, wrap
-
-
-
-
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:
-
getValueContexts
public ValuesContext[] getValueContexts(Object o)
- Overrides:
getValueContextsin classTypeWrapper
-
toBean
public Object toBean(String uri)
- Overrides:
toBeanin classTypeWrapper
-
toProxyBean
public Object toProxyBean(org.apache.jena.rdf.model.Resource source, AnnotationHelper jpa)
- Specified by:
toProxyBeanin classTypeWrapper
-
-