John W. Campbell
This is an interface for objects which can check parameter data values for
the JdlKeywordDataModule object parameters.
Definition and methods:
Class Details
Accessible Fields
Methods
- Package:
- Jdl.JdlKDM;
- Class name:
- JdlKDMDataChecker
- Class definition:
- public interface JdlKDMDataChecker
- Extends:
- Object
- Implements:
- none
- Actions:
- none
No fields with public, package or protected access defined.
This interface has a single method to perform the check.
Method:
Check data value - check_value
This method checks the parameter data value.
- Method Definition:
- public boolean check_value(JdlKeywordDataModule kdm_obj, String parnam, int type)
- Parameters List:
- kdm_obj
- The JdlKeywordDataModule object to which the parameter belongs.
- parnam
- The parameter name.
- type
- The parameter type (1-15)
= 1, integer
= 2, set dependent integer parameter
= 3, subset dependent integer parameter
= 4, double
= 5, set dependent double parameter
= 6, subset dependent double parameter
= 7, string
= 8, set dependent string parameter
= 9, subset dependent string parameter
= 10, string (multiple token)
= 11, set dependent string parameter (multiple token)
= 12, subset dependent string parameter (multiple token)
= 13, variable length integer/double arrays
= 14, set dependent variable length integer/double arrays
= 15, subset dependent variable length integer/double
arrays
The parameter value may be found using the getValueString(..),
getIntegerValue(..), getDoubleValue(..) or getValue(..) methods.
If an error is found, the JdlKeywordDataModule setCheckMessage(..) method
should be called to set an appropriate error message.
- Method Return:
-
Return true if the value is OK, otherwise return false.
⇑ Up 2
⇑ Up 1
⇑ Top of this