public Collection<Category> pathToRoot() {
		Collection<Category> pathToRoot = new ArrayList<Category>();
		
		Category category = this;
		// This category is added to the path to root.
		pathToRoot.add(category);
		
		// Iteration on the parents of this category.
		while (category.getParent() != null) {
			category = category.getParent();
			pathToRoot.add(category);
		}
		
		return pathToRoot;
	}