be.fedict.eid.applet.service.dto
Class GenderToFemaleValueConvertor
java.lang.Object
be.fedict.eid.applet.service.dto.GenderToFemaleValueConvertor
- All Implemented Interfaces:
- ValueConvertor<Gender,Boolean>
public class GenderToFemaleValueConvertor
- extends Object
- implements ValueConvertor<Gender,Boolean>
Converts a gender field value to a female boolean value.
- Author:
- Frank Cornelis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenderToFemaleValueConvertor
public GenderToFemaleValueConvertor()
convert
public Boolean convert(Gender value)
throws ValueConvertorException
- Description copied from interface:
ValueConvertor
- Convert the given object to the convertor data type.
- Specified by:
convert
in interface ValueConvertor<Gender,Boolean>
- Parameters:
value
- the object to convert.
- Returns:
- an object of the data convertor data type type.
- Throws:
ValueConvertorException
- in case the conversion failed.
Copyright © 2008-2013 FedICT. All Rights Reserved.