org.xwiki.properties
Interface BeanDescriptor


public interface BeanDescriptor

Contains information on a java bean.

The supported properties are:

Since:
2.0M2
Version:
$Id: BeanDescriptor.java 22052 2009-07-24 19:21:19Z sdumitriu $

Method Summary
 java.lang.Class<?> getBeanClass()
           
 java.util.Collection<PropertyDescriptor> getProperties()
           
 PropertyDescriptor getProperty(java.lang.String propertyName)
          Return descriptor for the provided property name.
 

Method Detail

getBeanClass

java.lang.Class<?> getBeanClass()
Returns:
the class of the JAVA bean containing.

getProperties

java.util.Collection<PropertyDescriptor> getProperties()
Returns:
the properties of the java bean.

getProperty

PropertyDescriptor getProperty(java.lang.String propertyName)
Return descriptor for the provided property name. The property name is case sensitive.

Parameters:
propertyName - the name of the property
Returns:
the descriptor of the property.


Copyright © 2004-2011 XWiki. All Rights Reserved.