Class PBERangeAction

Object
  |
  +--PBEAction
        |
        +--PBEAttributeAction
              |
              +--PBERangeAction

public class PBERangeAction
extends PBEAttributeAction


Description:
PBERangeAction sets a range of valid values on an attribute.

PBERangeAction can be used in attribute events.


Event String Action Name:
range


Syntax:

range( from, to )


Parameters
from - Start of range.

to - End of range.


Examples:
 PBE:attributeEvent(
   "customer",
   "discount",
   "after:input:range(0.0,100.0)");
 
In this example an input value range from 0.0 to 100.0 is declared for the attribute "discount" of object "customer".

This example can be found in the file "initdemo.pbt" of the "PBE Demo" module (approx. line 252).


Fields inherited from class PBEAction
iParameters, iType, name, procName
 
Constructor Summary
PBERangeAction()
           
 
Method Summary
 varchar parameters()
           
 
Methods inherited from class PBEAction
actionArguments, actionCall, actionParameters, attributeReference, callString, checkEvent, getObject, methodReference, nestedInput, objectReference, parameter, perform, performParameterCount, printPerform, tracePerform
 

Constructor Detail

PBERangeAction

public PBERangeAction()
Method Detail

parameters

public varchar parameters()
Overrides:
parameters in class PBEAction