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

package org.ejb.test;

/**
 * Values object that maps a row in the ADDRESS table
 * (without primary key fields).
 * <br><i>Ejen EJB 1.1 (BMP) demonstration</i>
 * @version 1.0
 * @author (unknown)
 * @see org.ejb.test.EJB_ADDRESS
 * @see org.ejb.test.EJB_ADDRESSHome
 * @see org.ejb.test.EJB_ADDRESSBean
 * @see org.ejb.test.EJB_ADDRESS_PK
 */
 public class ADDRESSValues implements java.io.Serializable {
 
    /** Field FIRSTNAME. */
    protected java.lang.String _firstname;
    /** Field LASTNAME. */
    protected java.lang.String _lastname;
    /** Field STREET. */
    protected java.lang.String _street;
    /** Field CITY. */
    protected java.lang.String _city;

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

    /**
     * Constructor (with everything, except primary key fields).
     * @param firstname value of the FIRSTNAME field.
     * @param lastname value of the LASTNAME field.
     * @param street value of the STREET field.
     * @param city value of the CITY field.
     */
    public ADDRESSValues(java.lang.String firstname, java.lang.String lastname, java.lang.String street, java.lang.String city) {
        _firstname = firstname;
        _lastname = lastname;
        _street = street;
        _city = city;
    }

    /**
     * Returns the value of the FIRSTNAME field.
     * @return value of the FIRSTNAME field.
     */
    public java.lang.String getFirstname() {
        return _firstname;
    }

    /**
     * Sets a new value for the FIRSTNAME field.
     * @param firstname new value for the FIRSTNAME field.
     */
    public void setFirstname(java.lang.String firstname) {
        _firstname = firstname;
    }

    /**
     * Returns the value of the LASTNAME field.
     * @return value of the LASTNAME field.
     */
    public java.lang.String getLastname() {
        return _lastname;
    }

    /**
     * Sets a new value for the LASTNAME field.
     * @param lastname new value for the LASTNAME field.
     */
    public void setLastname(java.lang.String lastname) {
        _lastname = lastname;
    }

    /**
     * Returns the value of the STREET field.
     * @return value of the STREET field.
     */
    public java.lang.String getStreet() {
        return _street;
    }

    /**
     * Sets a new value for the STREET field.
     * @param street new value for the STREET field.
     */
    public void setStreet(java.lang.String street) {
        _street = street;
    }

    /**
     * Returns the value of the CITY field.
     * @return value of the CITY field.
     */
    public java.lang.String getCity() {
        return _city;
    }

    /**
     * Sets a new value for the CITY field.
     * @param city new value for the CITY field.
     */
    public void setCity(java.lang.String city) {
        _city = city;
    }
}

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