economics
Class Employee

java.lang.Object
  extended by economics.Employee

public class Employee
extends java.lang.Object

Maintins the employees' record.


Field Summary
(package private)  Agent employee
           
(package private)  int numberOfEmployments
          for a particular employer
(package private)  double reliability
           
 
Constructor Summary
Employee()
           
 
Method Summary
 Agent getEmployee()
           
 int getNumberOfEmployments()
           
 double getReliability()
           
 void setEmployee(Agent employee)
           
 void setNumberOfEmployments(int numberOfEmployments)
           
 void setReliability(double reliability)
           
 void updateReliability(Household employer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

employee

Agent employee

numberOfEmployments

int numberOfEmployments
for a particular employer


reliability

double reliability
Constructor Detail

Employee

public Employee()
Method Detail

getEmployee

public Agent getEmployee()

setEmployee

public void setEmployee(Agent employee)

getNumberOfEmployments

public int getNumberOfEmployments()

setNumberOfEmployments

public void setNumberOfEmployments(int numberOfEmployments)

getReliability

public double getReliability()

setReliability

public void setReliability(double reliability)

updateReliability

public void updateReliability(Household employer)