Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
PersonResponse |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: PersonResponse.java 8077 2007-08-27 20:15:25Z aperepel $ | |
3 | * -------------------------------------------------------------------------------------- | |
4 | * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com | |
5 | * | |
6 | * The software in this package is published under the terms of the CPAL v1.0 | |
7 | * license, a copy of which has been included with this distribution in the | |
8 | * LICENSE.txt file. | |
9 | */ | |
10 | ||
11 | package org.mule.tck.testmodels.services; | |
12 | ||
13 | public class PersonResponse | |
14 | { | |
15 | private Person person; | |
16 | private long time; | |
17 | ||
18 | public PersonResponse() | |
19 | 0 | { |
20 | // empty constructor | |
21 | 0 | } |
22 | ||
23 | public PersonResponse(Person person) | |
24 | 0 | { |
25 | 0 | this.person = person; |
26 | 0 | this.time = System.currentTimeMillis(); |
27 | 0 | } |
28 | ||
29 | public Person getPerson() | |
30 | { | |
31 | 0 | return person; |
32 | } | |
33 | ||
34 | public void setPerson(Person person) | |
35 | { | |
36 | 0 | this.person = person; |
37 | 0 | } |
38 | ||
39 | public long getTime() | |
40 | { | |
41 | 0 | return time; |
42 | } | |
43 | ||
44 | public void setTime(long time) | |
45 | { | |
46 | 0 | this.time = time; |
47 | 0 | } |
48 | } |