package ArrayWithDropLists;
import DisplayProject.binding.beans.ExtendedPropertyChangeSupport;
import DisplayProject.binding.beans.Observable;
import Framework.DateTimeData;
import Framework.RuntimeProperties;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.Serializable;
import java.lang.String;
/**
* Person<p>
* <p>
* @author Generated from Forte
* @since 19-Nov-2008
*/
@RuntimeProperties(isDistributed=false, isAnchored=false, isShared=false, isTransactional=false)
@SuppressWarnings("serial")
public class Person
implements Serializable, Observable
{
// ----------
// Attributes
// ----------
public PropertyChangeSupport qq_Listeners = new ExtendedPropertyChangeSupport(this, true);
private String name;
private String department;
private String skill;
private int size;
private DateTimeData date;
// ------------
// Constructors
// ------------
public Person() {
// Explicitly call the superclass constructor to prevent the implicit call
super();
this.setDate(new DateTimeData().setCurrent());
}
// ----------------------
// Accessors and Mutators
// ----------------------
public void setName(String name) {
String oldValue = this.name;
this.name = name;
this.qq_Listeners.firePropertyChange("name", oldValue, this.name);
}
public String getName() {
return this.name;
}
public void setDepartment(String department) {
String oldValue = this.department;
this.department = department;
this.qq_Listeners.firePropertyChange("department", oldValue, this.department);
}
public String getDepartment() {
return this.department;
}
public void setSkill(String skill) {
String oldValue = this.skill;
this.skill = skill;
this.qq_Listeners.firePropertyChange("skill", oldValue, this.skill);
}
public String getSkill() {
return this.skill;
}
public void setSize(int size) {
int oldValue = this.size;
this.size = size;
this.qq_Listeners.firePropertyChange("size", oldValue, this.size);
}
public int getSize() {
return this.size;
}
public void setDate(DateTimeData date) {
DateTimeData oldValue = this.date;
this.date = date;
this.qq_Listeners.firePropertyChange("date", oldValue, this.date);
}
public DateTimeData getDate() {
return this.date;
}
// -------
// 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 Person
// c Pass 2 Conversion Time: 31 milliseconds