|
CSC407/ECE450 Assignment 1b Sample Solution | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | 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 |
|
| 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/ECE450 Assignment 1b Sample Solution | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||