net.sf.cglib
Class MetaClass

java.lang.Object
  |
  +--net.sf.cglib.MetaClass

public abstract class MetaClass
extends java.lang.Object

Author:
Juozas Baliuka

Field Summary
protected  java.lang.String[] getters
           
protected  java.util.Map members
           
protected  java.lang.String[] setters
           
protected  java.lang.Class target
           
protected  java.lang.Class[] types
           
 
Constructor Summary
protected MetaClass()
           
 
Method Summary
 ConstructorProxy getConstructor(java.lang.Class[] types)
           
 java.lang.String[] getGetters()
           
static MetaClass getInstance(java.lang.ClassLoader loader, java.lang.Class target, java.lang.String[] getters, java.lang.String[] setters, java.lang.Class[] types)
           
 MethodProxy getMethod(java.lang.String name, java.lang.Class[] types)
           
 java.lang.Class[] getPropertyTypes()
           
abstract  java.lang.Object[] getPropertyValues(java.lang.Object bean)
           
 java.lang.String[] getSetters()
           
abstract  java.lang.Object newInstance()
           
abstract  void setPropertyValues(java.lang.Object bean, java.lang.Object[] values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

protected java.lang.Class target

getters

protected java.lang.String[] getters

setters

protected java.lang.String[] setters

types

protected java.lang.Class[] types

members

protected java.util.Map members
Constructor Detail

MetaClass

protected MetaClass()
Method Detail

newInstance

public abstract java.lang.Object newInstance()

getPropertyValues

public abstract java.lang.Object[] getPropertyValues(java.lang.Object bean)

setPropertyValues

public abstract void setPropertyValues(java.lang.Object bean,
                                       java.lang.Object[] values)

getPropertyTypes

public java.lang.Class[] getPropertyTypes()

getMethod

public MethodProxy getMethod(java.lang.String name,
                             java.lang.Class[] types)

getConstructor

public ConstructorProxy getConstructor(java.lang.Class[] types)

getGetters

public java.lang.String[] getGetters()

getSetters

public java.lang.String[] getSetters()

getInstance

public static MetaClass getInstance(java.lang.ClassLoader loader,
                                    java.lang.Class target,
                                    java.lang.String[] getters,
                                    java.lang.String[] setters,
                                    java.lang.Class[] types)


Copyright © 2002-2003 cglib. All Rights Reserved.