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