?? DynaClass

???????:
MutableDynaClass
???????:
BasicDynaClass, LazyDynaClass, LazyDynaMap, ResultSetDynaClass, RowSetDynaClass, WrapDynaClass

public interface DynaClass

A DynaClass is a simulation of the functionality of java.lang.Class for classes implementing the DynaBean interface. DynaBean instances that share the same DynaClass all have the same set of available properties, along with any associated data types, read-only states, and write-only states.

??:
$Id$
  • ????

    ??????
    ??
    ??
    Return an array of ProperyDescriptors for the properties currently defined in this DynaClass.
    Return a property descriptor for the specified property, if it exists; otherwise, return null.
    Return the name of this DynaClass (analogous to the getName() method of java.lang.Class</code), which allows the same DynaClass implementation class to support different dynamic classes, with different sets of properties.
    Instantiate and return a new DynaBean instance, associated with this DynaClass.
  • ??????

    • getName

      Return the name of this DynaClass (analogous to the getName() method of java.lang.Class</code), which allows the same DynaClass implementation class to support different dynamic classes, with different sets of properties.
      ??:
      the name of the DynaClass
    • getDynaProperty

      Return a property descriptor for the specified property, if it exists; otherwise, return null.
      ??:
      name - Name of the dynamic property for which a descriptor is requested
      ??:
      The descriptor for the specified property
      ??:
      IllegalArgumentException - if no property name is specified
    • getDynaProperties

      Return an array of ProperyDescriptors for the properties currently defined in this DynaClass. If no properties are defined, a zero-length array will be returned.

      FIXME - Should we really be implementing getBeanInfo() instead, which returns property descriptors and a bunch of other stuff?

      ??:
      the set of properties for this DynaClass
    • newInstance

      Instantiate and return a new DynaBean instance, associated with this DynaClass.
      ??:
      A new DynaBean instance
      ??:
      IllegalAccessException - if the Class or the appropriate constructor is not accessible
      InstantiationException - if this Class represents an abstract class, an array class, a primitive type, or void; or if instantiation fails for some other reason