Package com.sun.jdo.api.persistence.enhancer.meta.JDOMetaDataProperties

Examples of com.sun.jdo.api.persistence.enhancer.meta.JDOMetaDataProperties.JDOField


     * Tests whether a field of a class is known to be Primary Key.
     */
    public boolean isPrimaryKeyField(String classPath, String fieldName)
        throws JDOMetaDataUserException, JDOMetaDataFatalError
    {
        JDOField field = getJDOField (classPath, fieldName);
        return (field != null  ?  field.isPk ()  false);
    }
View Full Code Here


     * Default Fetch Group.
     */
    public boolean isDefaultFetchGroupField(String classPath, String fieldName)
        throws JDOMetaDataUserException, JDOMetaDataFatalError
    {
        JDOField field = getJDOField (classPath, fieldName);
        return (field != null  ?  field.isInDefaultFetchGroup ()  false);
    }
View Full Code Here

    public final int getFieldModifiers (String classname,
                                        String fieldname)
    {

        JDOField field = getJDOField (classname, fieldname);
        return (field != null  ?  field.getModifiers ()  0);

    //JDOMetaDataPropertyImpl.getFieldModifiers()
View Full Code Here

    public final String getFieldType (String classname,
                                      String fieldname)
    {

        JDOField field = getJDOField (classname, fieldname);
        return (field != null  ?  field.getType ()  null);

    //JDOMetaDataPropertyImpl.getFieldType()
View Full Code Here

     *********************************************************************/

    public boolean isKeyField(String classPath, String fieldName)
        throws JDOMetaDataUserException, JDOMetaDataFatalError
    {
        final JDOField field = getJDOField(classPath, fieldName);
        return (field != null ? field.isPk() : false);
    }
View Full Code Here

    {
        final JDOClass clazz = getJDOClass(classPath);
        if (clazz == null) {
            return true;
        }
        final JDOField field = clazz.getField(fieldName);
        return (field != null ? field.isKnownTransient() : false);
    }
View Full Code Here

TOP

Related Classes of com.sun.jdo.api.persistence.enhancer.meta.JDOMetaDataProperties.JDOField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.