Package thewebsemantic
Class EnumTypeWrapper
- java.lang.Object
-
- thewebsemantic.TypeWrapper
-
- thewebsemantic.EnumTypeWrapper
-
public class EnumTypeWrapper extends TypeWrapper
-
-
Field Summary
-
Fields inherited from class thewebsemantic.TypeWrapper
c, constructor, descriptors, info, JENABEAN_PREFIX
-
-
Constructor Summary
Constructors Constructor Description EnumTypeWrapper(Class<?> c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, getValueContexts, instanceURI, invokeMethod, namespace, toBean, type, typeUri, typeUri, uri, uri, valueContexts, wrap
-
-
-
-
Constructor Detail
-
EnumTypeWrapper
public EnumTypeWrapper(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:
-
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
-
-