Package AppletSupport

Source Code of AppletSupport.AppletRunInfo

/*
For Proof of Concept and evaluation purposes only:
This code is not to be used in production systems
without express written permission from ITerative Consulting Pty Ltd.

*/
package AppletSupport;

import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.Serializable;

import DisplayProject.binding.beans.ExtendedPropertyChangeSupport;
import DisplayProject.binding.beans.Observable;
import Framework.DateTimeData;
import Framework.RuntimeProperties;
import Framework.TextData;

/**
* AppletRunInfo<p>
* <p>
* <b>This class was generated from the library AppletSupport and needs to be replaced by the
* proper source code from the library. It has been generated only to remove compile-time errors and
* is non-functional. </b>
* <p>
* @author Generated from Forte
* @since  05-Sep-2008
*/
@RuntimeProperties(isDistributed=false, isAnchored=false, isShared=false, isTransactional=false)
@SuppressWarnings("serial")
public class AppletRunInfo
        implements Serializable, Observable
{

    // ----------
    // Attributes
    // ----------
    public PropertyChangeSupport qq_Listeners = new ExtendedPropertyChangeSupport(this, true);
    private TextData appletName;
    private TextData release;
    private DateTimeData buildDate;
    private int appletId;

    // ------------
    // Constructors
    // ------------
    public AppletRunInfo() {
        // Explicitly call the superclass constructor to prevent the implicit call
        super();
        this.appletName = null;
        this.release = null;
        this.buildDate = null;
        this.appletId = 0;
    }

    // ----------------------
    // Accessors and Mutators
    // ----------------------
    public void setAppletName(TextData appletName) {
        TextData oldValue = this.appletName;
        this.appletName = appletName;
        this.qq_Listeners.firePropertyChange("appletName", oldValue, this.appletName);
    }
    public void setAppletName(String appletName) {
      this.setAppletName(new TextData(appletName));
    }

    public TextData getAppletName() {
        return this.appletName;
    }

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

    public TextData getRelease() {
        return this.release;
    }

    public void setBuildDate(DateTimeData buildDate) {
        DateTimeData oldValue = this.buildDate;
        this.buildDate = buildDate;
        this.qq_Listeners.firePropertyChange("buildDate", oldValue, this.buildDate);
    }

    public DateTimeData getBuildDate() {
        return this.buildDate;
    }

    public void setAppletId(int appletId) {
        int oldValue = this.appletId;
        this.appletId = appletId;
        this.qq_Listeners.firePropertyChange("appletId", oldValue, this.appletId);
    }

    public int getAppletId() {
        return this.appletId;
    }

    // -------
    // 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 AppletRunInfo
// c Pass 2 Conversion Time: 31 milliseconds
TOP

Related Classes of AppletSupport.AppletRunInfo

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.