|
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.DefaultFeatureListImplementation
|
+--plan.dom.Software
Represents a shipping software product.
| Field Summary | |
private java.lang.String |
name
|
| Fields inherited from class plan.dom.DefaultFeatureListImplementation |
features |
| Constructor Summary | |
(package private) |
Software(java.lang.String name)
|
| Method Summary | |
java.lang.String |
getLabel()
The FeatureList label is the name of the Software product. |
java.lang.String |
getName()
|
Release |
planRelease(double capacity)
Suggests a release of this software product. |
| Methods inherited from class plan.dom.DefaultFeatureListImplementation |
addFeature, featureIterator, numFeatures, sortFeatures, subtract, totalSizingOfFeatures |
| Methods inherited from class java.lang.Object |
|
| Methods inherited from interface plan.dom.FeatureList |
featureIterator, numFeatures, totalSizingOfFeatures |
| Field Detail |
private java.lang.String name
| Constructor Detail |
Software(java.lang.String name)
| Method Detail |
public java.lang.String getName()
public Release planRelease(double capacity)
capacity - the number of person-days of coding effort available to work on the releasepublic java.lang.String getLabel()
getLabel in interface FeatureListplan.dom.FeatureList
|
CSC407/ECE450 Assignment 1b Sample Solution | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||