01: package net.sf.dozer.util.mapping.vo.inheritance.iface;
02:
03: import java.io.Serializable;
04:
05: public class PersonImpl implements Person, Serializable {
06: private Long id;
07: private String name;
08:
09: protected PersonImpl() {
10: }
11:
12: public PersonImpl(Long id, String name) {
13: this .id = id;
14: this .name = name;
15: }
16:
17: public Long getId() {
18: return id;
19: }
20:
21: protected void setId(Long id) {
22: this .id = id;
23: }
24:
25: public String getName() {
26: return name;
27: }
28:
29: public void setName(String name) {
30: this.name = name;
31: }
32: }
|