01: /**
02: * EasyBeans
03: * Copyright (C) 2006 Bull S.A.S.
04: * Contact: easybeans@objectweb.org
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: * You should have received a copy of the GNU Lesser General Public
17: * License along with this library; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19: * USA
20: *
21: * --------------------------------------------------------------------------
22: * $Id: AbsBean.java 127 2006-03-06 17:51:35Z benoitf $
23: * --------------------------------------------------------------------------
24: */package com.bm.ejb3metadata.xml.struct;
25:
26: /**
27: * Defines common rules used by Bean (Session, MDB).
28: *
29: * @author Florent Benoit
30: *
31: */
32: public class AbsBean {
33:
34: /**
35: * ejb-name.
36: */
37: private String ejbName = null;
38:
39: /**
40: * ejb-class.
41: */
42: private String ejbClass = null;
43:
44: /**
45: * Constructor.
46: */
47: public AbsBean() {
48: super ();
49: }
50:
51: /**
52: * Gets the ejb-name.
53: *
54: * @return the ejb-name
55: */
56: public String getEjbName() {
57: return ejbName;
58: }
59:
60: /**
61: * Set the ejb-name.
62: *
63: * @param ejbName
64: * ejbName
65: */
66: public void setEjbName(final String ejbName) {
67: this .ejbName = ejbName;
68: }
69:
70: /**
71: * Gets the ejb-class.
72: *
73: * @return the ejb-class
74: */
75: public String getEjbClass() {
76: return ejbClass;
77: }
78:
79: /**
80: * Set the ejb-class.
81: *
82: * @param ejbClass
83: * ejb-class
84: */
85: public void setEjbClass(final String ejbClass) {
86: this.ejbClass = ejbClass;
87: }
88:
89: }
|