/ftr-gwt-demo/src/main/java/eu/future/earth/gwt/client/hordate/UserDemo.java
Java | 38 lines | 24 code | 11 blank | 3 comment | 0 complexity | a626477997c5a75de283d20281f79a59 MD5 | raw file
Possible License(s): Apache-2.0
1package eu.future.earth.gwt.client.hordate; 2 3import java.io.Serializable; 4 5public class UserDemo implements Serializable { 6 7 /** 8 * 9 */ 10 private static final long serialVersionUID = -4374949208817867171L; 11 12 private long id = -1; 13 14 private String name = null; 15 16 public UserDemo(long newIs, String newName) { 17 super(); 18 setId(newIs); 19 setName(newName); 20 } 21 22 public long getId() { 23 return id; 24 } 25 26 public void setId(long id) { 27 this.id = id; 28 } 29 30 public String getName() { 31 return name; 32 } 33 34 public void setName(String name) { 35 this.name = name; 36 } 37 38}