Package WindowTester

Source Code of WindowTester.ClassWithDate

package WindowTester;

import DisplayProject.binding.beans.ExtendedPropertyChangeSupport;
import DisplayProject.binding.beans.Observable;
import Framework.DateTimeNullable;
import Framework.RuntimeProperties;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.Serializable;
import java.lang.String;

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

    // ----------
    // Attributes
    // ----------
    public PropertyChangeSupport qq_Listeners = new ExtendedPropertyChangeSupport(this, true);
    private DateTimeNullable myDate;

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

        this.setMyDate(new DateTimeNullable());

    }

    // ----------------------
    // Accessors and Mutators
    // ----------------------
    public void setMyDate(DateTimeNullable myDate) {
        DateTimeNullable oldValue = this.myDate;
        this.myDate = myDate;
        this.qq_Listeners.firePropertyChange("myDate", oldValue, this.myDate);
    }

    public DateTimeNullable getMyDate() {
        return this.myDate;
    }

    // -------
    // Methods
    // -------
    public void addPropertyChangeListener(String property, PropertyChangeListener listener) {
        qq_Listeners.addPropertyChangeListener(property, listener);
    }

    public void addPropertyChangeListener(PropertyChangeListener listener) {
        qq_Listeners.addPropertyChangeListener(listener);
    }

    public void removePropertyChangeListener(String property, PropertyChangeListener listener) {
        qq_Listeners.removePropertyChangeListener(property, listener);
    }

    public void removePropertyChangeListener(PropertyChangeListener listener) {
        qq_Listeners.removePropertyChangeListener(listener);
    }
// end class ClassWithDate
// c Pass 2 Conversion Time: 16 milliseconds
TOP

Related Classes of WindowTester.ClassWithDate

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.