public final class GenderConverter extends Object implements AttributeConverter<Gender>
Constructor and Description |
---|
GenderConverter(String maleText,
String femaleText) |
Modifier and Type | Method and Description |
---|---|
Gender |
convert(Object attribute)
Convert an attribute to a specific type T.
|
public Gender convert(Object attribute)
AttributeConverter
convert
in interface AttributeConverter<Gender>
attribute
- attributeCopyright © 2015. All Rights Reserved.