Package entities

Source Code of entities.Address

package entities;

import DisplayProject.binding.beans.Observable;
import Framework.RuntimeProperties;
import Framework.TextData;
import entities.BusinessClass;
import java.io.Serializable;
import java.lang.String;

/**
* Address<p>
* <p>
* @author Generated from Forte
* @since  19-Nov-2008
*/
@RuntimeProperties(isDistributed=false, isAnchored=false, isShared=false, isTransactional=false)
@SuppressWarnings("serial")
public class Address
        extends BusinessClass
        implements Serializable, Observable
{

    // ----------
    // Attributes
    // ----------
    private String city;
    private String country;
    private String state;
    private TextData street;

    // ------------
    // Constructors
    // ------------
    public Address() {
        // Explicitly call the superclass constructor to prevent the implicit call
        super();
        this.setStreet(new TextData());

    }

    // ----------------------
    // Accessors and Mutators
    // ----------------------
    public void setCity(String city) {
        String oldValue = this.city;
        this.city = city;
        this.qq_Listeners.firePropertyChange("city", oldValue, this.city);
    }

    public String getCity() {
        return this.city;
    }

    public void setCountry(String country) {
        String oldValue = this.country;
        this.country = country;
        this.qq_Listeners.firePropertyChange("country", oldValue, this.country);
    }

    public String getCountry() {
        return this.country;
    }

    public void setState(String state) {
        String oldValue = this.state;
        this.state = state;
        this.qq_Listeners.firePropertyChange("state", oldValue, this.state);
    }

    public String getState() {
        return this.state;
    }

    public void setStreet(TextData street) {
        TextData oldValue = this.street;
        this.street = street;
        this.qq_Listeners.firePropertyChange("street", oldValue, this.street);
    }

    public TextData getStreet() {
        return this.street;
    }
// end class Address
// c Pass 2 Conversion Time: 32 milliseconds
TOP

Related Classes of entities.Address

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.