Package AllWidgets_with_Mapping

Source Code of AllWidgets_with_Mapping.BraNode

package AllWidgets_with_Mapping;

import DisplayProject.DisplayNode;
import DisplayProject.binding.beans.Observable;
import Framework.RuntimeProperties;
import Framework.TextData;
import entities.Bra;
import java.io.Serializable;

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

    // ----------
    // Attributes
    // ----------
    private double price;

    // ------------
    // Constructors
    // ------------
    public BraNode() {
        // Explicitly call the superclass constructor to prevent the implicit call
        super();

    }

    // ----------------------
    // Accessors and Mutators
    // ----------------------
    public void setPrice(double price) {
        double oldValue = this.price;
        this.price = price;
//        this.qq_Listeners.firePropertyChange("price", new Double(oldValue), new Double(this.price));
    }

    public double getPrice() {
        return this.price;
    }

    // -------
    // Methods
    // -------
    /**
     * setup<p>
     * <p>
     * @param source Type: Bra
     * @return BraNode
     */
    public BraNode setup(Bra source) {
        this.setDVNodeText(new TextData(source.getName()));
        this.setPrice(source.getCost());
        this.setRelated(source);
        return this;
    }
// end class BraNode
// c Pass 2 Conversion Time: 47 milliseconds
TOP

Related Classes of AllWidgets_with_Mapping.BraNode

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.