/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/help/trunk/help-api/src/java/org/sakaiproject/api/app/help/Category.java $ * $Id: Category.java 106357 2012-03-28 23:18:54Z matthew.buckett@oucs.ox.ac.uk $ *********************************************************************************** * * Copyright (c) 2003, 2004, 2005, 2006, 2008 The Sakai Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ECL-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * **********************************************************************************/ package org.sakaiproject.api.app.help; import java.util.Set; /** * Category container. * @version $Id: Category.java 106357 2012-03-28 23:18:54Z matthew.buckett@oucs.ox.ac.uk $ */ public interface Category { /** * get name * @return name */ public String getName(); /** * set name * @param name */ public void setName(String name); /** * get resources * @return resources */ public Set<Resource> getResources(); /** * set resources * @param resources */ public void setResources(Set<Resource> resources); /** * get categories * @return set of categories */ public Set<Category> getCategories(); /** * set categories * @param categories */ public void setCategories(Set<Category> categories); /** * get parent category * @return category */ public Category getParent(); /** * set parent category * @param cat */ public void setParent(Category cat); }