Save This Page
Home » jdo2-model-2.3-ea-src » org.apache.jdo.impl.model.java.reflection » [javadoc | source]
org.apache.jdo.impl.model.java.reflection
static class: ReflectionJavaTypeIntrospector.PropertyStore [javadoc | source]
java.lang.Object
   java.util.AbstractMap
      java.util.HashMap
         org.apache.jdo.impl.model.java.reflection.ReflectionJavaTypeIntrospector$PropertyStore

All Implemented Interfaces:
    Map, Serializable, Cloneable

Helper class to introspect a class in order to find properties. The class provides a public method #getPropertyDescriptors() returning an array of PropertyDescriptors. Each PropertyDescriptor represents a public or protected property of the class specified as constructor argument. This code is inspired by the implementation of java.beans.Introspector class.

Class PropertyStore uses the following algorithm to identify the properties:

Fields inherited from java.util.HashMap:
DEFAULT_INITIAL_CAPACITY,  MAXIMUM_CAPACITY,  DEFAULT_LOAD_FACTOR,  table,  size,  threshold,  loadFactor,  modCount
Fields inherited from java.util.AbstractMap:
keySet,  values
Constructor:
 public PropertyStore(Class clazz) 
    Constructor.
Method from org.apache.jdo.impl.model.java.reflection.ReflectionJavaTypeIntrospector$PropertyStore Summary:
getPropertyDescriptors
Methods from java.util.HashMap:
addEntry,   capacity,   clear,   clone,   containsKey,   containsValue,   createEntry,   entrySet,   get,   getEntry,   hash,   indexFor,   init,   isEmpty,   keySet,   loadFactor,   newEntryIterator,   newKeyIterator,   newValueIterator,   put,   putAll,   remove,   removeEntryForKey,   removeMapping,   resize,   size,   transfer,   values
Methods from java.util.AbstractMap:
access$000,   clear,   clone,   containsKey,   containsValue,   entrySet,   equals,   get,   hashCode,   isEmpty,   keySet,   put,   putAll,   remove,   size,   toString,   values
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jdo.impl.model.java.reflection.ReflectionJavaTypeIntrospector$PropertyStore Detail:
 public PropertyDescriptor[] getPropertyDescriptors() 
    Returns an array of PropertyDescriptors. Each PropertyDescriptor represents a public or protected property of the class specified as constructor argument.