///////////////////////////////////////////////////////////////////////////////
// File : PRODUCTValues.java
// Creation : 2002.04.29 (generated by ejen 1.0.0)
package org.ejb.test;
/**
* Values object that maps a row in the PRODUCT table
* (without primary key fields).
* <br><i>Ejen EJB 1.1 (BMP) demonstration</i>
* @version 1.0
* @author (unknown)
* @see org.ejb.test.EJB_PRODUCT
* @see org.ejb.test.EJB_PRODUCTHome
* @see org.ejb.test.EJB_PRODUCTBean
* @see org.ejb.test.EJB_PRODUCT_PK
*/
public class PRODUCTValues implements java.io.Serializable {
/** Field NAME. */
protected java.lang.String _name;
/** Field COST. */
protected java.math.BigDecimal _cost;
/**
* Constructor (empty).
*/
public PRODUCTValues() {}
/**
* Constructor (with everything, except primary key fields).
* @param name value of the NAME field.
* @param cost value of the COST field.
*/
public PRODUCTValues(java.lang.String name, java.math.BigDecimal cost) {
_name = name;
_cost = cost;
}
/**
* Returns the value of the NAME field.
* @return value of the NAME field.
*/
public java.lang.String getName() {
return _name;
}
/**
* Sets a new value for the NAME field.
* @param name new value for the NAME field.
*/
public void setName(java.lang.String name) {
_name = name;
}
/**
* Returns the value of the COST field.
* @return value of the COST field.
*/
public java.math.BigDecimal getCost() {
return _cost;
}
/**
* Sets a new value for the COST field.
* @param cost new value for the COST field.
*/
public void setCost(java.math.BigDecimal cost) {
_cost = cost;
}
}
PRODUCTValues.html
(HTML view generated by ejen v.1.0.0).