CSC407/ECE450 Assignment 1b Sample Solution

Uses of Class
plan.dom.Priority

Packages that use Priority
plan.dom This package implements the domain object model which consists of classes representing domain concepts as drawn from the object-oriented analysis. 
 

Uses of Priority in plan.dom
 

Fields in plan.dom declared as Priority
private  Priority Feature.priority
           
private static Priority[] Priority.prioObj
           
static Priority Priority.high
           
static Priority Priority.med
           
static Priority Priority.low
           
 

Methods in plan.dom that return Priority
 Priority Feature.getPriority()
           
static Priority Priority.get(java.lang.String name)
          Return the priority object corresponding to the given name.
 

Methods in plan.dom with parameters of type Priority
 int FeatureList.numFeatures(Priority p)
          Returns the number of features broken out by priority.
 double FeatureList.totalSizingOfFeatures(Priority p)
          Returns the total sizing of features broken out by priority.
 void Feature.setPriority(Priority priority)
           
 int DefaultFeatureListImplementation.numFeatures(Priority p)
          Returns the number of features broken out by priority.
 double DefaultFeatureListImplementation.totalSizingOfFeatures(Priority p)
          Returns the total sizing of features broken out by priority.
 

Constructors in plan.dom with parameters of type Priority
Feature(int id, java.lang.String shortDescription, double sizing, Priority priority)
          Create a new feature with the indicated attributes.
 


CSC407/ECE450 Assignment 1b Sample Solution