|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.openedge.baritus.population.IgnoreFieldPopulator
Ignores the population of fields. Register IgnoreFieldPopulators if you want to ignore the population of certain properties, for instance id's of persistent objects.
| Constructor Summary | |
IgnoreFieldPopulator()
construct. |
|
IgnoreFieldPopulator(boolean fail)
construct with parameter fail |
|
| Method Summary | |
boolean |
isFail()
get the value of property fail |
void |
setFail(boolean b)
set the value of property fail |
boolean |
setProperty(org.infohazard.maverick.flow.ControllerContext cctx,
FormBeanContext form,
java.lang.String name,
java.lang.Object value)
Does nothing at all. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IgnoreFieldPopulator()
public IgnoreFieldPopulator(boolean fail)
fail - If fail == true, setProperty will allways return false,
and thus the population process is flagged as failed, if fail == false,
setProperty will allways return true, and thus has no effect on the total population.| Method Detail |
public boolean setProperty(org.infohazard.maverick.flow.ControllerContext cctx,
FormBeanContext form,
java.lang.String name,
java.lang.Object value)
throws java.lang.Exception
setProperty in interface FieldPopulatorcctx - maverick contextform - context with instance of the form to set the property onname - name of the propertyvalue - unconverted value to set
java.lang.Exceptionpublic boolean isFail()
public void setFail(boolean b)
b - value of property fail. By default fail == false, which means that this method
allways returns true. If you set fail to true, this method will allways return false,
and thus the population process is flagged as failed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||