/******************************************************************************* * Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 * which accompanies this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html * and the Eclipse Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * bdoughan - August 25/2009 - 1.2 - Initial implementation ******************************************************************************/ package org.eclipse.persistence.testing.oxm.xmlcontext.byxpath; import java.util.ArrayList; import java.util.List; public class Customer { private String id; private String firstName; private Address address; private EmergencyContact emergencyContact; private List<PhoneNumber> phoneNumbers; public Customer() { phoneNumbers = new ArrayList(); } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public EmergencyContact getEmergencyContact() { return emergencyContact; } public void setEmergencyContact(EmergencyContact emergencyContact) { this.emergencyContact = emergencyContact; } public Address getAddress() { return address; } public void setAddress(Address address) { this.address = address; } public List<PhoneNumber> getPhoneNumbers() { return phoneNumbers; } public void setPhoneNumbers(List<PhoneNumber> phoneNumbers) { this.phoneNumbers = phoneNumbers; } }