package oracle.fusion.pts.restService.types;


import com.oracle.xmlns.apps.crmcommon.salesparties.contactservice.Contact;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;


@XmlRootElement 
@XmlAccessorType(XmlAccessType.FIELD)
public class RESTContactList {
    @XmlElementWrapper(name="ContactList")
    @XmlElement (name="Contact")
    private List<Contact> contactList;


    /**
     * @param contactList
     */
    public void setContactList(List<Contact> contactList) {
        this.contactList = contactList;
    }

    public List<Contact> getContactList() {
        return contactList;
    }
}


