org.apache.ojb.broker.metadata.fieldaccess
Class AnonymousPersistentFieldHelper

java.lang.Object
  extended byorg.apache.ojb.broker.metadata.fieldaccess.AnonymousPersistentFieldHelper

public class AnonymousPersistentFieldHelper
extends java.lang.Object

Helper class for anonymous fields.

Version:
$Id: AnonymousPersistentFieldHelper.java,v 1.4 2003/06/21 12:44:52 brj Exp $
Author:
Houar TINE

Constructor Summary
AnonymousPersistentFieldHelper()
           
 
Method Summary
static void computeInheritedPersistentFields(DescriptorRepository repository)
           
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
static java.util.Vector getPkFieldNames(ClassDescriptor cld)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnonymousPersistentFieldHelper

public AnonymousPersistentFieldHelper()
Method Detail

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)


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14