|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
Object
|
+--PBEAction
|
+--PBECondition
|
+--PBETestCondition
PBETestCondition causes a boolean expression to be evaluated.PBETestCondition can be used in object and attribute events.
test
test( bool_expr )
bool_expr - The value to be converted to and returned as boolean.
PBE:objectEvent( "order", "numberOfItems", "after:new:if test(""PBE:objects['order']:attributes['numberOfItems']:getValue() > 10"") set(10)");This event tests if the value in the attribute "numberOfItems" of the object "order" is greater than 10. If so, "numberOfItems" is set to 10.
| Fields inherited from class PBEAction |
iParameters,
iType,
name,
procName |
| Constructor Summary | |
PBETestCondition()
|
|
| Method Summary | |
varchar |
parameters()
|
| Methods inherited from class PBECondition |
checkEvent,
tracePerform |
| Methods inherited from class PBEAction |
actionArguments,
actionCall,
actionParameters,
attributeReference,
callString,
getObject,
methodReference,
nestedInput,
objectReference,
parameter,
perform,
performParameterCount,
printPerform |
| Constructor Detail |
public PBETestCondition()
| Method Detail |
public varchar parameters()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||