be.fedict.eid.applet.service.dto
Class GenderToFemaleValueConvertor

java.lang.Object
  extended by 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

Constructor Summary
GenderToFemaleValueConvertor()
           
 
Method Summary
 Boolean convert(Gender value)
          Convert the given object to the convertor data type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenderToFemaleValueConvertor

public GenderToFemaleValueConvertor()
Method Detail

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-2010 FedICT. All Rights Reserved.