File
Doc
Category
Size
Date
Package
Fruit.java
API Doc
JBoss 4.2.1
1855
Fri Jul 13 20:53:36 BST 2007
org.jboss.ejb3.test.asynchronous
Fruit
java.lang.Object
public class Fruit extends Object
author
Kabir Khan
version
$Revision: 57207 $
Fields Summary
private int
id
private String
name
Constructors Summary
public Fruit
()
public Fruit
(
String
name)
this.name = name;
Methods Summary
public
int
getId
()
return id;
public
java.lang.String
getName
()
return name;
public void
setId
(
int
id)
this.id = id;
public void
setName
(
java.lang.String
name)
this.name = name;
public
java.lang.String
toString
()
return id + "-" + name;
Java Code Source