blob: eabaa424c7574cfd46e4253e078f17921fad387a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package com.p4square.ccbapi.model;
import javax.xml.bind.annotation.XmlEnumValue;
/**
* Enum representing the gender of an individual in CCB.
*/
public enum Gender {
@XmlEnumValue("M") MALE("M"),
@XmlEnumValue("F") FEMALE("F");
private final String code;
Gender(String code) {
this.code = code;
}
/**
* @return A one character string representing the enum value.
*/
public String getCode() {
return this.code;
}
}
|