blob: d9e5921f095b51c25eaa73183c3128645cf45851 (
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
25
26
27
28
 | package com.p4square.ccbapi.model;
import javax.xml.bind.annotation.XmlEnumValue;
/**
 * Enumeration of the possible values for the marital status field of an individual in CCB.
 */
public enum MaritalStatus {
    @XmlEnumValue("Single") SINGLE("s"),
    @XmlEnumValue("Married") MARRIED("m"),
    @XmlEnumValue("Widowed") WIDOWED("w"),
    @XmlEnumValue("Divorced") DIVORCED("d"),
    @XmlEnumValue("Separated") SEPARATED("p"),
    @XmlEnumValue("") NOT_SELECTED(" ");
    private final String code;
    MaritalStatus(String code) {
        this.code = code;
    }
    /**
     * @return A one character string representing the enum value.
     */
    public String getCode() {
        return this.code;
    }
}
 |