///////////////////////////////////////////////////////////////////////////////
// File     : DOCUMENTValues.java
// Creation : 2002.04.29 (generated by ejen 1.0.0)

package org.ejb.test;

/**
 * Values object that maps a row in the DOCUMENT table
 * (without primary key fields).
 * <br><i>Ejen EJB 1.1 (BMP) demonstration</i>
 * @version 1.0
 * @author (unknown)
 * @see org.ejb.test.EJB_DOCUMENT
 * @see org.ejb.test.EJB_DOCUMENTHome
 * @see org.ejb.test.EJB_DOCUMENTBean
 * @see org.ejb.test.EJB_DOCUMENT_PK
 */
 public class DOCUMENTValues implements java.io.Serializable {
 
    /** Field ADDRESSID. */
    protected int _addressid;
    /** Field TOTAL. */
    protected java.math.BigDecimal _total;

    /**
     * Constructor (empty).
     */
    public DOCUMENTValues() {}

    /**
     * Constructor (with everything, except primary key fields).
     * @param addressid value of the ADDRESSID field.
     * @param total value of the TOTAL field.
     */
    public DOCUMENTValues(int addressid, java.math.BigDecimal total) {
        _addressid = addressid;
        _total = total;
    }

    /**
     * Returns the value of the ADDRESSID field.
     * @return value of the ADDRESSID field.
     */
    public int getAddressid() {
        return _addressid;
    }

    /**
     * Sets a new value for the ADDRESSID field.
     * @param addressid new value for the ADDRESSID field.
     */
    public void setAddressid(int addressid) {
        _addressid = addressid;
    }

    /**
     * Returns the value of the TOTAL field.
     * @return value of the TOTAL field.
     */
    public java.math.BigDecimal getTotal() {
        return _total;
    }

    /**
     * Sets a new value for the TOTAL field.
     * @param total new value for the TOTAL field.
     */
    public void setTotal(java.math.BigDecimal total) {
        _total = total;
    }
}

DOCUMENTValues.html (HTML view generated by ejen v.1.0.0).