edu.washington.cs.supple.beanlike
Class BeanlikeInfo

java.lang.Object
  extended byedu.washington.cs.supple.beanlike.BeanlikeInfo

public final class BeanlikeInfo
extends java.lang.Object

Class to aid in "beanlike" introspection.

Author:
dbc1

Constructor Summary
BeanlikeInfo(java.lang.Class beanlikeClass)
           
 
Method Summary
 BeanlikeEventDescriptor getEventDescriptor(java.lang.String eventName)
           
 BeanlikePropertyDescriptor getPropertyDescriptor(java.lang.String propertyName)
           
 java.lang.String[] getPropertyNames()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanlikeInfo

public BeanlikeInfo(java.lang.Class beanlikeClass)
Method Detail

getPropertyDescriptor

public BeanlikePropertyDescriptor getPropertyDescriptor(java.lang.String propertyName)
Parameters:
propertyName -
Returns:
the property associated with the given name

getEventDescriptor

public BeanlikeEventDescriptor getEventDescriptor(java.lang.String eventName)
Parameters:
eventName -
Returns:
the event associated with the given name

getPropertyNames

public java.lang.String[] getPropertyNames()
Returns:
the names of all the properties in this info.