18 package org.turro.jpa.entity;
20 import java.lang.reflect.Field;
21 import java.util.logging.Level;
22 import java.util.logging.Logger;
23 import javax.persistence.Lob;
24 import org.turro.elephant.context.ElephantContext;
25 import org.turro.reflection.Mapping;
39 boolean accept = super.acceptObject(currentObject);
46 String name = super.getObjectName(clazz);
47 String s[] = name.split(
"[^a-zA-Z0-9]");
48 return s.length == 0 ? name : s[0];
52 protected boolean acceptField(Object currentObject, Field f, Mapping map) {
53 boolean accept = super.acceptField(currentObject, f, map);
54 accept = accept && !f.isAnnotationPresent(Lob.class);
63 }
catch (ClassNotFoundException ex) {
71 String name = super.getClassName(javaClass);
72 String s[] = name.split(
"[^a-zA-Z0-9\\.]");
73 return s.length == 0 ? name : s[0];
static String logMsg(String msg)
Class convertClass(Class javaClass)
XMLSerializer(Object object)
boolean acceptField(Object currentObject, Field f, Mapping map)
String getObjectName(Class clazz)
String getClassName(Class javaClass)
boolean acceptObject(Object currentObject)