/*** This bean represents a product that the company offers to its
customers
* This class has been generated by the XSLT processor from the
metadata*/publicclassProduct {/*** Creates a new instance of the Product bean*/publicProduct() {}privateintcode;/*** Sets the product inventory code
*@paramcode is the product inventory code*/publicvoidsetCode(intcode) {this.code=code;
}/*** Returns the product inventory code
*@returnthe product inventory code*/publicintgetCode() {returncode;
}privateString name;/*** Sets the product name
*@paramname is the product name*/publicvoidsetName(String name) {this.name=name;
}/*** Returns the product name
*@returnthe product name*/publicString getName() {returnname;
}privatebooleantestedOnAnimals;/*** Sets the flag that indicates if the product was tested on animals
*@paramtestedOnAnimals is the flag that indicates if the product
was tested on animals*/publicvoidsetTestedOnAnimals(booleantestedOnAnimals) {this.testedOnAnimals=testedOnAnimals;
}/*** Returns the flag that indicates if the product was tested on
animals
*@returnthe flag that indicates if the product was tested on
animals*/publicbooleanisTestedOnAnimals() {returntestedOnAnimals;
}privatejava.util.Date availableSince;/*** Sets the date when the company started offering this product to
its customers
*@paramavailableSince is the date when the company started
offering this product to its customers*/publicvoidsetAvailableSince(java.util.Date availableSince) {this.availableSince=availableSince;
}/*** Returns the date when the company started offering this product
to its customers
*@returnthe date when the company started offering this product
to its customers*/publicjava.util.Date getAvailableSince() {returnavailableSince;
}
}