<<< javadoc comments | Index | Multiple classes in one java file >>> |
The Product class with comments that use HTML and javadoc tags
package murach.business;
/********************************************************
* The <code>Product</code> class represents a product
* and is used by the <code>LineItem</code> and
* <code>ProductDB</code> classes.
* @author Joel Murach
* @version 1.0.0
*******************************************************/
public class Product {
//...
/***************************************************
* Sets the product code to the specified
* <code>String</code>.
* @param code A <code>String</code> for the product
* code.
***************************************************/
public void setCode( String code ){
this.code = code;
}
/***************************************************
* Returns a <code>String</code> that represents the
* product code.
* @return A <code>String</code> for the product
* code.
***************************************************/
public String getCode(){
return code;
}
//...
<<< javadoc comments | Index | Multiple classes in one java file >>> |