| /* |
| * Copyright (c) 1998, 2020 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 v. 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0, |
| * or the Eclipse Distribution License v. 1.0 which is available at |
| * http://www.eclipse.org/org/documents/edl-v10.php. |
| * |
| * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause |
| */ |
| |
| // 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; |
| } |
| |
| } |