01: package com.uvw.travel.impl;
02:
03: import com.uvw.travel.Address;
04: import com.uvw.travel.Name;
05: import com.uvw.travel.Person;
06:
07: /**
08: * @author Adrian Price
09: */
10: public class PersonImpl implements Person {
11: protected final Name name;
12: protected final Address address;
13:
14: public PersonImpl(Name name, Address address) {
15: this .name = name;
16: this .address = address;
17: }
18:
19: public Name getName() {
20: return name;
21: }
22:
23: public Address getAddress() {
24: return address;
25: }
26: }
|