KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > formview > usecases > dto > UserDTO


1 package net.sourceforge.formview.usecases.dto;
2
3 public class UserDTO {
4
5     private String JavaDoc id;
6     private String JavaDoc name;
7     
8     public UserDTO(String JavaDoc id, String JavaDoc name) {
9         this.id = id;
10         this.name = name;
11     }
12     
13     public UserDTO() {
14         
15     }
16
17     public String JavaDoc getId() {
18         return id;
19     }
20
21     public void setId(String JavaDoc id) {
22         this.id = id;
23     }
24
25     public String JavaDoc getName() {
26         return name;
27     }
28     public void setName(String JavaDoc name) {
29         this.name = name;
30     }
31     
32 }
33
Popular Tags