org.apache.ojb.broker.metadata.fieldaccess
Class AnonymousPersistentFieldHelper
java.lang.Object
org.apache.ojb.broker.metadata.fieldaccess.AnonymousPersistentFieldHelper
- public class AnonymousPersistentFieldHelper
- extends java.lang.Object
Helper class for anonymous fields.
- Version:
- $Id: AnonymousPersistentFieldHelper.java,v 1.7 2004/04/04 23:53:35 brianm Exp $
- Author:
- Houar TINE
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnonymousPersistentFieldHelper
public AnonymousPersistentFieldHelper()
getFieldIterative
public static java.lang.reflect.Field getFieldIterative(java.lang.Class c,
java.lang.String fieldname)
- An iterative version of org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldxxx
This implementastion is more efficient than recursive version
If fieldname not exist null is returned
getPkFieldNames
public static java.util.Vector getPkFieldNames(ClassDescriptor cld)
computeInheritedPersistentFields
public static void computeInheritedPersistentFields(DescriptorRepository repository)
(C) 2002 - 2004 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.0, 2004-06-25