UserResponse.java 1.7 KB
Newer Older
T
trademak 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
/* Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

T
trademak 已提交
14 15
package org.activiti.rest.api.identity;

16 17 18
import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion;

T
trademak 已提交
19

T
trademak 已提交
20
/**
21
 * @author Frederik Hermans
T
trademak 已提交
22
 */
23 24 25 26 27 28 29 30 31 32 33 34 35
public class UserResponse {

  protected String id;
  protected String firstName;
  protected String lastName;
  protected String passWord;
  protected String url;
  protected String email;
  
  
  public String getEmail() {
    return email;
  }
T
trademak 已提交
36
  
37 38 39
  public void setEmail(String email) {
    this.email = email;
  }
T
trademak 已提交
40
  
41 42 43
  public String getUrl() {
    return url;
  }
44
  
45 46
  public void setUrl(String url) {
    this.url = url;
T
trademak 已提交
47 48 49 50 51
  }
  
  public String getId() {
    return id;
  }
52 53
  
  public void setId(String id) {
T
trademak 已提交
54 55
    this.id = id;
  }
56
  
T
trademak 已提交
57 58 59
  public String getFirstName() {
    return firstName;
  }
60 61
  
  public void setFirstName(String firstName) {
T
trademak 已提交
62 63
    this.firstName = firstName;
  }
64
  
T
trademak 已提交
65 66 67
  public String getLastName() {
    return lastName;
  }
68 69
  
  public void setLastName(String lastName) {
T
trademak 已提交
70 71
    this.lastName = lastName;
  }
72 73 74 75
  
  @JsonSerialize(include=Inclusion.NON_NULL)
  public String getPassword() {
    return passWord;
T
trademak 已提交
76
  }
77 78 79
  
  public void setPassword(String passWord) {
    this.passWord = passWord;
T
trademak 已提交
80 81
  }
}