MdsJdoAnnotationReader

public class MdsJdoAnnotationReader extends JDOAnnotationReader

MDS JDO annotation reader, extends the regular org.datanucleus.api.jdo.metadata.JDOAnnotationReader This class was introduced because org.datanucleus.api.jdo.metadata.JDOAnnotationReader would not read field annotations for metadata if there was no class level JDO annotations. This extension will recognize the org.motechproject.mds.annotations.Entity annotation as an annotation indicating that the class is persistence capable.

Constructors

MdsJdoAnnotationReader

public MdsJdoAnnotationReader(MetaDataManager mgr)

Methods

isClassPersistable

protected AnnotationObject isClassPersistable(Class cls)