|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.centrasite.appl.framework.validation.impl.DefaultValidatable com.softwareag.centrasite.appl.framework.validation.impl.ValidatableBeanProperty
public class ValidatableBeanProperty
This is an implementation of Validatable
, which allows to
validate a beans property.
Constructor Summary | |
---|---|
ValidatableBeanProperty()
|
Method Summary | |
---|---|
void |
change(java.lang.Object pValue)
Invokes the setter on the bean. |
java.lang.Object |
getBean()
Returns the bean, on which the Validatable acts. |
java.lang.reflect.Method |
getGetter()
Returns the getter, which is used to query the properties value. |
java.lang.String |
getProperty()
Returns the property name. |
java.lang.reflect.Method |
getSetter()
Returns the setter, which is used to set the properties value. |
java.lang.Class<?> |
getType()
Returns the property type. |
void |
setBean(java.lang.Object pBean)
Sets the bean, on which the Validatable acts. |
void |
setGetter(java.lang.reflect.Method pGetter)
Sets the getter, which is used to query the properties value. |
void |
setSetter(java.lang.reflect.Method pSetter)
Sets the setter, which is used to set the properties value. |
java.lang.Object |
value()
Invokes the getter on the bean and returns the result. |
Methods inherited from class com.softwareag.centrasite.appl.framework.validation.impl.DefaultValidatable |
---|
add, addConstraint, getConstraints, getName, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.softwareag.centrasite.appl.framework.validation.NamedObject |
---|
getName |
Constructor Detail |
---|
public ValidatableBeanProperty()
Method Detail |
---|
public java.lang.Object value() throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
value
in interface ValidatableProperty
com.softwareag.centrasite.appl.framework.CSAppFrameworkException
public void change(java.lang.Object pValue) throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
change
in interface ValidatableProperty
com.softwareag.centrasite.appl.framework.CSAppFrameworkException
public java.lang.String getProperty()
ValidatableProperty
getProperty
in interface ValidatableProperty
public java.lang.Class<?> getType()
ValidatableProperty
getType
in interface ValidatableProperty
public java.lang.Object getBean()
Validatable
acts.
public void setBean(java.lang.Object pBean)
Validatable
acts.
public java.lang.reflect.Method getSetter()
public void setSetter(java.lang.reflect.Method pSetter)
public java.lang.reflect.Method getGetter()
public void setGetter(java.lang.reflect.Method pGetter)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |