public interface Bean
The implementation may be any class, but is typically a standard JavaBean with get/set methods. Alternate implementations might store the properties in another data structure such as a map.
Modifier and Type | Method and Description |
---|---|
MetaBean |
metaBean()
Gets the meta-bean representing the parts of the bean that are
common across all instances, such as the set of meta-properties.
|
<R> Property<R> |
property(String propertyName)
Gets a property by name.
|
Set<String> |
propertyNames()
Gets the set of property names.
|
MetaBean metaBean()
<R> Property<R> property(String propertyName)
R
- the property type, optional, enabling auto-castingpropertyName
- the property name to retrieve, null throws NoSuchElementExceptionNoSuchElementException
- if the property name is invalidSet<String> propertyNames()
Copyright © 2007–2013 Joda.org. All rights reserved.