package WindowTester;
import DisplayProject.binding.beans.ExtendedPropertyChangeSupport;
import DisplayProject.binding.beans.Observable;
import Framework.DateTimeData;
import Framework.RuntimeProperties;
import Framework.TextData;
import WindowTester.MoneyDomain;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.Serializable;
import java.lang.String;
/**
* ValidatingClass<p>
* <p>
* @author Generated from Forte
* @since 19-Nov-2008
*/
@RuntimeProperties(isDistributed=false, isAnchored=false, isShared=false, isTransactional=false)
@SuppressWarnings("serial")
public class ValidatingClass
implements Serializable, Observable
{
// ----------
// Attributes
// ----------
public PropertyChangeSupport qq_Listeners = new ExtendedPropertyChangeSupport(this, true);
private DateTimeData dateField;
private int dropValue;
private MoneyDomain floatValue;
private int gender;
private String invalidColumn;
private boolean toggleValue;
private String validatingField;
// ------------
// Constructors
// ------------
public ValidatingClass() {
// Explicitly call the superclass constructor to prevent the implicit call
super();
this.setDateField(new DateTimeData());
}
// ----------------------
// Accessors and Mutators
// ----------------------
public void setDateField(DateTimeData dateField) {
DateTimeData oldValue = this.dateField;
this.dateField = dateField;
this.qq_Listeners.firePropertyChange("dateField", oldValue, this.dateField);
}
public DateTimeData getDateField() {
return this.dateField;
}
public void setDropValue(int dropValue) {
int oldValue = this.dropValue;
this.dropValue = dropValue;
this.qq_Listeners.firePropertyChange("dropValue", oldValue, this.dropValue);
}
public int getDropValue() {
return this.dropValue;
}
public void setFloatValue(MoneyDomain floatValue) {
MoneyDomain oldValue = this.floatValue;
this.floatValue = floatValue;
this.qq_Listeners.firePropertyChange("floatValue", oldValue, this.floatValue);
}
public MoneyDomain getFloatValue() {
return this.floatValue;
}
public void setGender(int gender) {
int oldValue = this.gender;
this.gender = gender;
this.qq_Listeners.firePropertyChange("gender", oldValue, this.gender);
}
public int getGender() {
return this.gender;
}
public void setInvalidColumn(String invalidColumn) {
String oldValue = this.invalidColumn;
this.invalidColumn = invalidColumn;
this.qq_Listeners.firePropertyChange("invalidColumn", oldValue, this.invalidColumn);
}
public String getInvalidColumn() {
return this.invalidColumn;
}
public void setToggleValue(boolean toggleValue) {
boolean oldValue = this.toggleValue;
this.toggleValue = toggleValue;
this.qq_Listeners.firePropertyChange("toggleValue", oldValue, this.toggleValue);
}
public boolean getToggleValue() {
return this.toggleValue;
}
public void setValidatingField(String validatingField) {
String oldValue = this.validatingField;
this.validatingField = validatingField;
this.qq_Listeners.firePropertyChange("validatingField", oldValue, this.validatingField);
}
public String getValidatingField() {
return this.validatingField;
}
// -------
// 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);
}
/**
* toString<p>
* <p>
* @return String
*/
public String toString() {
TextData aMsg = new TextData();
aMsg.concat("[").concat(this.getDateField()).concat(",").concat(this.getValidatingField()).concat(",").concat(this.getToggleValue()).concat(",").concat(this.getDropValue()).concat(",").concat(this.getInvalidColumn()).concat("]");
return aMsg.getValue();
}
} // end class ValidatingClass
// c Pass 2 Conversion Time: 78 milliseconds