/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package grader.logic.category; /** * * @author kellen */ public class Category { private String name; private Category parent; public Category(String name){ this.name = name; parent = null; } public void setParent(Category parent){ this.parent = parent; } public Category getParent(){ return parent; } public String getName(){ return name; } }