01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: RegularPojo.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.cmf.dam;
09:
10: public class RegularPojo {
11: private int mId = -1;
12: private String mName = null;
13:
14: public RegularPojo() {
15: }
16:
17: public void setId(int id) {
18: mId = id;
19: }
20:
21: public int getId() {
22: return mId;
23: }
24:
25: public void setName(String name) {
26: mName = name;
27: }
28:
29: public String getName() {
30: return mName;
31: }
32:
33: public RegularPojo name(String name) {
34: mName = name;
35:
36: return this;
37: }
38: }
|