blob: ecd1e37e6ed5c93590fea0dc355636655b2b4834 (
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
|
package com.p4square.ccbapi.model;
import javax.xml.bind.annotation.XmlEnumValue;
/**
* Enumeration of the supported values for the family_position field of an IndividualProfile.
*/
public enum FamilyPosition {
@XmlEnumValue("Primary Contact") PRIMARY_CONTACT("h"),
@XmlEnumValue("Spouse") SPOUSE("s"),
@XmlEnumValue("Child") CHILD("c"),
@XmlEnumValue("Other") OTHER("o");
private final String code;
FamilyPosition(String code) {
this.code = code;
}
/**
* @return A one character string representing the enum value.
*/
public String getCode() {
return this.code;
}
}
|