FileDocCategorySizeDatePackage
Fruit.javaAPI DocJBoss 4.2.11855Fri Jul 13 20:53:36 BST 2007org.jboss.ejb3.test.asynchronous

Fruit

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 intgetId()

      return id;
   
public java.lang.StringgetName()

      return name;
   
public voidsetId(int id)

      this.id = id;
   
public voidsetName(java.lang.String name)

      this.name = name;
   
public java.lang.StringtoString()

      return id + "-" + name;