Home » iBatis-2.3.4 » com.ibatis.common » beans » [javadoc | source]
com.ibatis.common.beans
public class: ClassInfo [javadoc | source]
java.lang.Object
   com.ibatis.common.beans.ClassInfo
This class represents a cached set of class definition information that allows for easy mapping between property names and getter/setter methods.
Method from com.ibatis.common.beans.ClassInfo Summary:
getClassName,   getGetter,   getGetterType,   getInstance,   getReadablePropertyNames,   getSetter,   getSetterType,   getWriteablePropertyNames,   hasReadableProperty,   hasWritableProperty,   isKnownType,   unwrapThrowable
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.ibatis.common.beans.ClassInfo Detail:
 public String getClassName() 
    Gets the name of the class the instance provides information for
 public Method getGetter(String propertyName) 
    Gets the getter for a property as a Method object
 public Class getGetterType(String propertyName) 
    Gets the type for a property getter
 public static ClassInfo getInstance(Class clazz) 
    Gets an instance of ClassInfo for the specified class.
 public String[] getReadablePropertyNames() 
    Gets an array of the readable properties for an object
 public Method getSetter(String propertyName) 
    Gets the setter for a property as a Method object
 public Class getSetterType(String propertyName) 
    Gets the type for a property setter
 public String[] getWriteablePropertyNames() 
    Gets an array of the writeable properties for an object
 public boolean hasReadableProperty(String propertyName) 
    Check to see if a class has a readable property by name
 public boolean hasWritableProperty(String propertyName) 
    Check to see if a class has a writeable property by name
 public static boolean isKnownType(Class clazz) 
    Tells us if the class passed in is a knwon common type
 public static Throwable unwrapThrowable(Throwable t) 
    Examines a Throwable object and gets it's root cause