org.xorm.util
Class FieldDescriptor

java.lang.Object
  |
  +--org.xorm.util.FieldDescriptor
All Implemented Interfaces:
I15d

public class FieldDescriptor
extends Object
implements I15d

Similar to PropertyDescriptor, but may reflect non-public methods.


Field Summary
 Class abstractClass
           
 String name
           
 Method readMethod
           
 Class type
           
 Method writeMethod
           
 
Fields inherited from interface org.xorm.I15d
I18N
 
Constructor Summary
FieldDescriptor(PropertyDescriptor propDesc)
           
FieldDescriptor(String name, Class type)
           
 
Method Summary
 boolean equals(Object o)
           
static Collection getFieldDescriptors(Class clazz)
          Returns a Collection of all FieldDescriptors that are eligible for persistence.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public String name

type

public Class type

abstractClass

public Class abstractClass

readMethod

public Method readMethod

writeMethod

public Method writeMethod
Constructor Detail

FieldDescriptor

public FieldDescriptor(String name,
                       Class type)

FieldDescriptor

public FieldDescriptor(PropertyDescriptor propDesc)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getFieldDescriptors

public static Collection getFieldDescriptors(Class clazz)
Returns a Collection of all FieldDescriptors that are eligible for persistence. The Class argument may be an interface or an abstract class.

Returns:
a Collection


$Header: /cvsroot/xorm/xorm/docs/api/org/xorm/util/FieldDescriptor.html,v 1.5 2004/05/30 08:55:10 wbiggs Exp $