Assignments
Class Category

java.lang.Object
  extended by Assignments.Category

public class Category
extends java.lang.Object

Category is a grouping for assignments. Examples include "Homework" or "Assignments" etc. Categories can also have subcategories and are laid out in a tree structure.


Field Summary
(package private)  java.lang.String name
          The name of the category.
(package private)  java.util.Collection<Category> subcategories
          A collection of subcategories represented as a Category to create the tree structure.
(package private)  double weight
          (Optional) The percentage of the class this category will represent.
 
Constructor Summary
Category()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

java.lang.String name
The name of the category.


weight

double weight
(Optional) The percentage of the class this category will represent.


subcategories

java.util.Collection<Category> subcategories
A collection of subcategories represented as a Category to create the tree structure.

Constructor Detail

Category

public Category()