View Javadoc

1   /*
2    * $Id:  $
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  package org.mule.json.model;
11  
12  import org.codehaus.jackson.map.annotate.JsonSerialize;
13  
14  /**
15   * An Email object
16   */
17  @JsonSerialize
18  public class EmailAddress
19  {
20      private String type;
21      private String address;
22  
23      public String getType()
24      {
25          return type;
26      }
27  
28      public void setType(String type)
29      {
30          this.type = type;
31      }
32  
33      public String getAddress()
34      {
35          return address;
36      }
37  
38      public void setAddress(String address)
39      {
40          this.address = address;
41      }
42  }