|
CSC407 OOP Example | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--plan.dom.CustomerRequest
The request of a customer for a feature.
Field Summary | |
private Customer |
customer
|
private int |
desirability
|
Constructor Summary | |
CustomerRequest(Feature f,
Customer c,
int desirability)
Create a customer request from customer "c" for feature "f" with desirability "d". |
Method Summary | |
Customer |
getCustomer()
|
int |
getDesirability()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int desirability
private Customer customer
Constructor Detail |
public CustomerRequest(Feature f, Customer c, int desirability)
f
- the feature being requestedc
- the customer requesting the featuredesirability
- the level of desire of the customer for the feature. Must be between 1 and 10 inclusive.Method Detail |
public int getDesirability()
public Customer getCustomer()
|
CSC407 OOP Example | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |