.. java:import:: org.apache.commons.lang ArrayUtils .. java:import:: org.datanucleus.api.jdo.metadata JDOAnnotationReader .. java:import:: org.datanucleus.metadata MetaDataManager .. java:import:: org.datanucleus.metadata.annotations AnnotationObject .. java:import:: org.motechproject.mds.annotations Entity .. java:import:: org.motechproject.mds.reflections ReflectionsUtil .. java:import:: org.motechproject.mds.util Constants .. java:import:: javax.jdo.annotations IdentityType .. java:import:: javax.jdo.annotations PersistenceCapable .. java:import:: java.util HashMap MdsJdoAnnotationReader ====================== .. java:package:: org.motechproject.mds.jdo :noindex: .. java:type:: public class MdsJdoAnnotationReader extends JDOAnnotationReader MDS JDO annotation reader, extends the regular \ :java:ref:`org.datanucleus.api.jdo.metadata.JDOAnnotationReader`\ This class was introduced because \ :java:ref:`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 \ :java:ref:`org.motechproject.mds.annotations.Entity`\ annotation as an annotation indicating that the class is persistence capable. Constructors ------------ MdsJdoAnnotationReader ^^^^^^^^^^^^^^^^^^^^^^ .. java:constructor:: public MdsJdoAnnotationReader(MetaDataManager mgr) :outertype: MdsJdoAnnotationReader Methods ------- isClassPersistenceCapable ^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Override protected AnnotationObject isClassPersistenceCapable(Class cls) :outertype: MdsJdoAnnotationReader