org.apache.struts2.showcase.ajax.tree
Class Category
java.lang.Object
org.apache.struts2.showcase.ajax.tree.Category
public class Category
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Category
public Category(long id,
String name,
Category... children)
getById
public static Category getById(long id)
getId
public long getId()
setId
public void setId(long id)
getName
public String getName()
setName
public void setName(String name)
getChildren
public List<Category> getChildren()
setChildren
public void setChildren(List<Category> children)
toggle
public void toggle()
isToggle
public boolean isToggle()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.