Package thewebsemantic
Class IdFieldTypeWrapper
- java.lang.Object
-
- thewebsemantic.TypeWrapper
-
- thewebsemantic.IdFieldTypeWrapper
-
public class IdFieldTypeWrapper extends TypeWrapper
-
-
Field Summary
-
Fields inherited from class thewebsemantic.TypeWrapper
c, constructor, descriptors, info, JENABEAN_PREFIX
-
-
Constructor Summary
Constructors Constructor Description IdFieldTypeWrapper(Class<?> c, Field f, Field[] fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]collections()ValuesContextgetProperty(String name)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, descriptors, getId, getRDFAnnotation, instanceURI, invokeMethod, namespace, toBean, type, typeUri, typeUri, uri, uri, valueContexts, wrap
-
-
-
-
Method Detail
-
id
public String id(Object bean)
Description copied from class:TypeWrapperReterns the ID- Specified by:
idin classTypeWrapper- Returns:
-
uri
public String uri(String id)
- Specified by:
uriin classTypeWrapper
-
collections
public String[] collections()
- Overrides:
collectionsin classTypeWrapper
-
getProperty
public ValuesContext getProperty(String name)
- Overrides:
getPropertyin classTypeWrapper
-
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
-
-