|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.ioc.internal.services.ClassPropertyAdapterImpl
public class ClassPropertyAdapterImpl
| Constructor Summary | |
|---|---|
ClassPropertyAdapterImpl(java.lang.Class beanType,
java.util.List<java.beans.PropertyDescriptor> descriptors)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
get(java.lang.Object instance,
java.lang.String propertyName)
Reads the value of a property. |
java.lang.Class |
getBeanType()
Returns the type of bean this adapter provides properties for. |
PropertyAdapter |
getPropertyAdapter(java.lang.String name)
Returns the property adapter with the given name, or null if no such adapter exists. |
java.util.List<java.lang.String> |
getPropertyNames()
Returns the names of all properties, sorted into alphabetic order. |
void |
set(java.lang.Object instance,
java.lang.String propertyName,
java.lang.Object value)
Updates the value of a property. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClassPropertyAdapterImpl(java.lang.Class beanType,
java.util.List<java.beans.PropertyDescriptor> descriptors)
| Method Detail |
|---|
public java.lang.Class getBeanType()
ClassPropertyAdapter
getBeanType in interface ClassPropertyAdapterpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.List<java.lang.String> getPropertyNames()
ClassPropertyAdapter
getPropertyNames in interface ClassPropertyAdapterpublic PropertyAdapter getPropertyAdapter(java.lang.String name)
ClassPropertyAdapter
getPropertyAdapter in interface ClassPropertyAdaptername - of the property (case is ignored)
public java.lang.Object get(java.lang.Object instance,
java.lang.String propertyName)
ClassPropertyAdapter
get in interface ClassPropertyAdapterinstance - the object to read a value frompropertyName - the name of the property to read (case is ignored)
public void set(java.lang.Object instance,
java.lang.String propertyName,
java.lang.Object value)
ClassPropertyAdapter
set in interface ClassPropertyAdapterinstance - the object to updatepropertyName - the name of the property to update (case is ignored)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||