|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.clazz.bean.BasicBean
public class BasicBean
A trivial implementation of the Bean interface based on a HashMap.
| Constructor Summary | |
|---|---|
BasicBean(Clazz clazz)
Constructor for BasicBean. |
|
BasicBean(Clazz clazz,
Map initialPropertyValues)
Constructor that initializes properties of the bean. |
|
| Method Summary | |
|---|---|
Object |
get(String propertyName)
|
Clazz |
getClazz()
Gets the Clazz for the bean. |
void |
set(String propertyName,
Object value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicBean(Clazz clazz)
public BasicBean(Clazz clazz,
Map initialPropertyValues)
| Method Detail |
|---|
public Clazz getClazz()
Bean
getClazz in interface BeanBean.getClazz()public Object get(String propertyName)
get in interface BeanBean.get(java.lang.String)
public void set(String propertyName,
Object value)
set in interface BeanBean.set(String, Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||