View Javadoc

1   /*
2    * $Id: PersonResponse.java 19191 2010-08-25 21:05:23Z tcarlson $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.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      {
20          // empty constructor
21      }
22  
23      public PersonResponse(Person person)
24      {
25          this.person = person;
26          this.time = System.currentTimeMillis();
27      }
28  
29      public Person getPerson()
30      {
31          return person;
32      }
33  
34      public void setPerson(Person person)
35      {
36          this.person = person;
37      }
38  
39      public long getTime()
40      {
41          return time;
42      }
43  
44      public void setTime(long time)
45      {
46          this.time = time;
47      }
48  }