01: package org.objectweb.jonas.jtests.beans.ejbql;
02:
03: public class Name implements java.io.Serializable {
04:
05: private String lastName;
06: private String firstName;
07:
08: public Name(String lname, String fname) {
09: lastName = lname;
10: firstName = fname;
11: }
12:
13: public String getLastName() {
14: return lastName;
15: }
16:
17: public String getFirstName() {
18: return firstName;
19: }
20:
21: public String toString() {
22: return ("(lastname='" + lastName + "',firstname=" + firstName + "')");
23: }
24: }
|