blob: 0af220b7d4472102df2d4c074a391b86601e2fc2 (
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
29
30
31
32
33
34
|
package com.p4square.ccbapi.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlValue;
/**
* Reference to an family by id and name.
*/
@XmlAccessorType(XmlAccessType.NONE)
public class FamilyReference {
@XmlAttribute(name="id")
private int familyId;
@XmlValue
private String name;
public int getFamilyId() {
return familyId;
}
public void setFamilyId(int familyId) {
this.familyId = familyId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
|