- Timestamp:
- Jan 2, 2011, 8:51:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/fmgVen/test/com/fmguler/ven/sample/domain/SomeDomainObject.java
r23 r26 25 25 */ 26 26 public class SomeDomainObject { 27 private int no;27 private Integer id; 28 28 private String name; 29 29 private String description; … … 31 31 32 32 /** 33 * @return the no33 * @return the id 34 34 */ 35 public int getNo() {36 return no;35 public Integer getId() { 36 return id; 37 37 } 38 38 39 39 /** 40 * @param no the noto set40 * @param id the id to set 41 41 */ 42 public void set No(int no) {43 this. no = no;42 public void setId(Integer id) { 43 this.id = id; 44 44 } 45 45 … … 87 87 88 88 public String toString() { 89 return no+ " " + name + " " + description + " " + date;89 return id + " " + name + " " + description + " " + date; 90 90 } 91 91 }
Note: See TracChangeset
for help on using the changeset viewer.