package RemoveEventsWithAnchoredObjects;
import DisplayProject.binding.beans.ExtendedPropertyChangeSupport;
import DisplayProject.binding.beans.Observable;
import Framework.RuntimeProperties;
import Framework.ServiceObject;
import Framework.ServiceObjectContext;
import RemoveEventsWithAnchoredObjects.Notify;
import RemoveEventsWithAnchoredObjects.interfaces.IServer;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.Serializable;
import java.lang.String;
/**
* Server<p>
* <p>
* @author Generated from Forte
* @since 19-Nov-2008
*/
@RuntimeProperties(isDistributed=true, isAnchored=false, isShared=false, isTransactional=false)
@ServiceObject(name="SO", visibility=ServiceObject.Visibility.ENVIRONMENT, dialogDuration=ServiceObject.DialogDuration.SESSION, failover=false, loadBalanced=false)
@SuppressWarnings("serial")
public class Server
implements Serializable, Observable, IServer
{
// ----------
// Attributes
// ----------
public PropertyChangeSupport qq_Listeners = new ExtendedPropertyChangeSupport(this, true);
private Notify theNotify;
// ------------
// Constructors
// ------------
public Server() {
// Explicitly call the superclass constructor to prevent the implicit call
super();
}
/**
* A dummy constructor used to instantiate a "blank" object. This is used for anchored objects, Spring beans and their
* superclasses, but should not be expected to create a valid Server.
*/
public Server(ServiceObjectContext pContext) {
}
// ----------------------
// Accessors and Mutators
// ----------------------
private void setTheNotify(Notify theNotify) {
Notify oldValue = this.theNotify;
this.theNotify = theNotify;
this.qq_Listeners.firePropertyChange("theNotify", oldValue, this.theNotify);
}
// -------
// 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);
}
/**
* getNotify<p>
* <p>
* @return Notify
*/
public Notify getNotify() {
if (this.theNotify == null) {
this.theNotify = new Notify();
}
return this.theNotify;
}
} // end class Server
// c Pass 2 Conversion Time: 31 milliseconds