|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.binding.form.support.FormModelPropertyAccessStrategy
public class FormModelPropertyAccessStrategy
Adapts the properties of FormModel
so that they are accessible using the
PropertyAccessStrategy
interface.
Constructor Summary | |
---|---|
FormModelPropertyAccessStrategy(FormModel formModel)
|
Method Summary | |
---|---|
Object |
getDomainObject()
Return the target, backing domain object for which property access requests are targeted against. |
PropertyMetadataAccessStrategy |
getMetadataAccessStrategy()
Get a metadata accessor, which can return meta information about particular properties of the backed domain object. |
Object |
getPropertyValue(String propertyPath)
Get the value of a property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormModelPropertyAccessStrategy(FormModel formModel)
Method Detail |
---|
public Object getPropertyValue(String propertyPath) throws BeansException
PropertyAccessStrategy
getPropertyValue
in interface PropertyAccessStrategy
propertyPath
- name of the property to get the value of
FatalBeanException
- if there is no such property, if the property
isn't readable, or if the property getter throws an exception.
BeansException
public PropertyMetadataAccessStrategy getMetadataAccessStrategy()
PropertyAccessStrategy
getMetadataAccessStrategy
in interface PropertyAccessStrategy
public Object getDomainObject()
PropertyAccessStrategy
getDomainObject
in interface PropertyAccessStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |