|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Creates an appropriate field value convertor for a given property type.
| Method Summary | |
FieldValueConvertor |
getFieldValueConvertorForClass(java.lang.Class fieldValueClass)
Find the appropriate convertor for the field value class provided. |
void |
setFieldValueConvertor(java.lang.Class fieldClass,
FieldValueConvertor convertor)
Set the field value convertor to use for a particular class. |
| Method Detail |
public FieldValueConvertor getFieldValueConvertorForClass(java.lang.Class fieldValueClass)
throws com.ivata.mask.util.SystemException
Find the appropriate convertor for the field value class provided. This method goes thro' all the parent classes of the class provided till it finds a suitable convertor.
fieldValueClass - Class of the field value we are tryinh to convert
from a string.
com.ivata.mask.util.SystemException - thrown if there is a class in the hierarchy
for which we have no field value convertor.
public void setFieldValueConvertor(java.lang.Class fieldClass,
FieldValueConvertor convertor)
Set the field value convertor to use for a particular class.
fieldClass - class to be converted.convertor - convertor to use for this class.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||