LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.data.datainterface
Interface LyClassControl

All Superinterfaces:
LyControlInterface
All Known Implementing Classes:
LyFormula, LyMvelFormula, LyWSFormula

public interface LyClassControl
extends LyControlInterface

Generic interface for all class controls.


Field Summary
static java.lang.String __VERSION
          File version
 
Fields inherited from interface leon.data.datainterface.LyControlInterface
STATUS_ERROR, STATUS_OK, STATUS_WARNING
 
Method Summary
 short validate(LyControl control, LyObject object, LyValueSet newValues, LyArgument[] args)
          Global control of values before creating or modifying an object.
 

Field Detail

__VERSION

static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Method Detail

validate

short validate(LyControl control,
               LyObject object,
               LyValueSet newValues,
               LyArgument[] args)
Global control of values before creating or modifying an object. If needed, extra values may be added during this control.

Parameters:
control - the description of the control.
object - the modified object.
newValues - Set of values to control.
args - the list of arguments specified in the XML description of the control
Returns:
STATUS_ERROR if the control raises an error STATUS_WARNING if the control raises a warning STATUS_OK if the control is correct All other positive short values for user specific warning level.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com