Package org.xwiki.properties
Interface BeanDescriptor
-
public interface BeanDescriptor
Contains information on a java bean.The supported properties are:
- public getters and setters. For example getSomeVar/setSomeVar correspond to "someVar" property name
- public fields. The name of the property is the name of the field.
- Since:
- 2.0M2
- Version:
- $Id: 74433940ccef81acd24f19274f3dfdbd56a7cb4a $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>
getBeanClass()
Collection<PropertyDescriptor>
getProperties()
PropertyDescriptor
getProperty(String propertyName)
Return descriptor for the provided property name.
-
-
-
Method Detail
-
getBeanClass
Class<?> getBeanClass()
- Returns:
- the class of the JAVA bean containing.
-
getProperties
Collection<PropertyDescriptor> getProperties()
- Returns:
- the properties of the java bean.
-
getProperty
PropertyDescriptor getProperty(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.
-
-