FileDocCategorySizeDatePackage
Pet.javaAPI DocJBoss 4.2.12103Fri Jul 13 20:55:08 BST 2007org.jboss.tutorial.singleinheritance.bean

Pet

public class Pet extends Object implements Serializable

Fields Summary
private int
id
private String
name
private double
weight
Constructors Summary
Methods Summary
public intgetId()

      return id;
   
public java.lang.StringgetName()

      return name;
   
public doublegetWeight()

      return weight;
   
public voidsetId(int id)

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

      this.name = name;
   
public voidsetWeight(double weight)

      this.weight = weight;