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 individual by id and name. */ @XmlAccessorType(XmlAccessType.NONE) public class IndividualReference { @XmlAttribute(name="id") private int individualId; @XmlValue private String name; public int getIndividualId() { return individualId; } public void setIndividualId(int individualId) { this.individualId = individualId; } public String getName() { return name; } public void setName(String name) { this.name = name; } }